watanabe@tsuku.tsukuba.junet (Hideki Watanabe) (10/08/86)
There seems to be something wrong with our Franz Lisp (on VAX-11/750 under 4.2BSD). Fillarray of negligent of its task. A sample session follows: % 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
deb@gt-eedsp.UUCP (Deb Jackson) (10/14/86)
In article <166@tsuku.tsukuba.junet> watanabe@tsuku.tsukuba.junet (Hideki Watanabe) writes: >There seems to be something wrong with our Franz Lisp...filarray >That is, elements (ill 1 1) thru (ill 2 2) are zeroed, but (ill 2 3) thru >(ill 3 3) are not. 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