Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-14-2004, 01:45 PM
Kim Kim is online now
Registered User
 
Join Date: 04-03-2003
Location: Norway
Posts: 26
Question 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?
Reply With Quote
  #2  
Old 10-14-2004, 02:29 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
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).
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:51 AM.


Copyright © 1999-2023 Kinook Software, Inc.