RosettaCodeData/Task/Multiple-distinct-objects/Phix/multiple-distinct-objects-1.phix
2017-09-25 22:28:19 +02:00

8 lines
131 B
Text

sequence s = repeat("x",3*rand(3))
?s
s[rand(length(s))] = 5
?s
s[rand(length(s))] &= 'y'
?s
s[rand(length(s))] = s
?s