|
#1
|
|||
|
|||
'Not equal to' script language comparison
Hi,
I have build condition that I would like to execute ONLY when two conditions are met, currently I am using [%WINDOWS_NT_SERVICE_STATUS% <> 4 AND "%SERVICE_COMMAND%" = "STOP"] above doesnt seems to be working as even if one of the condition is true , the whole thing gets executed. I am using VBP 8 and I realize symbol "<>" may not mean "Not equal to", if not <> then what should I use? Regards |
#2
|
|||
|
|||
If VBScript is the default script language (Tools | Application Options | General | Default script language), <> is the not equal comparison operator.
http://www.kinook.com/VisBuildPro/Manual/miscopt.htm http://www.tizag.com/vbscriptTutoria...toperators.php For other script languages, use the appropriate operator for that language. With VBScript, that expression works as expected in our tests -- see the attached sample and log. One possibility: http://www.kinook.com/Forum/showthread.php?t=927 |
Thread Tools | |
Display Modes | Rate This Thread |
|
|