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)
-   -   Overriding macros when calling VBP scripts? (https://www.kinook.com/Forum/showthread.php?t=3718)

jjkboswell 07-22-2008 09:17 AM

Overriding macros when calling VBP scripts?
 
If you have the same project level macros in a set of scripts, is there any way of overriding the macro when calling a child script?

For example:
Script A defines project macro ABC value 1
Script B defines project macro ABC value 2

If A calls B, is there a way to get B to use value 1?

James

kinook 07-22-2008 09:42 AM

Yes -- temporary macros override project macros. In the child project, reference the macro like %ABC%, and include a parameter Name ABC / Value %ABC% when calling the child project.

http://www.kinook.com/VisBuildPro/Ma...ecialchars.htm

http://www.kinook.com/VisBuildPro/Manual/macrostab.htm

http://www.kinook.com/VisBuildPro/Ma...ameterstab.htm

jjkboswell 07-22-2008 10:09 AM

Just wanted to say thanks for your very rapid responses to my questions! Huge help and much appreciated.

Cheers

James


All times are GMT -5. The time now is 11:19 PM.


Copyright © 1999-2023 Kinook Software, Inc.