View Single Post
  #1  
Old 02-04-2009, 06:30 PM
citect citect is online now
Registered User
 
Join Date: 11-13-2008
Posts: 30
Macro initialisation

I initial a macro to false by using the "set macro" step. In the "macro" field I either put -1 or [true]. This macro get sets to 0 or [false] by using the "set macro" step too. I am then using this same macro in "vbscript" step. I am using "set macro name = vbld_AllMacros()("macro name")" in the script to retrieve the value of this macro. I am using the msgbox routine to display the value. The value displayed is 0 but I would prefer to see "false". My real concern is that when I have got the following line in the script "if macro = false then .... endif", I would expect that the condition is true and then execute the if statement but it does NOT. Please can you advise?
Reply With Quote