if i add "Section" in INI i have to delete old INI else change will not appear in INI

it have to do with
Code: Select all
IF !FILE( "Config.ini" )
// write File
SET Section ...
ELSE
// read File
GET ...
ENDIF

Moderator: Rathinagiri
Code: Select all
IF !FILE( "Config.ini" )
// write File
SET Section ...
ELSE
// read File
GET ...
ENDIF
Code: Select all
cDNLPath := 'c:\'
cUPLPath := 'c:\'
BEGIN INI FILE ( "c:\test\dirselect.ini")
SET SECTION "General" ENTRY "DNLPath" to cDNLPath
END INI