setAllStates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=setAllSates | |||
|description= | |||
Sets all of the [[Token:state|Token States]] of the [[Token:Current Token|Current Token]] to on (non zero) or off (0). | Sets all of the [[Token:state|Token States]] of the [[Token:Current Token|Current Token]] to on (non zero) or off (0). | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: setAllStates(val)] | [h: setAllStates(val)] | ||
</source> | </source> | ||
|examples= | |||
Set all [[Token:state|Token States]] on | Set all [[Token:state|Token States]] on | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
Line 18: | Line 18: | ||
[h: setAllStates(0)] | [h: setAllStates(0)] | ||
</source> | </source> | ||
}} | |||
[[Category:State Function]] |
Revision as of 03:39, 9 March 2009
setAllSates() Function
Sets all of the Token States of the Current Token to on (non zero) or off (0).
Usage
[h: setAllStates(val)]