Command Reference : Programming Language Reference
  
 
@loadprgini
Syntax: @loadprgini(“[section]name”, “filename”)
Argument 1: string, name
Argument 1: string, filename
Return: string
Returns a string containing the value of the specified variable name in the optionally specified section from the “.ini” file specified in filename. If filename is not specified the default “.ini” is the one with the name of the current running program with extension “.ini.” Note that the function returns a string, so scalars will have to be converted with @val. Also note that both arguments must be enclosed in quotes.
Examples
string val = @loadprgini(“[section1]a”, “myini.ini”)
will save the value of “a” retrieved from section [section1] of the “.ini” file program_filepath\myini.ini.
Cross-references
See saveprgini.