4.3BSD/usr/contrib/icon/test/distr/std03.out

0.21132487
0.41242083
0.31579519
0.51044017
0.42173545
0.30569154
0.079608471
0.73752851
0.050720188
0.71694717
every 1 to 10 do write(?0) ----> none
2
4
6
7
6
8
8
3
9
4
every 1 to 10 do write(?10) ----> none
4
9
9
1
8
4
7
5
9
10
every 1 to 10 do write(?[1,2,3,4,5,6,7,8,9,10]) ----> none
c
c
d
d
a
f
c
c
a
f
every 1 to 10 do write(?"abcdef") ----> none
t := table() ----> table(0)
t[1] := "a" ----> "a"
t[2] := "bc" ----> "bc"
t[3] := 3 ----> 3
bc
bc
3
a
bc
3
3
3
bc
3
every 1 to 10 do write(?t) ----> none
x := array(1,2,3,4,5,6,7) ----> record array(7)
4
1
6
6
6
2
3
7
2
5
every 1 to 10 do write(?x) ----> none
Run-time error 114 at line 20 in std03.icn
invalid type to subscript operation
offending value: &null