Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]
Richard Gaskin
ambassador at fourthworld.com
Wed Aug 20 14:55:39 EDT 2014
Peter Haworth wrote:
> On Wed, Aug 20, 2014 at 9:50 AM, Richard Gaskin wrote:
>
>> get tArray[1,2]
>
> Thanks for the explanation Richard. So the only difference is that they are
> one dimensional but the keys can kind of express multiple dimensions by
> being numeric and separated by commas? Are the keys limited to the two
> dimensions in your example?
Well, technically it's just one-dimensional, a string that happens to
have a comma in it.
MatrixMultiply requires that format, in which the string is comprised of
two integers separated by a comma.
But for any other purpose you can use any string you like.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list