[comp.sys.ibm.pc.misc] Make a simple command-line calculator with 4DOS

bateman@nsslsun.gcn.uoknor.edu (Monte Bateman) (03/22/91)

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