home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 824 / flcalc.sis (.txt) next >
EPOC Installation Package  |  2001-09-04  |  77KB  |  1,370 lines

  1. D:\Source\LIB\Clipboard.sisD:\Source\FlLib\FlLib.sisD:\Source\FlCalc\FlCalc5.hlp!:\System\Apps\FlCalc5\FlCalc5.hlpC:\System\Apps\FlCalc5\FlCalc5.iniD:\Source\FlCalc\FlCalc5.app!:\System\Apps\FlCalc5\FlCalc5.appD:\Source\FlCalc\FlCalc5.aic!:\System\Apps\FlCalc5\FlCalc5.aicD:\Source\FlCalc\FlCalc5.aif!:\System\Apps\FlCalc5\FlCalc5.aifD:\Source\FlCalc\FlCalc5.mbm!:\System\Apps\FlCalc5\FlCalc5.mbmD:\Source\FlCalc\InstMsg.txtFlCalc - Programmer's calculator
  2. D:\Clipboard\Readme.txt!:\Clipboard\Readme.txtD:\Clipboard\Example.opl!:\Clipboard\Example.oplD:\Clipboard\Clipboard.OPM!:\System\OPM\Clipboard.OPMClipboard!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3. !                                                      !
  4. !          README TEXT FILE FOR CLIPBOARD v1.0         !
  5. !                                                      !
  6. !                (c) 1999 Mark O'Neill                 !
  7. !                                                      !
  8. !                 <TURN WORD WRAP OFF>                 !
  9. !                                                      !
  10. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  11. ========================================================
  12.  This module is 100% FREE for use in your applications.
  13.     For other psion software, visit my website at:
  14.                   http://www.i27.com
  15. ========================================================
  16. # CONTENTS:
  17. ===========
  18. 1. INSTALLATION
  19. 2. IMPLEMENTATION
  20. 3. THANKS
  21. #1 INSTALLATION:
  22. ================
  23. 1. UnZip Clipboard.OPM and Example.OPL
  24. 2. Copy Clipboard.OPM to "C:\System\OPM\" on the Psion
  25.    (you may have to create the directory)
  26. 3. Copy Example.OPL to any directory on the Psion
  27. #2 IMPLEMENTATION
  28. =================
  29. Load and translate Example.OPL for details on how to use
  30. Clipboard.OPM.
  31. #3 THANKS
  32. =========
  33. Thanks to Alex Skilton and Steve Godfrey for the IO
  34. routines, and thanks for trying out Clipboard v1.0!
  35. Mark. :-)7
  36. REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  37. REM !                                                     !
  38. REM !                    CLIPBOARD DEMO                   !
  39. REM !                                                     !
  40. REM !                  (c) 1999 M.O'Neill                 !
  41. REM !                                                     !
  42. REM !      http://www.i27.com      clipboard@i27.com      !
  43. REM !                                                     !
  44. REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  45. REM **************************Start************************
  46. PROC start:
  47.     LOADM "D:\System\OPM\Clipboard.OPM"     REM load module
  48.     Main:
  49. REM **************************Main*************************
  50. PROC Main:
  51.     LOCAL c$(255)
  52. REM read the contents of the clipboard into c$...
  53.     c$=CBClipboardRead$:
  54.     IF LEN(c$)>253
  55.         PRINT "!!Text too long, cropped to fit string!!"
  56.         PRINT
  57.         c$=LEFT$(c$,253)
  58.     ENDIF
  59. REM display the results...
  60.     PRINT "Clipboard contents:",CHR$(34)+c$+CHR$(34)
  61.     PRINT "Length of text:",LEN(c$),"characters"
  62.     PRINT
  63.     PRINT "Press any key to copy",CHR$(34)+"test copy"+CHR$(34),"to the clipboard"
  64.     PRINT
  65. REM write some text to the clipboard...
  66.     CBClipboardWrite:("test copy")
  67. REM read clipboard again and finish
  68.     c$=CBClipboardRead$:
  69.     PRINT CHR$(34)+c$+CHR$(34),"copied to the clipboard,"
  70.     PRINT "go to WORD and press CTRL+V to see for yourself!"
  71. *TextEd.app
  72. 0D:\Documents\Programming\Clipboard\Clipboard.pre
  73.  (^!%' 
  74. +    Clipboard+
  75. v1.0K+
  76.  1999K+
  77. Mark O'NeillKO
  78. +?A simple module for writing and reading clipboard text strings.O
  79. + Only requires two lines of code.O
  80. +=Thanks to Alex Skilton and Steve Godfrey for the IO routines.(
  81. This module is 100% FREEWAREO
  82. http://www.i27.com+
  83.        K+
  84. clipboard@i27.comKO
  85.  (^!%' 
  86. C:\System\Data\Clpboard.cbdO
  87.  (^!%' 
  88. C:\System\Data\Clpboard.cbd(
  89. CBSTARTE
  90. CBCLIPBOARDREAD$
  91. CBCLIPBOARDWRITE
  92. D:\Source\FlLib\FlLib.opo!:\System\OPM\FlLib.opmFlLib - Flossy support OPM7
  93. D:\Source\FlLib\fllib.opl
  94. FLREG
  95. FlLibO
  96. fllibxO
  97. FLTBINIT
  98. FLKEYS
  99. FLTBBUTT
  100. FLPROFILE$
  101. FLLIBX1
  102. FLBEEP
  103. FLPOLL
  104.     FLVERSION
  105. FLPSCREENW&
  106. FLPSCREENH&
  107. FLPBASEMODE&
  108. FLPISCOLOUR%
  109. TBWIDTH%
  110. FLPTBUTTONS%
  111. FLPTBUTICONS%
  112. FLPTBUTDUMMYICONS%
  113. FLPTBUTTOP%
  114.     FLPTBUTH%
  115. FLPCLOCKAW%
  116. FLPCLOCKAH%
  117. FLPCLOCKDW%
  118. FLPCLOCKDH%
  119. FLPCLOCKLW%
  120. FLPCLOCKLH%
  121. ^a_d_eO
  122. AboutO
  123. DialogO
  124. ExitO
  125. FlLib
  126. Testcard
  127. Ctrl-Shift-S to capture screen
  128. Ctrl-D for dialog test
  129. Esc to exit
  130. ?Ry    U
  131. ?Ry    W
  132. ?Ry    W
  133. ?Ry    U
  134. ?Ry    W
  135. ?Ry    W
  136. ?Ry    U
  137. }*333333
  138. |Ny    W
  139. FLABOUTX
  140.     FLVERSION
  141. 1994, 2001O
  142. Do NOT redistribute separately!O    W
  143. K+9Do NOT remove 'fllib.opo' from the application directory!KO
  144. FLPSCREENW&
  145. FLPSCREENH&
  146. Test message (W=
  147. Test string (W=15)
  148. Test Dialog 1
  149. +(0123456789012345678901234567890123456789
  150. Item 2+
  151. Test 1,Test 2
  152. Item 3O
  153. Item 4
  154. Item 5+
  155. Test 1,Test 2
  156. Item 6+
  157. Test 1,Test 2
  158. NextO
  159. NextO    +
  160. NextO
  161. Test Dialog 2O
  162. DoneO
  163. DoneO    +
  164. DoneO
  165. FLPBASEGINFO&
  166. FLPSCREENW&
  167. FLPSCREENH&
  168. FLPBASEWIN%
  169. FLPBASEMODE&
  170. FLPISCOLOUR%
  171. FLPTBUTTONS%
  172. FLPTBUTICONS%
  173. FLPTBUTDUMMYICONS%
  174. FLPCLOCKAW%
  175. FLPCLOCKAH%
  176. FLPCLOCKDW%
  177. FLPCLOCKDH%
  178. FLPCLOCKLW%
  179. FLPCLOCKLH%
  180. FLPTBUTTOP%
  181.     FLPTBUTH%
  182. {A\[F
  183. Osaris
  184. netBook
  185. Standard
  186. FLAPP$
  187. FLFLAGS&
  188. FLPATH$
  189. FLKEYS$
  190. FLKYFLG&
  191. FLKYMAP$
  192. FLCURU%
  193. FLCURD%
  194. FLCURL%
  195. FLCURR%
  196. FLCURPU%
  197. FLCURPD%
  198. FLCURMD&
  199. FLCURSX&
  200. FLCURSY&
  201.     FLLASTKY%
  202. FLDRAGWIN&
  203.     FLDRAGRX&
  204.     FLDRAGRY&
  205. FLSCRWD%
  206. FLMACH%
  207.     FLTBMODE%
  208.     FLTBLBLS$
  209.     FLTBKEYS%
  210.     FLTBBITM&
  211.     FLTBMASK&
  212.     FLTBFLAG&
  213. FLTBDUMMY&
  214. FLTBAR%
  215. FLTBARB%
  216. FLTBARI%
  217. FLHLPT&
  218. FLEVENT&
  219.     FLEVSTAT%
  220.     FLEVFLAG%
  221.     FLHOTKEY%
  222. FLHOTKEYHANDLE&
  223.     FLVERSION
  224. FLPBASEGINFO&
  225. FLPISCOLOUR%
  226. FLPBASEMODE&
  227. FLPSCREENW&
  228. FLPSCREENH&
  229. FLPBASEWIN%
  230. FLPTBUTTONS%
  231. FLPTBUTICONS%
  232.     FLPTBUTH%
  233. FLPTBUTTOP%
  234. FLPTBUTDUMMYICONS%
  235. FLPCLOCKAW%
  236. FLPCLOCKDW%
  237. FLPCLOCKLW%
  238. FLPCLOCKAH%
  239. FLPCLOCKDH%
  240. FLPCLOCKLH%
  241. FLPROFILE$
  242. TBARLINK
  243. @9pD&
  244.  requires version K
  245.  of theK+
  246. FlLib shared library, or later.W8
  247.  not compatible withK+
  248. FlLib v2 shared library.W8
  249. z:\system\opl\toolbar.opo
  250. RETKEY%
  251. FLTBMODE
  252. POLLCOPY
  253. POLLIRDA
  254. POLLZOMI
  255. POLLZOMO
  256. POLLFORE
  257. POLLBACK
  258. POLLPOWR
  259. POLLEXIT
  260. FLTAIL$
  261. POLLOPEN
  262. POLLNEW
  263.     FLTBOFFER
  264. POLLPEN        FLPOLLPEN    
  265. POLLMENU
  266. FLOPT
  267. POLLHELP
  268. POLLDIAM
  269. POLLHOTKEY
  270. POLLKEY
  271. POLLHOME
  272. POLLEND
  273. FLFLAGS&
  274. FLKYFLG&
  275.     FLEVFLAG%
  276.     FLEVSTAT%
  277. FLEVENT&
  278.     FLLASTKY%
  279.     FLHOTKEY%
  280. FLCURSY&
  281. FLCURU%
  282. FLCURD%
  283. FLCURPU%
  284. FLCURPD%
  285. FLCURMD&
  286. FLCURL%
  287. FLCURSX&
  288. FLCURR%
  289. '{A{    
  290. '{A{    
  291. '{A{    
  292. '{A{    
  293. O@{]]_
  294. {A\{    
  295. LOAHO
  296. LOaHO
  297. O {]E\[
  298. O {]_
  299. FLKYMAP$
  300. FLKEYS$
  301. OAHOaL|
  302. FLKYMAP$
  303. FLKEYS$
  304. RETKEY%
  305.     FLLASTKY%
  306. POLLPENDOWN
  307.     POLLPENUP
  308. POLLPENDRAG
  309. POLLPENDROP
  310. FLDRAGWIN&
  311.     FLDRAGRX&
  312.     FLDRAGRY&
  313. &do/yo
  314. FLHOTKEYHANDLE&
  315.     FLHOTKEY%
  316. FLKEYS$
  317. FLKYMAP$
  318. FLKYFLG&
  319. FLKEYS$
  320. FLKYMAP$
  321. FLKYFLG&
  322. FLKYFLG&
  323. FLCURMD&
  324. FLCURU%
  325. FLCURD%
  326. FLCURL%
  327. FLCURR%
  328. FLCURPU%
  329. FLCURPD%
  330. }i"X|th
  331. FLSGN
  332. FLSCRWD%
  333. FLSGN
  334. FLSCRWD%
  335. FLMACH%
  336. OnHh+
  337. NoOnh+
  338. YesOy
  339. W7Oy@
  340. FLPATH$
  341. FLMACH%
  342. FLAPP$
  343. loc::
  344.  unable to find file:K
  345. Fail+
  346. RetryW8
  347. FLFNDFL$
  348. C!:dg
  349. OhhD\[(
  350. Module load failed (W
  351. FLHLPT&
  352. FLFNDFL$
  353. FLHLPT&
  354. FLFNDFL$
  355. + Unable to find help file, sorry.
  356. $$KW    
  357. TBARINIT
  358. TBARSHOW
  359. FLAPP$
  360. FLTTEXT
  361. FLTBAR%
  362. FLTBARB%
  363. FLTBARI%
  364. FLTTEXT
  365. FLPTBUTTOP%
  366. FLTBAR%
  367. FLPBASEMODE&
  368. FLTBARI%
  369. FLPISCOLOUR%
  370. FLTBARB%
  371. W.W/O
  372. _Ux_Ux_Ux
  373. W.W/O
  374. FLTHEIGHT%
  375. FLTBAR%
  376. FLTBARI%
  377. FLTBARB%
  378. FLPISCOLOUR%
  379. W.W/O
  380. FLTTEXT
  381. FLTHEIGHT%
  382. FLTBAR%
  383. TBARBUTT
  384.     FLTBMODE%
  385. FLPTBUTTONS%
  386.     FLTBLBLS$
  387. FLKYFLG&
  388. FLPTBUTDUMMYICONS%
  389. FLTBDUMMY&
  390.     FLTBFLAG&
  391. FLPTBUTICONS%
  392.     FLTBBITM&
  393.     FLTBMASK&
  394. FLTBDUMMY&
  395.     FLTBLBLS$
  396.     FLTBKEYS%
  397.     FLTBBITM&
  398.     FLTBMASK&
  399.     FLTBFLAG&
  400.     FLTBMODE%
  401. FLPSCREENW&
  402. TBWIDTH%
  403. FLPTBUTTOP%
  404.     FLPTBUTH%
  405. TBAROFFER%
  406. FLEVENT&
  407. POLLPOP
  408. FLOPT
  409.     FLTBMODE%
  410.     FLTBKEYS%
  411.     FLLASTKY%
  412. O94\[5
  413. FLTBEVNT
  414. FLTBEVNT
  415. FLTBEVNT
  416. FLTBEVNT
  417. FLTBEVNT
  418. FLTBEVNT
  419. FLTBEVNT
  420. FLTBEVNT
  421. FLTBEVNT
  422. FLTBEVNT
  423. FLTBEVNT
  424. FLTBEVNT
  425. FLAPP$
  426. FLMACH%
  427. About this program...
  428. Name:
  429. Purpose:
  430. Author:
  431. Version:
  432. Status:
  433. Done(
  434. FDIR%
  435. FHID%
  436. FMODI%
  437. FWRITE%
  438. FSIZE&
  439. FTIME&
  440. FLSKIP$
  441. FLSKIP$
  442. O |Ry)
  443. FLLINE
  444. FLFNDFL$
  445. FLPISCOLOUR%
  446. .aicKO
  447. FLFNDFL$
  448. FLABOUTX1%
  449.     FLABOUTXX
  450. FLABOUTX2%
  451. >FB3T
  452. FLPSCREENW&
  453. FLPSCREENH&
  454. FLPBASEMODE&
  455. {M}WBO
  456. {M}WBO
  457. {Ux(6
  458. FLABOUTXW%
  459. FLAPP$
  460. Version 
  461.  David Rushall K
  462. FreEPOC Presents:
  463. +9http://www.freepoc.org/   http://www.piecafe.demon.co.uk/(,
  464. +,dave@freepoc.org    dave@piecafe.demon.co.uk(,
  465. O0O0O
  466. FLABOUTXW%
  467. +%Free Your Palmtop... Free Yourself...(,
  468. www.freepoc.org(,
  469. +#FreEPOC is a European wide group of(,
  470. +-programmers for the EPOC platform - providing(,
  471. +/high quality applications for life and leisure.(,
  472. FLLIB.
  473. FLLIBXo
  474. FLLIBX1
  475. POLL6SA
  476. POLL6Dy
  477. POLL6EG
  478. FLPROFILE$\
  479. FLREG
  480. FLPOLLD
  481. FLMKEY
  482. FLOPT
  483.     FLPOLLPENQ
  484. FLSETHOTKEY(
  485. FLKEYS
  486. FLKEYS2
  487. FLNULLEV
  488. FLCURS
  489. FLVSCRL
  490. FLHSCRL2 
  491. FLCONFRM
  492. FLFNDFL$q"
  493. FLRUNMOD
  494. FLERRCHK@$
  495. FLGETC$e$
  496. FLDY2DT
  497. FLHELPCL
  498. FLHELPA%
  499. FLHELPX
  500. FLTBINITr(
  501. FLTBAR
  502. FLTBAR2q)
  503. FLTTEXT
  504. FLTTEXT2
  505. FLTBMODE
  506. FLTBDUMMYICON
  507. FLTBBUTT
  508.     FLTBPOSXY
  509.     FLTBOFFER
  510. FLTBEVNTJ0
  511. CMDA%*1
  512. CMDB%S1
  513. CMDC%|1
  514. CMDD%
  515. CMDE%
  516. CMDF%
  517. CMDTBDOWNA% 2
  518. CMDTBDOWNB%I2
  519. CMDTBDOWNC%r2
  520. CMDTBDOWND%
  521. CMDTBDOWNE%
  522. CMDTBDOWNF%
  523. FLABOUT
  524. FLFINFO
  525. FLTIME$
  526. FLTHIS$<5
  527. FLNEXT$
  528. FLSKIP$
  529. FLTAIL$
  530. FLBEEPM6
  531. FLLOGO
  532. FLLINE
  533. FLBOX
  534. FLFILLd8
  535. FLCENTXT;9
  536. FLTHEIGHT%
  537. FLSGN
  538. FLRMOD
  539.     FLAIFSWAPq:
  540. FLABOUTX
  541.     FLABOUTXX
  542. FLABOUTXW%g=
  543. FLABOUTX1%
  544. FLABOUTX2%
  545. SYSTEM\
  546. "DATA.APP
  547. Table1
  548. ColA1
  549. ColB1
  550. ColA2
  551. ColB2
  552. ColA6
  553. Index1
  554. ColA6
  555. - Disclaimer and copyright!
  556. Table1
  557. title
  558. order
  559. ?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.
  560. For example, try entering...
  561.     20+32
  562. The results of your calculation will be displayed in large results area.
  563. If you make a mistake with your input an error will be reported.
  564. 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.
  565. 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.
  566. /AWhen multiple operators are used in an expression, they are applied in the following order:
  567.   1)    Unary operators (-, ~ and #)
  568.   2)    Arithmetic multiply, division and modulus
  569.   3)    Arithmetic add and subtract
  570.   4)    Bit shift (<< and >>)
  571.   5)    Logical AND
  572.   6)    Logical XOR
  573.   7)    Logical OR
  574.   8)    Assignment (=)
  575. dABy default, you can enter numbers in either hexadecimal or decimal - you can select which with the "Edit:Default input format" menu.
  576. You can always override this default and enter numbers in a variety of formats. For example:
  577.     0xFFFF    - hexadecimal number
  578.     x.FFFF    - hexadecimal number
  579.     d.9999    - decimal number
  580.     o.7777    - octal number
  581.     b.1111    - binary number
  582. Arial
  583. Arial
  584. 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.
  585. Paste
  586. Up to 64 characters may be pasted from the standard clipboard.
  587. The last line of the results window is copied into the clipboard.
  588. Arial
  589. Arial
  590. 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:
  591. Hexadecimal; Binary
  592. Displays your 32-bit result as both 8 hexadecimal digits and 32 binary digits.
  593. Hexadecimal; Decimal; Ascii; Ebcdic
  594. 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.
  595. Hex; Bin; Dec; Ascii; Ebcdic (2 line)
  596. Combines the previous two result formats, displayed over two lines.
  597. Hexadecimal; Octal; Decimal
  598. Results are shown as 8 hexadecimal digits, 11 octal digits and a signed decimal number.
  599. BThe screen is divided vertically into two...
  600. Result display area
  601. The larger area at the top displays the results of calculations, the contents of memories and other information resulting from your input and selections.
  602. Entry and status area
  603. At the bottom of the screen, lies the input area, in which the calculation is displayed as you enter it, and a status line.
  604. The status line has three fields which show:
  605.   o    The contents of a selected memory.
  606.   o    The current default numerical input
  607.     format.
  608.   o    The current output format.
  609. 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.
  610. CAction keys
  611.     Enter    - evaluate input
  612.     Tab        - re-evaluate last input
  613.     Menu    - show menu
  614. Input editing keys
  615.     Esc        - clear input
  616.     Del        - delete character
  617.     Left        - cursor left
  618.     Right    - cursor right
  619.     Home    - cursor to beginning
  620.     End        - cursor to end
  621. History list keys
  622.     Up        - previous item in list
  623.     Down    - next item in list
  624. Operator keys
  625. 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.
  626.     y        - enter a '*' character
  627.     u        - enter a '/' character
  628.     i        - enter a '+' character
  629.     o        - enter a '-' character
  630.     p        - enter a '=' character
  631.     l        - enter a ';' character
  632.     '        - enter a ':' character
  633. 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.
  634. 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
  635. 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.
  636. Features include
  637.   o    32-bit integer expression evaluation.
  638.   o    Multiple simultaneous output formats
  639.     including decimal, hex and binary.
  640.   o    ASCII and EBCDIC character tables.
  641.   o    Multiple memories.
  642.   o    Repeatable statements.
  643. 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.
  644. But don't think that means they are in any way not as good as their commercial counterparts. They are.
  645.     Free Yourself...
  646.         Free Your Palmtop...
  647.             FreEPOC.
  648. C1) FlCalc is Freeware and copyright; it is not public domain. The rights to this package remain the property of the author.
  649. 2) You may use this software, free of charge, for an indefinite period and at no obligation to the author.
  650. 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.
  651. 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".
  652. 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,
  653. http://www.i27.com/, for more details.
  654. ee Your Palmtop...
  655.             FreEPOC.
  656. Sketch
  657. &Paint.app
  658. SAYou can use the following operators to perform arithmetic between two numbers:
  659.     +    :ADD    - add
  660.     -    :SUB    - subtract
  661.     *    :MUL    - multiply
  662.     /    :DIV    - integer divide
  663.     %    :MOD    - modulus (remainder)
  664. In addition, there following unary operator can be used on a single value:
  665.     -    :NEG    - negative (2's compliment)
  666. For example, try...
  667.     -d.48
  668.     3 :MOD 2
  669. AThe following operators can be used to apply bit-by-bit logical operations to two numbers.
  670.     &    :AND    - logical and
  671.     |    :OR        - logical or
  672.     ?    :OR        - logical or
  673.     ^    :XOR    - logical xor
  674.     <<    :LEFT    - shift bits left
  675.     >>    :RIGHT    - shift bits right
  676. In addition, the following unary operators can be used before a single number:
  677.     ~    :NOT    - logical not
  678.                   (1's compliment)
  679.     #    :MIRROR- mirror image of bits
  680. For example, try...
  681.     7 & 4
  682.     3 :OR 7
  683.     # b.10110111
  684. AA special binary operator ';' evaluates the first expression (to the left of it) throws the result away and returns the result of the second.
  685. Why? This allows you to write a series of expressions on one line, as a series of statements.
  686. For example, try...
  687.     m2=m0+m1; m1=m0; m0=m2
  688. ...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!
  689. CTo allow for more advanced calculations, there are 10 memories, named m0 through to m9.
  690. To use a memory in a calculation
  691. Just use the memory name in the expression.
  692. For example...
  693.     4 + m1
  694. To set a memory in an expression
  695. Assign a value to a memory, write the memory name, the '=' operator and the the value.
  696. For example...
  697.     m0 = 3+2
  698. The value of this expression is the value assigned to the memory.
  699. For example...
  700.     4 + (m2 = 3)
  701. ...evaluates to 7, with m2 being set to the value 3.
  702. To display the values of all memories
  703. 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.
  704. To work with the current memory
  705. 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.
  706. 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.
  707. Two encodings can be displayed:
  708.   ASCII        encoding used by your machine
  709.   EBCDIC    IBM codepage 037
  710. 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...
  711.     (row number)*16 + (column number)
  712.  m1=m0; m0=m2
  713. ...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!
  714. Introduction
  715. Performing calculations
  716. Arithmetic operators
  717. Bit-wise operators
  718. Working with memories 
  719. Multiple expressions$
  720. Operator precedence"
  721. Parenthesis
  722. You can use parenthesis, '(' and ')', to break up your calculation and override the default operator precedence.
  723. For example...
  724.     1+(2*3)
  725. ...equal to 7, and..
  726.     (1+2)*3
  727. ...evaluates to 9.
  728. Entering numbers
  729. Sketch
  730. &Paint.app
  731. FlCalc
  732.  Version 1.72
  733. (C) Copyright 1997, 2001 David Rushall
  734. In association with FreEPOC
  735. All rights reserved. Please read disclaimer for important license information.
  736. www.freepoc.org - www.piecafe.demon.co.uk
  737. AIf you have any comments or suggestions, I can be contacted by email:
  738.     dave@piecafe.demon.co.uk
  739.     dave@freepoc.org
  740. Else, visit my web site to send me a message or to read the latest news on this and my other applications for EPOC:
  741.     http://www.piecafe.demon.co.uk/
  742. Arial
  743. Arial
  744. Arial
  745. Arial
  746. Arial
  747. Arial
  748. Arial
  749. Arial
  750. 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.
  751. To enter a string lilteral, simply enclose the characters between either single (') or double (") quotes. For example:
  752.     "1"        = 00000031
  753.     "12"        = 00003132
  754. 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.
  755.     "12"a    = 00003132
  756.     "12"e    = 0000F1F2
  757. Note: It is not possible to 'escape' quote characters within the string literal itself. Instead, use the other quote character to enclose the string.
  758. 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.
  759. Alternatively, use the History list dialog to view and select from the contents of the history list.
  760. When you have found the calculation you want, you can repeat the evaluation by pressing Enter, or edit it first as required.
  761. 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.
  762. System requirements
  763. 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.
  764. Special keys
  765. Display layout%
  766. History list
  767. Result formats
  768. }(Using the result of the last calculation
  769. You can use the result of the last calculation by entering either of:
  770.     .        - a full-stop on its own
  771.     :ANS    - a special keyword
  772. For example, entering...
  773. ...shows the last result plus 1.
  774. Special keywords
  775. Character tables#
  776. Copy and paste support
  777.  About FreEPOC
  778.  Contacting FreEPOC
  779. 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.
  780. By Email
  781.     support@freepoc.org
  782. Website
  783.     http://www.freepoc.org
  784. - Contacting the author*
  785. Entering string literals,
  786. D:\Source\FlCalc\FlCalc5.opl
  787. FLSGN
  788. FLREG
  789. c:\system\opm\fllib.opm
  790. d:\system\opm\fllib.opm
  791. e:\system\opm\fllib.opm
  792. FlCalcO
  793. *333333
  794. mainO
  795. Unable to load "FlLib.opm".+&Please reinstall application SIS file.W8
  796. DEFIN%
  797. OUTFORM%
  798. EBCDIC$
  799.     SHOWCALC%
  800. SMENU%
  801. MEMORY&
  802. HISTORY$
  803.     HISTITEM%
  804. TEMP$
  805. SCRNX%
  806. SCRNY%
  807. RESULT$
  808. BUTX%
  809. BUTY%
  810. INPOS%
  811. WSTAT%
  812. WMAIN%
  813. KEYMAP$
  814. STEM$
  815. MAXEDIT%
  816. WKEY%
  817. KEYP$
  818. KEYT$
  819.     SHOWKEYP%
  820. KPHINTS%
  821. KPDOWN%
  822. KPDOWNX%
  823. KPDOWNY%
  824. FLFNDFL$
  825.     FLAIFSWAP
  826. READSETINI
  827. FLTBINIT
  828. KEYPAD
  829. FLKEYS
  830. FLTBBUTT
  831. INITEBC
  832. PRINT
  833. EDITKEY
  834. STATUS
  835. POLL1Y
  836. FLPOLL
  837. POLL1Z
  838. TBWIDTH%
  839. \System\OPM\Clipboard.OPMO
  840. yuiopl'
  841. \system\apps\flcalc5\
  842. flcalc5KO
  843. O@O@O@
  844. O O O 
  845. 1234567890W2|VO
  846. +._a^a_b_c_d_e_h^h_i_k_l_m_n_o_p_q_r_s_v_w_y^y_zO
  847. flcalc5.mbmKO
  848. KeypadO
  849. flcalc5.mbmKO
  850. flcalc5.mbmKO
  851. RepeatO
  852. flcalc5.mbmKO
  853. flcalc5.mbmKO
  854. StoreO
  855. flcalc5.mbmKO
  856. flcalc5.mbmKO
  857. RecallO
  858. 1.72 (September 2001)
  859. flcalc5.mbmKO
  860. W/O0L
  861. O0O0O
  862. FlCalc v
  863. +'(C) 1997, 2001 David Rushall           O
  864. +'In association with FreEPOC            O
  865. +'See Help for instructions and operatorsO
  866. No more history
  867. No more history
  868. History 
  869. History 
  870. Edited input
  871. BUTX%
  872. SCRNX%
  873. BUTY%
  874. SCRNY%
  875. KEYP$
  876. KEYT$
  877. WKEY%
  878. Binary number...
  879. Octal number...
  880. Decimal number...
  881. Hexadecimal number...
  882. ...divide...
  883. ...multiply...
  884. ...subtract...
  885. +    ...add...
  886. Not...
  887. +    ...xor...
  888. ...or...
  889. +    ...and...
  890. ...modulus...
  891. +    Mirror...
  892. ...shift left...
  893. New expression
  894. String literal
  895. ...shift right...
  896. FLFNDFL$
  897. STEM$
  898. DEFIN%
  899. OUTFORM%
  900.     SHOWCALC%
  901. KEYMAP$
  902.     SHOWKEYP%
  903. KPHINTS%
  904. MEMORY&
  905. flcalc5.ini
  906. DEFIN%
  907. OUTFORM%
  908.     SHOWCALC%
  909. KEYMAP$
  910.     SHOWKEYP%
  911. KPHINTS%
  912. MEMORY&
  913. DEFIN%$
  914. OUTFORM%$
  915. +    SHOWCALC%$
  916. KEYMAP$'
  917. +    SHOWKEYP%$
  918. KPHINTS%$
  919. MEMORY&%
  920. DEFIN% 
  921. OUTFORM% 
  922. +    SHOWCALC% 
  923. KEYMAP$#
  924. +    SHOWKEYP% 
  925. KPHINTS% 
  926. MEMORY&!
  927. +#Incompatible INI settings discarded
  928. DEFIN%
  929. OUTFORM%
  930.     SHOWCALC%
  931. KEYMAP$
  932.     SHOWKEYP%
  933. KPHINTS%
  934. MEMORY&
  935. DEFIN%$
  936. OUTFORM%$
  937. +    SHOWCALC%$
  938. KEYMAP$'
  939. +    SHOWKEYP%$
  940. KPHINTS%$
  941. MEMORY&%
  942.     HISTITEM%
  943. INPOS%
  944. KEYMAP$
  945. MAXEDIT%
  946. OZ8`\[
  947. */+-=;:
  948. Input full
  949. EDITKEY
  950. LOOKUP&
  951. FLLOGO
  952. WSTAT%
  953. MEMORY&
  954. DEFIN%
  955. OUTFORM%
  956. 0000000    %
  957. Hex:Dec:Asc:Ebc
  958. Hex:Bin:Dec:Asc:Ebc
  959. Hex:Oct:Dec
  960. Hex:Bin
  961. FLHELP
  962. + \system\apps\flcalc5\flcalc5.hlpO
  963. +.Sorry, online help is not currently available.+
  964. POLL1I
  965. POLL1O
  966. POLL1Q
  967. EDITKEY
  968. STATUS
  969. EDITSTR
  970. WSTAT%
  971. OUTFORM%
  972. DEFIN%
  973. WKEY%
  974. BUTX%
  975. BUTY%
  976. KPDOWN%
  977. KPDOWNX%
  978. KPDOWNY%
  979. KEYP$
  980. KEYT$
  981. KPHINTS%
  982. {1\[l
  983. Hexadecimal; Binary(
  984. @PL+#Hexadecimal; Decimal; Ascii; Ebcdic(
  985. @PL+%Hex; Bin; Dec; Ascii; Ebcdic (2 line)(
  986. Hexadecimal; Octal; Decimal(
  987. @PLWX
  988. Hexadecimal(
  989. Decimal(
  990. @PLWX
  991. :AnsO
  992. POLL1I
  993. POLL1O
  994. DEFIN%
  995. OUTFORM%
  996.     SHOWCALC%
  997.     SHOWKEYP%
  998. KPHINTS%
  999. SMENU%
  1000. Default input format+
  1001. Hexadecimal(
  1002. Decimal(
  1003. Output format+
  1004. Hexadecimal; Binary(
  1005. @PL+#Hexadecimal; Decimal; Ascii; Ebcdic(
  1006. @PL+%Hex; Bin; Dec; Ascii; Ebcdic (2 line)(
  1007. Hexadecimal; Octal; Decimal(
  1008. Character table+
  1009. ASCII...Ow+    EBCDIC...Ob
  1010. File+
  1011. CloseOe
  1012. Edit+
  1013. CopyOc+
  1014. PasteOvh+
  1015. History list...Oh
  1016. View+
  1017. Echo input(
  1018. @PLh+
  1019. Default input format>Oi+
  1020. Output format>Ooh+
  1021. Show keypad(
  1022. Show keypad tool tips(
  1023. Memory+
  1024. Save inOn+
  1025. Add toOa+
  1026. Subtract fromOs+
  1027. RecallOr+
  1028. ClearOdh+
  1029. Display allOm+
  1030. Clear all...Ol+
  1031. Change current...Oq
  1032. Tools+
  1033. Repeat last calculationOzh+
  1034. Character table>O
  1035. Special key preferences...Okh+
  1036. Help on FlCalc...OH+
  1037. About FlCalc...OA
  1038. READSETINI
  1039. FLHELPCL
  1040. gA@r-(
  1041. POLL1C
  1042. POLL1V
  1043. CopyOc+
  1044. PasteOvWX
  1045. CBCLIPBOARDWRITE
  1046. RESULT$
  1047. +$Last output line copied to clipboard
  1048. CBCLIPBOARDREAD$
  1049. EDITSTR
  1050. Paste
  1051. Nothing to paste
  1052. O@8[!
  1053. Clipboard text too long
  1054. POLLEXIT
  1055. POLLHELP
  1056. FLABOUTX
  1057. STEM$
  1058. 1997, 2001O
  1059. flcalc5.mbmKO
  1060. +,Clipboard OPM (C) Mark O'Neill (www.i27.com)O
  1061.     SAFEHIST$
  1062. EDITKEY
  1063. STATUS
  1064. HISTORY$
  1065. INPOS%
  1066. History list
  1067. You can use up and down arrowsO
  1068. in edit mode to browse history.(
  1069. No items in history
  1070. ContinueO
  1071. ,...K
  1072. CancelO
  1073. EDITKEY
  1074. STATUS
  1075. HISTORY$
  1076. Repeating calculation...
  1077.     SHOWCALC%
  1078. DH>aC
  1079.     SHOWKEYP%
  1080. WKEY%
  1081. OdD\[
  1082. KPHINTS%
  1083. KEYMAP$
  1084. Special key preferencesO
  1085. CancelO
  1086. STATUS
  1087. DEFIN%
  1088. STATUS
  1089. OUTFORM%
  1090. PRINT
  1091. LOOKUP&
  1092. 0000000
  1093. ********            K
  1094. SCRNY%
  1095. SCRNX%
  1096. EBCDIC$
  1097. +_Y1J
  1098. EBCDIC
  1099. ASCII 
  1100. POLL1W
  1101. STATUS
  1102. MEMORY&
  1103. Change memory
  1104. Current memory:+
  1105. M0,M1,M2,M3,M4,M5,M6,M7,M8,M9
  1106. CancelO
  1107. ASSIGN&
  1108. STATUS
  1109. MEMORY&
  1110. Answer stored in current memory
  1111. LOOKUP&
  1112. ASSIGN&
  1113. STATUS
  1114. MEMORY&
  1115. + Answer added into current memory
  1116. LOOKUP&
  1117. ASSIGN&
  1118. STATUS
  1119. MEMORY&
  1120. +%Answer subtracted from current memory
  1121. ASSIGN&
  1122. STATUS
  1123. MEMORY&
  1124. Current memory cleared
  1125. FLCONFRM
  1126. ASSIGN&
  1127. STATUS
  1128. Clear all memories?O
  1129. All memories cleared
  1130. EDITKEY
  1131. MEMORY&
  1132. POLL1Y
  1133. FLTHEIGHT%
  1134. WMAIN%
  1135. RESULT$
  1136. W2W.8[
  1137. W2W.8[
  1138. INPUT$
  1139. LEXVAL&
  1140. LEXEME$
  1141. PRINT
  1142. FLSKIP$
  1143. LEXEME
  1144. EXPR&
  1145. ASCII$
  1146. EBCDIC$
  1147. HISTORY$
  1148.     SHOWCALC%
  1149. OUTFORM%
  1150. Empty input
  1151. 0000000    |
  1152.  : K    |
  1153.  : K    |
  1154.  : K    |
  1155. 0000000    |
  1156.  : K    |
  1157.  : K    |
  1158. 0000000    |
  1159.  : K    |
  1160.                |
  1161.  : K    |
  1162.  : K    |
  1163. O-L|W
  1164. Unknown characterO
  1165. Syntax errorO
  1166. Bad variable nameO
  1167. String too long or not closedO
  1168. Error: W
  1169. LEXEME
  1170. EXPR&
  1171. ASSIGN&
  1172. OREXPR&
  1173. LEXVAL&
  1174. LEXEME$
  1175. INPUT$
  1176. ,~Eno2
  1177. XOREXPR&
  1178. LEXEME
  1179. LEXVAL&
  1180. ANDEXPR&
  1181. LEXEME
  1182. LEXVAL&
  1183. SHFEXPR&
  1184. LEXEME
  1185. LEXVAL&
  1186. O@@[$
  1187. ADDEXPR&
  1188. LEXEME
  1189. RIGHT&
  1190. LEFT&
  1191. LEXVAL&
  1192. O @[G
  1193. MULEXPR&
  1194. LEXEME
  1195. LEXVAL&
  1196. TERM&
  1197. LEXEME
  1198. LEXVAL&
  1199. LEXEME
  1200. LOOKUP&
  1201. TERM&
  1202. MIRROR&
  1203. EXPR&
  1204. LEXVAL&
  1205. FLSKIP$
  1206. TAILEX$
  1207. LEFT&
  1208. INPUT$
  1209. LEXEME$
  1210. LEXVAL&
  1211. DEFIN%
  1212. >>C`[3
  1213. D.C[:
  1214. 0123456789O
  1215. O.C[:
  1216. 01234567O
  1217. B.C[4
  1218. X.C[F
  1219. 0123456789ABCDEFO
  1220. 0XC[F
  1221. 0123456789ABCDEFO
  1222. 'C`[#
  1223. OE@['
  1224. 0123456789O
  1225. 0123456789O
  1226. ABCDEFGHIJKLMNOPQRSTUVWXYZO
  1227. :ANSC[
  1228. :NOTC[
  1229. :NEGC[
  1230. :MIRRORC[
  1231. :MULC[
  1232. :DIVC[
  1233. :MODC[
  1234. :ADDC[
  1235. :SUBC[
  1236. :RIGHTC[
  1237. :LEFTC[
  1238. :ANDC[
  1239. :XORC[
  1240. :ORC[
  1241. 0123456789ABCDEF
  1242. 0123456789ABCDEFO
  1243. +%~ # */% +-      &   ^   |?  ()  =   ;
  1244. FLSKIP$
  1245. INPUT$
  1246. O {1[H
  1247. {E{]a
  1248. O {1[H
  1249. {E{]a
  1250. FLRMOD
  1251. k+&Zxkj
  1252. LEFT&
  1253. O0L{a
  1254. LEFT&
  1255. O0L{a
  1256. BINB$
  1257. .8pPq
  1258. {1P{M}O
  1259. 0000000000
  1260. RIGHT&
  1261. ]O {1
  1262. EBCDIC$
  1263. O94\[
  1264. OZ4\[
  1265. RIGHT&
  1266. EBCDIC$
  1267. EBCDIC$
  1268.                 
  1269.                 
  1270.                 
  1271.                 
  1272.            .<(+|
  1273. &         !$*);
  1274. -/        |,%_>?
  1275.          `:#@'="
  1276.  abcdefghi      
  1277.  jklmnopqr      
  1278.  ~stuvwxyz      
  1279.                 
  1280. {ABCDEFGHI      
  1281. }JKLMNOPQR      
  1282. \ STUVWXYZ      
  1283. 0123456789      
  1284. INIT1
  1285. MAIN'
  1286. KEYPAD
  1287. READSETINI
  1288. EDITKEY 
  1289. EDITSTR
  1290. STATUS
  1291. POLLHELP
  1292. POLLPEN
  1293. POLLMENU
  1294. POLLEXIT
  1295. POLLIRDA
  1296. POLLZOMO-"
  1297. POLLZOMIA"
  1298. POLLCOPYU"
  1299. POLL1C
  1300. POLL1VK#
  1301. POLL1Eo$
  1302. POLL1SH
  1303. POLL1SA
  1304. POLL1H
  1305.     SAFEHIST$k'
  1306. POLL1Z
  1307. POLL1Pd(
  1308. POLL1Y
  1309. POLL1SY))
  1310. POLL1K`)
  1311. POLL1I
  1312. POLL1O
  1313. POLL1M
  1314. POLL1W
  1315. POLL1B
  1316. POLL1Q@/
  1317. POLL1N
  1318. POLL1A
  1319. POLL1S61
  1320. POLL1D
  1321. POLL1L\2
  1322. POLL1R(3
  1323. PRINT
  1324. EVAL`4
  1325. EXPR&
  1326. OREXPR&
  1327. XOREXPR&O9
  1328. ANDEXPR&
  1329. SHFEXPR&):
  1330. ADDEXPR&
  1331. MULEXPR&B;
  1332. TERM&
  1333. LEXEME
  1334. TAILEX$?D
  1335. ASSIGN&
  1336. LOOKUP&
  1337. MIRROR&
  1338. LEFT&-H
  1339. RIGHT&
  1340. MOD&GI
  1341. BIN&+J
  1342. BINB$NK
  1343. OCT$WL
  1344. ASCII$
  1345. EBCDIC$LP
  1346. INITEBC
  1347. FlCalc5
  1348. FlCalc5
  1349. 9d9GG
  1350. FlCalc - Disclaimer and License Notice
  1351. Please read this notice and press "Yes" only if you accept the
  1352. contents and wish to continue with the installation of this
  1353. software.
  1354. FlCalc is copyright of the author, David Rushall. You are
  1355. granted permission to use and distribute this software provided
  1356. you do not do so for profit, do not alter it in any way and
  1357. accept the conditions of use contained in the associated
  1358. documentation. The right to withdraw this license at any time is
  1359. reserved.
  1360. Use of this software is at your own risk. The user must accept
  1361. responsibility for any direct or indirect loss or damage arising
  1362. from the use (or misuse) of the package. This software is 
  1363. supplied "as-is" and carries no warrantee.
  1364. FlCalc is distributed in association with
  1365.     FreEPOC
  1366.     http://www.freepoc.org/
  1367. See Readme.txt or online help for full details.
  1368. David Rushall
  1369. http://www.piecafe.demon.co.uk/
  1370.