varsFromStrProp: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Added version.) |
Verisimilar (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{stub|Documentation on how the decor(suffixed/unsuffixed) parameter works.}} | |||
{{MacroFunction | {{MacroFunction | ||
|name=varsFromStrProp | |name=varsFromStrProp | ||
Line 8: | Line 9: | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
varsFromStrProp(props) | varsFromStrProp(props) | ||
</source> | |||
<source lang="mtmacro" line> | |||
varsFromStrProp(props, decor) | |||
</source> | </source> | ||
Line 16: | Line 20: | ||
Returns | Returns | ||
blah doh meh | blah doh meh | ||
|changes= | |||
{{change|1.3b49|Added {{code|suffixed}} or {{code|unsuffixed}} parameter option.}} | |||
}} | }} | ||
[[Category:String Property List Function]] | [[Category:String Property List Function]] |
Revision as of 00:02, 23 March 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Documentation on how the decor(suffixed/unsuffixed) parameter works.
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)
varsFromStrProp(props, decor)
Examples
[h: varsFromStrProp("a=blah; b=doh; c=meh")][r: a] [r: b] [r: c]
Returns
blah doh mehVersion Changes
- 1.3b49 - Added
suffixed
orunsuffixed
parameter option.