Dim? Function

Purpose

Returns the total number of elements in an array.

Syntax

Dim? [(] x() [)]

x() : array of any variable type

Example

OpenW # 1

Dim a%(19, 9, 2, 13)

Print Dim?(a%())        // Prints 8400

Print IndexCount(a%())  // Prints 4

Print ArraySize(a%())   // Prints 33600

Do

Sleep

Until Me Is Nothing

See Also

Dim, Erase, LBound, UBound, IndexCount, ArraySize

{Created by Sjouke Hamstra; Last updated: 17/05/2017 by James Gaite}