newLISP Fan Club

Forum => newLISP in the real world => Topic started by: zhanglong on July 23, 2014, 05:51:09 PM

Title: if default functor is an array, length always return 0
Post by: zhanglong on July 23, 2014, 05:51:09 PM
(set 'A:A (array 10))

(length A)     --> 0



In order to pass big array by reference transparently, 'length' should return the array's size.
Title: Re: if default functor is an array, length always return 0
Post by: Lutz on July 24, 2014, 06:55:20 AM
Thanks for catching this. length will work on arrays in default functors in 10.6.1 too.