The
WHILE
/LOOP
statement is used to execute SCL statements in a loop.The statements in the
LOOP
clause are performed repeatedly while theBoolean_expression
is true. TheBoolean_expression
is checked prior to each execution of theLOOP
. TheBoolean_expression
may include Rational Statemate elements as well as SCL variables and constants. There is no limit to the depth of nested structured statements. For example, wherecax
,cb
andcq
are conditions anda1
,a2
anda3
are actions: