PDA

View Full Version : Evaluating multiple macro expression


ChrisF
09-02-2010, 03:58 PM
How can I run a step contingent on multiple macro expressions? So I want

if macro1==true AND (maro2==rue OR macro3==true)
do the step

for example. I have v7.2a

kinook
09-02-2010, 04:18 PM
Use a build rule with a script expression, i.e.:

[%macro1% And (%macro2% OR %macro3%)]

http://www.kinook.com/VisBuildPro/Manual/buildrules.htm
http://www.kinook.com/VisBuildPro/Manual/scriptexpressions.htm

ChrisF
09-23-2010, 09:52 AM
How do I "negate" a macro value, e.g.,

[%macro1% AND NOT %macro2]

kinook
09-23-2010, 10:24 AM
Just like that.