Complex IF, how many operators

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Guest

Complex IF, how many operators

Post by Guest » Sun Dec 05, 2004 1:27 am

Hi, love the new complex IF, thanks :D

How many logical operators are allowed in a complex IF?

If I want to do something when %a% equals any one of 10 different values is a complex IF the best way to do that? eg

IF>{(%a% = 5) OR (%a% = 7) OR (%a% = 8.7) OR [7 more times] }

or is there a better way to do it?

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sun Dec 05, 2004 8:35 am

At the end of the day it's up to you, but yes, if you have that many evaluations to make the new complex expressions is probably the easiest way to go. You can have as many expressions as you like.
MJT Net Support
[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts