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

  1. Newsgroups: comp.sys.ibm.pc.misc
  2. Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!pa.dec.com!engage.pko.dec.com!regent.enet.dec.com!gettys
  3. From: gettys@regent.enet.dec.com (Bob Gettys)
  4. Subject: Re: Which is faster Qbasic or GWBasic
  5. Message-ID: <1992Sep2.041043.1111@engage.pko.dec.com>
  6. Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
  7. Organization: Digital Equipment Corporation
  8. References: <1992Sep1.144223.27874@magnus.acs.ohio-state.edu> <wiegand.715372264@lido16> <reichert.715377642@aloe1>
  9. Distribution: usa
  10. Date: Wed, 2 Sep 1992 05:05:29 GMT
  11. Lines: 39
  12.  
  13.  
  14. In article <reichert.715377642@aloe1>, reichert@rtsg.mot.com (Charles H. Reichert) writes...
  15. >wiegand@rtsg.mot.com (Robert Wiegand) writes:
  16. >>cwatters@magnus.acs.ohio-state.edu (Coyt D Watters) writes:
  17. >>>That's pretty much the question.  Is QBASIC (supplied with DOS 5.x) faster
  18. >>>than the equivalent GWBASIC program?
  19. ----stuff deleted
  20.  
  21. >>>Email or Postings gladly accepted.
  22. >>>-Coyt
  23. >>Someone please correct me if i'm wrong - but I believe Qbasic is compiled
  24. >>while GWbasic is interpreted. This would make Qbasic much faster.
  25. >>It also means that once you compile the programs you don't need Qbasic
  26. >>to run them.
  27. >Yes, that's the "Basic" truth!  QBasic will compile the GWBasic unless
  28. >Commodore used some different commands.  QBasic will still use Line 
  29. >Numbering.  Using QBasic's editor you can do a search and replace very
  30. >quickly.  Example, the old TI-94 Basic used clr or clear instead of cls.
  31. >Also use of :, ; to indicate end of line was different.  I quickly converted
  32. >and then compiled using QBasic 4.5 without any problems.
  33. >    Chuck Reichert
  34.  
  35.  
  36.  
  37.     Whoops - there are things getting mixed up here. GWbasic is strictly an
  38. interpreted basic. Qbasic as supplied with DOS5 is also an interpretated basic
  39. which is a stripped down version of Quick Basic 4.5 which does include a 
  40. compiler.  As to which of the interpreted basic's is faster, I don't know. But
  41. the Qbasic will be very easily moved into Quick Basic if you need to. GWbasic
  42. will need to be work over more to do the move. There is also more structured
  43. type language in the Qbasic which might make it easier to write.
  44.  
  45.     /s/    Bob Gettys
  46.