MC-Basic:CASTPOINT

From SoftMC-Wiki
Revision as of 08:48, 5 November 2012 by Nurit (talk | contribs) (Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= <''variable''> = arraysize (<''array_name''>, <''long_expression''>) |AVAILABILITY= All versions |DESCRIPTION= Returns the size of a array...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the size of a array’s dimension according to the dimension’s number (1 for first the dimension, 2 for the second dimension, etc.).

Returns zero, if the dimension number is larger then the number of dimensions defined for the array and also, if the dimension number is zero or negative.

Syntax

<variable> = arraysize (<array_name>, <long_expression>)

Availability

All versions

Type

Long

Scope

Configuration, Task, Terminal

Examples

? ArraySize (Arr, 2)

Size = ArraySize (Arr, X)