home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
pocketbk
/
utilsr
/
rpn101
/
RPNCALC.DOC
< prev
next >
Wrap
Text File
|
1992-12-10
|
6KB
|
211 lines
RPN Calculator for the Psion Series 3
Version 1.01 9 Dec 1992
Copyright (c) 1992 Jaime Pereira
Email: jep@world.std.com
Compuserve 70441,456
Address: 312 Southwind Dr. #206
North Palm Beach, FL 33408
USA
======================================================================
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
======================================================================
Introduction
------------
RPN Calc is a Reverse Polish Notation calculator intended tto
replace the Psion Series 3 built in calculator. It is fashioned
after the HP-28 style inteface.
This initialal release contains the following features:
+ RPN interface
+ Basic stack manupulators
+ 20 number stack, of which top 6 items are visible
+ 10 memories
+ Integrates most math functions
Change Log
----------
Version 1.0
Initial release
Version 1.01
+ Correct bug in "change sign" which did not permit specification
of negative exponents in scientific notation.
+ Correct bug that pushed the edit box operand into the stack
after a flawed math operation happend. The correct behaivor
is to restore the stack and edit box to the state before
the operation occurred.
Distrubution
------------
RPNCALC.OPA RPN pplication program
RPNCALC.PIC Icon file
RPNCALC.OPL Sources for RPN
RPNCALC.DOC This document
COPYING GNU General Public License
Installation
------------
All program files should be in a directory named "\Rpncalc".
To create a directory, press PSION-+ whilst on the system
screen. The program needs 2 files in order to run.
These are as follows:
RPNCALC.OPA
RPNCALC.PIC
Install the application in the system screen by pressing
PSION-I. When the "Install Application" dialog pops up,
press TAB on the "File: name" item. Go to the root
directory, and into the "Rpncalc" directory. There, select
the file RPNCALC.OPA and press enter. This will return you
to the dialog - press enter again. RPNCalc should now be
installed, and can be run in the usual manner.
In addition, you can assign the "Calc" button to run RPN calc
using the "Assign button" option of the Apps section of the
system menu.
Operation
---------
After entering RPN calc, a windows with two sections appears.
The top section is called the edit box, and here is were one
enters the numbers. The bottom section is the stack display.
To place a number in the stack, punch the number in the edit
box and press Enter. The Enter key also duplicates the value
on top of the stack when the edit box is empty.
An example on how to add two numbers follows:
1028 <Enter> 50 +
This should display the numner 1078 in the top of the stack.
The spaces between the tokens are only shown for clarity
and need not be entered.
If there is a number in the edit box, all operations consider
it the top of the stack. Otherwise, it is the number in the
top of the stack display.
Editing Numbers
---------------
To edit a number, the left and right arrow keys and the
delete key are usefull.
If the edit box is blank, the up and down arrows bring the
values in the stack to the edit box.
Memories
--------
RPNCalc has 10 memories available, identified by the numbers
1 to 10. They are used in a similar way as the Sto and Rcl
buttons in an HP calculator. For example, to store the top
of the stack in memory 4, press 4 followed by the 'I' key.
Similarly to recall a value stored in a memory press the
memory number followed by the 'O' key. The number should appear
in the top of the stack.
All memories have an initial value of 0.
Table of Basic Operations
-------------------------
operation key before after
---------------------------------------------------------
dup Enter n n n
drop Delete n
swap S n1 n2 n2 n1
rot R n1 n2 n3 n2 n3 n1
mem store I mem n
mem recall O mem n
addition + n1 n2 n2+n1
substraction - n1 n2 n2-n1
multiplication * n1 n2 n2*n1
division / n1 n2 n2/n1
power x n1 n2 n2^n1
Pi constant P Pi
---------------------------------------------------------
Additional math operations are avalable using the 'PSION' key.
Non trivial math functions are implemented using the same keystrokes
as Psion Calc (i.e. using the 'PSION' key. For a list of such
operations see the built in help.
Tools
-----
This program was developed in a couple of days using the Series 3
emulator EHWIM.EXE, available free of charge in Compu$erve and other
fine stores neer you. In addition the icon was made using the
BITMEISTER utility written by W. Raymond Alderman.
Change Log
----------
Version 1.0
Initial release
Version 1.01
Corrects bug in change sign which did not permit specification
of negative exponents in scientific notation.
Further Work
------------
+ A "real" manual
+ Clean and unintrusive interface to OPL
+ Graphing module
+ Hex and binary display modes
+ Enginnering display format
Other Matters
-------------
If you find this application usefull, find problems, dislike some
feature, add something neet feature to it, or fell lonely, drop me
a note at the address provided at top of this document. I will try
to get back to you as time permits.
That's all for now,
Jaime Pereira