#1
|
|||
|
|||
Finding a macro
In the vbld_BuildStarting script event I am trying to see if a temporary macro has been passed in if not I want to initialize one with an empty value.
I tried using the Application.FindMacro but I don't think I am using it correctly. Can you provide a sample or suggest another way to check. |
#2
|
|||
|
|||
See attached sample. FindMacro will find any type of macro, so you could use vbld_TempMacros()("TEST") instead to look only in temp macros.
http://www.kinook.com/VisBuildPro/Ma...rofunction.htm http://www.kinook.com/VisBuildPro/Ma...scriptmisc.htm http://www.kinook.com/VisBuildPro/Ma...emproperty.htm |
#3
|
|||
|
|||
Thanks for the quick response, that did it. I was using the wrong syntex. I was using an = instead of "is". I must have reverted back to a newbie, LOL
Thanks again. |
|
|