Matrix1 Utility Plug-ins

GET ARRAYPTR COUNT


Syntax

Dimension size = GET ARRAYPTR COUNT( Array pointer )
Dimension size = GET ARRAYPTR COUNT( Array pointer, Dimension )

Description

This function is identical to GET ARRAY COUNT, except that it operates upon an array pointer rather than an array.

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)
p = GET ARRAYPTR( a() )
print GET ARRAYPTR COUNT( p, 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