AllExperts > Qbasic, Quickbasic 
Search      
Qbasic, Quickbasic
Volunteer
Answers to thousands of questions
 Home · More Qbasic, Quickbasic Questions · Answer Library  · Encyclopedia ·
More Qbasic, Quickbasic Answers
Question Library

Ask a question about Qbasic, Quickbasic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Don Schullian
Expertise
I`ve worked in BASIC since the Commodore days and maintain a web site part of which is devoted to helping others with thier problems. I`m proficient in all versions of PowerBASIC but cross over to QuickBASIC and Qbasic frequently.

 
   

You are here:  Experts > Computing/Technology > Basic > Qbasic, Quickbasic > sorting routine

Qbasic, Quickbasic - sorting routine


Expert: Don Schullian - 9/7/2007

Question
I designed a sorting routine which works, but am intrigued in finding a way to do it through the SHELL command on the command line in Quickbasic; the way you can type the command SHELL "dir" in QB. When I try the SORT command though Quickbasic, however, it doesn't work > the screen says something like 'this command cannot be run in DOS mode'.
If I use the SORT command on the pure (DOS)command line, outside of Quickbasic, however, it works.  Martin
[I started with a Commodore 64. Those were the days!]

Answer
Hi Martin,

 Sounds like you've run head-on into Windoze! You're most likely going to have to stick with your own routine. If you want to try something else you're welcome to bounce over to my web site www.dasoftvss.com and d/load a flock of sort routines off the BASIC page. Most likely at least one of them is faster than shelling out anyhow.  

 The days of us being in control of the computer have come to a screeching halt and Visa is worse yet!  

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.