WHILE ends a DO ... WHILE loop or starts a WHILE ... DO ... ENDWHILE loop.
Syntax
DO
...
WHILE condition
WHILE condition DO
...
ENDWHILE
Parameters
condition:
Remarks
Commands between DO ... WHILE are executed, as long as condition = true. condition is checked after the loop, so the commands between DO ... WHILE are executed at least one time, even if condition ¹ true.
Commands between WHILE ... ENDWHILE are executed, as long as condition = true. condition is checked before the loop, so the commands between WHILE ... ENDWHILE are executed only, if condition = true at the beginning of the loop.
Usable since script version 1.1 (Allplan 2012-1).
|
(C) ALLPLAN GmbH |
Privacy policy |