The TTextIniFile class implements textual initialization files.
Unit
TextInis
Ancestor
TObject
Description
The TTextIniFile class implements textual initialization
files. The files are fully interface compatible with the ones
in the (Delphi) IniFiles unit, but provide some additional
methods for reading and writing data other than String,
Integer, and Boolean. The files do not use any operating
system stuff, so they works alike in OS/2 and Windows.
The files are divided into sections and identifiers, as usual, but there is one exception: If a file contains a section whose name is the empty string, it is written without a section heading when the file is created. This allows to use the class for 'flat' initialization files, just specify the empty string as section identifier.
The class does not change data that is not affected by a writing call, nor does it sort anything. That should allow you to use it for most existing text-based initialization files, since commentc etc. will not get lost.
Subordinate chapters
Properties
Methods