RosettaCodeData/Task/Multiple-distinct-objects/Oz/multiple-distinct-objects-1.oz

6 lines
139 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
declare
Xs = {MakeList 5} %% a list of 5 unbound variables
in
{ForAll Xs OS.rand} %% fill it with random numbers (CORRECT)
{Show Xs}