Selecting a range within an array?

Dar Scott dsc at swcp.com
Wed Apr 7 17:36:56 EDT 2004


On Wednesday, April 7, 2004, at 03:18 PM, Glen Bojsza wrote:

> I am trying to see how you can select a range  from an array...

Build a new array by looping over the subscripts.  Skip empty values in 
building the new array.  This is good for non-sparse or a little bit 
sparse as in your example.

If the array can be extremely sparse, don't do that, but loop over the 
keys of the input array:  'repeat for each line in the keys of...'.

Dar Scott



More information about the Use-livecode mailing list