gdanko
05-28-2003, 05:12 PM
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?
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?