varsFromStrProp

From RPTools Wiki
Revision as of 11:10, 10 March 2009 by Verisimilar (talk | contribs) (Added version.)
Jump to navigation Jump to search

varsFromStrProp() Function

Introduced in version 1.3b42
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

varsFromStrProp(props)

Examples

    [h: varsFromStrProp("a=blah; b=doh; c=meh")][r: a] [r: b] [r: c]

Returns

blah doh meh