The number of elements in an Array object.

Property of

Array

Description

size indicates the number of elements in an Array object.

For a one-dimensional array, you can assign a value to size to change its size.

For an array with more than one dimension, size is read-only.

You can use the ALEN( ) function to determine the size of each dimension for a two-dimensional array. There is no built-in way to determine dimension sizes for arrays with more than two dimensions.