Whilevarvarn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
whilevarvarn <gamevar1> <gamevar2> { code to execute } | '''whilevarvarn''' <gamevar1> <gamevar2> { code to execute } | ||
Executes the code in the curly braces as long as <gamevar1> does not equal <gamevar2>. This is a slightly more advanced while loop than [[whilevarn]]. | Executes the code in the curly braces as long as <gamevar1> does not equal <gamevar2>. This is a slightly more advanced while loop than [[whilevarn]]. |
Revision as of 13:42, 4 May 2009
whilevarvarn <gamevar1> <gamevar2> { code to execute }
Executes the code in the curly braces as long as <gamevar1> does not equal <gamevar2>. This is a slightly more advanced while loop than whilevarn.
Caution: Poor execution or endless loops will cause your game to close without error or simply stall and crash!
See whilevarn for examples.