View Single Post
  #1  
Old 12-14-2009, 03:34 PM
krosty krosty is online now
Registered User
 
Join Date: 10-20-2009
Location: Princeton, NJ
Posts: 13
Multiple condition evaluation doesn't work

I have VBP 6.7a. I'm trying to evaluate multiple condition in one line by selecting 'build only if macro or expression' option and putting following expression

[Application.FindMacro("NEED_TO_BUILD").Value = "yes" AND Application.FindMacro("IsItCIBuild").Value = "yes"]

in the condition field

These are obviously mcro values that I've set.

From the drop-down, 'is true' is selected. I've also attached the test .bld file I created for this

The build seems to completely ignore the condition.

I've spend couple of hours on this and I'm getting frustrated

BTW, I got the above expression in one post in this forum that was made 3/4 years ago
Reply With Quote