Collapse (?) An Array?

Admin admin at mfelkerco.com
Thu Sep 1 09:06:47 CDT 2011


  

Collin, 

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 . . . 

Mike 

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.
> 
>
Dave
> 
> _______________________________________________
> use-livecode
mailing list
> use-livecode at lists.runrev.com [1]
> Please visit this url
to subscribe, unsubscribe and manage your subscription preferences:
>
http://lists.runrev.com/mailman/listinfo/use-livecode [2]

 


Links:
------
[1] mailto:use-livecode at lists.runrev.com
[2]
http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list