Sign in Join
FPDoc Onlineexperiment

TStrings.Clear procedure

Member of TStringspublicIn unit Classes

Removes all strings and associated objects from the list.

Declaration

pascal
procedure Clear; virtual; abstract

Description

Clear will remove all strings and their associated objects from the list. After a call to clear, Count is zero.

Since it is an abstract method, TStrings itself does not implement Clear. Descendant classes such as TStringList implement this method.

See also

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