Selecting a range within an array?
gbojsza at mac.com
Wed Apr 7 18:32:41 EDT 2004
Two things that I have noticed
put 5 into ttt[1,1]
put 7 into ttt[2,1]
put 8 into ttt[3,1]
put 9 into ttt[4,1]
put keys of ttt
the result of put keys of ttt
What constitutes this order?
How can I empty an array?
On Wednesday, April 7, 2004, at 04:36 PM, Dar Scott wrote:
> 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
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode