Matrix1 Utility Plug-ins

GET ARRAY COUNT


Syntax

Dimension size = GET ARRAY COUNT( Array(), Dimension )
Dimension size = ARRAY COUNT( Array(), Dimension )

Description

Gets the upper limit of the specified dimension (ie, the number of items in that dimension). The dimensions of the array are based on 1.

e.g.
dim a(4, 3, 2, 1)
print GET ARRAY COUNT( a(), 1 )

... has 4 dimensions, and the first dimension has an upper limit of 4.

Go back to ...

Matrix1Util_29 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011