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

Syntax

 Public Function ArrayResize(ByRef Ary As Variant, ByVal newsize As Integer) As Integer

This function is used to set a new size for the first dimensional array.

Parameters

Key Description 
Ary Array to change its size. Value of type is Variant
Newsize New size for the first dimensionl array. Value of type is Integer

Return value

Returns new size value for the array as Integer.

Sample

 Public Sub main()

    Dim i
    Dim Size
    CopyHigh 0, 10, 20, i
    Size = ArrayResize (i, 200)
    AlertMessage (size) 'returns 200

 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