Page 1 of 1

if default functor is an array, length always return 0

Posted: Thu Jul 24, 2014 12:51 am
by zhanglong
(set 'A:A (array 10))
(length A) --> 0

In order to pass big array by reference transparently, 'length' should return the array's size.

Re: if default functor is an array, length always return 0

Posted: Thu Jul 24, 2014 1:55 pm
by Lutz
Thanks for catching this. length will work on arrays in default functors in 10.6.1 too.