Framework:While: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 30: | Line 30: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
[[Category:Functions|While]] | |||
[[Category:Functions - client-side|While]] | [[Category:Functions - client-side|While]] | ||
[[de:Framework:While]] | [[de:Framework:While]] | ||
Revision as of 15:40, 23 May 2012
Function
WHILE(<Condition>, [Statements])
| Parameter | Description |
| Condition | Numeric or string expression that evaluates to True or False. If condition is Null, condition is treated as False. |
| Statements | One or more statements executed while condition is True. |
Result
Executes a series of statements as long as a given condition is True.
Example
SetVariable(iX,0);
WHILE(iX<5,
Statements1,
Statements2,
SetVariable(iX,iX+1));