"repeat for each" in reverse order ?

Robert Brenstein rjb at robelko.com
Tue Jun 28 08:08:03 EDT 2005


>When it comes to the 'each element' form, you are right that it is 
>ambiguous at first glance, but would seem reasonable that sorting 
>applies to the elements themselves since keys are not explicitly 
>entering the picture. To get sorting on keys we would need to say
>
>   repeat for each line tKey in the keys of myArray ascending
>

Oops. My thinking went a bit astray. What you are talking about is more like

   repeat for each element foo of fooArray ascending by key of each

Robert



More information about the use-livecode mailing list