home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
calculat
/
pibcal11.zip
/
README.DOC
< prev
next >
Wrap
Text File
|
1985-03-11
|
3KB
|
78 lines
This archive contains TURBO Pascal routines which implement
a programmable calculator.
To compile PibCalc, enter Turbo and tell it to write a .COM file
using OPTIONS. Set the Main program to be the file PIBCALC.PAS.
Type C to start the compile. I STRONGLY suggest that you use
Turbo-87 if you have it.
To run PibCalc, type:
PIBCALC
in response to the MS-DOS prompt.
To leave PibCalc, type:
EXIT
in response to the PibCalc prompt.
The file PIBCALC.HLP contains detailed instructions on the
use of the PIBCALC program. This file should be resident in
the same directory as PIBCALC.COM as it is used by PibCalc in
response to a HELP request. There is also useful information
in the header comments to the main program in PIBCALC.PAS.
PibCalc is an interactive desk calculator designed for use
especially by programmers. PibCalc tries to combine the
features from better pocket calculators with the expression
syntax of the common algorithmic programming languages.
PibCalc offers the following features:
Integer and Real Floating Point Arithmentic
Octal, Decimal, and Hexadecimal Bases.
The usual arithmetic operators.
Common mathematical functions.
User-defined variables.
User-defined functions.
Please upload any nifty features you add or (shudder) notices of
bugs you find. You may leave me messages on the following
BBSs:
Gene Plantz's BBS (312) 882 4227
Ron Fox's BBS (312) 940 6496
Thanks,
Phil Burns
-------------------------------------------------------------------------
ADDENDUM: Bugs fixed in version 1.1
Version 1.1 fixes the following problems encountered in PibCalc 1.0:
(a) Exponentiation now works properly.
(b) ATAN2( x , 0 ) returns an error message rather than
exiting to DOS.
(c) Backspaces and deletes are handled correctly during
input of a command to Pibcalc -- previously, some
deletes were ignored, resulting in occasional bad
command lines even when the input was correct.
(d) A misspelling of SCREENRO.PAS as SCREENROU.PAS in an include
(*$I *) statement has been corrected -- some program listers
went bananas with the incorrect file name.
Pascal files updated:
ARITH.PAS, MATHROUT.PAS, PIBCALC.PAS, READLINE.PAS, EXPRESSI.PAS
Remember, you can still get integer underflow/overflow easily, so
be careful with integer arithmetic. When Turbo 3.0 becomes
available, I will correct some of the general overflow/underflow
problems in both real and integer arithmetic.
Thanks to all those who reported problems to me.