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

Syntax

 Public Function ArrayCopy(ByRef dst_array As Variant, ByRef src_array As Variant) As Boolean

Description

This function is used to copy the element in a given array to another array.

Parameters

Key Description 
dst_array Array to copy the src_array to. Value of type is Variant
Src_array                 Array to be copied to. Value of type is Variant

Return value

Returns true if successful, otherwise returns false.

Sample

 Public Sub main()

    Dim i
    Dim array2 (20)
    CopyHigh 0, 10, 20, i
    ArrayCopy array2, i
    AlertMessage (array2 (1))

 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