Collapse (?) An Array?

Admin admin at
Thu Sep 1 10:06:47 EDT 2011



Perhaps to you I was over complicating things, but as I
see it, that is what he was asking for. 

If you have nothing nice to
say . . . 


P.S. I am not an admin - when I joined the live code
summer academy, they auto-assigned this forum name to me - it's not by
my choice. 

On Thu, 1 Sep 2011 14:59:55 +0100, Dave Cragg wrote: 

> On
1 Sep 2011, at 14:48, Admin wrote:
>> So, if A,B,C,D is the array
with positions 1,2,3,4 and you delete array variable 2 It will now look
like this: A,C,D and the array numbers are now: 1,3,4 He needs it to be
A,C,D and 1,2,3
> Looking back, I guess that's what Scott was hoping
for. (I'm sure he'll pipe in to confirm.)
> Unfortunately (or perhaps
not), it doesn't work that way. Livecode arrays are associative arrays,
and all keys, whether numbers or strings, behave in the same way.
> _______________________________________________
> use-livecode
mailing list
> use-livecode at [1]
> Please visit this url
to subscribe, unsubscribe and manage your subscription preferences:
> [2]


[1] mailto:use-livecode at

More information about the Use-livecode mailing list