Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 12:21 PM.


Copyright © 1999-2023 Kinook Software, Inc.