help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TList.Add

Adds a new pointer to the list.

Declaration

Source position: classesh.inc line 210

public function TList.Add(

  Item: Pointer

):Integer;

Description

Add adds a new pointer to the list after the last pointer (i.e. at position Count, thus increasing the item count with 1. If the list is at full capacity, the capacity of the list is expanded, using the Grow method.

To insert a pointer at a certain position in the list, use the Insert method instead.

See also

Delete

  

Removes a pointer from the list.

Grow

Insert

  

Inserts a new pointer in the list at a given position.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505