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

8 lines
121 B
Plaintext

CASE Foo OF
| 1 => IO.Put("One\n");
| 2 => IO.Put("Two\n");
| 3 => IO.Put("Three\n");
ELSE
IO.Put("Something\n");
END;