"repeat for each" in reverse order ?

Phil Davis davis.phil at comcast.net
Sat Jun 25 13:57:48 EDT 2005


It sounds like you're looking for a feature that doesn't yet exist (or 
at least I'm not aware of it). I could see having a property that 
defines the direction in which the 'repeat for each' structure does its 
looping, like this:

   set the repeatDirection to "descending" -- or "down", "reverse", ???
   repeat for each element x in y
     -- actions
   end repeat

That would be a nice feature indeed. No harm in requesting it!

Phil Davis



jbv wrote:
> Hi list,
> 
> Is there a way to use
> "repeat for each element thisIndexTerm in listOfTerms"
> in reverse order, like in
> "repeat with i=number of items of myVar down to 1" ?
> 
> Thanks,
> JB
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list