TsgIntegerList.Add

TsgIntegerList

  Classes Reference > List Classes > TsgIntegerList > Methods >

TsgIntegerList.Add

TsgIntegerList

Previous pageReturn to chapter overviewNext page

Inserts a new item at the end of the list.

Syntax

function Add(const Item: Integer): Integer;

Description

Call Add to insert a new object at the end of the Items array. Add returns the index of the new item, where the first item in the list has an index of 0. Add increments Count and, if necessary, allocates memory by increasing the value of Capacity.

Go to CAD VCL Enterprise