#1
|
|||
|
|||
How to "OR" multiple macros in conditional build rules
Hi,
I would like to "OR" multiple macros in the conditional build rule, so that the execution of an action can be depended on a collection of macros. For example, either Complete_Build "OR" Partial_Build is defined. Is this possible? Would you please show me the syntax? I found that if I put "," bewteen macros, I can "AND" the macros. However, I haven't found a way to "OR" them. Also, how can I flip the value of a macro between true and false. For example "Not" Complete_Build? Thank you very much, Roy |
#2
|
|||
|
|||
Re: How to "OR" multiple macros in conditional build rules
Quote:
[Not vbld_AllMacros()("Completed_Build") Is Nothing Or Not vbld_AllMacros()("Partial_Build") Is Nothing] http://www.visualbuild.com/Manual/scriptexpressions.htm Quote:
Set m = vbld_TempMacro("Completed_Build") m.Value = Not m.Value |
#3
|
|||
|
|||
Thanks for the information. I will try it.
Roy |
|
|