📅  最后修改于: 2022-03-11 14:59:02.577000             🧑  作者: Mango
procedure SaveSettingString(Section, Name, Value: string);
var
ini: TIniFile;
begin
ini := TIniFile.Create(System.IOUtils.TPath.GetDocumentsPath + System.SysUtils.PathDelim + 'config.ini');
try
ini.WriteString(Section, Name, Value);
finally
ini.Free;
end;
end;