Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct?
Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct?
- Subject: Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct?
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 26 Jul 2005 09:46:38 +0200
On Jul 25, 2005, at 11:12 PM, Jim Witte wrote:
repeat with i from 1 to numDocs
set docName to (name of document i)
if (docName does not contain "blah") then
continue repeat
end if
set tURL to (URL of document i)
[..]
end repeat
Perhaps you may code:
repeat with i from 1 to numDocs
set docName to (name of document i)
if (docName contain "blah") then
set tURL to (URL of document i)
[..]
end if -- (docName contain "blah")
end repeat
Yvan KOENIG (from FRANCE 26 juillet 2005 9:46:00)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden