Arrays: new and old keys, i
    Mark Wieder 
    mwieder at ahsoftware.net
       
    Sat Sep 13 14:22:56 EDT 2008
    
    
  
David-
Saturday, September 13, 2008, 3:41:51 AM, you wrote:
> yes it is doable and not really "hard". So I think we are on the same wave
> length. We differ in that I'm complaining about it :)
<g>
> For beginners - it is counter intuitive (I remember having to ask on list
> about it when learning - and takes up space explaining in the
> documentation).  It takes a lot of lines of code, and messes up otherwise
> nice clean data structures with hacks just to get around the fact that you
> don't key your keys back in the order you put it in, and it is a very common
This gets back to my argument that in that case you want a queue, not
an array. Or rather a queue as a particular subclass of array. I'm
muchly in favor of adding queues and stacks (there's that word again)
as primitive types as peers of arrays.
-- 
-Mark Wieder
 mwieder at ahsoftware.net
    
    
More information about the use-livecode
mailing list