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

Syntax

 Public Function ArrayRange(ByRef Ary As Variant, ByVal rank_index As Integer) As Integer

This function is used to return the number of the element in given array dimension.

Parameters

Key Description 
Ary Checked array. Value of type is Variant
rank_index The index of dimension. Value of type is Integer

Return value

Returns the number of elements in the selected array.

Sample

 Public Sub main()

    Dim i
    Dim Element
    Dim compare
    CopyHigh 0, 10, 20, i
    Element = ArrayRange (i, 1)
    AlertMessage (element)

 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