RosettaCodeData/Task/Conditional-structures/REXX/conditional-structures-3.rexx

15 lines
556 B
Rexx
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
select
when g=='angel' then many='host'
when g=='ass' | g=='donkey' then many='pace'
when g=='crocodile' then many='bask'
when g=='crow' then many='murder'
when g=='lark' then many='ascension'
when g=='quail' then many='bevy'
when g=='wolf' then many='pack'
otherwise say
say '*** error! ***'
2015-02-20 00:35:01 -05:00
say g "isn't one of the known thingys."
2013-04-10 16:57:12 -07:00
say
exit 13
end /*select*/