Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 12 December 2018 02:33 PM


 Public Function ArrayCompare(ByRef array1 As Variant, ByRef array2 As Variant) As Integer

This function is used to compare between the element of two given arrays of the same type.


Key Description 
array1 First array to be compared. Value of type is Variant
array2 Second array to be compared. Value of type is Variant

Return value

Returns 0 if comparing arrays was equal. Else returns -1.


 Public Sub main()

    Dim i()
    Dim array2 (2288)
    Dim compare
    CopyHigh 0, 10, 20, i
    ArrayCopy array2 , i
    Compare = ArrayCompare (i, array2)
    AlertMessage (compare)

 End Sub

See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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