[Overview][Classes][Index] |
Instantiate a new instance of TCustomIniFile.
Source position: inifiles.pp line 128
public constructor TCustomIniFile.Create( |
const AFileName: String; |
AEscapeLineFeeds: Boolean = false |
); virtual; |
AFileName |
|
Filename to read |
AEscapeLineFeeds |
|
Should escaping of linefeeds be enabled ? |
Create creates a new instance of TCustomIniFile and loads it with the data from AFileName, if this file exists. If the AEscapeLineFeeds parameter is True, then lines which have their end-of-line markers escaped with a backslash, will be concatenated. This means that the following 2 lines
Description=This is a \ line with a long text
is equivalent to
Description=This is a line with a long text
By default, not escaping of linefeeds is performed (for Delphi compatibility)
If the file cannot be read, an exception may be raised.
|
Remove the TCustomIniFile instance from memory |
lazarus-ccr.sourceforge.net |