Sign in Join
FPDoc Onlineexperiment

TIniFile.ReadString function

Member of TIniFilepublicIn unit IniFiles

Read a string.

Declaration

pascal
function ReadString(const Section: string; const Ident: string; 
 const Default: string): string; override

Arguments

Section

Section to search key value in.

Ident

Key name.

Default

Default value if none is found.

Function result

Value of the string or Default if none found.

Description

ReadString implements the ReadString abstract method by looking at the in-memory copy of the ini file and returning the string found there.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.