如何调用INI 读写单元生成文件的过程
procedure TIniOptions.LoadSettings(Ini: TIniFile);
begin
if Ini <> nil then
begin
{Section: SERVERS}
FSERVERSSVR1 := Ini.ReadString(csIniSERVERSSection, csIniSERVERSSVR1, '127.0.0.1');
FSERVERSSVR2 := Ini.ReadString(csIniSERVERSSection, csIniSERVERSSVR2, '127.0.0.1');
FSERVERSSVR3 := Ini.ReadString(csIniSERVERSSection, csIniSERVERSSVR3, '127.0.0.1');
FSERVERSSVR4 := Ini.ReadString(csIniSERVERSSection, csIniSERVERSSVR4, '127.0.0.1');
end;
end;
|