TReadStrEvent procedure type
Callback to read strings from storage.
Declaration
TReadStrEvent = function(const ASection: string; const Item: string;
const Default: string): string of objectArguments
ASection | Section to read value from. |
Item | Key name for value. |
Default | Default return value if none was found. |
Function result
Value of
Item in section
ASection.
Description
TReadStrEvent is used by
TPropsStorage to read
strings from a storage mechanism, in a .ini file like fashion: The call
should read the string in
ASection with key
Item,
and if it does not exist,
Default should be returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
