|
#1
|
|||
|
|||
Incrementing a global macro
Say I have a global macro, BUILD_NUM, for example, that I set with one script.
How can I set a step in a second script to increment the macro? Will it be just a Set Macro step re-using the above global macro name with a value of %BUILD_NUM% + 1? |
#2
|
|||
|
|||
You could use a Set Macro action with a value of
[%BUILD_NUM%+1] http://www.kinook.com/VisBuildPro/Ma...xpressions.htm You can also use a Run Script action. See http://www.kinook.com/VisBuildPro/Ma...riptsample.htm |
#3
|
|||
|
|||
As always, thanks a bunch for your prompt reply however I ended up using %LOOP_VALUE% along with Loop statement, it worked really well.
|
|
|