% lisp
Franz Lisp, Opus 38.79
-> (array ill t 3 3)
array[9]
-> (fillarray 'ill '(0))
nil
-> (ill 1 1)
0
-> (ill 2 2)
0
-> (ill 2 3)
nil
-> (ill 3 3)
nil
-> ^D
Goodbye
%
That is, elements (ill 1 1) thru (ill 2 2) are zeroed, but (ill 2 3) thru
(ill 3 3) are not. When I tried with (array ill t 5 5), (ill 1 1) thru
(ill 4 4) were zeroed but (ill 4 5) thru (ill 5 5) are not.
Possibly parameters to fillarray may be wrong, since the manual says
(fillarray 's_array 'l-itms) returns s_array. But how can 'ill evaluate
to nil in the above example?
Is your fillarray ok?
If you know how to fix or avoid this, please help.
Thanks in advance.
Hideki Watanabe
Programming Language Lab.
University of Tsukuba
This is not a bug...arrays start at element (0,0). The array element in
a three dimensional array are then:
(0,0) (0,1) (0,2)
(1,0) (1,1) (1,2)
(2,0) (2,1) (2,2)
-> (good luck)
t
-> (deb)
unbound variable