RosettaCodeData/Task/Conditional-structures/Modula-3/conditional-structures-3.mod3

8 lines
121 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
CASE Foo OF
| 1 => IO.Put("One\n");
| 2 => IO.Put("Two\n");
| 3 => IO.Put("Three\n");
ELSE
IO.Put("Something\n");
END;