TFPSList.DeleteRange procedure
Delete a range of elements.
Declaration
procedure DeleteRange(IndexFrom: Integer; IndexTo: Integer)Description
DeleteRange deletes elements from
IndexFrom till
IndexTo. Both indexes are zero based, and
IndexTo must be bigger than
IndexFrom.
Using this method results in less moving of data in memory,
and as such is more effective than deleting the elements one by one using
Delete.Errors
If invalid indexes are specified, an EListError exception will be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
