<-- Previous || Up || Next -->

Shuffle Variant Vector Function
Array Manipulations Class

Public Function ShuffleVariantVector( _
      ByRef rVector() As Variant _
    , Optional ByVal vMinElem As Variant _
    , Optional ByVal vMaxElem As Variant _
    ) As Boolean

Shuffle the elements of a variant vector (one-dimensional array of variant values). Used by the Quick Sort subroutine to avoid the worst-case behavior of that algorithm when it must sort already-ordered arrays.
v1.3 BugFix: This Function has been fixed to support the arrays containing elements of Object and DataObject type Values.

Return to ENTISOFT Home Page

Copyright 1999-2005 Entisoft