UD70
Issue code: 70nu2
4-14 DPL programming
4.7 Instructions and functions
This section describes the different types of instructions which are used in
DPL programming.
Conditional instructions
A conditional instruction performs an operation according to a set condition
(eg. IF).
Condition
True
(Yes)
False
(No)
Procedure 1
Procedure 2
Example of an IF, THEN flow diagramExample of an IF, THEN flow diagram
Loop instructions
A loop instruction repeats a block of instructions until a specified
condition occurs.
Example
DO WHILE
LOOP
Condition
True
(Yes)
False
(No)
Procedure 1
Example of a DO WHILE, LOOP flow diagramExample of a DO WHILE, LOOP flow diagram