GetPvProfString
Posted: Wed Nov 07, 2007 5:27 pm
I'm using:
xHarbour Compiler build 0.99.71 (SimpLex)
FWH Version 7 - binaries dated 7.10 from October 2007.
Borland BCC 5.5
1. I'm calling GetPvProfString() function as follows:
MYFILE.INI:
[XYZ]
MyVar=
x := GetPvProfString( 'XYZ', 'MyVar', '1', MYFILE.INI )
In this instance, with x is set to empty, the default value seems to not be working.
If I set ini file value as follows:
MyVar=2 - function works fine.
2. I checked the documentation to see if I was callling the FWH version of the function and I noticed within the documentation the function name is mis-spelled --- "GetPvpProfString" which, I believe is a typo - extra "p" ??? The program would not link when referencing the documented function.
xHarbour Compiler build 0.99.71 (SimpLex)
FWH Version 7 - binaries dated 7.10 from October 2007.
Borland BCC 5.5
1. I'm calling GetPvProfString() function as follows:
MYFILE.INI:
[XYZ]
MyVar=
x := GetPvProfString( 'XYZ', 'MyVar', '1', MYFILE.INI )
In this instance, with x is set to empty, the default value seems to not be working.
If I set ini file value as follows:
MyVar=2 - function works fine.
2. I checked the documentation to see if I was callling the FWH version of the function and I noticed within the documentation the function name is mis-spelled --- "GetPvpProfString" which, I believe is a typo - extra "p" ??? The program would not link when referencing the documented function.