[comp.sys.zenith.z100] eval - command line floating point calculator with variables

dziegler@watdcsu.UUCP (dziegler) (11/29/87)

Now available via standard anonymous FTP from SIMTEL20...

Filename			Type	 Bytes	 CRC

Directory PD1:<MSDOS.CALCULATOR>
EVAL.ARC.1			BINARY	 24353  25D4H

Bored with loading basic everytime you need to do some simple calculation ?
       
'eval' is a command-line driven floating point calculator that uses the
environment for variable storage. ( through int 2E )

a sample session :

C>eval a=1+2*3/4 
a=2.5
C>eval (a+2)*2
9

bugs : will crash machine if variable assignment is done when eval is 
       used from batchfile ( problen with int2E ) . There is little 
       point to using eval from within a batchfile anyway - so this is not
       much of a problem.

source MSC 4.0/MASM included. 

( eval.exe grew by about 15K when i changed it from (long) to (double) math )

defenestration   noun : the act of throwing something ( esp. person ) out
                 of a window.

                 - Concise O.E.D.