2EI wrote this program because I didn't particularly like the S5 or revo calculators. I had fond memories of the S3a calculator and decided to recreate it on my S5, and then the revo. I hope Psion don't mind.
The program has grown a little since its original release, but those of you who that have used the S3a calculator will recognise the look and feel (I hope 8-). Obviously there are differences. A few features of the original I couldn't replicate in OPL but then there are many features that have been added.
General guidance
The normal navigation conventions apply w.r.t. using Fn and Shift with the cursor keys, and editing text.
The up/down cursors navigate the past calculations/results list.
Esc clears the current calculation, and restores it if pressed again.
If anything is added to the current calculation while a part of it has been selected the selected part will be replaced. This is different to the action taken by the S3a calculator regarding highlighted text and sin/cos etc.
The best bit is that it is completely free of charge to any one who wants to use it. However, if there are any strange souls out there who feel that they must make some gesture of gratitude then consider that this is postcardware, and send me a postcard from your home town (look under author for my snail mail address)
5!About Adder for the Series 5/revo
Menu and toolbar options
About the author
Thanks to...
Disclaimer
Finally, thanks go to John, Didier and Guido. Without their suggestions Adder wouldn't improve.
CThis is important, so please read and inwardly digest. Use of this application is entirely at your own risk. That doesn't mean to say that everything is bound to go horribly wrong and destroy the contents of your favourite piece of plastic. Every reasonable measure has been taken to ensure that this application performs satisfactorily and does nothing that will compromise the integrity of hardware or software, and as such the author will accept no responsibility for loss of data or damage resulting from the use of this application. Hey, what can possibly go wrong?
Terms and conditions
The program is supplied 'as-is' with no warranties as to it's performance or worthiness to the stated task.
I'd prefer it if you didn't attempt to reverse translate the code, I've put a lot of effort into it. If you've got something you'd like to add then ask me, and other people will get the benefit too.
0CEssentially at a basic level there is no difference, the functionality remains the same. I have tried to remain true to the look and feel of the S3a calculator because the S3a calculator feels comfortable. I believe the S5 and revo calculators' functionality have been compromised by the presentation, and found that either view didn't give me the functions I missed from the S3a all in one neat little package.
However, this program has been enhanced to allow for the extra interface features afforded by the S5 and revo, and to include features that you, the user, have asked for. The S5's bigger screen and larger fonts now make it easier to read. The toolbar is supported, just as Psion themselves have asked for. I haven't allowed for any real use of the pen in this version, but I might at a later date.
Acomp.sys.psion.programmer for making me realise that the revo can be programmed in OPL, and for being there when I asked questions.
EMCC, the publishers of Programming Psion Computers. For anybody who wants to program Psion machines it is an invaluable source of reference material, examples and utilities.
Thanks to Richard Smedley for developing SafeOPL, free if you write freeware programs.
Finally, thanks go to John, Didier, Guido and Ralph. Without their suggestions Adder wouldn't improve.
7.0 which fixed the problem.
eCGreetings. Andy has an unfaltering admiration for the little grey slabs produced by Psion, and all the chaps and chapesses who are responsible. This is probably a bad sign for his long term stability, but there you have it. Interests include model car racing, kites, bonsai, origami, wargaming, alcohol, juggling, Japanese animation, eating strange and exotic animals of the dead variety and not getting maimed by lions. He has a collection of tattoos and piercings and has given up the cottage cheese sculptures in favour of community work (helping cats use dental floss). There, I bet you're glad that you looked at this help topic! Seriously though, folks, if you must contact him (via postcard, perhaps?) he can be contacted at the following address:
Andy Blake,
19 Stirtingale Avenue,
Kingsway,
Bath,
Somerset,
BA2 2NQ.
or e-mail:
andypsionfan@hotmail.com
ZKI don't think you need them explaining, do you? There's not that many, so work them out for yourselves. Hey, this is freeware after all! What do you expect for nothing? Oh, alright then, since you asked so nicely.
Memories
M in (Ctrl+I): calculate the result and store in the current memory.
M + (Ctrl+P): calculate the result and add to the current memory.
M - (Ctrl+M): calculate the result and subtract from the current memory.
M clear (Ctrl+U): clear the contents of the current memory.
M recall (Ctrl+R): recall the contents of the current memory.
Change memories (Ctrl+A): change the current memory.
sin(x) (Ctrl+S): calculate the sine of an angle.
cos(x) (Ctrl+K): calculate the cosine of an angle.
tan(x) (Ctrl+T): calculate the tangent of an angle.
asin(x) (Ctrl+Shift+S): calculate the arc sine of an angle.
acos(x) (Ctrl+Shift+K): calculate the arc cosine of an angle.
atan(x) (Ctrl+Shift+T): calculate the arc tangent of an angle.
Powers
(Ctrl+Shift+P): calculate the square of a number.
Square root (Ctrl+Q): calculate the square root of a number.
1/x (Ctrl+Shift+I): calculate the inverse of a number.
ln(x) (Ctrl+L): calculate the natural logarithm of a number.
e^ (Ctrl+Shift+X): calculate a power of Euler's constant.
log(x) (Ctrl+G): calculate the logarithm of a number.
10^ (Ctrl+H): calculate a power of 10.
Preferences
Format (Ctrl+F): choose between general, hex, fixed, scientific, engineering, octal and unsigned hexadecimal (both good to 2^53-1) and hours:minutes:seconds presentation of results. The significant digit field determines the number of decimal places for fixed, scientific and engineering formats.
Set operator shortcuts (Ctrl+Y): allows you to define which keys are used as shortcuts to the operators.
Zoom in (Ctrl
Z): makes the writing on the screen bigger.
Zoom out (Ctrl+Shift+Z): makes the writing on the screen smaller.
Toggled settings
Degrees/radians (Ctrl+D): choose between degrees and radians for trig. calculations.
Keep list (Ctrl+J): determines whether the past 20 calculations and results are kept between uses of Adder.
Verbose results (Ctrl+Shift+V): each result is placed in the list in the form [sum] = [result]
Show operator toolbar (Ctrl+Shift+O): displays a second toolbar containing the operators for mutiplication, division, addition and subtraction.
Use operator shortcuts (Ctrl+Shift+Y): toggles the shortcut keys to the operators on or off.
Special
Load OPL (Ctrl+O): loads an OPL module to allow the use of custom math libraries and functions.
New list (Ctrl+N): clear the past calculations/results list.
Copy from list (Ctrl+Shift+K): copy the highlighted past calculation/result from the list.
Help (Ctrl+Shift+H): you're reading it now.
Exit (Ctrl+E): quits Adder.
Other Keys
The clipboard can be accessed using the hot keys below:
Cut - Ctrl+X
Copy - Ctrl+C
Paste - Ctrl+V
BNone. There are no known bugs.
Before V1.5.0F the following calculations used to be out by a tiny little decimal when using the general format, but no longer, I've fixed it.
190.19-187.93
2448.28 + 555.88 - 2406.34 - 597.82
After fixing the above bug, results larger than
1E+16 would cause a variety of errors rather than be presented properly. The errors were trapped, but you got an OPL error message instead of your answer. No one seemed to notice however, and I discovered it while coding V1.7.0 which fixed the problem.
|EAdder allows you to view and manipulate data using several different formats. Their use is detailed below:-
General
This is a suitable-for-all style of presentation. It assumes the format best suited to the size of the result.
Hexadecimal
Signed hex representation, up to 32 bits. Numbers are prefixed with & to signify signed hex.
Fixed
Always uses a specified number of decimal places, as determined by the significant digits field on the format preferences.
Scientific
Always uses a specified number of digits, as determined by the significant digits field on the format preferences.
Engineering
Always presents results in powers of 10 in multiples of 3, i.e. kilo, mega, milli, micro etc. The decimal places are determined by the significant digits field on the format preferences.
Octal
Unsigned octal representation, up to 53 bits. Numbers are prefixed by o to signify octal.
Unsigned Hex
Unsigned hex representation, up to 53 bits. Numbers are prefixed by x to signify unsigned hex.
Hours:Minutes:Seconds
Hours, minutes and seconds are presented using H:MM:SS format, where H is any number of digits, MM is 00 to 59, and SS is 00 to 59. Leading zeroes are not needed when entering figures. Negative times are allowed, and can be achieved by prefixing H with -. The times are dealt with internally as large integers, and will be displayed in the memories as whole seconds.
LV1.0.0 - the first release, a S5 version of the S3a calculator
V1.1.0 - introduced the ability to write the past calculations and results list to a file, and recall them when next started.
V1.1.1 - fixed bug preventing the formatting of results when calculation of trig is set to radians.
V1.2.0 - amended to display the current format settings at the top of the screen
V1.3.0 - amended to use proportional fonts so that it looks much prettier
V1.4.0 - now runs on a Series 5 and a revo.
V1.5.0 - introduced verbose results and cut/copy/paste to and from the clipboard. Unfortunately that meant changing the mapping of a few keys, but it's a small price to pay. The initial beta version restricted Adder to pasting text cut/copied from plain text editors, but this has now been relaxed. Adder is able to paste text cut from Word, Agenda, Database, Jotter and probably everywhere else, and I seem to have got it to avoid pasting graphics. If you get any problems then let me know (see the disclaimer here!)
Adder now includes engineering notation in the choices of result format.
For those of you that don't like the operator layout there are two choices:- i) a second toolbar with the operators for multiplication, division, addition and subtraction, or ii) the option of using shortcuts without having to press Fn, with the option to define which keys to use for the operators.
The final version introduced a bug which prevented the use of numbers greater than
1E+16. This has been fixed from 1.7.0.
V1.5.1 - fixed bug in scientific and engineering presentation since 2448.28 + 555.88 - 2406.34 - 597.82 still didn't result in zero. OPL32 letting me down again!
V1.6.0 - introduced octal presentation of results and the ability to use octal numbers by prefixing a number with (lowercase) o. The presentation will cope with numbers from 0 to 2^53-1, i.e. 53 bit numbers can be manipulated and displayed. 2^53 is the largest whole number that can be represented in octal/hex due to the practical limitations of OPL since 2^54 results in an answer more than 16 decimal digits long which OPL cannot cope with and so cannot be converted sensibly.
V1.7.0 - introduced unsigned hexadecimal presentation and the ability to use unsigned hex numbers by prefixing a number with (lowercase) x. The limit that applies to octal numbers also applies here.
Fixed bug introduced in V1.5.0 final version, in turn meant to fix an inaccuracy bug seemingly inherent within OPL (see known bugs for more info).
Fixed bug introduced in V1.6.0, where memory in, memory plus and memory minus would not work if octal presentation was being used.
Worked around a little feature of OPL32 meaning that you couldn't use 'm' as the operator shortcut for - and M for memory names (highlighted as a problem on French keyboards, thanks Max).
V1.8.0 - introduced support for calculations using hours, minutes and seconds. A new format preference was added to display results in H:MM:SS format, and code added to allow you to enter hours, minutes and seconds.
Fixed a bug which snuck into V1.7.0. For some reason I had removed code to format results using fixed presentation. It ignored whatever the setting was for significant digits, and always gave you 12 decimal places. I've put the code back in.
)What's different from the S3a calculator?
History
Adder formats
And finally...
That's about all the help that you're getting. If you too find the S5 or revo calculator a disappointment then hopefully you'll find that this becomes a valuable tool.
Known bugs
@V1.0.0 - the first release, a S5 version of the S3a calculator
V1.1.0 - introduced the ability to write the past calculations and results list to a file, and recall them when next started.
V1.1.1 - fixed bug preventing the formatting of results when calculation of trig is set to radians.
V1.2.0 - amended to display the current format settings at the top of the screen
V1.3.0 - amended to use proportional fonts so that it looks much prettier
V1.4.0 - now runs on a Series 5 and a revo.
V1.5.0 - introduced verbose results and cut/copy/paste to and from the clipboard. Unfortunately that meant changing the mapping of a few keys, but it's a small price to pay. The initial beta version restricted Adder to pasting text cut/copied from plain text editors, but this has now been relaxed. Adder is able to paste text cut from Word, Agenda, Database, Jotter and probably everywhere else, and I seem to have got it to avoid pasting graphics. If you get any problems then let me know (see the disclaimer here!)
Adder now includes engineering notation in the choices of result format.
For those of you that don't like the operator layout there are two choices:- i) a second toolbar with the operators for multiplication, division, addit
ion and subtraction, or ii) the option of using shortcuts without having to press Fn, with the option to define which keys to use for the operators.
The final version introduced a bug which prevented the use of numbers greater than
1E+16. This has been fixed from 1.7.0.
V1.5.1 - fixed bug in scientific and engineering presentation since 2448.28 + 555.88 - 2406.34 - 597.82 still didn't result in zero. OPL32 letting me down again!
V1.6.0 - introduced octal presentation of results and the ability to use octal numbers by prefixing a number with (lowercase) o. The presentation will cope with numbers from 0 to 2^53-1, i.e. 53 bit numbers can be manipulated and displayed. 2^53 is the largest whole number that can be represented in octal/hex due to the practical limitations of OPL since 2^54 results in an answer more than 16 decimal digits long which OPL cannot cope with and so cannot be converted sensibly.
V1.7.0 - introduced unsigned hexadecimal presentation and the ability to use unsigned hex numbers by prefixing a number with (lowercase) x. The limit that applies to octal numbers also applies here.
Fixed bug introduced in V1.5.0 final version, in turn meant to fix an inaccuracy bug seemingly inherent within OPL (see known bugs for more info).
Fixed bug introduced in V1.6.0, where memory in, memory plus and memory minus would not work if octal presentation was being used.
Worked around a little feature of OPL32 meaning that you couldn't use 'm' as the operator shortcut for - and M for memory names (highlighted as a problem on French keyboards, thanks Max).
V1.8.0 - introduced support for calculations using hours, minutes and seconds. A new format preference was added to display results in H:MM:SS format, and code added to allow you to enter hours, minutes and seconds.
Fixed a bug which snuck into V1.7.0. For some reason I had removed code to format results using fixed presentation. It ignored whatever the setting was for significant digits, and always gave you 12 decimal places. I've put the code back in.
V1.8.1 - fixed bug introduced in 1.8.0, functions in loaded OPL modules could not be used after introducing use of colon (:) for hours, minutes and seconds.
)What's different from the S3a calculator?
History
Adder formats
And finally...
That's about all the help that you're getting. If you too find the S5 or revo calculator a disappointment then hopefully you'll find that this becomes a valuable tool.