Article View: comp.sys.zenith.z100
Article #412eval - command line floating point calculator with variables
From: dziegler
Date: Sun, 29 Nov 1987 19:16
Date: Sun, 29 Nov 1987 19:16
32 lines
1535 bytes
1535 bytes
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.
Technical Details
Message-ID:
<KPETERSEN.12354893118.BABYL@SIMTEL20.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!watdcsu.UUCP!dzieglerShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!watdcsu.UUCP!dziegler From: dziegler@watdcsu.UUCP (dziegler) Newsgroups: comp.sys.zenith.z100 Subject: eval - command line floating point calculator with variables Message-ID: <KPETERSEN.12354893118.BABYL@SIMTEL20.ARPA> Date: Sun, 29-Nov-87 14:16:00 EST Article-I.D.: SIMTEL20.KPETERSEN.12354893118.BABYL Posted: Sun Nov 29 14:16:00 1987 Date-Received: Fri, 4-Dec-87 06:36:19 EST Sender: usenet@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 32