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 DESCRIPTION This function is used to fill elements of an array from start index to an end index with a ...
SYNTAX  Public Function ArrayDimension(ByRef Ary As Variant) As Integer DESCRIPTION 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 Varia...
SYNTAX  Public Function ArrayResize(ByRef Ary As Variant, ByVal newsize As Integer) As Integer DESCRIPTION This function is used to set a new size for the first dimensional array. PARAMETERS Key Description  Ary Array to change its size....
SYNTAX  Public Function ArrayRange(ByRef Ary As Variant, ByVal rank_index As Integer) As Integer DESCRIPTION This function is used to return the number of the element in given array dimension. PARAMETERS Key Description  Ary Checked arra...
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 ...
SYNTAX Public Function ArrayMinimum(ary As Variant, start As Integer, Optional Count As Integer = -1) As Integer DESCRIPTION This function returns the minimum number of elements in a numeric array. PARAMETERS Key Description  ary   Array...
SYNTAX Public Function ArrayMaximum(ary As Variant, start As Integer, Optional Count As Integer = -1) As Integer DESCRIPTION This function is used to get the maximum number in a numeric array from a specific given start position. PARAMETERS Key ...
SYNTAX Public Sub ArrayInitialized(ary() As Variant, value As Variant) DESCRIPTION This sub procedure is used to initializes an array by a given value. PARAMETERS Key Description  ary   Array to initialized, value of type Variant. va...
SYNTAX Public Sub ArrayFree(ary() As Variant) DESCRIPTION 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 VAL...
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 ...
SYNTAX Public Function ArraySize(ary As Variant) As Integer DESCRIPTION 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 Ret...
SYNTAX Public Function ArrayBSearch(ary As Variant, value As Variant) As Integer DESCRIPTION This function is used to search for a specific value in given array. PARAMETERS Key Description  array   Array that want to search the value on it...
Help Desk Software by Hybrid Solutions