determining array lengths

Brad Allen BradAllen at
Sat Sep 21 14:18:01 EDT 2002

After looking around in the documentation, I haven't been able to 
find a simple function to determine the number of keys for a given 
array dimension. Do I need to parse the output of the keys function 
for this, or have I overlooked something in the documentation?

I was hoping the number function might do it, as in

      the number of keys in myArray

The expected output would be something like [100,50], to indicate the 
dimensions of the array.

The "number of lines in the keys of myArray" only works for 
one-dimensional arrays.


More information about the Use-livecode mailing list