Sign in Join
FPDoc Onlineexperiment

TStrings.Get function

Member of TStringsprotectedIn unit Classes

Abstract read handler for the Strings property.

Declaration

pascal
function Get(Index: Integer): string; virtual; abstract

Description

Get is the abstract read handler for the Strings property. This is an abstract method, hence it is not implemented in TStrings.

Descendant classes, such as TStringList must override this method and implement a routine that retrieves the Index-th string in the list. Index should have a value between 0 and Count-1, in all other cases an error should be raised using Error.

See also

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