Arrays in Rev (long)

Rob Cozens rcozens at pon.net
Mon Jul 12 10:26:03 EDT 2004


>that's a very usefull code.... :D I wish I had this before!
>
>Thanks!

You are most welcome, Andre.

I would note further that syntax to support two dimensional arrays 
with no returns or commas in any element is even simpler:

	put thisValue into item yCoord of line xCoord of myArray

	get item yCoord of line xCoord of myArray

If the above is true AND the array is initialized so there are no 
empty elements, three dimensional arrays can be supported as

	put thisValue into word zCoord of item yCoord of line xCoord of myArray

	get word zCord of item yCoord of line xCoord of myArray

-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list