if/then with and/or

Shari gogypsy at bellsouth.net
Fri Mar 15 19:53:01 EST 2002


Okay, now this one's bugging me...

If my if/then handler includes and/or, it fails.

if var1 is "goody" and var2 is "nope" and var3 is "hello" then
    doSomething
end if

That fails.

if var1 is "goody" then
    if var2 is "nope" then
       if var3 is "hello" then
          doSomething
       end if
    end if
end if

That works.

?

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com



More information about the metacard mailing list