ArrayDimension
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 09:44 AM

Syntax

 Public Function ArrayDimension(ByRef Ary As Variant) As Integer

Description

This function is used to return the multidimensional array rank.

Parameters

Key Description 
Ary The Array to get the rank for it. Value of type is Variant

Return value

Returns the given array rank as value of type Integer.

Sample

 Public Sub main()

    Dim i
    Dim Size
    CopyHigh 0, 10, 20, i
    Dimension = ArrayDimension (i)
    AlertMessage (Dimension) 'return1 1 (one dimension)

 End Sub

See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions