home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / lang / basic / 865 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.7 KB  |  55 lines

  1. Newsgroups: alt.lang.basic
  2. Path: sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!cos
  3. From: cos@chaos.cs.brandeis.edu (Ofer Inbar)
  4. Subject: Re: VAX Basic-like Basic for PC?
  5. Message-ID: <cos.722197178@chaos.cs.brandeis.edu>
  6. Sender: news@news.cs.brandeis.edu (USENET News System)
  7. Organization: Brandeis University
  8. References: <1992Nov18.225023.28418@newshost.lanl.gov> <oNmguB1w165w@tcscs.UUCP>
  9. Date: Thu, 19 Nov 1992 18:19:38 GMT
  10. Lines: 43
  11.  
  12. tcscs!zeta@src.honeywell.com (Gregory Youngblood) writes:
  13. >>cos@chaos.cs.brandeis.edu (Ofer Inbar) writes:
  14. >>>roth@csoadm.enet.dec.com (Lee Roth) writes:
  15. >>>>
  16. >>>>1) Compiler to produce standalone runnable programs (no interpreter baggage
  17. >>>
  18. >>>What is "interpreter baggage"?  That aside, there are a variety of
  19. >>>BASIC compilers for the PC that will produce standalone executables.
  20. >>>The only ones I'm aware of that *don't* do this are the interpreters
  21. >>>that come bundled with DOS (BASICA, GWBASIC, QBASIC).
  22. >
  23. >Qbasic has an option to compile stand alone or to require the run time 
  24. >library to be present.  
  25.  
  26. No.  You're talking about QuickBASIC, not QBASIC.  The two are very
  27. different.  As I implied in the above paragraph, QBASIC is "an
  28. interpreted that comes bundled with DOS".  It is the replacement for
  29. GWBASIC, and comes with DOS 5.0 or later.  The major differences
  30. between QBASIC and QuickBASIC are that QBASIC doesn't create
  31. standalone .EXEs (with or without the runtime library requirement),
  32. and it doesn't allow multiple modules per program.  All of this
  33. information is in the FAQ, incidentally :-)
  34.  
  35. QuickBASIC does indeed allow two different flavors of compiled .EXE
  36. files.  You can either produce files that stand on their own, or ones
  37. that require access to the runtime library (BRUNxx.EXE) to run.
  38. Obviously, for programs intended for the outside world, you should
  39. compile without the runtime library requirement.
  40.  
  41. But, one of the nicest things about BASIC is how easy it is to write
  42. quick simple programs to do simple things.  I find myself writing lots
  43. of tiny utilities.  By using the runtime library option, I avoid
  44. having the same code included in all of these files, which saves
  45. considerable disk space.  The runtime library only has to exist once
  46. on the disk.  This is a similar concept to DLLs in Windows, and shared
  47. libraries in some newer Unixes.  I wish all PC BASIC compilers had
  48. this feature.  When I looked at it, Turbo BASIC did not.  Does anyone
  49. know which PC BASICs have this?
  50.  
  51.   --  Cos (Ofer Inbar)  --  cos@chaos.cs.brandeis.edu
  52.   --  WBRS (BRiS)  --  WBRS@binah.cc.brandeis.edu  WBRS@brandeis.bitnet
  53. "GUIs normally make it simple to accomplish simple actions and impossible to
  54.  accomplish complex actions."  --Doug Gwyn  (22/Jun/91 in comp.unix.wizards)
  55.