home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / ibm / pc / misc / 12126 < prev    next >
Encoding:
Text File  |  1992-09-01  |  2.1 KB  |  56 lines

  1. Newsgroups: comp.sys.ibm.pc.misc
  2. Path: sparky!uunet!ftpbox!mothost!white!rtsg.mot.com!aloe1!reichert
  3. From: reichert@rtsg.mot.com (Charles H. Reichert)
  4. Subject: Re: Which is faster Qbasic or GWBasic
  5. Message-ID: <reichert.715377642@aloe1>
  6. Sender: news@rtsg.mot.com
  7. Nntp-Posting-Host: aloe1
  8. Organization: Motorola Inc., Cellular Infrastructure Group
  9. References: <1992Sep1.144223.27874@magnus.acs.ohio-state.edu> <wiegand.715372264@lido16>
  10. Distribution: usa
  11. Date: Tue, 1 Sep 1992 20:00:42 GMT
  12. Lines: 42
  13.  
  14. wiegand@rtsg.mot.com (Robert Wiegand) writes:
  15.  
  16. >cwatters@magnus.acs.ohio-state.edu (Coyt D Watters) writes:
  17.  
  18. >>That's pretty much the question.  Is QBASIC (supplied with DOS 5.x) faster
  19. >>than the equivalent GWBASIC program?
  20.  
  21. >>Before some joker jumps in a tells me I should use a "real language" like
  22. >>C or Pascal:
  23.  
  24. >>I am porting a large collection of programs written for the Commodore 64
  25. >>(the best low budget computer ever invented) in BASIC to the PC.  I have
  26. >>time to do some minor conversion, but not complete rewrite.
  27.  
  28. >>Since I have both BASICS, I want to use the faster one - I don't need all
  29. >>the QBASIC bells and whistles (like mouse support and the new editor).
  30.  
  31. >>Email or Postings gladly accepted.
  32. >>-Coyt
  33.  
  34. >Someone please correct me if i'm wrong - but I believe Qbasic is compiled
  35. >while GWbasic is interpreted. This would make Qbasic much faster.
  36. >It also means that once you compile the programs you don't need Qbasic
  37. >to run them.
  38.  
  39. Yes, that's the "Basic" truth!  QBasic will compile the GWBasic unless
  40. Commodore used some different commands.  QBasic will still use Line 
  41. Numbering.  Using QBasic's editor you can do a search and replace very
  42. quickly.  Example, the old TI-94 Basic used clr or clear instead of cls.
  43. Also use of :, ; to indicate end of line was different.  I quickly converted
  44. and then compiled using QBasic 4.5 without any problems.
  45.  
  46.     Chuck Reichert
  47.  
  48.  
  49.  
  50.  
  51. -- 
  52.      ====================================================================
  53.      | Charles H. Reichert  708-632-6669 Work - MOTOROLA, INC  Cellular |
  54.      | KD9JQ                708-358-3827 HOME - after 8PM CST  weekdays |
  55.      |                      955 Concord Ln.  Hoffman Ests., IL. 60195   |
  56.