3.4.4. if-elseif-else-endif
Description
In the case of multiple conditions, the elseif statement can be used in the following form.
Syntax
if <bool expression>
<statement A>
…
elseif <bool expression>
<statement B>
…
elseif <bool expression>
<statement C>
…
else
<statement N>
…
endifExample
Last updated
Was this helpful?