Knowledgebase:
ArrayDimension
Posted by Mohammad Rahhal, Last modified by Angham Al-Banawien on 03 July 2018 03:21 PM

Syntax

 Public Function ArrayDimension(ByRef Ary As Variant) As Integer

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