RAD Studio VCL Reference
|
Indicates the low bound of a dynamic array.
property Low: Integer;
__property int Low;
The Low property always returns 0. The following function returns the sum of the contents of an integer type DynamicArray.
int TotalArray(const DynamicArray<int>& arrayOfInt)
{ int total=0; for (int i=arrayOfInt.Low; i<=arrayOfInt.High; i++) total += arrayOfInt[i]; return total; }
High
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|