Vyom World.com Let's Touch the Sky Together!
 Home VyomWorld.com Home Free Magazines! VyomLinks.com Home JobsAssist.com Home Vyom Network Contact Us Jobs & Careers Resume Submitter Placement Papers IT Companies Directory Computer Jobs Interview Questions Online Exams Vyom Career eMag. Fun Screensavers New! Send FREE SMS! SMS Jokes Source Codes Library Source Codes Home ASP Source Codes C Source Codes C++ Source Codes COBOL Source Codes Java Source Codes Pascal Source Codes Submit Source Codes GATE GATE an Overview GATE Preparation Study Materal GRE GRE an Overview GRE Questions GRE Preparation GRE Universities TOEFL Preparation TOEFL Resources GMAT Preparation GMAT Resources MBA Preparation MBA Resources Networking Concepts Networking Concepts Testing Preparation Testing Resources Webmasters Free Traffic Builder Webmaster Articles Web Hosting Tutorials Hardware Tutorial 1500 Free eBooks New! FREE Publications
Vyom Career eMag.
 Get 9,000+ Interview Questions & Answers in an eBook. 9,000+ Interview Questions All Questions Answered 5 FREE Bonuses Free Upgrades Get it now!
Get 9,000+ Interview Questions with Answers in an eBook

Home >> Source Codes Library Home >> Language Home >> Category Home > > Item Description
Search Code Library

 Title CombSort Function Description: The CombSort function sorts an array alphabetically (A - Z) or numerically (low to high). CombSort expects an array as input. Hits: 2715 Since 25th November, 2003 Code: Select and Copy the Code <% Private Function CombSort(ByVal UnsortedArray) Dim I, J, Temp, Gap, Swapped Dim ArrSize, Combcom, Combswap Const Shrink = 1.3 ArrSize = UBound( UnsortedArray ) Gap = Arrsize - 1 Do Gap = Int(Gap / Shrink) Swapped = True Combcom = Combcom + 1 For J = 0 To Arrsize - Gap If UnsortedArray(J) > UnsortedArray(J + Gap) Then Temp = UnsortedArray(J) UnsortedArray(J) = UnsortedArray(J + Gap) UnsortedArray(J + Gap) = Temp Swapped = False Combswap = Combswap + 1 End If Next Loop Until Not Swapped And Gap = 1 CombSort = UnsortedArray End Function %>

ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory