explain IF-THEN-END-IF control structure in PL and SCL
Answers
Answered by
0
Answer:
IF (condition) THEN
statement list
ENDIF
where
[statement list] is a list of command statements to execute if
the condition is true.
For example:
IF ( channel > 10 ) THEN
print "Error, channel is too large!"
print "Channel will be reset to default value of 1"
channel = 1
ENDIF
Similar questions