View Single Post
  #1  
Old 09-26-2005, 05:39 PM
MikePeterson MikePeterson is online now
Registered User
 
Join Date: 09-26-2005
Posts: 10
More nested values

I have several macros containing build numbers with corresponding builds that read which build number they're supposed to use from an ini file.

For example,

Ini:
BuildNum=SP2_BUILDS

Bld:
BUILDNUM macro = %READ_INI(%INIFILE%,Settings,BuildNum,DEFAULT)%

So, at this point, BUILDNUM = SP2_BUILDS. Now SP2_BUILDS is another macro that will get incremented by this script and as an example, has a current value of 25.

How can I use the BUILDNUM macro in other macros (i.e. Version = 1.0.%BUILDNUM%) where ultimately I get the expansion of SP2_BUILDS - 1.0.25 - instead of 1.0.SP2_BUILDS?

Thanks.
Reply With Quote