The ReadInimethod is used to read values of string variable in the ini-file.

Method call syntax:

function ReadIni (varName: String, path: String): String

Method call syntax:

  1. varName – required argument. Sets name of the variable storing in the file.

  2. path – required argument. Sets the full path to the ini-file in which variable is storing.

See example in The WriteIni method section.