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)
-   -   Passing parameters (https://www.kinook.com/Forum/showthread.php?t=593)

Kim 10-14-2004 01:45 PM

Passing parameters
 
Hi,
All of my projects can be run individually with default parameters saved in the project macros, or run as a set of chained projects passing parameters from one project to the next. When receiving these parameters, they are placed in “temporary macros” – not overwriting the default values in “project macros”.

Is there a way to overwrite project macros when passing parameters?

kevina 10-14-2004 02:29 PM

If a temporary macro is defined with the same name as a project (or global or system) macro, the temporary macro value will be used.

The macro precedence used when multiple macros of the same name exists is: Temporary, Project, Global, System.

So, the normal scenario just assigns temporary macros (with the same name to override the project macro values). The project macro is the 'default' value, but is overridden by the calling build by providing a temporary macro with the same name.

Or are you trying to actually modify the chained bld files? That would require something altogether different (and would be an unusual thing to do).


All times are GMT -5. The time now is 05:34 PM.


Copyright © 1999-2023 Kinook Software, Inc.