set: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function set== Sets the value of a variable. ===Usage=== <source lang="mtmacro" line> [h: set(varName, val)] </source> ===Examples=== <source lang="mtmacro" line> [h: set("test",...) |
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=set | |||
|description | |||
Sets the value of a variable. | Sets the value of a variable. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: set(varName, val)] | [h: set(varName, val)] | ||
</source> | </source> | ||
|example= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: set("test", 33)] [r:test] | [h: set("test", 33)] [r:test] | ||
Line 15: | Line 15: | ||
Returns | Returns | ||
33 | 33 | ||
}} | |||
[[Category:Miscellaneous Function]] |
Revision as of 03:33, 9 March 2009
set() Function
Usage
[h: set(varName, val)]
Example
[h: set("test", 33)] [r:test]
Returns
33