• 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: Impossible "If"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Impossible "If"?


  • Subject: Re: Impossible "If"?
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 11 May 2001 00:06:24 -0700

On 5/10/01 10:51 PM, Ehsan Saffari <email@hidden> wrote:

>Why don't the ifs ever come true?
>
>set x to {3, 7, 11}
>repeat with h in x
>display dialog h
> if h = 3 then
> --do this
> else if h = 7 then
> --do that
> else if h = 11 then
> --do other
> end if
>end repeat

set x to {3, 7, 11}
repeat with h in x
display dialog h
if contents of h = 3 then
beep 1
else if contents of h = 7 then
beep 2
else if contents of h = 11 then
beep 3
end if
end repeat

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: Impossible "If"?
      • From: Andy Wylie <email@hidden>
    • Re: Impossible "If"?
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: Why won't this parse?
  • Next by Date: File signatures
  • Previous by thread: Re: Impossible "If"?
  • Next by thread: Re: Impossible "If"?
  • Index(es):
    • Date
    • Thread