Shiamak
02-17-2006, 01:51 PM
Hi,
I have a MACRO that gets set upon sucess or failure of the STEP
Sub vbld_StepDone()
if (step.BuildStatus = 0) Then
'bBuildStatus = "Success"
vbld_AllMacros().Item("CONFIG").Value)
vbld_AllMacros().Item("bBUILDSTATUS").Value = "SUCCESS"
STATUS = "SUCCESS"
else
vbld_AllMacros().Item("bBUILDSTATUS").Value = "FAILED"
STATUS = "FAILED"
End If
End Sub
STATUS is declared as a GLOBAL var in the begning (Global section of the script).
But when I try to access the value of STATUS in another MACRO (say "Logg Message") e.g %STATUS% is equal to "SUCESS" or "FAILED", the VisualBUILD Pro always says the condition is evaluated as FALSE ?
Thanks for your help.
I have a MACRO that gets set upon sucess or failure of the STEP
Sub vbld_StepDone()
if (step.BuildStatus = 0) Then
'bBuildStatus = "Success"
vbld_AllMacros().Item("CONFIG").Value)
vbld_AllMacros().Item("bBUILDSTATUS").Value = "SUCCESS"
STATUS = "SUCCESS"
else
vbld_AllMacros().Item("bBUILDSTATUS").Value = "FAILED"
STATUS = "FAILED"
End If
End Sub
STATUS is declared as a GLOBAL var in the begning (Global section of the script).
But when I try to access the value of STATUS in another MACRO (say "Logg Message") e.g %STATUS% is equal to "SUCESS" or "FAILED", the VisualBUILD Pro always says the condition is evaluated as FALSE ?
Thanks for your help.