A simple INI file implementation.
The standard TIniFile has several flaw, so I provided my own implementation.
An INI file implementation.
Implemented as a list of Sections, each containing lines of key=value. Entire sections can read or written without any interpretation.
Loads the given file, if it exists.
Reads an string value.
Writes an entire section. Sets Dirty when the strings are different from the current section values.
Writes an entire section. Sets Dirty when the strings are different from the current section values.
Returns a Section object, specified as name or [name]. Nil if not found.
Checks for a Section specified as name or [name].
The list of all Sections.
Saves the values if Dirty.
Saves the values if Dirty, and if FileName is not empty.