• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct? (From: Jim Witte <email@hidden>)
 >Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct? (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Really dumb question . . .
  • Next by Date: Re: Really dumb question . . .
  • Previous by thread: Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct?
  • Next by thread: Re: Way to get functionality of C's 'continue' or HC 'next repeat' without using if construct?
  • Index(es):
    • Date
    • Thread