Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

firemonkey android ini file

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;
Comment

firemonkey android ini file read

function LoadSettingString(Section, Name, Value: string): string;
var
  ini: TIniFile;
begin
  ini := TIniFile.Create(System.IOUtils.TPath.GetDocumentsPath + System.SysUtils.PathDelim + 'config.ini');
  try
    Result := ini.ReadString(Section, Name, Value);
  finally
    ini.Free;
  end;
end;
Comment

PREVIOUS NEXT
Code Example
Java :: Java Copying Arrays Using arraycopy() method 
Java :: Dio.java 
Java :: Java the implements this function will return a copy of the original String that has all characters replaced with plus signs ("+"), with the exception of word string appearances, which are left alone. 
Java :: random years java 
Java :: what is the import for gogga class java 
Java :: java set get all not containing 
Java :: Android popBackStack to specific fragment 
Java :: array slicing 
Java :: plantuml java 
Java :: java memory cleaner 
Java :: check if object is a string java 
Java :: linked list introduction 
Java :: Execute method on load 
Java :: how to make edittext not editable in android studio 
Java :: setBackgrounfTint color to relative layout from java file 
Java :: how to get the last vowel of a string in java 
Java :: java intercambiar la posicion de valores de un array 
Java :: break statement in Java switch...case 
Java :: how to write a java program for printing child or adult in java 
Java :: springfox 3.0.0 incompatibile spring boot 2.6.0 
Java :: ordenar mapa de forma descendente java 
Java :: change FS to hdfs java 
Java :: access modifier overloaded method 
Java :: trivers json node as node type2 
Java :: convert kotlin to java online editor 
Java :: Java object of the file 
Java :: java hashtable 
Java :: okhttp3, android okhttp 
Java :: java abstract method 
Java :: searchview android example recyclerview 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =