EasyManua.ls Logo

NUM 1020 - WHILE Loops

Default Icon
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Structured Programming
en-938872/2 1 - 9
1
1.2.4 WHILE Loops
Syntax
WHILE (condition) DO
(instructions)
ENDW
The instructions are executed while the condition remains true. Unlike REPEAT
UNTIL loops, the instructions are not executed if the condition is false at the
beginning.
Graph
condition
While
instructions
The word DO may be programmed at the beginning of the next block and followed
by the functions to be executed.
Example:
WHILE (condition)
DO XL6
ENDW

Table of Contents

Related product manuals