Skip to content

TFPSList.Expand

Expand the capacity of the list.

Declaration

Source position: fgl.pp line 84

public 
function TFPSList.Expand : TFPSList;

Description

Expand will expand the capacity of the list, and returns itself.

Errors

If the size will become larger than MaxListSize an EListError exception will be raised.

See also

Name Description
MaxListSize Maximum amount of elements in a list.
TFPSList.Capacity Current capacity of the list.