<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head></head><body><div style="font-size: 12pt; font-family: Calibri,sans-serif;"><div>Ptv like most things pmwiki will simply get evaluated like a macro.  Which can be powerful for some things.  Thus you never set a var to the value of a func.  The value is the func in most cases.</div><div><br></div><div>Sent on the new Sprint Network</div><br><div id="htc_header">----- Reply message -----<br>From: "kirpi@kirpi.it" <kirpi@kirpi.it><br>To: "PmWiki Users" <pmwiki-users@pmichaud.com><br>Subject: [pmwiki-users] Random PTVs set with {(randk)} do not retain set      values<br>Date: Sat, Dec 13, 2014 6:20 PM</div></div><br><pre style="word-wrap: break-word; white-space: pre-wrap;">If I set a PTV to a random value with {(randk)}[1], say
      Random_string: {(randk 7)}
I then would like that specific PTV to retain its value.
Instead,
       {$:Random_string}
gets every time a new random value.
I am perhaps just misunderstanding the way PTVs are working;
nonetheless I am trying to find a way to "freeze" PTV random values
once they are set, in order to use them in pages and formulas.

Thanks for any hint :-)

Luigi

----
[1] <a href="http://www.pmwiki.org/wiki/Cookbook/MarkupExpressionSamples">http://www.pmwiki.org/wiki/Cookbook/MarkupExpressionSamples</a>

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre></body></html>