🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #336

Re: VAX Basic-like Basic for PC?

#336
From: Ofer Inbar
Date: Thu, 19 Nov 1992 18:19
43 lines
2812 bytes
tcscs!zeta@src.honeywell.com (Gregory Youngblood) writes:
>>cos@chaos.cs.brandeis.edu (Ofer Inbar) writes:
>>>roth@csoadm.enet.dec.com (Lee Roth) writes:
>>>>
>>>>1) Compiler to produce standalone runnable programs (no interpreter baggage
>>>
>>>What is "interpreter baggage"?  That aside, there are a variety of
>>>BASIC compilers for the PC that will produce standalone executables.
>>>The only ones I'm aware of that *don't* do this are the interpreters
>>>that come bundled with DOS (BASICA, GWBASIC, QBASIC).
>
>Qbasic has an option to compile stand alone or to require the run time 
>library to be present.  

No.  You're talking about QuickBASIC, not QBASIC.  The two are very
different.  As I implied in the above paragraph, QBASIC is "an
interpreted that comes bundled with DOS".  It is the replacement for
GWBASIC, and comes with DOS 5.0 or later.  The major differences
between QBASIC and QuickBASIC are that QBASIC doesn't create
standalone .EXEs (with or without the runtime library requirement),
and it doesn't allow multiple modules per program.  All of this
information is in the FAQ, incidentally :-)

QuickBASIC does indeed allow two different flavors of compiled .EXE
files.  You can either produce files that stand on their own, or ones
that require access to the runtime library (BRUNxx.EXE) to run.
Obviously, for programs intended for the outside world, you should
compile without the runtime library requirement.

But, one of the nicest things about BASIC is how easy it is to write
quick simple programs to do simple things.  I find myself writing lots
of tiny utilities.  By using the runtime library option, I avoid
having the same code included in all of these files, which saves
considerable disk space.  The runtime library only has to exist once
on the disk.  This is a similar concept to DLLs in Windows, and shared
libraries in some newer Unixes.  I wish all PC BASIC compilers had
this feature.  When I looked at it, Turbo BASIC did not.  Does anyone
know which PC BASICs have this?

  --  Cos (Ofer Inbar)  --  cos@chaos.cs.brandeis.edu
  --  WBRS (BRiS)  --  WBRS@binah.cc.brandeis.edu  WBRS@brandeis.bitnet
"GUIs normally make it simple to accomplish simple actions and impossible to
 accomplish complex actions."  --Doug Gwyn  (22/Jun/91 in comp.unix.wizards)
Technical Details
Message-ID: <cos.722197178@chaos.cs.brandeis.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!cos
References: <1992Nov18.225023.28418@newshost.lanl.gov> <oNmguB1w165w@tcscs.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!cos
From: cos@chaos.cs.brandeis.edu (Ofer Inbar)
Subject: Re: VAX Basic-like Basic for PC?
Message-ID: <cos.722197178@chaos.cs.brandeis.edu>
Sender: news@news.cs.brandeis.edu (USENET News System)
Organization: Brandeis University
References: <1992Nov18.225023.28418@newshost.lanl.gov> <oNmguB1w165w@tcscs.UUCP>
Date: Thu, 19 Nov 1992 18:19:38 GMT
Lines: 43