Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-17-2007, 04:50 AM
DrGonzo DrGonzo is online now
Registered User
 
Join Date: 06-02-2006
Location: Germany
Posts: 21
Question Problems with changing macro Value??

Hi all,

from time to time VBP unfortunately shows some strange behaviour.

For Example we have a temporary macro that is initalysed at the beginning of the build procedure like this:

vbld_TempMacros().Add "VS_VERSION", "tools2003"

So we have a macro called VS_VERSION that has the value "tools2003"

Another script wants to change this macro's value using the following vbscript code:

if iVSVer = 7 then
vbld_TempMacros().Remove("VS_VERSION")
vbld_TempMacros().Add "VS_VERSION", "tools2005"
Exit Do
end if


But the macro value wont change. Can anyone explain to me why? Once initalysed this macro keeps its value. There are many other macros used like this, which work perfectly.

Regards,
DrGonzo
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 02:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.