Boolean Variables in INI file

I have an ini file with a section


[Solution0]
Active=True
SolutionDir=erms_distribution
SolutionFile=ERMS_Distribution.sln
ProjectDir=ERMSDistribution
ProjectFile=
PathToWebConfig=

I am reading the Active value into a local boolean variable named "SolutionActive" in an action group.

 

When I look at the log, the value is always False - why is this ?

 

Thanks
 

Hi David,

FinalBuilder only interprets 0 or1 as boolean values in INI files, if you wish to use True/False then select to read the INI file value in as a string, FinalBuilder will automatically convert the string True/False to boolean values when assigning it to the variable.

Regards,
Paul.

Of course