[Overview][Classes][Index] |
Create a new instance of TIniFile
Source position: inifiles.pp line 197
public constructor TIniFile.Create( |
const AFileName: string; |
AEscapeLineFeeds: Boolean = False |
); override; overload; |
AStream: TStream; |
AEscapeLineFeeds: Boolean = False |
); overload; |
AFileName |
|
Filename to read from |
AEscapeLineFeeds |
|
Should escaping of linefeeds be enabled ? |
AStream |
|
Stream to read ini data from |
AEscapeLineFeeds |
|
Should escaping of linefeeds be enabled ? |
Create creates a new instance of TIniFile and initializes the class by reading the file from disk if the filename AFileName is specified, or from stream in case AStream is specified. It also sets most variables to their initial values, i.e. AEscapeLineFeeds is saved prior to reading the file, and Cacheupdates is set to False.
|
Abstract ini file object |
|
|
Inifile cached in memory |