Class Module
21 Members
Array Others Class
Entisoft Tools 2.0 Object Library · ArrayOthers · 18 Functions · 0 Properties · 2 Subroutines
Declarations
Declarations
Other miscellaneous functions that operate upon Variant arrays, including search functions. Copyright 1998 Entisoft
Section
DeleteVariantVectorElement
Delete Variant Vector Element
There is no way to delete the last element with contraction, because an array must have at least one element when dimensioned.
Function
DeleteVariantVectorElementByContent
Delete Variant Vector Element By Content
View VB6 signature, parameters, and usage notes.
Function
FirstAtomicArrayElement
First Atomic Array Element
Return the value of the first non-array element of a variant using a depth-first search. If the argument is not a variant array, return it. See also the FirstAtomicNonObjectArrayElement function. Note: Handles arguments containing objects and nested variant arrays. v1.3 Pro Change: The implementation of this function has changed.
Function
FirstAtomicNonObjectArrayElement
First Atomic Non Object Array Element
Return the value of the first non-array, non-object element of a variant using a depth-first search. If the argument is not a variant array, return it. Returns Empty instead of an Object reference if the first non-array element is a vbObject type value. See also the FirstAtomicArrayElement function. Note: Handles arguments containing objects and nested variant arrays. v1.3 Pro Change: The implementation of this function has changed.
Function
FormatVariantMatrix
Format Variant Matrix
Format the values from a two-dimensional array of variant values into a tabular format, returning the result as a String. The Justify Codes are those recognized by the JustifyText function. They are applied to each cell (individual value) within the array.
Function
GroupVariantVector
Group Variant Vector
Takes elements 1..UBound from vFm, and does a Group By Count * operation, putting the values in rTo(1, n) and the corresponding counts in rTo(2, n). This subroutine also performs a Sort Unique function.
Function
InsertVariantVectorElement
Insert Variant Vector Element
View VB6 signature, parameters, and usage notes.
Function
LookupAdd
Lookup Add
View VB6 signature, parameters, and usage notes.
Function
LookupMultiple
Lookup Multiple
Note: This function looks up EACH character of vValue within the lookup table.
Function
LookupSorted
Lookup Sorted
View VB6 signature, parameters, and usage notes.
Function
LookupSortedMultiple
Lookup Sorted Multiple
Note: This function looks up EACH character of vValue within the lookup table.
Function
LookupStringToVariantMatrix
Lookup String To Variant Matrix
See also:
Function
LookupValue
Lookup Value
Note: This function does not fix-up its arguments.
Function
MaxLengthVariantVectorElement
Max Length Variant Vector Element
" Maximum Length Variant Vector Elements"
Function
MinLengthVariantVectorElement
Min Length Variant Vector Element
" Minimum Length Variant Vector Elements"
Function
RotateVariantVectorDown
Rotate Variant Vector Down
Rotates all of the elements down within a variant array, i.e.: A(1) becomes A(2), A(2) becomes A(3), A(3) becomes A(1).
Function
RotateVariantVectorUp
Rotate Variant Vector Up
Rotates all of the elements up within a variant array, i.e.: A(3) becomes A(2), A(2) becomes A(1), A(1) becomes A(3).
Function
UniqueVariantVector
Unique Variant Vector
"Unique Variant Vector Elements" Removes duplicate sequential elements of a one-dimensional variant array. Examines elements from 1..UBound. Use temporary space in case To and Fm arrays are the same. Temporary space is needed because there is no way to determine if rTo() and vFm() as really the same arrays.
Function
LookupStringToVariantMatrixSample
Lookup String To Variant Matrix Sample
View VB6 signature, parameters, and usage notes.
Sub
ReDimVerify
Re Dim Verify
View VB6 signature, parameters, and usage notes.
Sub