RosettaCodeData/Task/Flow-control-structures/Oz/flow-control-structures-1.oz
2023-07-01 13:44:08 -04:00

5 lines
74 B
Text

case {OS.rand} mod 3
of 0 then {Foo}
[] 1 then {Bar}
[] 2 then {Buzz}
end