Sign in Join
FPDoc Onlineexperiment

TStrings.GetText function

Member of TStringspublicIn unit Classes

Returns the contents as a PChar.

Declaration

pascal
function GetText: PChar; virtual

Description

GetText allocates a memory buffer and copies the contents of the stringlist to this buffer as a series of strings, separated by an end-of-line marker. The buffer is zero terminated.

The caller is responsible for freeing the returned memory buffer.

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