Collapse (?) An Array?

Scott Rossi scott at tactilemedia.com
Thu Sep 1 05:53:58 EDT 2011


Sorry, I don't know the correct verbiage here...

If I script this:

put "A" into theArray[1]
put "B" into theArray[2]
put "C" into theArray[3]


And then script this:

delete variable theArray[2]


I essentially get an array with entries that look like this:

A

C

How can I collapse (?) the array after deleting element 2 so that the array
only has two elements remaining?

A
C

Thanks for suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design






More information about the use-livecode mailing list