setAllStates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Function setAllSates== | ==Function setAllSates== | ||
Sets all of the [[Token: | Sets all of the [[Token:state|Token States]] of the [[Token:Current Token|Current Token]] to on (non zero) or off (0). | ||
===Usage=== | ===Usage=== | ||
Line 10: | Line 10: | ||
===Examples=== | ===Examples=== | ||
Set all [[Token: | Set all [[Token:state|Token States]] on | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: setAllStates(1)] | [h: setAllStates(1)] | ||
</source> | </source> | ||
Set all [[Token: | Set all [[Token:state|Token States]] off | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: setAllStates(0)] | [h: setAllStates(0)] | ||
</source> | </source> |
Revision as of 23:23, 21 December 2008
Function setAllSates
Sets all of the Token States of the Current Token to on (non zero) or off (0).
Usage
[h: setAllStates(val)]
Examples
Set all Token States on
[h: setAllStates(1)]
Set all Token States off
[h: setAllStates(0)]