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.
GetPvProfString
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
GetPvProfString
Don Lowenstein
www.laapc.com
www.laapc.com
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
I see now - if entry is not found, the default value is used. However, if Entry is found and the entry is set to empty string - function returns an empty string.
Sorry to waste your time.
Sorry to waste your time.
Don Lowenstein
www.laapc.com
www.laapc.com