ArraySort
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 01:05 PM

Syntax

Public Function ArraySort(ByRef ary As Variant) As Boolean

Description

This function sorts the given array in ascending order.

Parameters

Key Description 
ary   Array to sort, value of type Variant.

Return value

Returns true in successful, otherwise returns false.

Sample

 Public Sub main ()

 Dim Arr (5)
 Arr (1) = 1
 Arr (2) = 2
 Arr (3) = 4
 Arr (4) = 6

 Dim Result
 Result = ArraySort (Arr)
 AlertMessage (Result)

 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