1. App.ini contents:
- Code: Select all Expand view
[Balance]
BF_COL_K=6300
BF_COL_L=2473.50
2. The ini is then read in the following way
- Code: Select all Expand view
function readIni()
local oIni, aBF := array(2)
INI oIni FILE "c:\app\data\app.ini"
GET aBF[COL_K] SECTION "Balance" ENTRY "BF_COL_K" OF oIni DEFAULT 0.00
GET aBF[COL_L] SECTION "Balance" ENTRY "BF_COL_L" OF oIni DEFAULT 0.00
ENDINI
return nil
Instead of 6300 and 2473.50, I'll get 6300 and 2473 . How to fix this?
Am using FWH2.8 and the code was tested on an XP machine
Thank you