PDA

View Full Version : Passing parameters


Kim
10-14-2004, 01:45 PM
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).