Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Macro initialisation (https://www.kinook.com/Forum/showthread.php?t=3928)

citect 02-04-2009 06:30 PM

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?

kinook 02-04-2009 09:11 PM

1 Attachment(s)
See attached sample.


All times are GMT -5. The time now is 04:31 PM.


Copyright © 1999-2023 Kinook Software, Inc.