Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Method call syntaxSyntax for method invocation:

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

Method arguments:

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

See example in The WriteIniAny Method sectionmethod.