Reference – Lenze PM94P01C User Manual
Page 104
Advertising
![background image](/manuals/566062/104/background.png)
PM94P01C
102
Reference
Table 61: WHILE / ENDWHILE
WHILE/
ENDWHILE
While
Statement
Purpose
The WHILE <expression> executes statement(s) between keywords WHILE and ENDWHILE
repeatedly while the expression evaluates to TRUE.
Syntax
WHILE <expression>
{statement(s)}…
ENDWHILE
Remarks
WHILE block of statements has to end with ENDWHILE keyword.
See Also
DO/UNTIL
Example:
WHILE APOS<3
;Execute the statements while Apos is <3
{statement(s)}..
ENDWHILE
Advertising