DisposeStr procedure
Dispose an ansistring from the heap.
Declaration
procedure DisposeStr(S: PString); overloadDescription
DisposeStr removes the dynamically allocated string
S from the
heap, and releases the occupied memory.
This function is provided for Delphi compatibility only. AnsiStrings
are managed on the heap and should be preferred to the mechanism of
dynamically allocated strings.
For an example, see DisposeStr.
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
