# unit inifiles

author: Tomasz Biela (Tebe)

https://github.com/graemeg/freepascal/blob/master/packages/fcl-base/src/inifiles.pp

## Types:

name: | type: | description:
--- | --- | ---
TINIFile | Object FileName: TString; procedure Create(fn: TString); procedure Free; function ReadString(const Section, Ident, Default: TString): TString; function ReadInteger(const Section, Ident: TString; Default: integer): integer; function ReadBool(const Section, Ident: TString; Default: Boolean): Boolean; function Search(Section, Ident: TString): TString; function ReadFloat(const Section, Ident: TString; Default: Single): Single; end; |

## Interface:

name: | description:
--- | ---
TINIFile.Free | #### procedure TINIFile.Free;
TINIFile.Create | #### procedure TINIFile.Create(fn: TString);
TINIFile.ReadString | #### function TINIFile.ReadString(const Section, Ident, Default: TString): TString;
TINIFile.ReadInteger | #### function TINIFile.ReadInteger(const Section, Ident: TString; Default: integer): integer;
TINIFile.ReadBool | #### function TINIFile.ReadBool(const Section, Ident: TString; Default: Boolean): Boolean;