• 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: Repeat With question (newbie level)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat With question (newbie level)


  • Subject: Re: Repeat With question (newbie level)
  • From: g3pb <email@hidden>
  • Date: Wed, 14 Feb 2001 19:40:11 -0900

set alphaList to {"a", "b", "c"}

repeat with i from 1 to number of items in alphaList
if item i of alphaList is "b" then beep
if item i of alphaList = "b" then beep
if item i of alphaList is equal to "b" then beep
if item i of alphaList = "b" then beep
end repeat


-- hcir
mailto:email@hidden
Made with a Mac!



> set alphaList to {"a", "b", "c"}
>
> repeat with aLetterItem in alphaList
> set aLetter to contents of aLetterItem
> if aLetter is equal to "b" then beep 1
> if aLetter is "b" then beep 1
> if aLetter = "b" then beep 1
> if aLetter is equal to "b" then beep 1
> if (aLetter as string) is equal to "b" then beep 1
> end repeat


References: 
 >Re: Re: Repeat With question (newbie level) (From: John W Baxter <email@hidden>)

  • Prev by Date: 'explode' quark document into pages
  • Next by Date: Re: Simple question
  • Previous by thread: Re: Re: Repeat With question (newbie level)
  • Next by thread: Re: Re: Repeat With question (newbie level)
  • Index(es):
    • Date
    • Thread