getting count of array with non-integer index
Trevor DeVore
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
>following trick:
> put the keys of tArray into tKeys
> split tKeys using return and comma
> put the number of lines of the keys of tKeys
Jan,
Thanks, the first example gave me just what I wanted.
Trevor
More information about the use-livecode
mailing list