Framework:While

From CoPlanner 11
Revision as of 17:22, 18 November 2010 by Admin (talk | contribs) (Created page with "==Function== WHILE(<Condition>, [Statements]) {| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" |- | style=background-color:#f6f6f...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Function

WHILE(<Condition>, [Statements])


Parameter Beschreibung
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));