set

From RPTools Wiki
Revision as of 12:10, 13 December 2008 by Craig (talk | contribs) (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",...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function set

Sets the value of a variable.

Usage

[h: set(varName, val)]


Examples

    [h: set("test", 33)] [r:test]

Returns

   33