RosettaCodeData/Task/Flow-control-structures/Oz/flow-control-structures-1.oz

6 lines
74 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
case {OS.rand} mod 3
of 0 then {Foo}
[] 1 then {Bar}
[] 2 then {Buzz}
end