• 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
Multiple Ifs in an if statement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Ifs in an if statement


  • Subject: Multiple Ifs in an if statement
  • From: Christopher MJ Tangora <email@hidden>
  • Date: Mon, 8 Mar 2004 11:23:49 -0500

Is there any way to have an if statement look at two variables? I've been trying and looking and can't figure it out.

here is an example of the script I would like to work, but doesn't.

if X contains A or B then
do something
end if


X being a list
A being one variable inside of X
B being another variable inside of X


Is this possible? Do I need to use quotes?

thanks in advance



Chris Tangora

Desktop Specialist
Production Services
Daytona Beach News-Journal Corporation
Daytona Beach, Florida
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Multiple Ifs in an if statement
      • From: Bill White <email@hidden>
  • Prev by Date: Millisecond clock
  • Next by Date: Re: Multiple Ifs in an if statement
  • Previous by thread: Re: Millisecond clock
  • Next by thread: Re: Multiple Ifs in an if statement
  • Index(es):
    • Date
    • Thread