Sign in Join
FPDoc Onlineexperiment

TCustomIniFile.WriteString procedure

Member of TCustomIniFilepublicIn unit IniFiles

Write a string value.

Declaration

pascal
procedure WriteString(const Section: string; const Ident: string; 
 const Value: string); virtual; abstract

Arguments

Section

Section to write key value to.

Ident

Key name with which to write value.

Value

String value to write.

Description

WriteString writes the string Value with the name Ident to the section Section, overwriting any previous value that may exist there. The section will be created if it does not exist.

Note that it is not possible to write strings with newline characters in them. Newlines can be read from a .ini file, but there is no support for writing them.

See also

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