set: Difference between revisions

From RPTools Wiki
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",...)
(No difference)

Revision as of 12:10, 13 December 2008

Function set

Sets the value of a variable.

Usage

[h: set(varName, val)]


Examples

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

Returns

   33