Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page The WriteIniAny method  The AddIniAny method Next page


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. 

Syntax for method invocation:

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

Method arguments:

  1. varName is a required argument. It specifies the name of the variable stored in the file.
  2. path is a required argument. It specifies the full path to the ini file in which the variable is stored.
  3. section is a required argument. 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.

  • No labels