Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Rob Stott <email@hidden>
- Date: Sun, 23 Nov 2003 18:13:17 +0000
Hi,
As you've probably sussed out by now, the "repeat... ...by -1" method
is the best way. Just as a matter of interest though, you could also do
it like this - if you were feeling particularly perverse;
set loop_list to {"a", "b", "c", "d"}
--flip the list round backwards
set loop_list to reverse of loop_list
repeat with i from 1 to (the count of the items of loop_list)
display dialog item i of loop_list
end repeat
...of course, you'd need to remember to flip the list back round again
if you need it later on in the script...
r.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: "Wallace, William" <email@hidden>) |