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.

Sent on the new Sprint Network

----- Reply message -----
From: "ki...@kirpi.it" <ki...@kirpi.it>
To: "PmWiki Users" <pmwiki-users@pmichaud.com>
Subject: [pmwiki-users] Random PTVs set with {(randk)} do not retain set values
Date: Sat, Dec 13, 2014 6:20 PM

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] http://www.pmwiki.org/wiki/Cookbook/MarkupExpressionSamples

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to