Collapse (?) An Array?
dave.cragg at lacscentre.co.uk
Thu Sep 1 07:27:47 EDT 2011
On 1 Sep 2011, at 10:53, Scott Rossi wrote:
> Sorry, I don't know the correct verbiage here...
> If I script this:
> put "A" into theArray
> put "B" into theArray
> put "C" into theArray
> And then script this:
> delete variable theArray
> I essentially get an array with entries that look like this:
> How can I collapse (?) the array after deleting element 2 so that the array
> only has two elements remaining?
I think the array is already collapsed.
put "A" into theArray
put "B" into theArray
put "C" into theArray
delete variable theArray
repeat for each element el in theArray
put el & cr after tOut
What are you doing to get
More information about the Use-livecode