RosettaCodeData/Task/Conditional-structures/PL-I/conditional-structures-4.pli
2015-02-20 00:35:01 -05: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;