Collapse (?) An Array?
Colin Holgate
coiin at verizon.net
Thu Sep 1 08:13:46 EDT 2011
Try this in the multiline message box:
put "A" into theArray[1]
put "B" into theArray[2]
put "C" into theArray[3]
delete variable theArray[2]
put theArray[1] &"*"&theArray[2] &"*"& theArray[3]
You'll see that although theArray[2] is deleted, its position is still kept. The way the dictionary describes it suggests that the element would have been removed.
On Sep 1, 2011, at 7:27 AM, Dave Cragg wrote:
> What are you doing to get
>
> A
>
> C
More information about the use-livecode
mailing list