|
#1
|
|||
|
|||
I meant that, for example, you could use a rule like
Build only if ["%MACRO1%" = "t" And "%MACRO2%" = "b"] is true to compare the values of two different macros with strings. If this doesn't help: http://www.kinook.com/Forum/showthread.php?t=927 Please send the details requested at http://www.kinook.com/Forum/showthread.php?t=3044 |
#2
|
|||
|
|||
Hi There,
I am using following condition [%DEP_SITE%= "A" AND %DEPLOY-HELP% = "B"] is true But once VBP starts executing above statement I get following error Error expanding macros or script in property condexpr: <Error in ? (PerlScript) script code at Line 1, Column 0 (Compilation error)> any help is appreciated. BTW: My perl works fine with other macros I have as well as a perl script embeded within VBP. My VBP version is 7.7 |
#3
|
|||
|
|||
I did try quotes around as well.
|
#4
|
|||
|
|||
Quote:
When I run single condition e.g. %DEP_SITE%= "A" everythings works fine |
#5
|
|||
|
|||
For PerlScript syntax, you need something like
["%DEP_SITE%" eq "A" && "%DEPLOY-HELP%" eq "B"] http://www.pageresource.com/cgirec/ptut7.htm |
|
|