RosettaCodeData/Task/Conditional-structures/PL-I/conditional-structures-4.pli
2023-07-01 13:44:08 -04:00

21 lines
270 B
Text

select; /* select first matching condition */
when (i = 4)
do;
statement_s;
end;
when (this = that)
do;
statement_s;
end;
when (mystring = 'ABCDE')
do;
statement_s;
end;
other
do;
statement_s;
end;
end;