Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > Array Functions
SYNTAX  Public Function ArrayFill(ByRef FilledArray As Variant, ByVal Start As Integer, ByVal toIndex As Integer, ByVal value As Variant) As Boolean This function is used to fill elements of an array from start index to an end index with a specific va...
SYNTAX  Public Function ArrayDimension(ByRef Ary As Variant) As Integer This function is used to return the multidimensional array rank. PARAMETERS Key Description  Ary The Array to get the rank for it. Value of type is Variant RETUR...
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...
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 ...
SYNTAX  Public Function ArrayCopy(ByRef dst_array As Variant, ByRef src_array As Variant) As Boolean This function is used to copy the element in a given array to another array. PARAMETERS Key Description  dst_array Array to copy the ...
SYNTAX Public Function ArrayMinimum(ary As Variant, start As Integer, Optional Count As Integer = -1) As Integer This function returns the minimum number of elements in a numeric array. PARAMETERS Key Description  ary   Array to get t...
SYNTAX Public Function ArrayMaximum(ary As Variant, start As Integer, Optional Count As Integer = -1) As Integer This function is used to get the maximum number in a numeric array from a specific given start position. PARAMETERS Key Descript...
SYNTAX Public Sub ArrayInitialized(ary() As Variant, value As Variant)  This sub procedure is used to initializes an array by a given value. PARAMETERS Key Description  ary   Array to initialized, value of type Variant. value V...
SYNTAX Public Sub ArrayFree(ary() As Variant) This sub procedure is used to erase a given array especially if you are using dynamic arrays.  PARAMETERS Key Description  ary   Array to erase, value of type variant. RETURN VALUE No r...
SYNTAX Public Function ArraySort(ByRef ary As Variant) As Boolean 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 successf...
SYNTAX Public Function ArraySize(ary As Variant) As Integer This function is used to return the number of elements in given array. PARAMETERS Key Description  Ary   Array to get size, value of type Variant. RETURN VALUE Return the ...
SYNTAX Public Function ArrayBSearch(ary As Variant, value As Variant) As Integer This function is used to search for a specific value in given array. PARAMETERS Key Description  ary   Array that want to search the value on it,value of typ...
Help Desk Software by Hybrid Solutions