getting count of array with non-integer index
trevor at mangomultimedia.com
Sun Aug 11 11:54:00 EDT 2002
>To answer your second question, you have a few
>options, depending on the circumstances.
>1) If the second dimension is fixed (always NN
>elements), you can suffice by saying:
> put (the number of lines of the keys of tArray / NN)
>2) If however NN is variable, you can get it with the
> put the keys of tArray into tKeys
> split tKeys using return and comma
> put the number of lines of the keys of tKeys
Thanks, the first example gave me just what I wanted.
More information about the Use-livecode