Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
case {OS.rand} mod 3
|
||||
of 0 then {Foo}
|
||||
[] 1 then {Bar}
|
||||
[] 2 then {Buzz}
|
||||
end
|
||||
15
Task/Flow-control-structures/Oz/flow-control-structures-2.oz
Normal file
15
Task/Flow-control-structures/Oz/flow-control-structures-2.oz
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
declare
|
||||
proc {Stupid X}
|
||||
choice
|
||||
X = 8
|
||||
{System.showInfo "choosing 8"}
|
||||
[] X = 9
|
||||
{System.showInfo "choosing 9"}
|
||||
[] X = 10
|
||||
{System.showInfo "choosing 10"}
|
||||
end
|
||||
|
||||
2 * X = 18
|
||||
end
|
||||
in
|
||||
{Show {SearchOne Stupid}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue