Collapse (?) An Array?

Scott Rossi scott at tactilemedia.com
Thu Sep 1 12:23:32 EDT 2011


Recently, Jacque Landman Gay wrote:

>> From what you're saying, it sounds like I need to put the remaining elements
>> of the array into a temporary variable and then replace the original array.
> 
> If that's what you need, then it might be easier to just combine the
> array, remove the line you don't want, and then split it again. If any
> of your values are more than one line, use custom delimiters that don't
> appear in your data anywhere.

Funny, the whole reason I'm using arrays to store custom properties is to
avoid relying on delimiter characters  :-)  I'm storing image data which has
all kinds of crazy characters and don't want to risk corrupting the images.

I was hoping there was some special combine/split/union (collapse!) command
that would do what I needed, but rebuilding the array is working fine so
far.  Thanks to all who responded.

And Mike Admin, yes, you understood what I was asking for.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design






More information about the use-livecode mailing list