Framework:While: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
Created page with "==Function== WHILE(<Condition>, [Statements]) {| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" |- | style=background-color:#f6f6f..." |
No edit summary |
||
| Line 4: | Line 4: | ||
{| | {| class="wikitable" width="80%" | ||
|- | |- {{Tabellentitel}} | ||
| | | Parameter | ||
| | | Description | ||
|- | |- | ||
|Condition | |Condition | ||
Revision as of 11:32, 6 March 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));