Class

IniFile

IniFile(filename)

Constructor

# new IniFile(filename)

Open an INI file.

Parameters:
Name Type Description
filename string

the name of the file.

Members

string

# filename

Name of the file.

Methods

# Get(sectionopt, key) → {string}

get a key from a section of the INI.

Parameters:
Name Type Attributes Description
section string <optional>

the section to search for the key, can be omitted.

key string

the key to search.

the value if found or null.

string