|
#1
|
|||
|
|||
Parameter Evaluation Order
When I pass parameters to a function, what order or when are the parameters evaluated. For instance, if I have the following parameters what are my dependencies...
MY_MACRO1 "Some Name" MY_MACRO2 %MY_MACRO1% MY_MACRO3 %MY_MACRO2% Will MY_MACRO3 be set to "Some Value" when the calling function accesses the macro "MY_MACRO3"? In general, what will I run into here when I try and do this type of code? Ken |
#2
|
|||
|
|||
When you say 'function', are you calling a script function or a step subroutine? I'm guessing it's the second. If so, all macros referenced in any values for parameter macros are expanded before any temporary macros are created, so this won't work if MY_MACRO1 and MY_MACRO2 don't already exist.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|