+/high quality applications for life and leisure.(,
FLLIB.
FLLIBXo
FLLIBX1
POLL6SA
POLL6Dy
POLL6EG
FLPROFILE$\
FLREG
FLPOLLD
FLMKEY
FLOPT
FLPOLLPENQ
FLSETHOTKEY(
FLKEYS
FLKEYS2
FLNULLEV
FLCURS
FLVSCRL
FLHSCRL2
FLCONFRM
FLFNDFL$q"
FLRUNMOD
FLERRCHK@$
FLGETC$e$
FLDY2DT
FLHELPCL
FLHELPA%
FLHELPX
FLTBINITr(
FLTBAR
FLTBAR2q)
FLTTEXT
FLTTEXT2
FLTBMODE
FLTBDUMMYICON
FLTBBUTT
FLTBPOSXY
FLTBOFFER
FLTBEVNTJ0
CMDA%*1
CMDB%S1
CMDC%|1
CMDD%
CMDE%
CMDF%
CMDTBDOWNA% 2
CMDTBDOWNB%I2
CMDTBDOWNC%r2
CMDTBDOWND%
CMDTBDOWNE%
CMDTBDOWNF%
FLABOUT
FLFINFO
FLTIME$
FLTHIS$<5
FLNEXT$
FLSKIP$
FLTAIL$
FLBEEPM6
FLLOGO
FLLINE
FLBOX
FLFILLd8
FLCENTXT;9
FLTHEIGHT%
FLSGN
FLRMOD
FLAIFSWAPq:
FLABOUTX
FLABOUTXX
FLABOUTXW%g=
FLABOUTX1%
FLABOUTX2%
SYSTEM\
"DATA.APP
Table1
ColA1
ColB1
ColA2
ColB2
ColA6
Index1
ColA6
- Disclaimer and copyright!
Table1
title
order
?ATo perform a calculation, simply type and expression and press the Enter key. You input will be displayed at the bottom of the screen as you do.
For example, try entering...
20+32
The results of your calculation will be displayed in large results area.
If you make a mistake with your input an error will be reported.
XAThere are some special keywords that you can enter into expressions. These all start with the ':' character and (on the whole) are alternatives for the more cryptic operators.
For example, :ANS has the value of the last calculation and :ADD is an alternative to the '+' operator. More special keywords will be listed in the following sections.
/AWhen multiple operators are used in an expression, they are applied in the following order:
1) Unary operators (-, ~ and #)
2) Arithmetic multiply, division and modulus
3) Arithmetic add and subtract
4) Bit shift (<< and >>)
5) Logical AND
6) Logical XOR
7) Logical OR
8) Assignment (=)
dABy default, you can enter numbers in either hexadecimal or decimal - you can select which with the "Edit:Default input format" menu.
You can always override this default and enter numbers in a variety of formats. For example:
0xFFFF - hexadecimal number
x.FFFF - hexadecimal number
d.9999 - decimal number
o.7777 - octal number
b.1111 - binary number
Arial
Arial
sAFlCalc includes support for copy and paste, using the standard controls and clipboard, allowing you to enter values copied from other applications. This may be of particular interested for users of PsiWin's "CopyAnywhere" support.
Paste
Up to 64 characters may be pasted from the standard clipboard.
The last line of the results window is copied into the clipboard.
Arial
Arial
BThe results of your calculation can be displayed in a number of ways, all of which show multiple number formats simultaneously. Use the "Edit:Output format" menu to choose between:
Hexadecimal; Binary
Displays your 32-bit result as both 8 hexadecimal digits and 32 binary digits.
Hexadecimal; Decimal; Ascii; Ebcdic
Displays your result in both hexadecimal and signed decimal and then shows the four bytes of the result as four characters of ASCII (as encoded by your EPOC machine) and EBCDIC (IBM codepage 037), respectively.
Hex; Bin; Dec; Ascii; Ebcdic (2 line)
Combines the previous two result formats, displayed over two lines.
Hexadecimal; Octal; Decimal
Results are shown as 8 hexadecimal digits, 11 octal digits and a signed decimal number.
BThe screen is divided vertically into two...
Result display area
The larger area at the top displays the results of calculations, the contents of memories and other information resulting from your input and selections.
Entry and status area
At the bottom of the screen, lies the input area, in which the calculation is displayed as you enter it, and a status line.
The status line has three fields which show:
o The contents of a selected memory.
o The current default numerical input
format.
o The current output format.
The status represented by these areas can be controlled via options of the main menu or by tapping the appropriate status area with the pen.
CAction keys
Enter - evaluate input
Tab - re-evaluate last input
Menu - show menu
Input editing keys
Esc - clear input
Del - delete character
Left - cursor left
Right - cursor right
Home - cursor to beginning
End - cursor to end
History list keys
Up - previous item in list
Down - next item in list
Operator keys
The following keys enter special operators and are designed for use with an English Series 5 keyboard. You may use the 'Tools:Special key preferences...' menu option to reconfigure these, if required.
y - enter a '*' character
u - enter a '/' character
i - enter a '+' character
o - enter a '-' character
p - enter a '=' character
l - enter a ';' character
' - enter a ':' character
Note: To enter one of the letters which is a special key without it being treated as a special key, using the upper case version (e.g. use 'O' instead of 'o'). You can temporarily stop these special letter keys by using Caps Lock.
6BFlCalc is a programmer's calculator with a difference. It was designed for my personal use (and so may be a bit rough around the edges) but may be of use to others
Originally written to compliment the Calc application on my Series 3a as I couldn't find anything I liked that did what I needed and ported to the Series 5 for the same reason.
Features include
o 32-bit integer expression evaluation.
o Multiple simultaneous output formats
including decimal, hex and binary.
o ASCII and EBCDIC character tables.
o Multiple memories.
o Repeatable statements.
FreEPOC is an EPOC Software House with a difference. While every one of our products is of professional quality, they are not crippled in any way. You are not forced to pay for them. They are not shareware.
But don't think that means they are in any way not as good as their commercial counterparts. They are.
Free Yourself...
Free Your Palmtop...
FreEPOC.
C1) FlCalc is Freeware and copyright; it is not public domain. The rights to this package remain the property of the author.
2) You may use this software, free of charge, for an indefinite period and at no obligation to the author.
3) Permission is given to publicly distribute this software provided the distribution contains all, and only, the unaltered files of the original distribution, the ownership of the rights to this software is clearly stated and any fee charged is extremely nominal.
4) Use of this software is entirely at the user's own risk. The user must accept responsibility for any direct or indirect loss or damage arising from the use (or misuse) of the package. This software is supplied "as-is".
5) Note: The OPM file employed by this software (and included in this distribution) is the copyright of Mark O'Neill Please see his WWW site,
http://www.i27.com/, for more details.
ee Your Palmtop...
FreEPOC.
Sketch
&Paint.app
SAYou can use the following operators to perform arithmetic between two numbers:
+ :ADD - add
- :SUB - subtract
* :MUL - multiply
/ :DIV - integer divide
% :MOD - modulus (remainder)
In addition, there following unary operator can be used on a single value:
- :NEG - negative (2's compliment)
For example, try...
-d.48
3 :MOD 2
AThe following operators can be used to apply bit-by-bit logical operations to two numbers.
& :AND - logical and
| :OR - logical or
? :OR - logical or
^ :XOR - logical xor
<< :LEFT - shift bits left
>> :RIGHT - shift bits right
In addition, the following unary operators can be used before a single number:
~ :NOT - logical not
(1's compliment)
# :MIRROR- mirror image of bits
For example, try...
7 & 4
3 :OR 7
# b.10110111
AA special binary operator ';' evaluates the first expression (to the left of it) throws the result away and returns the result of the second.
Why? This allows you to write a series of expressions on one line, as a series of statements.
For example, try...
m2=m0+m1; m1=m0; m0=m2
...with m0 and m1 initialised to 1. The result is 2. Now repeatedly press the Tab key and the numbers 3, 5, 8 and so on will result - the Fibonacci sequence!
CTo allow for more advanced calculations, there are 10 memories, named m0 through to m9.
To use a memory in a calculation
Just use the memory name in the expression.
For example...
4 + m1
To set a memory in an expression
Assign a value to a memory, write the memory name, the '=' operator and the the value.
For example...
m0 = 3+2
The value of this expression is the value assigned to the memory.
For example...
4 + (m2 = 3)
...evaluates to 7, with m2 being set to the value 3.
To display the values of all memories
You can display the values of all current memories by choosing the "Memory:Display all" option from the menu. The memories are displayed in both hexadecimal and signed decimal.
To work with the current memory
The "Memory" menu includes traditional memory operations, such as 'add last result to'. These operate on the current memory, the name and value of which is displayed on the status bar. To nominate which memory is the current one, use the "Menu:Change current" option.
BThe "Tools:Character table" sub-menu allows you to display one of two character tables, showing the characters represented by byte values in a single byte character set.
Two encodings can be displayed:
ASCII encoding used by your machine
EBCDIC IBM codepage 037
The characters are laid out in a 16x16 grid from left to right and from top to bottom. Hexadecimal digits along the top and left side of the table number the columns and rows, with character number being calculated by...
(row number)*16 + (column number)
m1=m0; m0=m2
...with m0 and m1 initialised to 1. The result is 2. Now repeatedly press the Tab key and the numbers 3, 5, 8 and so on will result - the Fibonacci sequence!
Introduction
Performing calculations
Arithmetic operators
Bit-wise operators
Working with memories
Multiple expressions$
Operator precedence"
Parenthesis
You can use parenthesis, '(' and ')', to break up your calculation and override the default operator precedence.
For example...
1+(2*3)
...equal to 7, and..
(1+2)*3
...evaluates to 9.
Entering numbers
Sketch
&Paint.app
FlCalc
Version 1.72
(C) Copyright 1997, 2001 David Rushall
In association with FreEPOC
All rights reserved. Please read disclaimer for important license information.
www.freepoc.org - www.piecafe.demon.co.uk
AIf you have any comments or suggestions, I can be contacted by email:
dave@piecafe.demon.co.uk
dave@freepoc.org
Else, visit my web site to send me a message or to read the latest news on this and my other applications for EPOC:
http://www.piecafe.demon.co.uk/
Arial
Arial
Arial
Arial
Arial
Arial
Arial
Arial
BStrings of up to four characters may be entered into expressions. These evaluate to a 32-bit value and may be used like any other number.
To enter a string lilteral, simply enclose the characters between either single (') or double (") quotes. For example:
"1" = 00000031
"12" = 00003132
By default, the string is interpretted as ASCII characters. An "a" or "e" suffix may be placed immediately after the closing quote to indicate whether ASCII or EBCDIC encoding should be used.
"12"a = 00003132
"12"e = 0000F1F2
Note: It is not possible to 'escape' quote characters within the string literal itself. Instead, use the other quote character to enclose the string.
eBThe history list remembers the last 16 different calculations you entered. You can retrieve any of these when starting to enter a new calculation by using the Up and Down arrows to step through them.
Alternatively, use the History list dialog to view and select from the contents of the history list.
When you have found the calculation you want, you can repeat the evaluation by pressing Enter, or edit it first as required.
Hint: By combining memory assignments, multiple expressions and the history list you can effectively enter the lines of a short program and execute each according to your own conditions.
System requirements
This software requires an EPOC machine with a screen no smaller than around 320x160 pixels. It is designed primarily for use with Series 5, Series 5mx and Revo machines, but should operate to some extent with other devices.
Special keys
Display layout%
History list
Result formats
}(Using the result of the last calculation
You can use the result of the last calculation by entering either of:
. - a full-stop on its own
:ANS - a special keyword
For example, entering...
...shows the last result plus 1.
Special keywords
Character tables#
Copy and paste support
About FreEPOC
Contacting FreEPOC
Care to comment on our software? Want to suggest improvements? Or just say thanks. No matter the reason, we'd love to hear from you. Getting in touch with us is easy.
By Email
support@freepoc.org
Website
http://www.freepoc.org
- Contacting the author*
Entering string literals,
D:\Source\FlCalc\FlCalc5.opl
FLSGN
FLREG
c:\system\opm\fllib.opm
d:\system\opm\fllib.opm
e:\system\opm\fllib.opm
FlCalcO
*333333
mainO
Unable to load "FlLib.opm".+&Please reinstall application SIS file.W8
DEFIN%
OUTFORM%
EBCDIC$
SHOWCALC%
SMENU%
MEMORY&
HISTORY$
HISTITEM%
TEMP$
SCRNX%
SCRNY%
RESULT$
BUTX%
BUTY%
INPOS%
WSTAT%
WMAIN%
KEYMAP$
STEM$
MAXEDIT%
WKEY%
KEYP$
KEYT$
SHOWKEYP%
KPHINTS%
KPDOWN%
KPDOWNX%
KPDOWNY%
FLFNDFL$
FLAIFSWAP
READSETINI
FLTBINIT
KEYPAD
FLKEYS
FLTBBUTT
INITEBC
PRINT
EDITKEY
STATUS
POLL1Y
FLPOLL
POLL1Z
TBWIDTH%
\System\OPM\Clipboard.OPMO
yuiopl'
\system\apps\flcalc5\
flcalc5KO
O@O@O@
O O O
1234567890W2|VO
+._a^a_b_c_d_e_h^h_i_k_l_m_n_o_p_q_r_s_v_w_y^y_zO
flcalc5.mbmKO
KeypadO
flcalc5.mbmKO
flcalc5.mbmKO
RepeatO
flcalc5.mbmKO
flcalc5.mbmKO
StoreO
flcalc5.mbmKO
flcalc5.mbmKO
RecallO
1.72 (September 2001)
flcalc5.mbmKO
W/O0L
O0O0O
FlCalc v
+'(C) 1997, 2001 David Rushall O
+'In association with FreEPOC O
+'See Help for instructions and operatorsO
No more history
No more history
History
History
Edited input
BUTX%
SCRNX%
BUTY%
SCRNY%
KEYP$
KEYT$
WKEY%
Binary number...
Octal number...
Decimal number...
Hexadecimal number...
...divide...
...multiply...
...subtract...
+ ...add...
Not...
+ ...xor...
...or...
+ ...and...
...modulus...
+ Mirror...
...shift left...
New expression
String literal
...shift right...
FLFNDFL$
STEM$
DEFIN%
OUTFORM%
SHOWCALC%
KEYMAP$
SHOWKEYP%
KPHINTS%
MEMORY&
flcalc5.ini
DEFIN%
OUTFORM%
SHOWCALC%
KEYMAP$
SHOWKEYP%
KPHINTS%
MEMORY&
DEFIN%$
OUTFORM%$
+ SHOWCALC%$
KEYMAP$'
+ SHOWKEYP%$
KPHINTS%$
MEMORY&%
DEFIN%
OUTFORM%
+ SHOWCALC%
KEYMAP$#
+ SHOWKEYP%
KPHINTS%
MEMORY&!
+#Incompatible INI settings discarded
DEFIN%
OUTFORM%
SHOWCALC%
KEYMAP$
SHOWKEYP%
KPHINTS%
MEMORY&
DEFIN%$
OUTFORM%$
+ SHOWCALC%$
KEYMAP$'
+ SHOWKEYP%$
KPHINTS%$
MEMORY&%
HISTITEM%
INPOS%
KEYMAP$
MAXEDIT%
OZ8`\[
*/+-=;:
Input full
EDITKEY
LOOKUP&
FLLOGO
WSTAT%
MEMORY&
DEFIN%
OUTFORM%
0000000 %
Hex:Dec:Asc:Ebc
Hex:Bin:Dec:Asc:Ebc
Hex:Oct:Dec
Hex:Bin
FLHELP
+ \system\apps\flcalc5\flcalc5.hlpO
+.Sorry, online help is not currently available.+
POLL1I
POLL1O
POLL1Q
EDITKEY
STATUS
EDITSTR
WSTAT%
OUTFORM%
DEFIN%
WKEY%
BUTX%
BUTY%
KPDOWN%
KPDOWNX%
KPDOWNY%
KEYP$
KEYT$
KPHINTS%
{1\[l
Hexadecimal; Binary(
@PL+#Hexadecimal; Decimal; Ascii; Ebcdic(
@PL+%Hex; Bin; Dec; Ascii; Ebcdic (2 line)(
Hexadecimal; Octal; Decimal(
@PLWX
Hexadecimal(
Decimal(
@PLWX
:AnsO
POLL1I
POLL1O
DEFIN%
OUTFORM%
SHOWCALC%
SHOWKEYP%
KPHINTS%
SMENU%
Default input format+
Hexadecimal(
Decimal(
Output format+
Hexadecimal; Binary(
@PL+#Hexadecimal; Decimal; Ascii; Ebcdic(
@PL+%Hex; Bin; Dec; Ascii; Ebcdic (2 line)(
Hexadecimal; Octal; Decimal(
Character table+
ASCII...Ow+ EBCDIC...Ob
File+
CloseOe
Edit+
CopyOc+
PasteOvh+
History list...Oh
View+
Echo input(
@PLh+
Default input format>Oi+
Output format>Ooh+
Show keypad(
Show keypad tool tips(
Memory+
Save inOn+
Add toOa+
Subtract fromOs+
RecallOr+
ClearOdh+
Display allOm+
Clear all...Ol+
Change current...Oq
Tools+
Repeat last calculationOzh+
Character table>O
Special key preferences...Okh+
Help on FlCalc...OH+
About FlCalc...OA
READSETINI
FLHELPCL
gA@r-(
POLL1C
POLL1V
CopyOc+
PasteOvWX
CBCLIPBOARDWRITE
RESULT$
+$Last output line copied to clipboard
CBCLIPBOARDREAD$
EDITSTR
Paste
Nothing to paste
O@8[!
Clipboard text too long
POLLEXIT
POLLHELP
FLABOUTX
STEM$
1997, 2001O
flcalc5.mbmKO
+,Clipboard OPM (C) Mark O'Neill (www.i27.com)O
SAFEHIST$
EDITKEY
STATUS
HISTORY$
INPOS%
History list
You can use up and down arrowsO
in edit mode to browse history.(
No items in history
ContinueO
,...K
CancelO
EDITKEY
STATUS
HISTORY$
Repeating calculation...
SHOWCALC%
DH>aC
SHOWKEYP%
WKEY%
OdD\[
KPHINTS%
KEYMAP$
Special key preferencesO
CancelO
STATUS
DEFIN%
STATUS
OUTFORM%
PRINT
LOOKUP&
0000000
******** K
SCRNY%
SCRNX%
EBCDIC$
+_Y1J
EBCDIC
ASCII
POLL1W
STATUS
MEMORY&
Change memory
Current memory:+
M0,M1,M2,M3,M4,M5,M6,M7,M8,M9
CancelO
ASSIGN&
STATUS
MEMORY&
Answer stored in current memory
LOOKUP&
ASSIGN&
STATUS
MEMORY&
+ Answer added into current memory
LOOKUP&
ASSIGN&
STATUS
MEMORY&
+%Answer subtracted from current memory
ASSIGN&
STATUS
MEMORY&
Current memory cleared
FLCONFRM
ASSIGN&
STATUS
Clear all memories?O
All memories cleared
EDITKEY
MEMORY&
POLL1Y
FLTHEIGHT%
WMAIN%
RESULT$
W2W.8[
W2W.8[
INPUT$
LEXVAL&
LEXEME$
PRINT
FLSKIP$
LEXEME
EXPR&
ASCII$
EBCDIC$
HISTORY$
SHOWCALC%
OUTFORM%
Empty input
0000000 |
: K |
: K |
: K |
0000000 |
: K |
: K |
0000000 |
: K |
|
: K |
: K |
O-L|W
Unknown characterO
Syntax errorO
Bad variable nameO
String too long or not closedO
Error: W
LEXEME
EXPR&
ASSIGN&
OREXPR&
LEXVAL&
LEXEME$
INPUT$
,~Eno2
XOREXPR&
LEXEME
LEXVAL&
ANDEXPR&
LEXEME
LEXVAL&
SHFEXPR&
LEXEME
LEXVAL&
O@@[$
ADDEXPR&
LEXEME
RIGHT&
LEFT&
LEXVAL&
O @[G
MULEXPR&
LEXEME
LEXVAL&
TERM&
LEXEME
LEXVAL&
LEXEME
LOOKUP&
TERM&
MIRROR&
EXPR&
LEXVAL&
FLSKIP$
TAILEX$
LEFT&
INPUT$
LEXEME$
LEXVAL&
DEFIN%
>>C`[3
D.C[:
0123456789O
O.C[:
01234567O
B.C[4
X.C[F
0123456789ABCDEFO
0XC[F
0123456789ABCDEFO
'C`[#
OE@['
0123456789O
0123456789O
ABCDEFGHIJKLMNOPQRSTUVWXYZO
:ANSC[
:NOTC[
:NEGC[
:MIRRORC[
:MULC[
:DIVC[
:MODC[
:ADDC[
:SUBC[
:RIGHTC[
:LEFTC[
:ANDC[
:XORC[
:ORC[
0123456789ABCDEF
0123456789ABCDEFO
+%~ # */% +- & ^ |? () = ;
FLSKIP$
INPUT$
O {1[H
{E{]a
O {1[H
{E{]a
FLRMOD
k+&Zxkj
LEFT&
O0L{a
LEFT&
O0L{a
BINB$
.8pPq
{1P{M}O
0000000000
RIGHT&
]O {1
EBCDIC$
O94\[
OZ4\[
RIGHT&
EBCDIC$
EBCDIC$
.<(+|
& !$*);
-/ |,%_>?
`:#@'="
abcdefghi
jklmnopqr
~stuvwxyz
{ABCDEFGHI
}JKLMNOPQR
\ STUVWXYZ
0123456789
INIT1
MAIN'
KEYPAD
READSETINI
EDITKEY
EDITSTR
STATUS
POLLHELP
POLLPEN
POLLMENU
POLLEXIT
POLLIRDA
POLLZOMO-"
POLLZOMIA"
POLLCOPYU"
POLL1C
POLL1VK#
POLL1Eo$
POLL1SH
POLL1SA
POLL1H
SAFEHIST$k'
POLL1Z
POLL1Pd(
POLL1Y
POLL1SY))
POLL1K`)
POLL1I
POLL1O
POLL1M
POLL1W
POLL1B
POLL1Q@/
POLL1N
POLL1A
POLL1S61
POLL1D
POLL1L\2
POLL1R(3
PRINT
EVAL`4
EXPR&
OREXPR&
XOREXPR&O9
ANDEXPR&
SHFEXPR&):
ADDEXPR&
MULEXPR&B;
TERM&
LEXEME
TAILEX$?D
ASSIGN&
LOOKUP&
MIRROR&
LEFT&-H
RIGHT&
MOD&GI
BIN&+J
BINB$NK
OCT$WL
ASCII$
EBCDIC$LP
INITEBC
FlCalc5
FlCalc5
9d9GG
FlCalc - Disclaimer and License Notice
Please read this notice and press "Yes" only if you accept the
contents and wish to continue with the installation of this
software.
FlCalc is copyright of the author, David Rushall. You are
granted permission to use and distribute this software provided
you do not do so for profit, do not alter it in any way and
accept the conditions of use contained in the associated
documentation. The right to withdraw this license at any time is
reserved.
Use of this software is at your own risk. The user must accept
responsibility for any direct or indirect loss or damage arising
from the use (or misuse) of the package. This software is