Matrix1 Utility Plug-ins

# GET ARRAY SIZE

Syntax

Number of items = GET ARRAY SIZE( Array() )

Description

This differs from ARRAY COUNT() in that it returns the correct number of items in the array. For example: dim a(0) as integer print ARRAY COUNT( a() ) print GET ARRAY SIZE( a() ) will display 0 and 1, because arrays are actually numbered from zero, and when you dimension an array you actually specify the last item number, not the size.

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