if default functor is an array, length always return 0

Started by zhanglong, July 23, 2014, 05:51:09 PM

Previous topic - Next topic

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.

Lutz

#1
Thanks for catching this. length will work on arrays in default functors in 10.6.1 too.