"repeat for each" in reverse order ?

Thomas McGrath III 3mcgrath at adelphia.net
Sun Jun 26 22:27:43 EDT 2005


You can also do


repeat with i = (the num of items in myVar) down to 1
-- do something
end repeat

Tom


On Jun 26, 2005, at 7:06 PM, Thomas McCarthy wrote:

>
> I'm pretty sure you can do it--because I do it (and I'm not a guru)
> Here's what I do:
>
> put the num of items in myVariable into tnum --or lines, or words,or..
> repeat with i = tnum down to 1
> do something with item i of myVariable
> --drink coffee
> end repeat
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
> _______________________________________________
> 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
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541




More information about the use-livecode mailing list