RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIntArray.Create Constructor

Creates an instance of TBaseArray for elements of a specific size.

Pascal
constructor Create(itemcount: Integer; dummy: Integer); override;
C++
virtual __fastcall TIntArray(int itemcount, int dummy);

Call Create to create an array containing elements with the size specified by the iSize parameter.Create sets the Capacity property to Itemcount and the ItemSize property to iSize. It also initializes the AutoSize property to true and the Count property to 0. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!