RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSmallIntArray.GetItem Method

Returns the integer at the indicated position.

Pascal
function GetItem(index: Integer): SmallInt;
C++
__fastcall SmallInt GetItem(int index);

Call GetItem to obtain the value of an integer in the array. The Index parameter indicates the element of the array, where the first element has the index 0, the second element has the index 1, and so on. 

 

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