Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-02-2010, 03:58 PM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
Evaluating multiple macro expression

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
Reply With Quote
  #2  
Old 09-02-2010, 04:18 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
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/Ma...xpressions.htm
Reply With Quote
  #3  
Old 09-23-2010, 09:52 AM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
How do I "negate" a macro value, e.g.,

[%macro1% AND NOT %macro2]
Reply With Quote
  #4  
Old 09-23-2010, 10:24 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Just like that.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:55 PM.


Copyright © 1999-2023 Kinook Software, Inc.