The ReadIniAny method is used to read the values of a string variable in the ini-file. Unlike the ReadIni method, in ReadIniAny you can specify the required file section from which you want to read the variable. 

Method call syntax:

function ReadIniAny (varName: String, path: String, section: String): String

Method arguments:

  1. varName — required argument. Sets the name of the variable saved in the file.
  2. path — required argument. Sets the full path to the ini-file where the variable is stored. 
  3. section — required argument. Sets the name of the section of the ini-file from which you want to read the variable. 

See example in The WriteIniAny Method section.