VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

modArraySort

Edmundo T. Mendiola  (2 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This module lists a collection of sorting functions and procedures for VB variant arrays with a single dimension.

Inputs
The functions and procedures listed in this module basically requires a dynamic variant array created/declared, thus: (Private|Public|Dim) arrName As Variant arrName = Array()

Assumes
The variant arrays passed to the functions and procedures listed in this module are preferably single dimensional. This modules includes common codes using the bubble sort, shell sort and the quick sort algorithms. The main public function is ASort(). Use this function in your project codes instead of directly accessing the sort algorithm specific codes.

Side Effects
Unexpected errors may occur on processing multi-dimensional arrays.

Rate modArraySort (3(3 Vote))
modArraySort.bas

modArraySort Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters