varsFromStrProp: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function varsFromStrProp== Creates variables from a Macros:string property list with the values assigned to variables with the names of the keys in the [[Macros:string property lis...) |
|||
Line 14: | Line 14: | ||
</source> | </source> | ||
Returns | Returns | ||
blah | blah doh meh |
Revision as of 11:04, 14 December 2008
Function varsFromStrProp
Creates variables from a string property list with the values assigned to variables with the names of the keys in the string property list. The function returns the number of variables that were created.
Usage
[h: num = varsFromStrProp(props)]
Examples
[h: varsFromStrProp("a=blah; b=doh; c=meh")][r: a] [r: b] [r: c]
Returns
blah doh meh