View Single Post
  #1  
Old 05-28-2003, 05:12 PM
gdanko gdanko is online now
Registered User
 
Join Date: 05-27-2003
Posts: 18
Odd read .INI behavior

Why does this work ONLY if the value in the .INI file is an integer versus a string???

Application.Macros(vbldTemporary).Add "FOO","[%READ_INI(C:\deploy.ini,Batch1,Server0)%]"

--------------------Starting Build: 'Deploy.bld'--------------------
Building project step 'Temp'...
Server0 = WWW6
Build successfully completed.

--------------------Starting Build: 'Deploy.bld'--------------------
Building project step 'Hostname Array'...
Building project step 'Show servername'...
The value of FOO is
Build successfully completed.

--------------------Starting Build: 'Deploy.bld'--------------------
Building project step 'Temp'...
Server0 = 150
Build successfully completed.

--------------------Starting Build: 'Deploy.bld'--------------------
Building project step 'Hostname Array'...
Building project step 'Show servername'...
The value of FOO is 150
Build successfully completed.

Is there some reason for this behavior?
Reply With Quote