Shoutbox

VB Coding - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: VB Coding (/showthread.php?tid=57929)

VB Coding by lrac522 on 04-06-2006 at 06:11 PM

I am no professional at VB coding but needs to be educated on how to produce codes for a particular predicament. If I had some numeric fields eg. num1, num2, num3, num4 and num5, is there a function to sort them from smallest value upwards? Dunno if I’m making sense but I’m a novice. Thanks.(Y)


RE: VB Coding by RaceProUK on 04-06-2006 at 06:25 PM

There isn't a function per se, but there's plenty of algorithms. Although they'll work better if you use an array of numbers, not separate variables.
Try Googling these:
Bubblesort
Mergesort
Insertsort
Quicksort
Shellsort


RE: VB Coding by lrac522 on 04-06-2006 at 06:47 PM

quote:
Originally posted by raceprouk
There isn't a function per se, but there's plenty of algorithms. Although they'll work better if you use an array of numbers, not separate variables.
Try Googling these:
Bubblesort
Mergesort
Insertsort
Quicksort
Shellsort
Ok i'll see what happen. Thanx a lot.(Y)