![]() |
How can I increment a macro value?
I have a project macro (BUILD_VER) that I want to increment after every build. How can I do this?
I am trying to use the Macro action where I set its value. If I set its value to %BUILD_VER% +1 it changes the value to be "5 + 1". How can I make it evaluate the math first? -dh |
Use a script expression (indicated by brackets):
[%BUILD_VER% + 1] Also see the Increment Counter step in the Advanced.bld sample. |
That works great!
Thanks. -dh |
I need something similar-I have a macro %BUILD_VER% having the initial value 6.4.1010.0 (so it does not contain only numbers).
I need to update its value after every succesful build by incrementing the 3rd field (6.4.1010.0->6.4.1011.0).How can I do this? |
1 Attachment(s)
See attachment.
|
thanks a lot,it works perfect!
|
All times are GMT -5. The time now is 12:09 PM. |
Copyright © 1999-2023 Kinook Software, Inc.