Nested conditional structure
- Last UpdatedJul 23, 2024
- 1 minute read
The following script shows how to check for multiple conditions and have one general ELSE section with code that is executed if none of the conditions are met.
IF ChoiceTag == 1 THEN
Show "Procedure 1";
ELSE
IF ChoiceTag == 2 THEN
Show "Procedure 2";
ELSE
IF ChoiceTag == 3 THEN
Show "Procedure 3";
ELSE
Show "Default Procedure";
ENDIF;
ENDIF;
ENDIF;