Article View: comp.sys.ibm.pc.misc
Article #8555Re: Make a simple command-line calculator with 4DOS
From: Monte Bateman
Date: Fri, 22 Mar 1991 07:09
Date: Fri, 22 Mar 1991 07:09
18 lines
1062 bytes
1062 bytes
In article <39585@netnews.upenn.edu> jrv@gradient.cis.upenn.edu (JR VanMechelen) writes: >While it's not bc, I just realized that you can make a quick and dirty >commmand-line calculator using 4dos with the following alias: > > alias bc=`echo %@eval[%&]%` That alias was included in the "aliases" file, called 'calc'. Only problem is, it blows up if you try it with floats :-(. > any other neat aliases? The JP Software newsletter had lots of nifty hacks.... ----- Monte Bateman bateman @ nsslsun.gcn.uoknor.edu National Severe Storms Laboratory, Norman, OK! 73069
Technical Details
Message-ID:
<1991Mar22.070928.16153@uokmax.ecn.uoknor.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!batemanReferences:
<39585@netnews.upenn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!bateman From: bateman@nsslsun.gcn.uoknor.edu (Monte Bateman) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Make a simple command-line calculator with 4DOS Message-ID: <1991Mar22.070928.16153@uokmax.ecn.uoknor.edu> Date: 22 Mar 91 07:09:28 GMT References: <39585@netnews.upenn.edu> Sender: news@uokmax.ecn.uoknor.edu (Nets) Organization: National Severe Storms Laboratory Lines: 18