Re: Impossible "If"?
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. |
----------------------------------------------------------------------