Array.Capacity Property

Top 

Description

The amount of memory that is reserved for the Array in units of number of elements. The Capacity will equal the maximum Dimension that the Array has had, unless it is set to a different value. The capacity can never be smaller than the current Array Dimension.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Attributes

Type:

integer

Access:

read/write

Default Value:

0

Valid Range:

Array.Capacity ≥ 0

 

Syntax

myVariable1 = myArray1.Capacity;

 

myArray1.Capacity = myVariable1;

 

See also

Array Object

Matrix, Array, and Variable Math Guide