home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: pac.1
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| PageFocus Data (other/pageFocusData)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| shell archive text
| default
| |
99%
| file
| POSIX shell script text executable
| default
| |
98%
| file
| a /bin/sh script, ASCII text executable
| default (weak)
| |
64%
| TrID
| shar SHell self-extracting aRchive
| default
| |
13%
| TrID
| Xilinx User Constraints File
| default (weak)
| |
13%
| TrID
| Linux/UNIX shell script
| default
| |
7%
| TrID
| Perl script
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| gt2
| Shell Skript: '/bin/sh'
| default (weak)
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| binwalkID
| Executable script, shebang: "/bin/sh"
| default (weak)
| |
100%
| xdgMime
| application/x-shellscript
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 23 21 2f 62 69 6e 2f 73 | 68 0a 23 20 54 68 69 73 |#!/bin/s|h.# This|
|00000010| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 61 72 63 68 | is a sh|ell arch|
|00000020| 69 76 65 20 28 73 68 61 | 72 20 33 2e 32 31 29 0a |ive (sha|r 3.21).|
|00000030| 23 20 6d 61 64 65 20 30 | 37 2f 32 35 2f 31 39 39 |# made 0|7/25/199|
|00000040| 30 20 31 39 3a 32 36 20 | 55 54 43 20 62 79 20 69 |0 19:26 |UTC by i|
|00000050| 73 74 76 61 6e 40 69 73 | 74 76 61 6e 0a 23 20 53 |stvan@is|tvan.# S|
|00000060| 6f 75 72 63 65 20 64 69 | 72 65 63 74 6f 72 79 20 |ource di|rectory |
|00000070| 2f 72 61 6e 64 2f 69 73 | 74 76 61 6e 2f 70 61 63 |/rand/is|tvan/pac|
|00000080| 0a 23 0a 23 20 65 78 69 | 73 74 69 6e 67 20 66 69 |.#.# exi|sting fi|
|00000090| 6c 65 73 20 57 49 4c 4c | 20 62 65 20 6f 76 65 72 |les WILL| be over|
|000000a0| 77 72 69 74 74 65 6e 0a | 23 0a 23 20 54 68 69 73 |written.|#.# This|
|000000b0| 20 73 68 61 72 20 63 6f | 6e 74 61 69 6e 73 3a 0a | shar co|ntains:.|
|000000c0| 23 20 6c 65 6e 67 74 68 | 20 20 6d 6f 64 65 20 20 |# length| mode |
|000000d0| 20 20 20 20 20 6e 61 6d | 65 0a 23 20 2d 2d 2d 2d | nam|e.# ----|
|000000e0| 2d 2d 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 2d 2d |-- -----|----- --|
|000000f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000110| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 23 20 20 20 31 36 33 |--------|.# 163|
|00000120| 35 20 2d 72 77 2d 72 2d | 2d 72 2d 2d 20 52 65 6c |5 -rw-r-|-r-- Rel|
|00000130| 6e 6f 74 65 73 0a 23 20 | 20 32 37 31 31 37 20 2d |notes.# | 27117 -|
|00000140| 72 77 2d 72 2d 2d 72 2d | 2d 20 70 61 63 2e 6d 61 |rw-r--r-|- pac.ma|
|00000150| 6e 0a 23 20 20 20 20 33 | 38 32 20 2d 72 77 2d 72 |n.# 3|82 -rw-r|
|00000160| 2d 2d 72 2d 2d 20 52 45 | 41 44 4d 45 0a 23 20 20 |--r-- RE|ADME.# |
|00000170| 20 20 38 38 31 20 2d 72 | 77 2d 72 2d 2d 72 2d 2d | 881 -r|w-r--r--|
|00000180| 20 6d 61 6b 65 66 69 6c | 65 0a 23 20 20 31 33 35 | makefil|e.# 135|
|00000190| 30 38 20 2d 72 77 2d 72 | 2d 2d 72 2d 2d 20 64 65 |08 -rw-r|--r-- de|
|000001a0| 66 73 2e 68 0a 23 20 20 | 31 34 33 31 34 20 2d 72 |fs.h.# |14314 -r|
|000001b0| 77 2d 72 2d 2d 72 2d 2d | 20 6d 61 70 73 2e 68 0a |w-r--r--| maps.h.|
|000001c0| 23 20 20 20 37 32 35 36 | 20 2d 72 77 2d 72 2d 2d |# 7256| -rw-r--|
|000001d0| 72 2d 2d 20 74 6f 6b 74 | 61 62 2e 68 0a 23 20 20 |r-- tokt|ab.h.# |
|000001e0| 20 37 37 36 32 20 2d 72 | 77 2d 72 2d 2d 72 2d 2d | 7762 -r|w-r--r--|
|000001f0| 20 61 6d 6f 72 74 2e 63 | 0a 23 20 20 20 36 33 36 | amort.c|.# 636|
|00000200| 36 20 2d 72 77 2d 72 2d | 2d 72 2d 2d 20 61 74 6f |6 -rw-r-|-r-- ato|
|00000210| 69 2e 63 0a 23 20 20 20 | 35 36 36 36 20 2d 72 77 |i.c.# |5666 -rw|
|00000220| 2d 72 2d 2d 72 2d 2d 20 | 62 69 74 77 69 73 65 2e |-r--r-- |bitwise.|
|00000230| 63 0a 23 20 20 31 33 31 | 36 30 20 2d 72 77 2d 72 |c.# 131|60 -rw-r|
|00000240| 2d 2d 72 2d 2d 20 63 6f | 6e 76 2e 63 0a 23 20 20 |--r-- co|nv.c.# |
|00000250| 20 37 39 39 33 20 2d 72 | 77 2d 72 2d 2d 72 2d 2d | 7993 -r|w-r--r--|
|00000260| 20 63 6f 6e 76 62 61 73 | 65 2e 63 0a 23 20 20 31 | convbas|e.c.# 1|
|00000270| 31 37 33 37 20 2d 72 77 | 2d 72 2d 2d 72 2d 2d 20 |1737 -rw|-r--r-- |
|00000280| 64 69 73 70 6c 61 79 2e | 63 0a 23 20 20 20 33 39 |display.|c.# 39|
|00000290| 34 30 20 2d 72 77 2d 72 | 2d 2d 72 2d 2d 20 65 72 |40 -rw-r|--r-- er|
|000002a0| 72 6f 72 2e 63 0a 23 20 | 20 20 37 35 39 36 20 2d |ror.c.# | 7596 -|
|000002b0| 72 77 2d 72 2d 2d 72 2d | 2d 20 66 69 6c 65 2e 63 |rw-r--r-|- file.c|
|000002c0| 0a 23 20 20 20 37 33 33 | 33 20 2d 72 77 2d 72 2d |.# 733|3 -rw-r-|
|000002d0| 2d 72 2d 2d 20 68 65 6c | 70 2e 63 0a 23 20 20 20 |-r-- hel|p.c.# |
|000002e0| 20 38 37 31 20 2d 72 77 | 2d 72 2d 2d 72 2d 2d 20 | 871 -rw|-r--r-- |
|000002f0| 69 65 72 72 6f 72 2e 63 | 0a 23 20 20 32 33 37 36 |ierror.c|.# 2376|
|00000300| 38 20 2d 72 77 2d 72 2d | 2d 72 2d 2d 20 69 6e 74 |8 -rw-r-|-r-- int|
|00000310| 65 72 70 72 65 74 2e 63 | 0a 23 20 20 20 36 39 36 |erpret.c|.# 696|
|00000320| 37 20 2d 72 77 2d 72 2d | 2d 72 2d 2d 20 6c 65 64 |7 -rw-r-|-r-- led|
|00000330| 69 74 2e 63 0a 23 20 20 | 20 33 35 38 36 20 2d 72 |it.c.# | 3586 -r|
|00000340| 77 2d 72 2d 2d 72 2d 2d | 20 6f 6e 6c 61 79 2e 63 |w-r--r--| onlay.c|
|00000350| 0a 23 20 20 20 36 32 32 | 39 20 2d 72 77 2d 72 2d |.# 622|9 -rw-r-|
|00000360| 2d 72 2d 2d 20 70 61 63 | 2e 63 0a 23 20 20 20 35 |-r-- pac|.c.# 5|
|00000370| 36 37 36 20 2d 72 77 2d | 72 2d 2d 72 2d 2d 20 70 |676 -rw-|r--r-- p|
|00000380| 61 63 74 6f 6b 2e 63 0a | 23 20 20 20 31 38 30 35 |actok.c.|# 1805|
|00000390| 20 2d 72 77 2d 72 2d 2d | 72 2d 2d 20 70 69 70 65 | -rw-r--|r-- pipe|
|000003a0| 73 2e 63 0a 23 20 20 20 | 33 37 34 36 20 2d 72 77 |s.c.# |3746 -rw|
|000003b0| 2d 72 2d 2d 72 2d 2d 20 | 73 74 61 63 6b 2e 63 0a |-r--r-- |stack.c.|
|000003c0| 23 20 20 20 33 37 33 35 | 20 2d 72 77 2d 72 2d 2d |# 3735| -rw-r--|
|000003d0| 72 2d 2d 20 73 79 73 74 | 65 6d 2e 63 0a 23 20 20 |r-- syst|em.c.# |
|000003e0| 20 33 32 34 39 20 2d 72 | 77 2d 72 2d 2d 72 2d 2d | 3249 -r|w-r--r--|
|000003f0| 20 74 69 6d 65 2e 63 0a | 23 20 20 20 38 37 33 36 | time.c.|# 8736|
|00000400| 20 2d 72 77 2d 72 2d 2d | 72 2d 2d 20 74 6f 74 61 | -rw-r--|r-- tota|
|00000410| 6c 2e 63 0a 23 20 20 20 | 20 20 34 38 20 2d 72 77 |l.c.# | 48 -rw|
|00000420| 2d 72 2d 2d 72 2d 2d 20 | 76 65 72 73 69 6f 6e 2e |-r--r-- |version.|
|00000430| 63 0a 23 20 20 20 34 32 | 32 38 20 2d 72 77 2d 72 |c.# 42|28 -rw-r|
|00000440| 2d 2d 72 2d 2d 20 77 6f | 72 6b 2e 63 0a 23 0a 69 |--r-- wo|rk.c.#.i|
|00000450| 66 20 74 6f 75 63 68 20 | 32 3e 26 31 20 7c 20 66 |f touch |2>&1 | f|
|00000460| 67 72 65 70 20 27 5b 2d | 61 6d 63 5d 27 20 3e 20 |grep '[-|amc]' > |
|00000470| 2f 64 65 76 2f 6e 75 6c | 6c 0a 20 74 68 65 6e 20 |/dev/nul|l. then |
|00000480| 54 4f 55 43 48 3d 74 6f | 75 63 68 0a 20 65 6c 73 |TOUCH=to|uch. els|
|00000490| 65 20 54 4f 55 43 48 3d | 74 72 75 65 0a 66 69 0a |e TOUCH=|true.fi.|
|000004a0| 23 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 20 |# ======|======= |
|000004b0| 52 65 6c 6e 6f 74 65 73 | 20 3d 3d 3d 3d 3d 3d 3d |Relnotes| =======|
|000004c0| 3d 3d 3d 3d 3d 3d 3d 0a | 65 63 68 6f 20 22 78 20 |=======.|echo "x |
|000004d0| 2d 20 65 78 74 72 61 63 | 74 69 6e 67 20 52 65 6c |- extrac|ting Rel|
|000004e0| 6e 6f 74 65 73 20 28 54 | 65 78 74 29 22 0a 73 65 |notes (T|ext)".se|
|000004f0| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 27 53 |d 's/^X/|/' << 'S|
|00000500| 48 41 52 5f 45 4f 46 27 | 20 3e 20 52 65 6c 6e 6f |HAR_EOF'| > Relno|
|00000510| 74 65 73 20 26 26 0a 58 | 50 61 63 20 69 73 20 61 |tes &&.X|Pac is a|
|00000520| 20 73 6c 69 67 68 74 6c | 79 20 6f 76 65 72 61 6d | slightl|y overam|
|00000530| 62 69 74 69 6f 75 73 20 | 76 69 73 75 61 6c 20 63 |bitious |visual c|
|00000540| 61 6c 63 75 6c 61 74 6f | 72 20 66 6f 72 20 55 6e |alculato|r for Un|
|00000550| 69 78 20 73 79 73 74 65 | 6d 73 2e 0a 58 49 6e 20 |ix syste|ms..XIn |
|00000560| 73 70 69 74 65 20 6f 66 | 20 69 74 73 20 6d 69 6e |spite of| its min|
|00000570| 6f 72 20 73 74 72 75 63 | 74 75 72 61 6c 20 70 72 |or struc|tural pr|
|00000580| 6f 62 6c 65 6d 73 2c 20 | 70 61 63 20 69 73 20 74 |oblems, |pac is t|
|00000590| 68 65 0a 58 22 65 76 65 | 72 79 74 68 69 6e 67 20 |he.X"eve|rything |
|000005a0| 79 6f 75 20 65 76 65 72 | 20 77 61 6e 74 65 64 20 |you ever| wanted |
|000005b0| 69 6e 20 61 20 63 61 6c | 63 75 6c 61 74 6f 72 22 |in a cal|culator"|
|000005c0| 20 63 61 6c 63 75 6c 61 | 74 6f 72 2c 20 70 72 6f | calcula|tor, pro|
|000005d0| 76 69 64 69 6e 67 3a 0a | 58 0a 58 6f 20 20 20 31 |viding:.|X.Xo 1|
|000005e0| 36 20 63 65 6c 6c 73 20 | 6e 6f 6e 76 6f 6c 61 74 |6 cells |nonvolat|
|000005f0| 69 6c 65 20 6d 65 6d 6f | 72 79 20 28 63 68 65 63 |ile memo|ry (chec|
|00000600| 6b 62 6f 6f 6b 20 62 61 | 6c 61 6e 63 65 2c 20 70 |kbook ba|lance, p|
|00000610| 68 6f 6e 65 20 6e 75 6d | 62 65 72 73 2c 20 65 74 |hone num|bers, et|
|00000620| 63 2e 29 0a 58 6f 20 20 | 20 61 73 79 6e 63 68 72 |c.).Xo | asynchr|
|00000630| 6f 6e 6f 75 73 20 72 65 | 61 6c 2d 74 69 6d 65 20 |onous re|al-time |
|00000640| 63 6c 6f 63 6b 0a 58 6f | 20 20 20 73 65 70 61 72 |clock.Xo| separ|
|00000650| 61 74 65 20 63 68 65 63 | 6b 62 6f 6f 6b 20 62 61 |ate chec|kbook ba|
|00000660| 6c 61 6e 63 65 72 20 77 | 69 6e 64 6f 77 20 28 66 |lancer w|indow (f|
|00000670| 6f 72 20 73 75 6d 6d 69 | 6e 67 20 6c 69 73 74 73 |or summi|ng lists|
|00000680| 20 6f 66 20 6e 75 6d 62 | 65 72 73 29 0a 58 6f 20 | of numb|ers).Xo |
|00000690| 20 20 41 53 43 49 49 20 | 74 6f 20 64 65 63 69 6d | ASCII |to decim|
|000006a0| 61 6c 20 74 6f 20 6f 63 | 74 61 6c 20 74 6f 20 68 |al to oc|tal to h|
|000006b0| 65 78 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 28 |ex trans|lation (|
|000006c0| 66 69 6e 64 20 6f 75 74 | 20 77 68 61 74 20 5e 4d |find out| what ^M|
|000006d0| 20 69 73 29 0a 58 6f 20 | 20 20 32 32 20 70 72 65 | is).Xo | 22 pre|
|000006e0| 64 65 66 69 6e 65 64 20 | 63 6f 6e 76 65 72 73 69 |defined |conversi|
|000006f0| 6f 6e 73 20 28 6d 65 74 | 72 69 63 2c 20 74 65 6d |ons (met|ric, tem|
|00000700| 70 65 72 61 74 75 72 65 | 2c 20 65 74 63 2e 29 0a |perature|, etc.).|
|00000710| 58 6f 20 20 20 75 73 65 | 72 2d 64 65 66 69 6e 61 |Xo use|r-defina|
|00000720| 62 6c 65 2c 20 6e 6f 6e | 2d 76 6f 6c 61 74 69 6c |ble, non|-volatil|
|00000730| 65 20 63 6f 6e 76 65 72 | 73 69 6f 6e 73 20 28 64 |e conver|sions (d|
|00000740| 6f 6c 6c 61 72 20 74 6f | 20 79 65 6e 2c 20 65 74 |ollar to| yen, et|
|00000750| 63 2e 29 0a 58 6f 20 20 | 20 63 6f 6d 70 6f 75 6e |c.).Xo | compoun|
|00000760| 64 20 69 6e 74 65 72 65 | 73 74 2f 6d 6f 72 74 67 |d intere|st/mortg|
|00000770| 61 67 65 20 70 61 79 6d | 65 6e 74 20 73 6f 6c 76 |age paym|ent solv|
|00000780| 65 72 20 28 70 6c 61 79 | 20 74 68 65 20 22 77 68 |er (play| the "wh|
|00000790| 61 74 20 69 66 3f 22 20 | 67 61 6d 65 29 0a 58 6f |at if?" |game).Xo|
|000007a0| 20 20 20 61 6d 6f 72 74 | 69 7a 61 74 69 6f 6e 20 | amort|ization |
|000007b0| 73 63 68 65 64 75 6c 65 | 20 28 6d 6f 6e 74 68 6c |schedule| (monthl|
|000007c0| 79 20 70 61 79 6d 65 6e | 74 20 6c 69 73 74 29 20 |y paymen|t list) |
|000007d0| 66 69 6c 65 20 77 72 69 | 74 65 72 0a 58 6f 20 20 |file wri|ter.Xo |
|000007e0| 20 66 75 6e 63 74 69 6f | 6e 20 68 65 6c 70 20 77 | functio|n help w|
|000007f0| 69 6e 64 6f 77 20 28 74 | 79 70 65 20 22 68 65 6c |indow (t|ype "hel|
|00000800| 70 22 20 6f 72 20 6a 75 | 73 74 20 22 3f 22 20 6f |p" or ju|st "?" o|
|00000810| 72 20 22 68 65 6c 70 20 | 5b 73 75 62 6a 65 63 74 |r "help |[subject|
|00000820| 5d 22 29 0a 58 6f 20 20 | 20 6f 70 74 69 6f 6e 61 |]").Xo | optiona|
|00000830| 6c 20 61 75 74 6f 6d 61 | 74 69 63 20 63 61 6c 63 |l automa|tic calc|
|00000840| 75 6c 61 74 6f 72 20 73 | 65 73 73 69 6f 6e 20 72 |ulator s|ession r|
|00000850| 65 63 6f 72 64 69 6e 67 | 20 74 6f 20 66 69 6c 65 |ecording| to file|
|00000860| 73 0a 58 6f 20 20 20 74 | 72 69 67 6f 6e 6f 6d 65 |s.Xo t|rigonome|
|00000870| 74 72 69 63 20 66 75 6e | 63 74 69 6f 6e 73 0a 58 |tric fun|ctions.X|
|00000880| 6f 20 20 20 6e 75 6d 62 | 65 72 20 62 61 73 65 20 |o numb|er base |
|00000890| 63 6f 6e 76 65 72 73 69 | 6f 6e 73 20 28 69 6e 64 |conversi|ons (ind|
|000008a0| 65 70 65 6e 64 65 6e 74 | 20 69 6e 2f 6f 75 74 20 |ependent| in/out |
|000008b0| 62 61 73 65 73 2c 20 62 | 65 74 77 65 65 6e 20 32 |bases, b|etween 2|
|000008c0| 20 61 6e 64 20 31 36 29 | 0a 58 6f 20 20 20 70 72 | and 16)|.Xo pr|
|000008d0| 6f 67 72 61 6d 6d 61 62 | 6c 65 20 70 72 65 63 69 |ogrammab|le preci|
|000008e0| 73 69 6f 6e 3a 20 62 74 | 77 20 30 20 61 6e 64 20 |sion: bt|w 0 and |
|000008f0| 33 32 20 64 69 67 69 74 | 73 20 70 61 73 74 20 74 |32 digit|s past t|
|00000900| 68 65 20 64 65 63 69 6d | 61 6c 20 70 6f 69 6e 74 |he decim|al point|
|00000910| 0a 58 6f 20 20 20 62 69 | 74 77 69 73 65 20 41 4e |.Xo bi|twise AN|
|00000920| 44 2c 20 4f 52 2c 20 4e | 4f 54 2c 20 58 4f 52 2c |D, OR, N|OT, XOR,|
|00000930| 20 54 57 4f 53 43 4f 4d | 50 0a 58 6f 20 20 20 66 | TWOSCOM|P.Xo f|
|00000940| 75 6c 6c 79 20 61 75 74 | 6f 6d 61 74 69 63 20 61 |ully aut|omatic a|
|00000950| 6e 64 20 61 63 63 65 73 | 73 69 62 6c 65 20 70 75 |nd acces|sible pu|
|00000960| 73 68 2f 70 6f 70 20 73 | 74 61 63 6b 20 6d 65 6d |sh/pop s|tack mem|
|00000970| 6f 72 79 0a 58 6f 20 20 | 20 70 69 2c 20 70 6c 61 |ory.Xo | pi, pla|
|00000980| 6e 63 6b 2c 20 70 61 72 | 61 6c 6c 61 78 2c 20 70 |nck, par|allax, p|
|00000990| 61 72 73 65 63 2e 2e 2e | 20 33 30 20 6d 61 74 68 |arsec...| 30 math|
|000009a0| 2f 70 68 79 73 69 63 61 | 6c 20 63 6f 6e 73 74 61 |/physica|l consta|
|000009b0| 6e 74 73 20 69 6e 20 61 | 6c 6c 0a 58 6f 20 20 20 |nts in a|ll.Xo |
|000009c0| 6d 61 63 72 6f 20 74 6f | 6b 65 6e 73 20 66 72 6f |macro to|kens fro|
|000009d0| 6d 20 22 61 74 74 6f 22 | 20 74 6f 20 22 65 78 61 |m "atto"| to "exa|
|000009e0| 22 20 28 66 6f 72 20 65 | 78 3a 20 22 33 35 36 20 |" (for e|x: "356 |
|000009f0| 6d 69 63 72 6f 20 2b 20 | 31 32 35 20 6d 69 6c 6c |micro + |125 mill|
|00000a00| 69 22 29 0a 58 6f 20 20 | 20 70 72 65 64 65 66 69 |i").Xo | predefi|
|00000a10| 6e 65 64 20 70 65 72 63 | 65 6e 74 20 63 61 6c 63 |ned perc|ent calc|
|00000a20| 75 6c 61 74 69 6f 6e 73 | 20 28 66 6f 72 20 65 78 |ulations| (for ex|
|00000a30| 3a 20 22 36 35 2e 37 20 | 70 5b 65 72 63 65 6e 74 |: "65.7 |p[ercent|
|00000a40| 5d 6f 66 20 32 39 30 22 | 29 0a 58 0a 58 54 68 65 |]of 290"|).X.XThe|
|00000a50| 20 70 61 63 20 70 72 6f | 63 65 73 73 20 66 6f 72 | pac pro|cess for|
|00000a60| 6b 73 20 70 69 70 65 73 | 20 74 6f 20 74 68 65 20 |ks pipes| to the |
|00000a70| 27 62 63 27 20 55 6e 69 | 78 20 63 61 6c 63 75 6c |'bc' Uni|x calcul|
|00000a80| 61 74 6f 72 2e 0a 58 54 | 68 65 20 70 6f 73 74 65 |ator..XT|he poste|
|00000a90| 64 20 73 6f 75 72 63 65 | 20 68 61 73 20 62 65 65 |d source| has bee|
|00000aa0| 6e 20 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 63 |n succes|sfully c|
|00000ab0| 6f 6d 70 69 6c 65 64 20 | 61 6e 64 20 74 65 73 74 |ompiled |and test|
|00000ac0| 65 64 20 6f 6e 3a 0a 58 | 50 79 72 61 6d 69 64 20 |ed on:.X|Pyramid |
|00000ad0| 39 30 78 2c 20 56 41 58 | 20 31 31 2d 37 38 35 2c |90x, VAX| 11-785,|
|00000ae0| 20 41 70 6f 6c 6c 6f 20 | 44 6f 6d 61 69 6e 2d 49 | Apollo |Domain-I|
|00000af0| 58 2c 20 53 75 6e 20 53 | 50 41 52 43 73 74 61 74 |X, Sun S|PARCstat|
|00000b00| 69 6f 6e 20 31 2c 0a 58 | 41 54 26 54 20 36 33 30 |ion 1,.X|AT&T 630|
|00000b10| 30 2b 2c 20 58 65 6e 69 | 78 32 38 36 2c 20 44 45 |0+, Xeni|x286, DE|
|00000b20| 43 20 38 36 30 30 2e 0a | 58 0a 58 50 61 63 20 77 |C 8600..|X.XPac w|
|00000b30| 69 6c 6c 20 4e 4f 54 20 | 77 6f 72 6b 20 6f 6e 20 |ill NOT |work on |
|00000b40| 53 75 6e 32 20 6f 72 20 | 53 75 6e 33 20 63 6f 6d |Sun2 or |Sun3 com|
|00000b50| 70 75 74 65 72 73 20 64 | 75 65 20 74 6f 20 69 6e |puters d|ue to in|
|00000b60| 73 6f 6c 75 62 6c 65 20 | 70 72 6f 62 6c 65 6d 73 |soluble |problems|
|00000b70| 0a 58 69 6e 20 74 68 65 | 69 72 20 69 6d 70 6c 65 |.Xin the|ir imple|
|00000b80| 6d 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 22 63 75 |mentatio|n of "cu|
|00000b90| 72 73 65 73 22 2e 0a 58 | 0a 53 48 41 52 5f 45 4f |rses"..X|.SHAR_EO|
|00000ba0| 46 0a 24 54 4f 55 43 48 | 20 2d 61 6d 20 30 32 32 |F.$TOUCH| -am 022|
|00000bb0| 31 31 37 35 33 39 30 20 | 52 65 6c 6e 6f 74 65 73 |1175390 |Relnotes|
|00000bc0| 20 26 26 0a 63 68 6d 6f | 64 20 30 36 34 34 20 52 | &&.chmo|d 0644 R|
|00000bd0| 65 6c 6e 6f 74 65 73 20 | 7c 7c 0a 65 63 68 6f 20 |elnotes |||.echo |
|00000be0| 22 72 65 73 74 6f 72 65 | 20 6f 66 20 52 65 6c 6e |"restore| of Reln|
|00000bf0| 6f 74 65 73 20 66 61 69 | 6c 65 64 22 0a 73 65 74 |otes fai|led".set|
|00000c00| 20 60 77 63 20 2d 63 20 | 52 65 6c 6e 6f 74 65 73 | `wc -c |Relnotes|
|00000c10| 60 3b 57 63 5f 63 3d 24 | 31 0a 69 66 20 74 65 73 |`;Wc_c=$|1.if tes|
|00000c20| 74 20 22 24 57 63 5f 63 | 22 20 21 3d 20 22 31 36 |t "$Wc_c|" != "16|
|00000c30| 33 35 22 3b 20 74 68 65 | 6e 0a 09 65 63 68 6f 20 |35"; the|n..echo |
|00000c40| 6f 72 69 67 69 6e 61 6c | 20 73 69 7a 65 20 31 36 |original| size 16|
|00000c50| 33 35 2c 20 63 75 72 72 | 65 6e 74 20 73 69 7a 65 |35, curr|ent size|
|00000c60| 20 24 57 63 5f 63 0a 66 | 69 0a 23 20 3d 3d 3d 3d | $Wc_c.f|i.# ====|
|00000c70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 20 70 61 63 2e 6d 61 |========|= pac.ma|
|00000c80| 6e 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |n ======|========|
|00000c90| 0a 65 63 68 6f 20 22 78 | 20 2d 20 65 78 74 72 61 |.echo "x| - extra|
|00000ca0| 63 74 69 6e 67 20 70 61 | 63 2e 6d 61 6e 20 28 54 |cting pa|c.man (T|
|00000cb0| 65 78 74 29 22 0a 73 65 | 64 20 27 73 2f 5e 58 2f |ext)".se|d 's/^X/|
|00000cc0| 2f 27 20 3c 3c 20 27 53 | 48 41 52 5f 45 4f 46 27 |/' << 'S|HAR_EOF'|
|00000cd0| 20 3e 20 70 61 63 2e 6d | 61 6e 20 26 26 0a 58 2e | > pac.m|an &&.X.|
|00000ce0| 54 48 20 50 41 43 20 31 | 20 22 22 0a 58 2e 55 43 |TH PAC 1| "".X.UC|
|00000cf0| 20 34 0a 58 2e 53 48 20 | 4e 41 4d 45 0a 58 2e 6e | 4.X.SH |NAME.X.n|
|00000d00| 68 0a 58 5c 66 42 70 61 | 63 5c 66 52 20 2d 20 70 |h.X\fBpa|c\fR - p|
|00000d10| 61 6e 65 6c 20 63 61 6c | 63 75 6c 61 74 6f 72 0a |anel cal|culator.|
|00000d20| 58 2e 53 48 20 53 59 4e | 4f 50 53 49 53 0a 58 2e |X.SH SYN|OPSIS.X.|
|00000d30| 42 20 70 61 63 0a 58 2e | 53 48 20 44 45 53 43 52 |B pac.X.|SH DESCR|
|00000d40| 49 50 54 49 4f 4e 0a 58 | 5c 66 42 70 61 63 5c 66 |IPTION.X|\fBpac\f|
|00000d50| 52 20 69 73 20 61 6e 20 | 69 6e 74 65 72 61 63 74 |R is an |interact|
|00000d60| 69 76 65 20 63 61 6c 63 | 75 6c 61 74 6f 72 2c 0a |ive calc|ulator,.|
|00000d70| 58 72 65 73 65 6d 62 6c | 69 6e 67 20 61 20 60 60 |Xresembl|ing a ``|
|00000d80| 70 61 6e 65 6c 27 27 20 | 6f 72 20 60 60 70 61 67 |panel'' |or ``pag|
|00000d90| 65 27 27 20 65 64 69 74 | 6f 72 2e 0a 58 54 68 65 |e'' edit|or..XThe|
|00000da0| 20 69 6e 74 65 72 66 61 | 63 65 20 69 73 20 73 69 | interfa|ce is si|
|00000db0| 6d 70 6c 65 3a 20 74 68 | 65 20 75 73 65 72 20 65 |mple: th|e user e|
|00000dc0| 6e 74 65 72 73 0a 58 6e | 75 6d 62 65 72 73 20 61 |nters.Xn|umbers a|
|00000dd0| 6e 64 20 61 72 69 74 68 | 6d 65 74 69 63 20 6f 70 |nd arith|metic op|
|00000de0| 65 72 61 74 6f 72 73 2c | 20 5c 66 42 70 61 63 5c |erators,| \fBpac\|
|00000df0| 66 52 20 64 69 73 70 6c | 61 79 73 20 74 68 65 20 |fR displ|ays the |
|00000e00| 72 65 73 75 6c 74 2e 0a | 58 41 6c 74 65 72 6e 61 |result..|XAlterna|
|00000e10| 74 65 20 63 61 70 61 62 | 69 6c 69 74 69 65 73 20 |te capab|ilities |
|00000e20| 74 6f 20 74 68 65 20 43 | 41 4c 43 55 4c 41 54 4f |to the C|ALCULATO|
|00000e30| 52 20 69 6e 63 6c 75 64 | 65 20 61 6e 0a 58 41 53 |R includ|e an.XAS|
|00000e40| 43 49 49 20 74 6f 20 64 | 65 63 69 6d 61 6c 20 74 |CII to d|ecimal t|
|00000e50| 6f 20 6f 63 74 61 6c 20 | 74 6f 20 68 65 78 61 64 |o octal |to hexad|
|00000e60| 65 63 69 6d 61 6c 20 63 | 6f 6e 76 65 72 74 65 72 |ecimal c|onverter|
|00000e70| 20 41 54 4f 49 2c 0a 58 | 61 20 63 68 65 63 6b 62 | ATOI,.X|a checkb|
|00000e80| 6f 6f 6b 20 62 61 6c 61 | 6e 63 65 72 20 54 4f 54 |ook bala|ncer TOT|
|00000e90| 41 4c 2c 0a 58 61 20 6c | 6f 61 6e 20 70 61 79 6d |AL,.Xa l|oan paym|
|00000ea0| 65 6e 74 20 61 6e 64 20 | 61 6d 6f 72 74 69 7a 61 |ent and |amortiza|
|00000eb0| 74 69 6f 6e 20 70 72 6f | 67 72 61 6d 20 4c 4f 41 |tion pro|gram LOA|
|00000ec0| 4e 2c 20 61 6e 0a 58 65 | 64 69 74 6f 72 20 66 6f |N, an.Xe|ditor fo|
|00000ed0| 72 20 74 68 65 20 65 78 | 70 61 6e 64 61 62 6c 65 |r the ex|pandable|
|00000ee0| 20 60 60 63 6f 6e 76 65 | 72 73 69 6f 6e 73 20 64 | ``conve|rsions d|
|00000ef0| 61 74 61 20 62 61 73 65 | 27 27 20 4e 45 57 43 4f |ata base|'' NEWCO|
|00000f00| 4e 56 45 52 53 49 4f 4e | 2c 0a 58 74 69 6d 65 20 |NVERSION|,.Xtime |
|00000f10| 6f 66 20 64 61 79 20 43 | 4c 4f 43 4b 3b 20 61 73 |of day C|LOCK; as|
|00000f20| 20 77 65 6c 6c 20 61 73 | 20 73 65 73 73 69 6f 6e | well as| session|
|00000f30| 20 72 65 63 6f 72 64 69 | 6e 67 20 74 6f 20 66 69 | recordi|ng to fi|
|00000f40| 6c 65 73 2e 0a 58 4f 70 | 65 72 61 74 69 6e 67 20 |les..XOp|erating |
|00000f50| 74 68 65 20 61 6c 74 65 | 72 6e 61 74 65 20 63 61 |the alte|rnate ca|
|00000f60| 70 61 62 69 6c 69 74 69 | 65 73 20 69 73 20 69 6e |pabiliti|es is in|
|00000f70| 74 75 69 74 69 76 65 6c | 79 20 6f 62 76 69 6f 75 |tuitivel|y obviou|
|00000f80| 73 0a 58 61 6e 64 20 69 | 73 20 68 65 6c 70 65 64 |s.Xand i|s helped|
|00000f90| 20 61 6c 6f 6e 67 20 62 | 79 20 74 68 65 20 66 6f | along b|y the fo|
|00000fa0| 72 6d 61 74 20 6f 66 20 | 74 68 65 20 64 69 73 70 |rmat of |the disp|
|00000fb0| 6c 61 79 2e 0a 58 2e 4c | 50 0a 58 54 68 65 20 5c |lay..X.L|P.XThe \|
|00000fc0| 66 42 70 61 63 5c 66 52 | 20 70 61 6e 65 6c 20 69 |fBpac\fR| panel i|
|00000fd0| 73 20 61 20 73 63 72 65 | 65 6e 20 32 33 20 6c 69 |s a scre|en 23 li|
|00000fe0| 6e 65 73 20 62 79 20 37 | 38 20 63 68 61 72 61 63 |nes by 7|8 charac|
|00000ff0| 74 65 72 73 2c 0a 58 70 | 61 72 74 69 74 69 6f 6e |ters,.Xp|artition|
|00001000| 65 64 20 62 79 20 69 6e | 76 65 72 73 65 20 76 69 |ed by in|verse vi|
|00001010| 64 65 6f 20 62 6f 72 64 | 65 72 73 20 69 6e 74 6f |deo bord|ers into|
|00001020| 0a 58 73 75 62 77 69 6e | 64 6f 77 73 2e 20 20 54 |.Xsubwin|dows. T|
|00001030| 68 65 20 43 41 4c 43 55 | 4c 41 54 4f 52 0a 58 69 |he CALCU|LATOR.Xi|
|00001040| 73 20 61 20 72 65 63 74 | 61 6e 67 6c 65 20 34 20 |s a rect|angle 4 |
|00001050| 6c 69 6e 65 73 20 64 65 | 65 70 20 62 79 20 34 34 |lines de|ep by 44|
|00001060| 20 63 68 61 72 61 63 74 | 65 72 73 20 77 69 64 65 | charact|ers wide|
|00001070| 2c 0a 58 6c 6f 63 61 74 | 65 64 20 69 6e 20 74 68 |,.Xlocat|ed in th|
|00001080| 65 20 75 70 70 65 72 20 | 6c 65 66 74 20 63 6f 72 |e upper |left cor|
|00001090| 6e 65 72 20 6f 66 20 74 | 68 65 20 70 61 6e 65 6c |ner of t|he panel|
|000010a0| 2c 0a 58 73 69 6d 75 6c | 61 74 69 6e 67 20 61 20 |,.Xsimul|ating a |
|000010b0| 68 61 6e 64 2d 68 65 6c | 64 20 63 61 6c 63 75 6c |hand-hel|d calcul|
|000010c0| 61 74 6f 72 3a 20 65 63 | 68 6f 69 6e 67 20 6e 75 |ator: ec|hoing nu|
|000010d0| 6d 62 65 72 73 20 61 6e | 64 0a 58 6f 70 65 72 61 |mbers an|d.Xopera|
|000010e0| 74 6f 72 73 20 74 79 70 | 65 64 20 74 6f 20 74 68 |tors typ|ed to th|
|000010f0| 65 20 66 69 72 73 74 20 | 74 68 72 65 65 0a 58 6c |e first |three.Xl|
|00001100| 69 6e 65 73 2c 20 64 69 | 73 70 6c 61 79 69 6e 67 |ines, di|splaying|
|00001110| 20 74 68 65 20 65 76 61 | 6c 75 61 74 65 64 20 72 | the eva|luated r|
|00001120| 65 73 75 6c 74 0a 58 69 | 6e 20 74 68 65 20 66 6f |esult.Xi|n the fo|
|00001130| 75 72 74 68 20 6c 69 6e | 65 20 75 70 6f 6e 20 5c |urth lin|e upon \|
|00001140| 66 49 52 45 54 55 52 4e | 5c 66 52 2e 20 20 43 6f |fIRETURN|\fR. Co|
|00001150| 6e 74 72 6f 6c 20 63 68 | 61 72 61 63 74 65 72 73 |ntrol ch|aracters|
|00001160| 2c 0a 58 73 68 6f 77 6e | 20 61 6c 6f 6e 67 20 74 |,.Xshown| along t|
|00001170| 68 65 20 62 6f 72 64 65 | 72 73 20 61 73 20 66 69 |he borde|rs as fi|
|00001180| 72 73 74 20 63 68 61 72 | 61 63 74 65 72 73 20 6f |rst char|acters o|
|00001190| 66 20 6d 6e 65 6d 6f 6e | 69 63 73 2c 0a 58 70 72 |f mnemon|ics,.Xpr|
|000011a0| 6f 76 69 64 65 20 69 6d | 6d 65 64 69 61 74 65 20 |ovide im|mediate |
|000011b0| 73 74 61 74 65 20 73 77 | 69 74 63 68 69 6e 67 20 |state sw|itching |
|000011c0| 74 6f 20 61 6e 64 20 66 | 72 6f 6d 20 61 6c 74 65 |to and f|rom alte|
|000011d0| 72 6e 61 74 65 20 74 6f | 6f 6c 73 2e 0a 58 2e 53 |rnate to|ols..X.S|
|000011e0| 48 20 4c 49 4e 45 20 45 | 44 49 54 49 4e 47 0a 58 |H LINE E|DITING.X|
|000011f0| 41 20 73 65 6c 65 63 74 | 65 64 20 66 75 6e 63 74 |A select|ed funct|
|00001200| 69 6f 6e 20 63 6f 6d 65 | 73 20 74 6f 20 6c 69 66 |ion come|s to lif|
|00001210| 65 20 77 69 74 68 20 74 | 68 65 20 63 75 72 73 6f |e with t|he curso|
|00001220| 72 0a 58 69 6e 20 74 68 | 65 20 68 6f 6d 65 20 70 |r.Xin th|e home p|
|00001230| 6f 73 69 74 69 6f 6e 20 | 6f 66 20 61 20 73 75 62 |osition |of a sub|
|00001240| 77 69 6e 64 6f 77 20 6d | 61 6e 61 67 65 64 20 62 |window m|anaged b|
|00001250| 79 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 2e 0a |y the fu|nction..|
|00001260| 58 54 68 65 20 75 73 65 | 72 20 64 69 72 65 63 74 |XThe use|r direct|
|00001270| 73 20 69 6e 70 75 74 20 | 74 6f 20 74 68 69 73 20 |s input |to this |
|00001280| 70 6f 72 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |portion |of the s|
|00001290| 63 72 65 65 6e 20 75 6e | 64 65 72 20 74 68 65 0a |creen un|der the.|
|000012a0| 58 63 6f 6e 74 72 6f 6c | 20 6f 66 20 61 20 70 72 |Xcontrol| of a pr|
|000012b0| 69 6d 69 74 69 76 65 20 | 6c 69 6e 65 20 65 64 69 |imitive |line edi|
|000012c0| 74 6f 72 2e 0a 58 2e 4c | 50 0a 58 4e 6f 72 6d 61 |tor..X.L|P.XNorma|
|000012d0| 6c 6c 79 20 74 68 65 20 | 74 79 70 65 64 20 63 68 |lly the |typed ch|
|000012e0| 61 72 61 63 74 65 72 73 | 20 61 72 65 20 65 63 68 |aracters| are ech|
|000012f0| 6f 65 64 20 61 6e 64 20 | 63 6f 6e 74 72 69 62 75 |oed and |contribu|
|00001300| 74 65 20 74 6f 0a 58 74 | 68 65 20 69 6e 70 75 74 |te to.Xt|he input|
|00001310| 20 73 74 72 69 6e 67 2e | 20 20 43 68 61 72 61 63 | string.| Charac|
|00001320| 74 65 72 73 20 77 68 69 | 63 68 20 74 68 65 0a 58 |ters whi|ch the.X|
|00001330| 74 6f 6f 6c 20 69 73 20 | 6e 6f 74 20 65 71 75 69 |tool is |not equi|
|00001340| 70 70 65 64 20 74 6f 20 | 64 65 61 6c 20 77 69 74 |pped to |deal wit|
|00001350| 68 20 61 72 65 20 6e 6f | 74 20 65 63 68 6f 65 64 |h are no|t echoed|
|00001360| 2c 20 61 6e 64 20 61 72 | 65 20 69 67 6e 6f 72 65 |, and ar|e ignore|
|00001370| 64 0a 58 62 79 20 74 68 | 65 20 65 64 69 74 6f 72 |d.Xby th|e editor|
|00001380| 2e 20 20 43 6f 6e 74 72 | 6f 6c 20 63 68 61 72 61 |. Contr|ol chara|
|00001390| 63 74 65 72 73 20 28 61 | 6c 73 6f 20 6e 6f 74 20 |cters (a|lso not |
|000013a0| 65 63 68 6f 65 64 29 0a | 58 73 65 6c 65 63 74 20 |echoed).|Xselect |
|000013b0| 61 6c 74 65 72 6e 61 74 | 65 20 74 6f 6f 6c 73 2c |alternat|e tools,|
|000013c0| 20 6f 72 0a 58 70 72 6f | 76 69 64 65 20 65 78 69 | or.Xpro|vide exi|
|000013d0| 74 20 66 72 6f 6d 20 74 | 68 65 20 70 72 6f 67 72 |t from t|he progr|
|000013e0| 61 6d 2e 20 20 41 20 6e | 75 6d 62 65 72 20 6f 66 |am. A n|umber of|
|000013f0| 20 6b 65 79 73 20 61 72 | 65 20 63 6f 6d 6d 61 6e | keys ar|e comman|
|00001400| 64 73 20 74 6f 0a 58 74 | 68 65 20 6c 69 6e 65 20 |ds to.Xt|he line |
|00001410| 65 64 69 74 6f 72 20 6f | 6e 6c 79 2c 20 61 6c 6c |editor o|nly, all|
|00001420| 6f 77 69 6e 67 20 63 75 | 72 73 6f 72 20 70 6f 73 |owing cu|rsor pos|
|00001430| 69 74 69 6f 6e 69 6e 67 | 20 61 6e 64 20 69 6e 70 |itioning| and inp|
|00001440| 75 74 20 63 6f 72 72 65 | 63 74 69 6f 6e 2e 0a 58 |ut corre|ction..X|
|00001450| 54 68 65 20 65 64 69 74 | 6f 72 20 6b 65 79 73 20 |The edit|or keys |
|00001460| 61 6e 64 20 74 68 65 69 | 72 20 65 66 66 65 63 74 |and thei|r effect|
|00001470| 20 6d 61 79 20 76 61 72 | 79 20 73 6c 69 67 68 74 | may var|y slight|
|00001480| 6c 79 2c 0a 58 64 65 70 | 65 6e 64 69 6e 67 20 6f |ly,.Xdep|ending o|
|00001490| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |n the cu|rrently |
|000014a0| 61 63 74 69 76 65 20 5c | 66 42 70 61 63 5c 66 52 |active \|fBpac\fR|
|000014b0| 20 74 6f 6f 6c 2e 0a 58 | 2e 4c 50 0a 58 54 68 65 | tool..X|.LP.XThe|
|000014c0| 20 66 69 72 73 74 20 63 | 68 61 72 61 63 74 65 72 | first c|haracter|
|000014d0| 20 65 63 68 6f 65 64 20 | 74 6f 20 61 20 6c 69 6e | echoed |to a lin|
|000014e0| 65 2c 0a 58 6e 6f 72 6d | 61 6c 6c 79 20 65 72 61 |e,.Xnorm|ally era|
|000014f0| 73 65 73 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ses the |previous|
|00001500| 20 69 6e 70 75 74 20 73 | 74 72 69 6e 67 2e 0a 58 | input s|tring..X|
|00001510| 49 6e 20 74 68 65 20 43 | 41 4c 43 55 4c 41 54 4f |In the C|ALCULATO|
|00001520| 52 20 66 75 6e 63 74 69 | 6f 6e 2c 20 74 68 65 20 |R functi|on, the |
|00001530| 6c 69 6e 65 20 65 64 69 | 74 69 6e 67 20 5c 66 49 |line edi|ting \fI|
|00001540| 3d 5c 66 52 20 6b 65 79 | 0a 58 72 65 73 74 6f 72 |=\fR key|.Xrestor|
|00001550| 65 73 20 74 68 65 20 6f | 6c 64 20 69 6e 70 75 74 |es the o|ld input|
|00001560| 20 73 74 72 69 6e 67 20 | 66 6f 72 20 65 64 69 74 | string |for edit|
|00001570| 69 6e 67 2e 20 20 41 20 | 73 74 72 69 6e 67 20 62 |ing. A |string b|
|00001580| 65 67 69 6e 6e 69 6e 67 | 0a 58 77 69 74 68 20 74 |eginning|.Xwith t|
|00001590| 68 65 20 5c 66 49 23 5c | 66 52 20 63 68 61 72 61 |he \fI#\|fR chara|
|000015a0| 63 74 65 72 20 69 73 20 | 63 6f 6e 73 69 64 65 72 |cter is |consider|
|000015b0| 65 64 20 61 20 63 6f 6d | 6d 65 6e 74 2e 0a 58 43 |ed a com|ment..XC|
|000015c0| 6f 6d 6d 65 6e 74 73 20 | 61 72 65 20 68 65 6c 70 |omments |are help|
|000015d0| 66 75 6c 20 69 66 20 74 | 68 65 20 75 73 65 72 20 |ful if t|he user |
|000015e0| 69 73 20 72 65 63 6f 72 | 64 69 6e 67 20 74 68 65 |is recor|ding the|
|000015f0| 20 73 65 73 73 69 6f 6e | 2c 20 6f 72 0a 58 66 6f | session|, or.Xfo|
|00001600| 72 20 61 6e 6e 6f 74 61 | 74 69 6e 67 20 73 63 72 |r annota|ting scr|
|00001610| 69 70 74 73 2e 0a 58 41 | 6e 6f 74 68 65 72 20 6c |ipts..XA|nother l|
|00001620| 69 6e 65 20 65 64 69 74 | 69 6e 67 20 63 68 61 72 |ine edit|ing char|
|00001630| 61 63 74 65 72 20 73 70 | 65 63 69 66 69 63 20 74 |acter sp|ecific t|
|00001640| 6f 20 74 68 65 20 43 41 | 4c 43 55 4c 41 54 4f 52 |o the CA|LCULATOR|
|00001650| 0a 58 77 69 6e 64 6f 77 | 20 69 73 20 74 68 65 20 |.Xwindow| is the |
|00001660| 70 69 70 65 20 28 7c 29 | 2c 20 77 68 69 63 68 0a |pipe (|)|, which.|
|00001670| 58 62 72 69 6e 67 73 20 | 74 68 65 20 63 75 72 73 |Xbrings |the curs|
|00001680| 6f 72 20 74 6f 20 74 68 | 65 20 6c 65 66 74 20 65 |or to th|e left e|
|00001690| 64 67 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |dge of t|he follo|
|000016a0| 77 69 6e 67 20 77 69 6e | 64 6f 77 20 6c 69 6e 65 |wing win|dow line|
|000016b0| 2e 0a 58 2e 4c 50 0a 58 | 49 66 20 74 68 65 20 69 |..X.LP.X|If the i|
|000016c0| 6e 70 75 74 20 73 74 72 | 69 6e 67 20 72 65 61 63 |nput str|ing reac|
|000016d0| 68 65 73 20 74 68 65 0a | 58 72 69 67 68 74 20 6c |hes the.|Xright l|
|000016e0| 69 6e 65 20 62 6f 75 6e | 64 61 72 79 2c 20 61 64 |ine boun|dary, ad|
|000016f0| 64 69 74 69 6f 6e 61 6c | 20 63 68 61 72 61 63 74 |ditional| charact|
|00001700| 65 72 73 20 6f 76 65 72 | 77 72 69 74 65 20 74 68 |ers over|write th|
|00001710| 65 20 72 69 67 68 74 6d | 6f 73 74 0a 58 63 68 61 |e rightm|ost.Xcha|
|00001720| 72 61 63 74 65 72 2c 20 | 65 78 63 65 70 74 20 69 |racter, |except i|
|00001730| 6e 20 74 68 65 20 43 41 | 4c 43 55 4c 41 54 4f 52 |n the CA|LCULATOR|
|00001740| 20 66 75 6e 63 74 69 6f | 6e 20 77 68 65 72 65 20 | functio|n where |
|00001750| 74 68 65 20 74 68 72 65 | 65 20 6c 69 6e 65 73 20 |the thre|e lines |
|00001760| 6f 66 0a 58 74 68 65 20 | 69 6e 70 75 74 20 77 69 |of.Xthe |input wi|
|00001770| 6e 64 6f 77 20 63 6f 6e | 63 65 70 74 75 61 6c 6c |ndow con|ceptuall|
|00001780| 79 20 66 6f 72 6d 20 61 | 20 73 69 6e 67 6c 65 20 |y form a| single |
|00001790| 73 74 72 69 6e 67 2e 0a | 58 54 79 70 69 6e 67 20 |string..|XTyping |
|000017a0| 5c 66 49 52 45 54 55 52 | 4e 5c 66 52 20 74 72 69 |\fIRETUR|N\fR tri|
|000017b0| 67 67 65 72 73 20 74 68 | 65 20 69 6e 74 65 72 70 |ggers th|e interp|
|000017c0| 72 65 74 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |retation| of the |
|000017d0| 69 6e 70 75 74 20 73 74 | 72 69 6e 67 2e 0a 58 52 |input st|ring..XR|
|000017e0| 65 67 61 72 64 6c 65 73 | 73 20 6f 66 20 74 68 65 |egardles|s of the|
|000017f0| 20 63 75 72 73 6f 72 20 | 70 6f 73 69 74 69 6f 6e | cursor |position|
|00001800| 20 61 74 20 74 68 65 20 | 74 69 6d 65 20 6f 66 20 | at the |time of |
|00001810| 5c 66 49 52 45 54 55 52 | 4e 5c 66 52 2c 0a 58 61 |\fIRETUR|N\fR,.Xa|
|00001820| 6c 6c 20 64 61 74 61 20 | 6f 6e 20 74 68 65 20 6c |ll data |on the l|
|00001830| 69 6e 65 20 69 73 20 65 | 76 61 6c 75 61 74 65 64 |ine is e|valuated|
|00001840| 2e 20 20 49 66 20 74 68 | 65 20 75 73 65 72 20 64 |. If th|e user d|
|00001850| 69 64 20 6e 6f 74 20 74 | 79 70 65 0a 58 63 68 61 |id not t|ype.Xcha|
|00001860| 72 61 63 74 65 72 73 20 | 70 72 69 6f 72 20 74 6f |racters |prior to|
|00001870| 20 5c 66 49 52 45 54 55 | 52 4e 5c 66 52 2c 20 61 | \fIRETU|RN\fR, a|
|00001880| 20 72 65 70 65 61 74 20 | 6f 66 20 74 68 65 20 70 | repeat |of the p|
|00001890| 72 65 76 69 6f 75 73 20 | 73 74 72 69 6e 67 2c 0a |revious |string,.|
|000018a0| 58 6f 72 20 61 20 74 6f | 6f 6c 2d 73 70 65 63 69 |Xor a to|ol-speci|
|000018b0| 66 69 63 20 64 65 66 61 | 75 6c 74 20 73 74 72 69 |fic defa|ult stri|
|000018c0| 6e 67 20 69 73 20 74 68 | 65 20 61 73 73 75 6d 65 |ng is th|e assume|
|000018d0| 64 20 69 6e 70 75 74 2e | 0a 58 2e 4c 50 0a 58 41 |d input.|.X.LP.XA|
|000018e0| 20 73 75 6d 6d 61 72 79 | 20 6f 66 20 74 68 65 20 | summary| of the |
|000018f0| 65 64 69 74 20 6b 65 79 | 73 20 69 73 20 61 6c 77 |edit key|s is alw|
|00001900| 61 79 73 20 76 69 73 69 | 62 6c 65 20 69 6e 20 61 |ays visi|ble in a|
|00001910| 6e 20 69 6e 76 65 72 73 | 65 20 76 69 64 65 6f 20 |n invers|e video |
|00001920| 62 61 72 0a 58 72 75 6e | 6e 69 6e 67 20 76 65 72 |bar.Xrun|ning ver|
|00001930| 74 69 63 61 6c 6c 79 20 | 69 6e 20 74 68 65 20 63 |tically |in the c|
|00001940| 65 6e 74 65 72 20 6f 66 | 20 74 68 65 20 73 63 72 |enter of| the scr|
|00001950| 65 65 6e 2e 0a 58 45 64 | 69 74 69 6e 67 20 63 68 |een..XEd|iting ch|
|00001960| 61 72 61 63 74 65 72 73 | 20 69 6e 63 6c 75 64 65 |aracters| include|
|00001970| 20 5c 66 49 44 45 4c 45 | 54 45 5c 66 52 20 61 6e | \fIDELE|TE\fR an|
|00001980| 64 20 5c 66 49 42 41 43 | 4b 53 50 41 43 45 5c 66 |d \fIBAC|KSPACE\f|
|00001990| 52 2c 0a 58 62 6f 74 68 | 20 6f 66 20 77 68 69 63 |R,.Xboth| of whic|
|000019a0| 68 20 64 65 6c 65 74 65 | 20 63 68 61 72 61 63 74 |h delete| charact|
|000019b0| 65 72 73 0a 58 75 6e 64 | 65 72 20 74 68 65 20 63 |ers.Xund|er the c|
|000019c0| 75 72 73 6f 72 20 61 6e | 64 20 6d 6f 76 65 20 62 |ursor an|d move b|
|000019d0| 79 74 65 73 20 61 74 20 | 74 68 65 20 72 69 67 68 |ytes at |the righ|
|000019e0| 74 20 6f 66 20 74 68 65 | 20 63 75 72 73 6f 72 0a |t of the| cursor.|
|000019f0| 58 74 6f 20 74 68 65 20 | 6c 65 66 74 2e 0a 58 2e |Xto the |left..X.|
|00001a00| 4c 50 0a 58 5c 66 49 43 | 6f 6e 74 72 6f 6c 2d 43 |LP.X\fIC|ontrol-C|
|00001a10| 5c 66 52 20 69 6e 20 74 | 68 65 20 43 41 4c 43 55 |\fR in t|he CALCU|
|00001a20| 4c 41 54 4f 52 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |LATOR fu|nction, |
|00001a30| 5c 66 49 53 50 41 43 45 | 5c 66 52 20 69 6e 20 74 |\fISPACE|\fR in t|
|00001a40| 68 65 0a 58 63 68 65 63 | 6b 62 6f 6f 6b 20 62 61 |he.Xchec|kbook ba|
|00001a50| 6c 61 6e 63 65 72 20 66 | 75 6e 63 74 69 6f 6e 2c |lancer f|unction,|
|00001a60| 20 63 6c 65 61 72 20 61 | 20 6c 69 6e 65 20 66 72 | clear a| line fr|
|00001a70| 6f 6d 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |om the c|ursor to|
|00001a80| 0a 58 69 74 73 20 65 6e | 64 3b 20 69 6e 20 74 68 |.Xits en|d; in th|
|00001a90| 65 20 63 68 65 63 6b 62 | 6f 6f 6b 20 62 61 6c 61 |e checkb|ook bala|
|00001aa0| 6e 63 65 72 20 66 75 6e | 63 74 69 6f 6e 20 61 20 |ncer fun|ction a |
|00001ab0| 5c 66 49 43 6f 6e 74 72 | 6f 6c 2d 43 5c 66 52 0a |\fIContr|ol-C\fR.|
|00001ac0| 58 63 6c 65 61 72 73 20 | 28 7a 65 72 6f 65 73 29 |Xclears |(zeroes)|
|00001ad0| 20 74 68 65 20 65 6e 74 | 69 72 65 20 77 69 6e 64 | the ent|ire wind|
|00001ae0| 6f 77 2e 0a 58 53 74 72 | 61 69 67 68 74 20 62 72 |ow..XStr|aight br|
|00001af0| 61 63 6b 65 74 73 20 5c | 66 49 5b 20 20 5d 5c 66 |ackets \|fI[ ]\f|
|00001b00| 52 20 6d 6f 76 65 20 74 | 68 65 0a 58 74 68 65 20 |R move t|he.Xthe |
|00001b10| 63 75 72 73 6f 72 20 6e | 6f 6e 2d 64 65 73 74 72 |cursor n|on-destr|
|00001b20| 75 63 74 69 76 65 6c 79 | 20 74 6f 20 74 68 65 20 |uctively| to the |
|00001b30| 6c 65 66 74 20 6f 72 20 | 72 69 67 68 74 2e 0a 58 |left or |right..X|
|00001b40| 49 6e 20 74 68 65 20 43 | 41 4c 43 55 4c 41 54 4f |In the C|ALCULATO|
|00001b50| 52 20 66 75 6e 63 74 69 | 6f 6e 2c 20 63 75 72 6c |R functi|on, curl|
|00001b60| 79 20 62 72 61 63 65 73 | 20 5c 66 49 7b 20 20 7d |y braces| \fI{ }|
|00001b70| 5c 66 52 20 6d 6f 76 65 | 20 74 68 65 20 63 75 72 |\fR move| the cur|
|00001b80| 73 6f 72 0a 58 74 6f 20 | 74 68 65 20 6c 69 6e 65 |sor.Xto |the line|
|00001b90| 20 61 62 6f 76 65 20 6f | 72 20 62 65 6c 6f 77 2c | above o|r below,|
|00001ba0| 20 77 68 69 6c 65 0a 58 | 74 68 65 20 60 60 67 72 | while.X|the ``gr|
|00001bb0| 65 61 74 65 72 20 74 68 | 61 6e 27 27 0a 58 73 69 |eater th|an''.Xsi|
|00001bc0| 67 6e 20 5c 66 49 3e 5c | 66 52 20 73 77 69 74 63 |gn \fI>\|fR switc|
|00001bd0| 68 65 73 20 74 6f 20 5c | 66 49 69 6e 73 65 72 74 |hes to \|fIinsert|
|00001be0| 20 6d 6f 64 65 5c 66 52 | 3a 0a 58 63 68 61 72 61 | mode\fR|:.Xchara|
|00001bf0| 63 74 65 72 73 20 61 6c | 72 65 61 64 79 20 74 6f |cters al|ready to|
|00001c00| 20 74 68 65 20 72 69 67 | 68 74 20 6f 66 20 74 68 | the rig|ht of th|
|00001c10| 65 0a 58 63 75 72 73 6f | 72 20 61 72 65 20 70 75 |e.Xcurso|r are pu|
|00001c20| 73 68 65 64 20 66 75 72 | 74 68 65 72 20 74 6f 20 |shed fur|ther to |
|00001c30| 74 68 65 20 72 69 67 68 | 74 20 77 69 74 68 20 65 |the righ|t with e|
|00001c40| 61 63 68 20 6e 65 77 20 | 63 68 61 72 61 63 74 65 |ach new |characte|
|00001c50| 72 20 61 64 64 65 64 2e | 0a 58 54 68 65 20 60 60 |r added.|.XThe ``|
|00001c60| 6c 65 73 73 20 74 68 61 | 6e 27 27 20 73 69 67 6e |less tha|n'' sign|
|00001c70| 20 5c 66 49 3c 5c 66 52 | 2c 20 74 68 65 20 5c 66 | \fI<\fR|, the \f|
|00001c80| 49 45 53 43 41 50 45 5c | 66 52 20 6b 65 79 20 6f |IESCAPE\|fR key o|
|00001c90| 72 20 61 0a 58 5c 66 49 | 52 45 54 55 52 4e 5c 66 |r a.X\fI|RETURN\f|
|00001ca0| 52 20 65 6e 64 20 74 68 | 65 20 5c 66 49 69 6e 73 |R end th|e \fIins|
|00001cb0| 65 72 74 20 6d 6f 64 65 | 5c 66 52 2e 0a 58 2e 53 |ert mode|\fR..X.S|
|00001cc0| 48 20 43 41 4c 43 55 4c | 41 54 4f 52 20 4f 50 45 |H CALCUL|ATOR OPE|
|00001cd0| 52 41 54 49 4f 4e 0a 58 | 49 6e 70 75 74 20 62 65 |RATION.X|Input be|
|00001ce0| 67 69 6e 73 20 61 74 20 | 74 68 65 20 74 6f 70 20 |gins at |the top |
|00001cf0| 6c 65 66 74 20 62 79 74 | 65 20 6f 66 20 74 68 65 |left byt|e of the|
|00001d00| 20 43 41 4c 43 55 4c 41 | 54 4f 52 20 77 69 6e 64 | CALCULA|TOR wind|
|00001d10| 6f 77 2c 0a 58 61 6e 64 | 20 6d 61 79 20 63 6f 6e |ow,.Xand| may con|
|00001d20| 73 69 73 74 20 6f 66 20 | 6d 75 6c 74 69 70 6c 65 |sist of |multiple|
|00001d30| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 73 65 70 61 | stateme|nts sepa|
|00001d40| 72 61 74 65 64 0a 58 62 | 79 20 73 65 6d 69 63 6f |rated.Xb|y semico|
|00001d50| 6c 6f 6e 73 2e 20 20 41 | 66 74 65 72 20 5c 66 49 |lons. A|fter \fI|
|00001d60| 52 45 54 55 52 4e 5c 66 | 52 2c 20 74 68 65 20 69 |RETURN\f|R, the i|
|00001d70| 6e 70 75 74 20 69 73 20 | 62 72 6f 6b 65 6e 20 64 |nput is |broken d|
|00001d80| 6f 77 6e 0a 58 74 6f 20 | 61 20 6c 69 73 74 20 6f |own.Xto |a list o|
|00001d90| 66 20 74 6f 6b 65 6e 73 | 2e 0a 58 43 6f 6d 70 6f |f tokens|..XCompo|
|00001da0| 75 6e 64 20 74 6f 6b 65 | 6e 73 20 63 6f 6e 74 61 |und toke|ns conta|
|00001db0| 69 6e 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 61 |in one o|r more a|
|00001dc0| 6c 70 68 61 6e 75 6d 65 | 72 69 63 20 63 68 61 72 |lphanume|ric char|
|00001dd0| 61 63 74 65 72 73 2c 0a | 58 75 6e 64 65 72 73 63 |acters,.|Xundersc|
|00001de0| 6f 72 65 73 20 61 6e 64 | 20 70 65 72 69 6f 64 73 |ores and| periods|
|00001df0| 3b 20 73 69 6d 70 6c 65 | 20 74 6f 6b 65 6e 73 20 |; simple| tokens |
|00001e00| 61 72 65 20 73 69 6e 67 | 6c 65 2c 0a 58 6e 6f 6e |are sing|le,.Xnon|
|00001e10| 2d 61 6c 70 68 61 6e 75 | 6d 65 72 69 63 20 63 68 |-alphanu|meric ch|
|00001e20| 61 72 61 63 74 65 72 73 | 20 66 72 6f 6d 20 74 68 |aracters| from th|
|00001e30| 65 20 73 65 74 3a 0a 58 | 2e 4c 50 0a 58 2e 52 53 |e set:.X|.LP.X.RS|
|00001e40| 0a 58 3b 20 25 20 2b 20 | 2d 20 2a 20 2f 20 5e 20 |.X; % + |- * / ^ |
|00001e50| 28 20 29 20 5c 5c 20 27 | 20 3f 20 21 20 23 0a 58 |( ) \\ '| ? ! #.X|
|00001e60| 2e 52 45 0a 58 2e 4c 50 | 0a 58 41 20 73 75 62 73 |.RE.X.LP|.XA subs|
|00001e70| 65 74 20 6f 66 20 73 69 | 6d 70 6c 65 20 74 6f 6b |et of si|mple tok|
|00001e80| 65 6e 73 20 61 72 65 20 | 74 68 65 20 6d 61 74 68 |ens are |the math|
|00001e90| 20 6f 70 65 72 61 74 6f | 72 73 0a 58 5c 66 49 25 | operato|rs.X\fI%|
|00001ea0| 5c 66 52 2c 20 5c 66 49 | 2b 5c 66 52 20 6f 72 20 |\fR, \fI|+\fR or |
|00001eb0| 5c 66 49 2d 5c 66 52 2c | 20 5c 66 49 2a 5c 66 52 |\fI-\fR,| \fI*\fR|
|00001ec0| 20 6f 72 20 5c 66 49 2f | 5c 66 52 2c 20 5c 66 49 | or \fI/|\fR, \fI|
|00001ed0| 5e 5c 66 52 0a 58 28 69 | 6e 20 69 6e 63 72 65 61 |^\fR.X(i|n increa|
|00001ee0| 73 69 6e 67 20 6f 72 64 | 65 72 20 6f 66 20 6f 70 |sing ord|er of op|
|00001ef0| 65 72 61 74 6f 72 20 70 | 72 65 63 65 64 65 6e 63 |erator p|recedenc|
|00001f00| 65 29 2e 0a 58 54 68 65 | 20 70 65 72 63 65 6e 74 |e)..XThe| percent|
|00001f10| 20 73 69 67 6e 20 73 74 | 61 6e 64 73 20 66 6f 72 | sign st|ands for|
|00001f20| 20 74 68 65 20 60 60 6d | 6f 64 75 6c 6f 27 27 20 | the ``m|odulo'' |
|00001f30| 6f 70 65 72 61 74 69 6f | 6e 2c 20 74 68 65 20 61 |operatio|n, the a|
|00001f40| 73 74 65 72 69 73 6b 0a | 58 73 74 61 6e 64 73 20 |sterisk.|Xstands |
|00001f50| 66 6f 72 20 6d 75 6c 74 | 69 70 6c 69 63 61 74 69 |for mult|iplicati|
|00001f60| 6f 6e 2c 20 74 68 65 20 | 63 69 72 63 75 6d 66 6c |on, the |circumfl|
|00001f70| 65 78 20 66 6f 72 20 65 | 78 70 6f 6e 65 6e 74 69 |ex for e|xponenti|
|00001f80| 61 74 69 6f 6e 2e 0a 58 | 4f 6e 6c 79 20 69 6e 74 |ation..X|Only int|
|00001f90| 65 67 65 72 20 65 78 70 | 6f 6e 65 6e 74 73 20 61 |eger exp|onents a|
|00001fa0| 72 65 20 61 6c 6c 6f 77 | 65 64 2e 0a 58 2e 4c 50 |re allow|ed..X.LP|
|00001fb0| 0a 58 54 6f 6b 65 6e 73 | 20 61 72 65 20 64 65 6c |.XTokens| are del|
|00001fc0| 69 6d 69 74 65 64 20 62 | 79 20 63 6f 6d 6d 61 73 |imited b|y commas|
|00001fd0| 20 6f 72 20 73 70 61 63 | 65 73 2c 20 62 79 20 74 | or spac|es, by t|
|00001fe0| 68 65 20 61 70 70 65 61 | 72 61 6e 63 65 20 6f 66 |he appea|rance of|
|00001ff0| 20 74 68 65 0a 58 6e 65 | 78 74 20 73 69 6d 70 6c | the.Xne|xt simpl|
|00002000| 65 20 74 6f 6b 65 6e 2c | 20 6f 72 20 62 79 20 74 |e token,| or by t|
|00002010| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 69 6e |he end o|f the in|
|00002020| 70 75 74 20 6c 69 6e 65 | 2e 0a 58 2e 4c 50 0a 58 |put line|..X.LP.X|
|00002030| 4e 75 6d 62 65 72 73 20 | 61 72 65 20 61 20 73 75 |Numbers |are a su|
|00002040| 62 73 65 74 20 6f 66 20 | 63 6f 6d 70 6f 75 6e 64 |bset of |compound|
|00002050| 20 74 6f 6b 65 6e 73 2c | 20 66 6f 72 6d 65 64 20 | tokens,| formed |
|00002060| 65 6e 74 69 72 65 6c 79 | 20 66 72 6f 6d 0a 58 74 |entirely| from.Xt|
|00002070| 68 65 20 64 69 67 69 74 | 73 20 30 2d 39 2c 20 74 |he digit|s 0-9, t|
|00002080| 68 65 20 68 65 78 61 64 | 65 63 69 6d 61 6c 20 64 |he hexad|ecimal d|
|00002090| 69 67 69 74 73 20 61 2d | 66 20 6f 72 20 41 2d 46 |igits a-|f or A-F|
|000020a0| 2c 20 61 6e 64 20 74 68 | 65 0a 58 70 65 72 69 6f |, and th|e.Xperio|
|000020b0| 64 20 63 68 61 72 61 63 | 74 65 72 2e 0a 58 2e 4c |d charac|ter..X.L|
|000020c0| 50 0a 58 44 75 72 69 6e | 67 20 70 61 72 73 69 6e |P.XDurin|g parsin|
|000020d0| 67 2c 20 63 6f 6d 6d 61 | 73 20 61 6e 64 20 73 70 |g, comma|s and sp|
|000020e0| 61 63 65 73 20 61 72 65 | 20 72 65 6d 6f 76 65 64 |aces are| removed|
|000020f0| 2c 20 61 6e 64 20 73 75 | 63 63 65 73 73 69 76 65 |, and su|ccessive|
|00002100| 0a 58 6e 75 6d 62 65 72 | 73 20 61 72 65 20 63 6f |.Xnumber|s are co|
|00002110| 6e 63 61 74 65 6e 61 74 | 65 64 20 74 6f 20 66 6f |ncatenat|ed to fo|
|00002120| 72 6d 20 61 20 73 69 6e | 67 6c 65 20 6e 75 6d 62 |rm a sin|gle numb|
|00002130| 65 72 2e 0a 58 2e 4c 50 | 0a 58 54 68 65 20 72 65 |er..X.LP|.XThe re|
|00002140| 73 75 6c 74 69 6e 67 20 | 74 6f 6b 65 6e 20 6c 69 |sulting |token li|
|00002150| 73 74 20 69 73 20 70 61 | 73 73 65 64 20 74 6f 20 |st is pa|ssed to |
|00002160| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 65 72 2c |the inte|rpreter,|
|00002170| 20 77 68 69 63 68 0a 58 | 65 76 61 6c 75 61 74 65 | which.X|evaluate|
|00002180| 73 20 65 61 63 68 20 74 | 6f 6b 65 6e 20 69 6e 20 |s each t|oken in |
|00002190| 61 20 6e 6f 72 6d 61 6c | 2c 20 6c 65 66 74 2d 74 |a normal|, left-t|
|000021a0| 6f 2d 72 69 67 68 74 20 | 73 65 71 75 65 6e 63 65 |o-right |sequence|
|000021b0| 2e 0a 58 41 20 5c 66 42 | 70 61 63 5c 66 52 20 6c |..XA \fB|pac\fR l|
|000021c0| 6f 6f 6b 75 70 20 74 61 | 62 6c 65 20 69 73 20 73 |ookup ta|ble is s|
|000021d0| 65 61 72 63 68 65 64 20 | 66 6f 72 20 61 20 6d 61 |earched |for a ma|
|000021e0| 74 63 68 20 74 6f 20 74 | 68 65 20 74 6f 6b 65 6e |tch to t|he token|
|000021f0| 2e 0a 58 41 20 6d 61 74 | 63 68 20 70 72 6f 76 65 |..XA mat|ch prove|
|00002200| 73 20 74 68 65 20 74 6f | 6b 65 6e 20 74 6f 20 62 |s the to|ken to b|
|00002210| 65 20 61 20 5c 66 42 70 | 61 63 5c 66 52 20 63 6f |e a \fBp|ac\fR co|
|00002220| 6e 74 72 6f 6c 20 77 6f | 72 64 2c 20 70 72 6f 63 |ntrol wo|rd, proc|
|00002230| 65 73 73 65 64 0a 58 69 | 6d 6d 65 64 69 61 74 65 |essed.Xi|mmediate|
|00002240| 6c 79 2e 20 20 54 68 69 | 73 20 70 72 65 70 72 6f |ly. Thi|s prepro|
|00002250| 63 65 73 73 69 6e 67 20 | 6d 61 79 20 61 66 66 65 |cessing |may affe|
|00002260| 63 74 20 6f 74 68 65 72 | 20 74 6f 6b 65 6e 73 20 |ct other| tokens |
|00002270| 74 6f 0a 58 74 68 65 20 | 6c 65 66 74 20 6f 72 20 |to.Xthe |left or |
|00002280| 72 69 67 68 74 20 6f 66 | 20 74 68 65 20 63 6f 6e |right of| the con|
|00002290| 74 72 6f 6c 20 77 6f 72 | 64 3b 20 61 6e 64 20 69 |trol wor|d; and i|
|000022a0| 6e 20 6d 6f 73 74 20 63 | 61 73 65 73 20 74 68 65 |n most c|ases the|
|000022b0| 0a 58 61 66 66 65 63 74 | 65 64 20 74 6f 6b 65 6e |.Xaffect|ed token|
|000022c0| 73 20 28 69 6e 63 6c 75 | 64 69 6e 67 20 74 68 65 |s (inclu|ding the|
|000022d0| 20 63 6f 6e 74 72 6f 6c | 20 77 6f 72 64 29 20 61 | control| word) a|
|000022e0| 72 65 20 72 65 70 6c 61 | 63 65 64 0a 58 62 79 20 |re repla|ced.Xby |
|000022f0| 61 20 73 69 6e 67 6c 65 | 20 6e 75 6d 62 65 72 2e |a single| number.|
|00002300| 0a 58 2e 4c 50 0a 58 49 | 66 20 74 68 65 20 74 6f |.X.LP.XI|f the to|
|00002310| 6b 65 6e 20 64 6f 65 73 | 20 6e 6f 74 20 6d 61 74 |ken does| not mat|
|00002320| 63 68 20 61 20 63 6f 6e | 74 72 6f 6c 20 77 6f 72 |ch a con|trol wor|
|00002330| 64 2c 20 61 6e 79 20 6c | 6f 77 65 72 20 63 61 73 |d, any l|ower cas|
|00002340| 65 20 61 2d 66 0a 58 63 | 68 61 72 61 63 74 65 72 |e a-f.Xc|haracter|
|00002350| 73 20 6f 66 20 74 68 65 | 20 74 6f 6b 65 6e 20 61 |s of the| token a|
|00002360| 72 65 20 75 70 63 61 73 | 65 64 2e 0a 58 2e 4c 50 |re upcas|ed..X.LP|
|00002370| 0a 58 46 72 6f 6d 20 74 | 68 65 20 69 6e 74 65 72 |.XFrom t|he inter|
|00002380| 70 72 65 74 65 72 2c 20 | 74 68 65 20 73 74 72 69 |preter, |the stri|
|00002390| 6e 67 0a 58 69 73 20 70 | 61 73 73 65 64 20 74 6f |ng.Xis p|assed to|
|000023a0| 20 74 68 65 20 5c 66 42 | 62 63 5c 66 52 20 63 61 | the \fB|bc\fR ca|
|000023b0| 6c 63 75 6c 61 74 6f 72 | 0a 58 74 68 72 6f 75 67 |lculator|.Xthroug|
|000023c0| 68 20 61 6e 20 69 6e 74 | 65 72 2d 70 72 6f 63 65 |h an int|er-proce|
|000023d0| 73 73 20 70 69 70 65 2e | 0a 58 42 63 20 65 76 61 |ss pipe.|.XBc eva|
|000023e0| 6c 75 61 74 65 73 20 74 | 68 65 20 6d 61 74 68 20 |luates t|he math |
|000023f0| 65 78 70 72 65 73 73 69 | 6f 6e 2c 0a 58 61 6e 64 |expressi|on,.Xand|
|00002400| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 72 65 73 | returns| the res|
|00002410| 75 6c 74 20 74 6f 20 5c | 66 42 70 61 63 5c 66 52 |ult to \|fBpac\fR|
|00002420| 20 66 6f 72 0a 58 66 6f | 72 6d 61 74 74 69 6e 67 | for.Xfo|rmatting|
|00002430| 20 61 6e 64 20 64 69 73 | 70 6c 61 79 2e 20 20 5c | and dis|play. \|
|00002440| 66 42 70 61 63 5c 66 52 | 0a 58 70 72 69 6e 74 73 |fBpac\fR|.Xprints|
|00002450| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 20 74 | the res|ult in t|
|00002460| 68 65 20 66 6f 75 72 74 | 68 20 28 62 6f 74 74 6f |he fourt|h (botto|
|00002470| 6d 29 0a 58 6c 69 6e 65 | 20 6f 66 20 74 68 65 20 |m).Xline| of the |
|00002480| 43 41 4c 43 55 4c 41 54 | 4f 52 20 77 69 6e 64 6f |CALCULAT|OR windo|
|00002490| 77 2e 0a 58 2e 4c 50 0a | 58 54 68 65 20 5c 66 49 |w..X.LP.|XThe \fI|
|000024a0| 70 72 65 63 69 73 69 6f | 6e 5c 66 52 20 76 61 72 |precisio|n\fR var|
|000024b0| 69 61 62 6c 65 20 63 6f | 6e 74 72 6f 6c 73 0a 58 |iable co|ntrols.X|
|000024c0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 69 |the numb|er of di|
|000024d0| 67 69 74 73 20 70 72 69 | 6e 74 65 64 20 74 6f 20 |gits pri|nted to |
|000024e0| 74 68 65 20 72 69 67 68 | 74 20 6f 66 20 61 20 64 |the righ|t of a d|
|000024f0| 65 63 69 6d 61 6c 20 70 | 6f 69 6e 74 2e 20 20 54 |ecimal p|oint. T|
|00002500| 68 69 73 0a 58 76 61 72 | 69 61 62 6c 65 20 63 61 |his.Xvar|iable ca|
|00002510| 6e 20 62 65 20 73 65 74 | 20 77 69 74 68 20 74 68 |n be set| with th|
|00002520| 65 20 5c 66 49 70 72 65 | 63 69 73 69 6f 6e 20 6e |e \fIpre|cision n|
|00002530| 5c 66 52 20 20 6f 72 20 | 0a 58 5c 66 49 70 72 20 |\fR or |.X\fIpr |
|00002540| 6e 5c 66 52 20 63 6f 6d | 6d 61 6e 64 3b 20 6e 20 |n\fR com|mand; n |
|00002550| 76 61 6c 75 65 73 20 6d | 61 79 20 72 61 6e 67 65 |values m|ay range|
|00002560| 20 66 72 6f 6d 20 30 20 | 74 6f 20 33 32 2e 0a 58 | from 0 |to 32..X|
|00002570| 52 65 73 75 6c 74 73 20 | 77 69 74 68 20 67 72 65 |Results |with gre|
|00002580| 61 74 65 72 20 74 68 61 | 6e 20 5c 66 49 70 72 65 |ater tha|n \fIpre|
|00002590| 63 69 73 69 6f 6e 5c 66 | 52 20 66 72 61 63 74 69 |cision\f|R fracti|
|000025a0| 6f 6e 61 6c 20 64 69 67 | 69 74 73 0a 58 61 72 65 |onal dig|its.Xare|
|000025b0| 20 72 6f 75 6e 64 65 64 | 2e 20 20 46 72 61 63 74 | rounded|. Fract|
|000025c0| 69 6f 6e 73 20 74 6f 6f | 20 73 6d 61 6c 6c 20 74 |ions too| small t|
|000025d0| 6f 20 73 68 6f 77 20 75 | 70 20 77 69 74 68 69 6e |o show u|p within|
|000025e0| 20 74 68 65 0a 58 70 72 | 65 63 69 73 69 6f 6e 20 | the.Xpr|ecision |
|000025f0| 72 61 6e 67 65 20 63 61 | 75 73 65 20 61 6e 20 75 |range ca|use an u|
|00002600| 6e 64 65 72 66 6c 6f 77 | 20 65 72 72 6f 72 2e 20 |nderflow| error. |
|00002610| 20 55 73 65 72 20 73 65 | 6c 65 63 74 61 62 6c 65 | User se|lectable|
|00002620| 20 6e 75 6d 62 65 72 0a | 58 66 6f 72 6d 61 74 74 | number.|Xformatt|
|00002630| 69 6e 67 20 61 6e 64 20 | 6a 75 73 74 69 66 69 63 |ing and |justific|
|00002640| 61 74 69 6f 6e 20 63 6f | 6e 74 72 6f 6c 73 20 74 |ation co|ntrols t|
|00002650| 68 65 20 66 69 6e 61 6c | 0a 58 61 70 70 65 61 72 |he final|.Xappear|
|00002660| 61 6e 63 65 20 6f 66 20 | 74 68 65 20 72 65 73 75 |ance of |the resu|
|00002670| 6c 74 2e 0a 58 2e 4c 50 | 0a 58 45 78 61 6d 70 6c |lt..X.LP|.XExampl|
|00002680| 65 73 20 6f 66 20 43 41 | 4c 43 55 4c 41 54 4f 52 |es of CA|LCULATOR|
|00002690| 20 69 6e 70 75 74 3a 0a | 58 2e 4c 50 0a 58 2e 6e | input:.|X.LP.X.n|
|000026a0| 66 0a 58 2e 52 53 0a 58 | 2e 74 61 20 5c 77 27 28 |f.X.RS.X|.ta \w'(|
|000026b0| 39 39 38 20 5c 66 49 6d | 69 63 72 6f 5c 66 52 20 |998 \fIm|icro\fR |
|000026c0| 2b 20 2e 30 30 30 30 30 | 32 29 5c 66 49 6d 65 67 |+ .00000|2)\fImeg|
|000026d0| 61 5c 66 52 27 75 2b 32 | 6e 0a 58 37 37 2b 38 38 |a\fR'u+2|n.X77+88|
|000026e0| 2b 39 39 20 2d 20 36 36 | 2f 28 33 20 2a 20 32 29 |+99 - 66|/(3 * 2)|
|000026f0| 0a 58 34 2e 35 20 20 2a | 20 20 5c 66 49 70 69 5c |.X4.5 *| \fIpi\|
|00002700| 66 52 09 2d 2d 2d 20 20 | 75 73 69 6e 67 20 74 68 |fR.--- |using th|
|00002710| 65 20 63 6f 6e 73 74 61 | 6e 74 20 5c 66 49 70 69 |e consta|nt \fIpi|
|00002720| 5c 66 52 0a 58 31 32 2e | 37 38 35 20 2b 20 5c 66 |\fR.X12.|785 + \f|
|00002730| 49 73 5c 66 52 09 2d 2d | 2d 20 20 61 64 64 20 31 |Is\fR.--|- add 1|
|00002740| 32 2e 37 38 35 20 61 6e | 64 20 73 74 61 63 6b 20 |2.785 an|d stack |
|00002750| 76 61 72 69 61 62 6c 65 | 20 5c 66 49 73 5c 66 52 |variable| \fIs\fR|
|00002760| 0a 58 31 32 2e 37 38 35 | 20 2b 20 5c 66 49 73 5c |.X12.785| + \fIs\|
|00002770| 66 52 3b 20 5c 66 49 73 | 74 6f 20 6a 5c 66 52 09 |fR; \fIs|to j\fR.|
|00002780| 2d 2d 2d 20 20 61 73 20 | 61 62 6f 76 65 3b 20 63 |--- as |above; c|
|00002790| 6f 70 79 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |opy resu|lt into |
|000027a0| 5c 66 49 6a 5c 66 52 0a | 58 66 20 2b 20 61 09 2d |\fIj\fR.|Xf + a.-|
|000027b0| 2d 2d 20 20 61 64 64 20 | 68 65 78 20 6e 75 6d 62 |-- add |hex numb|
|000027c0| 65 72 73 20 28 64 65 63 | 31 35 20 2b 20 64 65 63 |ers (dec|15 + dec|
|000027d0| 31 30 29 0a 58 5c 66 49 | 70 5c 66 52 20 2b 20 5c |10).X\fI|p\fR + \|
|000027e0| 66 49 71 5c 66 52 09 2d | 2d 2d 20 20 61 64 64 20 |fIq\fR.-|-- add |
|000027f0| 73 74 61 63 6b 20 76 61 | 72 69 61 62 6c 65 73 20 |stack va|riables |
|00002800| 5c 66 49 70 5c 66 52 20 | 61 6e 64 20 5c 66 49 71 |\fIp\fR |and \fIq|
|00002810| 5c 66 52 0a 58 33 2e 33 | 5e 34 09 2d 2d 2d 20 20 |\fR.X3.3|^4.--- |
|00002820| 74 68 65 20 66 6f 75 72 | 74 68 20 70 6f 77 65 72 |the four|th power|
|00002830| 20 6f 66 20 33 2e 33 0a | 58 32 37 5e 20 28 2d 33 | of 3.3.|X27^ (-3|
|00002840| 29 09 2d 2d 2d 20 20 31 | 20 2f 20 31 39 36 38 33 |).--- 1| / 19683|
|00002850| 0a 58 37 21 20 2d 20 39 | 39 09 2d 2d 2d 20 20 66 |.X7! - 9|9.--- f|
|00002860| 61 63 74 6f 72 69 61 6c | 20 6f 66 20 37 2c 20 6d |actorial| of 7, m|
|00002870| 69 6e 75 73 20 39 39 0a | 58 28 2d 35 29 20 2a 20 |inus 99.|X(-5) * |
|00002880| 34 30 09 2d 2d 2d 20 20 | 75 73 69 6e 67 20 74 68 |40.--- |using th|
|00002890| 65 20 75 6e 61 72 79 20 | 6d 69 6e 75 73 0a 58 28 |e unary |minus.X(|
|000028a0| 39 39 38 20 5c 66 49 6d | 69 63 72 6f 5c 66 52 20 |998 \fIm|icro\fR |
|000028b0| 2b 20 2e 30 30 30 30 30 | 32 29 5c 66 49 6d 65 67 |+ .00000|2)\fImeg|
|000028c0| 61 5c 66 52 09 2d 2d 2d | 20 20 31 30 30 30 0a 58 |a\fR.---| 1000.X|
|000028d0| 33 32 2f 28 31 36 2f 28 | 38 2f 28 34 2f 28 5c 66 |32/(16/(|8/(4/(\f|
|000028e0| 49 6d 5c 66 52 20 2a 20 | 32 2f 5c 66 49 6d 5c 66 |Im\fR * |2/\fIm\f|
|000028f0| 52 29 29 29 29 09 2d 2d | 2d 20 20 38 20 28 69 66 |R)))).--|- 8 (if|
|00002900| 20 73 74 61 63 6b 20 76 | 61 72 69 61 62 6c 65 20 | stack v|ariable |
|00002910| 5c 66 49 6d 5c 66 52 20 | 6e 6f 74 20 65 71 75 61 |\fIm\fR |not equa|
|00002920| 6c 20 30 29 0a 58 2b 31 | 30 09 2d 2d 2d 20 20 61 |l 0).X+1|0.--- a|
|00002930| 64 64 20 31 30 20 74 6f | 20 74 68 65 20 70 72 65 |dd 10 to| the pre|
|00002940| 76 69 6f 75 73 20 72 65 | 73 75 6c 74 0a 58 2d 31 |vious re|sult.X-1|
|00002950| 30 09 2d 2d 2d 20 20 73 | 75 62 74 72 61 63 74 20 |0.--- s|ubtract |
|00002960| 31 30 20 66 72 6f 6d 20 | 74 68 65 20 70 72 65 76 |10 from |the prev|
|00002970| 69 6f 75 73 20 72 65 73 | 75 6c 74 0a 58 2d 20 36 |ious res|ult.X- 6|
|00002980| 30 20 2f 20 33 09 2d 2d | 2d 20 20 73 75 62 74 72 |0 / 3.--|- subtr|
|00002990| 61 63 74 20 32 30 20 66 | 72 6f 6d 20 74 68 65 20 |act 20 f|rom the |
|000029a0| 70 72 65 76 69 6f 75 73 | 20 72 65 73 75 6c 74 0a |previous| result.|
|000029b0| 58 2a 20 35 09 2d 2d 2d | 20 20 6d 75 6c 74 69 70 |X* 5.---| multip|
|000029c0| 6c 79 20 70 72 65 76 69 | 6f 75 73 20 72 65 73 75 |ly previ|ous resu|
|000029d0| 6c 74 20 62 79 20 35 0a | 58 2e 52 45 0a 58 2e 66 |lt by 5.|X.RE.X.f|
|000029e0| 69 0a 58 2e 4c 50 0a 58 | 5c 66 42 70 61 63 5c 66 |i.X.LP.X|\fBpac\f|
|000029f0| 52 20 73 74 6f 72 65 73 | 20 72 65 73 75 6c 74 73 |R stores| results|
|00002a00| 20 61 73 20 64 69 67 69 | 74 20 73 74 72 69 6e 67 | as digi|t string|
|00002a10| 73 2c 20 6f 6e 20 31 37 | 20 6c 69 6e 65 73 20 6f |s, on 17| lines o|
|00002a20| 66 20 73 63 72 65 65 6e | 0a 58 64 69 73 70 6c 61 |f screen|.Xdispla|
|00002a30| 79 2e 20 20 45 61 63 68 | 20 6f 66 20 74 68 65 20 |y. Each| of the |
|00002a40| 73 74 72 69 6e 67 73 20 | 69 73 20 61 20 5c 66 42 |strings |is a \fB|
|00002a50| 70 61 63 5c 66 52 20 76 | 61 72 69 61 62 6c 65 2e |pac\fR v|ariable.|
|00002a60| 0a 58 54 68 65 20 66 69 | 72 73 74 20 6f 66 20 74 |.XThe fi|rst of t|
|00002a70| 68 65 73 65 20 73 74 72 | 69 6e 67 73 2c 20 43 55 |hese str|ings, CU|
|00002a80| 52 52 45 53 2c 0a 58 69 | 73 20 74 68 65 20 72 65 |RRES,.Xi|s the re|
|00002a90| 73 75 6c 74 20 73 68 6f | 77 6e 20 69 6e 20 74 68 |sult sho|wn in th|
|00002aa0| 65 20 43 41 4c 43 55 4c | 41 54 4f 52 20 77 69 6e |e CALCUL|ATOR win|
|00002ab0| 64 6f 77 2e 0a 58 43 55 | 52 52 45 53 20 69 73 20 |dow..XCU|RRES is |
|00002ac0| 75 70 64 61 74 65 64 20 | 63 6f 6e 74 69 6e 75 6f |updated |continuo|
|00002ad0| 75 73 6c 79 20 61 6e 64 | 20 69 73 0a 58 74 68 65 |usly and| is.Xthe|
|00002ae0| 20 72 65 73 75 6c 74 20 | 6f 66 20 74 68 65 20 6d | result |of the m|
|00002af0| 6f 73 74 20 72 65 63 65 | 6e 74 6c 79 20 65 76 61 |ost rece|ntly eva|
|00002b00| 6c 75 61 74 65 64 20 65 | 78 70 72 65 73 73 69 6f |luated e|xpressio|
|00002b10| 6e 2e 20 20 54 68 69 73 | 20 76 61 6c 75 65 0a 58 |n. This| value.X|
|00002b20| 63 61 6e 20 62 65 20 72 | 65 66 65 72 65 6e 63 65 |can be r|eference|
|00002b30| 64 20 62 79 20 74 68 65 | 20 5c 66 49 5c 5c 5c 66 |d by the| \fI\\\f|
|00002b40| 52 20 28 62 61 63 6b 73 | 6c 61 73 68 29 20 63 68 |R (backs|lash) ch|
|00002b50| 61 72 61 63 74 65 72 3a | 0a 58 5c 66 49 39 20 2b |aracter:|.X\fI9 +|
|00002b60| 20 5c 5c 5c 66 52 20 61 | 64 64 73 20 43 55 52 52 | \\\fR a|dds CURR|
|00002b70| 45 53 20 61 6e 64 20 39 | 2e 20 20 41 6e 79 20 6f |ES and 9|. Any o|
|00002b80| 70 65 72 61 74 6f 72 20 | 74 68 61 74 20 75 6e 73 |perator |that uns|
|00002b90| 75 63 63 65 73 73 66 75 | 6c 6c 79 0a 58 6c 6f 6f |uccessfu|lly.Xloo|
|00002ba0| 6b 73 20 66 6f 72 20 61 | 6e 20 6f 70 65 72 61 6e |ks for a|n operan|
|00002bb0| 64 20 74 6f 20 69 74 73 | 20 6c 65 66 74 2c 20 77 |d to its| left, w|
|00002bc0| 69 6c 6c 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |ill auto|maticall|
|00002bd0| 79 20 72 65 66 65 72 65 | 6e 63 65 0a 58 43 55 52 |y refere|nce.XCUR|
|00002be0| 52 45 53 0a 58 28 61 73 | 20 69 6e 20 74 68 65 20 |RES.X(as| in the |
|00002bf0| 6c 61 73 74 20 66 6f 75 | 72 20 60 60 45 78 61 6d |last fou|r ``Exam|
|00002c00| 70 6c 65 73 20 6f 66 20 | 43 41 4c 43 55 4c 41 54 |ples of |CALCULAT|
|00002c10| 4f 52 20 69 6e 70 75 74 | 27 27 20 61 62 6f 76 65 |OR input|'' above|
|00002c20| 29 2e 0a 58 53 79 6e 74 | 61 78 20 65 72 72 6f 72 |)..XSynt|ax error|
|00002c30| 73 20 63 6c 65 61 72 20 | 43 55 52 52 45 53 20 74 |s clear |CURRES t|
|00002c40| 6f 20 7a 65 72 6f 2e 0a | 58 2e 4c 50 0a 58 54 68 |o zero..|X.LP.XTh|
|00002c50| 65 20 6f 74 68 65 72 20 | 31 36 20 73 74 72 69 6e |e other |16 strin|
|00002c60| 67 73 20 63 6f 6e 73 74 | 69 74 75 74 65 20 74 68 |gs const|itute th|
|00002c70| 65 20 5c 66 49 75 73 65 | 72 20 73 74 61 63 6b 5c |e \fIuse|r stack\|
|00002c80| 66 52 2c 0a 58 61 20 72 | 65 63 74 61 6e 67 75 6c |fR,.Xa r|ectangul|
|00002c90| 61 72 20 61 72 65 61 20 | 64 69 72 65 63 74 6c 79 |ar area |directly|
|00002ca0| 20 62 65 6c 6f 77 20 74 | 68 65 20 43 41 4c 43 55 | below t|he CALCU|
|00002cb0| 4c 41 54 4f 52 20 77 69 | 6e 64 6f 77 2e 0a 58 54 |LATOR wi|ndow..XT|
|00002cc0| 68 65 20 31 36 20 6c 69 | 6e 65 73 20 6f 66 20 74 |he 16 li|nes of t|
|00002cd0| 68 65 20 73 74 61 63 6b | 20 61 72 65 0a 58 6c 61 |he stack| are.Xla|
|00002ce0| 62 65 6c 65 64 20 62 79 | 20 74 68 65 20 6c 65 74 |beled by| the let|
|00002cf0| 74 65 72 73 20 5c 66 49 | 68 5c 66 52 20 74 6f 20 |ters \fI|h\fR to |
|00002d00| 5c 66 49 77 5c 66 52 0a | 58 69 6e 20 74 68 65 20 |\fIw\fR.|Xin the |
|00002d10| 6c 65 66 74 20 69 6e 76 | 65 72 73 65 20 76 69 64 |left inv|erse vid|
|00002d20| 65 6f 20 62 6f 72 64 65 | 72 2e 0a 58 54 68 65 73 |eo borde|r..XThes|
|00002d30| 65 20 6c 61 62 65 6c 73 | 20 61 72 65 20 61 6c 73 |e labels| are als|
|00002d40| 6f 20 5c 66 42 70 61 63 | 5c 66 52 20 74 6f 6b 65 |o \fBpac|\fR toke|
|00002d50| 6e 73 2c 20 61 6e 64 20 | 63 61 6e 20 62 65 20 69 |ns, and |can be i|
|00002d60| 6e 70 75 74 20 74 6f 0a | 58 74 68 65 20 43 41 4c |nput to.|Xthe CAL|
|00002d70| 43 55 4c 41 54 4f 52 20 | 69 6e 73 74 65 61 64 20 |CULATOR |instead |
|00002d80| 6f 66 20 74 79 70 69 6e | 67 20 74 68 65 20 73 74 |of typin|g the st|
|00002d90| 72 69 6e 67 20 63 6f 6e | 74 61 69 6e 65 64 20 69 |ring con|tained i|
|00002da0| 6e 20 61 20 73 74 61 63 | 6b 20 63 65 6c 6c 2e 0a |n a stac|k cell..|
|00002db0| 58 4e 65 77 20 72 65 73 | 75 6c 74 73 20 61 72 65 |XNew res|ults are|
|00002dc0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 60 | automat|ically `|
|00002dd0| 60 70 75 73 68 65 64 27 | 27 20 6f 6e 20 74 68 65 |`pushed'|' on the|
|00002de0| 20 73 74 61 63 6b 2c 20 | 75 6e 6c 65 73 73 20 74 | stack, |unless t|
|00002df0| 68 65 0a 58 5c 66 42 70 | 61 63 5c 66 52 20 63 6f |he.X\fBp|ac\fR co|
|00002e00| 6d 6d 61 6e 64 20 5c 66 | 49 73 74 61 63 6b 20 6f |mmand \f|Istack o|
|00002e10| 66 66 5c 66 52 20 70 72 | 6f 68 69 62 69 74 73 20 |ff\fR pr|ohibits |
|00002e20| 74 68 69 73 2e 0a 58 2e | 4c 50 0a 58 5c 66 42 70 |this..X.|LP.X\fBp|
|00002e30| 61 63 5c 66 52 20 6b 65 | 79 20 77 6f 72 64 73 20 |ac\fR ke|y words |
|00002e40| 66 6f 72 20 65 78 70 6c | 69 63 69 74 6c 79 0a 58 |for expl|icitly.X|
|00002e50| 6d 61 6e 69 70 75 6c 61 | 74 69 6e 67 20 73 74 61 |manipula|ting sta|
|00002e60| 63 6b 20 63 6f 6e 74 65 | 6e 74 73 20 61 72 65 0a |ck conte|nts are.|
|00002e70| 58 5c 66 49 63 6c 72 5c | 66 52 2c 20 5c 66 49 64 |X\fIclr\|fR, \fId|
|00002e80| 75 70 5c 66 52 2c 20 5c | 66 49 70 6f 70 5c 66 52 |up\fR, \|fIpop\fR|
|00002e90| 2c 20 5c 66 49 70 6c 6c | 5c 66 52 2c 20 5c 66 49 |, \fIpll|\fR, \fI|
|00002ea0| 70 73 68 5c 66 52 2c 0a | 58 5c 66 49 73 74 6f 5c |psh\fR,.|X\fIsto\|
|00002eb0| 66 52 2c 20 5c 66 49 73 | 77 70 5c 66 52 2e 0a 58 |fR, \fIs|wp\fR..X|
|00002ec0| 54 68 65 73 65 20 6f 70 | 65 72 61 74 6f 72 73 20 |These op|erators |
|00002ed0| 63 61 6e 20 62 65 20 69 | 6e 70 75 74 20 74 6f 20 |can be i|nput to |
|00002ee0| 74 68 65 20 43 41 4c 43 | 55 4c 41 54 4f 52 20 72 |the CALC|ULATOR r|
|00002ef0| 65 67 61 72 64 6c 65 73 | 73 0a 58 6f 66 20 77 68 |egardles|s.Xof wh|
|00002f00| 65 74 68 65 72 20 74 68 | 65 20 73 74 61 63 6b 20 |ether th|e stack |
|00002f10| 69 73 20 5c 66 49 6f 6e | 5c 66 52 20 6f 72 20 5c |is \fIon|\fR or \|
|00002f20| 66 49 6f 66 66 5c 66 52 | 2e 0a 58 41 20 73 74 61 |fIoff\fR|..XA sta|
|00002f30| 63 6b 20 6f 70 65 72 61 | 74 6f 72 20 6e 6f 72 6d |ck opera|tor norm|
|00002f40| 61 6c 6c 79 20 72 65 66 | 65 72 65 6e 63 65 73 20 |ally ref|erences |
|00002f50| 74 68 65 20 73 69 6e 67 | 6c 65 2d 63 68 61 72 61 |the sing|le-chara|
|00002f60| 63 74 65 72 0a 58 73 74 | 61 63 6b 20 6c 61 62 65 |cter.Xst|ack labe|
|00002f70| 6c 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 66 6f |l immedi|ately fo|
|00002f80| 6c 6c 6f 77 69 6e 67 20 | 74 68 65 20 6f 70 65 72 |llowing |the oper|
|00002f90| 61 74 6f 72 2e 0a 58 46 | 6f 72 20 65 78 61 6d 70 |ator..XF|or examp|
|00002fa0| 6c 65 2c 20 5c 66 49 70 | 6f 70 20 6d 5c 66 52 20 |le, \fIp|op m\fR |
|00002fb0| 72 65 6d 6f 76 65 73 20 | 74 68 65 20 6e 75 6d 62 |removes |the numb|
|00002fc0| 65 72 20 63 6f 6e 74 61 | 69 6e 65 64 20 69 6e 20 |er conta|ined in |
|00002fd0| 5c 66 49 6d 5c 66 52 2c | 0a 58 61 6e 64 20 6d 6f |\fIm\fR,|.Xand mo|
|00002fe0| 76 65 73 20 61 6c 6c 20 | 73 74 61 63 6b 20 73 74 |ves all |stack st|
|00002ff0| 72 69 6e 67 73 20 6c 6f | 63 61 74 65 64 20 62 65 |rings lo|cated be|
|00003000| 6c 6f 77 20 5c 66 49 6d | 5c 66 52 20 75 70 20 6f |low \fIm|\fR up o|
|00003010| 6e 65 20 70 6f 73 69 74 | 69 6f 6e 3b 0a 58 5c 66 |ne posit|ion;.X\f|
|00003020| 49 63 6c 72 20 70 5c 66 | 52 20 73 75 62 73 74 69 |Iclr p\f|R substi|
|00003030| 74 75 74 65 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |tutes th|e number|
|00003040| 20 69 6e 20 73 74 61 63 | 6b 20 63 65 6c 6c 20 5c | in stac|k cell \|
|00003050| 66 49 70 5c 66 52 20 77 | 69 74 68 20 7a 65 72 6f |fIp\fR w|ith zero|
|00003060| 2e 0a 58 49 66 20 61 20 | 73 74 61 63 6b 20 6c 61 |..XIf a |stack la|
|00003070| 62 65 6c 20 69 73 20 6e | 6f 74 20 67 69 76 65 6e |bel is n|ot given|
|00003080| 2c 0a 58 43 55 52 52 45 | 53 20 69 73 20 74 68 65 |,.XCURRE|S is the|
|00003090| 20 73 75 62 6a 65 63 74 | 20 6f 66 20 74 68 65 20 | subject| of the |
|000030a0| 73 74 61 63 6b 20 6f 70 | 65 72 61 74 69 6f 6e 2c |stack op|eration,|
|000030b0| 20 65 78 63 65 70 74 20 | 74 68 61 74 20 5c 66 49 | except |that \fI|
|000030c0| 63 6c 72 5c 66 52 2c 0a | 58 72 65 70 6c 61 63 65 |clr\fR,.|Xreplace|
|000030d0| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 65 |s the va|lue of e|
|000030e0| 61 63 68 20 73 74 61 63 | 6b 20 76 61 72 69 61 62 |ach stac|k variab|
|000030f0| 6c 65 20 77 69 74 68 20 | 30 2e 0a 58 2e 4c 50 0a |le with |0..X.LP.|
|00003100| 58 54 68 65 20 5c 66 42 | 70 61 63 5c 66 52 20 6b |XThe \fB|pac\fR k|
|00003110| 65 79 77 6f 72 64 20 5c | 66 49 69 62 61 73 65 5c |eyword \|fIibase\|
|00003120| 66 52 20 28 61 62 62 72 | 65 76 69 61 74 65 64 20 |fR (abbr|eviated |
|00003130| 76 65 72 73 69 6f 6e 3a | 20 5c 66 49 69 62 5c 66 |version:| \fIib\f|
|00003140| 52 29 0a 58 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |R).Xfoll|owed by |
|00003150| 61 6e 20 69 6e 74 65 67 | 65 72 20 6f 72 20 61 20 |an integ|er or a |
|00003160| 76 61 72 69 61 62 6c 65 | 20 69 6e 20 74 68 65 20 |variable| in the |
|00003170| 72 61 6e 67 65 20 6f 66 | 20 32 20 74 68 72 6f 75 |range of| 2 throu|
|00003180| 67 68 20 31 36 2c 0a 58 | 63 61 6e 20 73 65 6c 65 |gh 16,.X|can sele|
|00003190| 63 74 20 61 6e 20 69 6e | 70 75 74 20 62 61 73 65 |ct an in|put base|
|000031a0| 20 6f 74 68 65 72 20 74 | 68 61 6e 20 64 65 63 69 | other t|han deci|
|000031b0| 6d 61 6c 2e 0a 58 54 68 | 65 20 63 6f 6d 6d 61 6e |mal..XTh|e comman|
|000031c0| 64 0a 58 2e 4c 50 0a 58 | 2e 52 53 0a 58 5c 66 49 |d.X.LP.X|.RS.X\fI|
|000031d0| 69 62 5c 66 52 20 32 3b | 20 31 30 31 31 20 30 31 |ib\fR 2;| 1011 01|
|000031e0| 30 30 20 30 30 31 30 0a | 58 2e 52 45 0a 58 2e 4c |00 0010.|X.RE.X.L|
|000031f0| 50 0a 58 61 73 20 61 6e | 20 65 78 61 6d 70 6c 65 |P.Xas an| example|
|00003200| 2c 20 72 65 73 75 6c 74 | 73 20 69 6e 0a 58 74 68 |, result|s in.Xth|
|00003210| 65 20 64 65 63 69 6d 61 | 6c 20 64 69 73 70 6c 61 |e decima|l displa|
|00003220| 79 20 6f 66 20 60 60 32 | 38 38 32 27 27 2e 0a 58 |y of ``2|882''..X|
|00003230| 2e 4c 50 0a 58 54 68 65 | 20 65 66 66 65 63 74 20 |.LP.XThe| effect |
|00003240| 6f 66 20 74 68 65 20 5c | 66 49 69 62 5c 66 52 20 |of the \|fIib\fR |
|00003250| 63 6f 6d 6d 61 6e 64 20 | 6c 61 73 74 73 20 66 72 |command |lasts fr|
|00003260| 6f 6d 20 74 68 65 20 74 | 69 6d 65 20 69 74 20 77 |om the t|ime it w|
|00003270| 61 73 0a 58 66 69 72 73 | 74 20 65 6e 63 6f 75 6e |as.Xfirs|t encoun|
|00003280| 74 65 72 65 64 20 69 6e | 20 74 68 65 20 69 6e 70 |tered in| the inp|
|00003290| 75 74 2c 20 74 6f 20 74 | 68 65 20 65 6e 64 20 6f |ut, to t|he end o|
|000032a0| 66 20 74 68 65 0a 58 69 | 6e 70 75 74 20 73 74 72 |f the.Xi|nput str|
|000032b0| 69 6e 67 3b 20 74 68 65 | 6e 20 5c 66 42 70 61 63 |ing; the|n \fBpac|
|000032c0| 5c 66 52 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |\fR auto|maticall|
|000032d0| 79 0a 58 72 65 76 65 72 | 74 73 20 74 6f 20 74 68 |y.Xrever|ts to th|
|000032e0| 65 20 6f 72 69 67 69 6e | 61 6c 20 69 6e 70 75 74 |e origin|al input|
|000032f0| 20 62 61 73 65 2e 0a 58 | 54 6f 20 70 65 72 6d 61 | base..X|To perma|
|00003300| 6e 65 6e 74 6c 79 20 63 | 68 61 6e 67 65 20 74 68 |nently c|hange th|
|00003310| 65 20 69 6e 70 75 74 20 | 62 61 73 65 2c 0a 58 74 |e input |base,.Xt|
|00003320| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 5c 66 49 73 74 |he comma|nd \fIst|
|00003330| 61 79 62 61 73 65 20 6f | 6e 5c 66 52 0a 58 28 61 |aybase o|n\fR.X(a|
|00003340| 62 62 72 65 76 69 61 74 | 65 64 20 76 65 72 73 69 |bbreviat|ed versi|
|00003350| 6f 6e 3a 20 5c 66 49 73 | 62 5c 66 52 29 20 73 68 |on: \fIs|b\fR) sh|
|00003360| 6f 75 6c 64 20 62 65 20 | 69 73 73 75 65 64 2e 0a |ould be |issued..|
|00003370| 58 54 68 65 20 65 66 66 | 65 63 74 20 6f 66 20 5c |XThe eff|ect of \|
|00003380| 66 49 73 74 61 79 62 61 | 73 65 20 6f 6e 5c 66 52 |fIstayba|se on\fR|
|00003390| 20 6c 61 73 74 73 20 75 | 6e 74 69 6c 0a 58 61 20 | lasts u|ntil.Xa |
|000033a0| 5c 66 49 73 74 61 79 62 | 61 73 65 20 6f 66 66 5c |\fIstayb|ase off\|
|000033b0| 66 52 20 63 6f 6d 6d 61 | 6e 64 73 20 63 61 6e 63 |fR comma|nds canc|
|000033c0| 65 6c 73 20 69 74 2e 0a | 58 4f 75 74 70 75 74 20 |els it..|XOutput |
|000033d0| 72 61 64 69 78 20 69 73 | 20 73 69 6d 69 6c 61 72 |radix is| similar|
|000033e0| 6c 79 20 63 6f 6e 74 72 | 6f 6c 6c 65 64 20 62 79 |ly contr|olled by|
|000033f0| 20 74 68 65 20 5c 66 49 | 6f 62 61 73 65 20 6e 5c | the \fI|obase n\|
|00003400| 66 52 0a 58 28 6f 72 20 | 5c 66 49 6f 62 20 6e 5c |fR.X(or |\fIob n\|
|00003410| 66 52 29 20 63 6f 6d 6d | 61 6e 64 20 66 6f 72 20 |fR) comm|and for |
|00003420| 6e 20 76 61 6c 75 65 73 | 20 32 2d 31 36 3b 20 61 |n values| 2-16; a|
|00003430| 6e 64 0a 58 5c 66 49 73 | 74 61 79 62 61 73 65 5c |nd.X\fIs|taybase\|
|00003440| 66 52 20 65 66 66 65 63 | 74 73 20 74 68 65 20 70 |fR effec|ts the p|
|00003450| 65 72 6d 61 6e 65 6e 63 | 65 20 6f 66 20 69 6e 70 |ermanenc|e of inp|
|00003460| 75 74 0a 58 61 6e 64 20 | 6f 75 74 70 75 74 20 72 |ut.Xand |output r|
|00003470| 61 64 69 63 65 73 20 69 | 6e 20 74 61 6e 64 65 6d |adices i|n tandem|
|00003480| 2e 0a 58 2e 4c 50 0a 58 | 53 6f 6d 65 20 75 73 65 |..X.LP.X|Some use|
|00003490| 66 75 6c 20 43 41 4c 43 | 55 4c 41 54 4f 52 20 6f |ful CALC|ULATOR o|
|000034a0| 70 65 72 61 74 6f 72 73 | 20 61 72 65 3a 0a 58 2e |perators| are:.X.|
|000034b0| 52 53 0a 58 2e 54 50 20 | 22 5c 5c 77 27 74 68 65 |RS.X.TP |"\\w'the|
|000034c0| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 20 6f 70 65 72 | convers|ion oper|
|000034d0| 61 74 6f 72 5c 20 5c 20 | 27 75 0a 58 74 68 65 20 |ator\ \ |'u.Xthe |
|000034e0| 62 69 74 77 69 73 65 20 | 6f 70 65 72 61 74 69 6f |bitwise |operatio|
|000034f0| 6e 73 0a 58 5c 66 49 61 | 6e 64 20 6f 72 20 78 6f |ns.X\fIa|nd or xo|
|00003500| 72 20 6e 6f 74 20 74 77 | 6f 73 63 6f 6d 70 5c 66 |r not tw|oscomp\f|
|00003510| 52 20 28 61 62 62 72 2e | 3a 5c 66 49 74 63 5c 66 |R (abbr.|:\fItc\f|
|00003520| 52 29 0a 58 2e 54 50 0a | 58 74 68 65 20 70 65 72 |R).X.TP.|Xthe per|
|00003530| 63 65 6e 74 20 6f 70 65 | 72 61 74 69 6f 6e 73 0a |cent ope|rations.|
|00003540| 58 5c 66 49 70 70 6c 75 | 73 20 70 6d 69 6e 75 73 |X\fIpplu|s pminus|
|00003550| 20 70 64 69 66 66 20 70 | 76 65 72 73 75 73 20 70 | pdiff p|versus p|
|00003560| 65 71 75 61 6c 20 70 6f | 66 5c 66 52 20 28 61 62 |equal po|f\fR (ab|
|00003570| 62 72 2e 3a 20 5c 66 49 | 70 70 20 70 6d 20 70 64 |br.: \fI|pp pm pd|
|00003580| 20 70 76 20 70 65 20 70 | 6f 5c 66 52 29 0a 58 2e | pv pe p|o\fR).X.|
|00003590| 54 50 0a 58 74 68 65 20 | 63 6f 6e 76 65 72 73 69 |TP.Xthe |conversi|
|000035a0| 6f 6e 20 6f 70 65 72 61 | 74 6f 72 0a 58 5c 66 49 |on opera|tor.X\fI|
|000035b0| 74 6f 5c 66 52 0a 58 2e | 52 45 0a 58 2e 4c 50 0a |to\fR.X.|RE.X.LP.|
|000035c0| 58 45 78 61 6d 70 6c 65 | 73 3a 0a 58 2e 4c 50 0a |XExample|s:.X.LP.|
|000035d0| 58 2e 6e 66 0a 58 2e 74 | 61 20 33 69 20 2b 31 2e |X.nf.X.t|a 3i +1.|
|000035e0| 35 69 0a 58 42 69 6e 61 | 72 79 20 41 4e 44 20 6f |5i.XBina|ry AND o|
|000035f0| 66 20 39 39 39 39 20 61 | 6e 64 20 31 32 32 3a 09 |f 9999 a|nd 122:.|
|00003600| 39 39 39 39 20 5c 66 49 | 61 6e 64 5c 66 52 20 31 |9999 \fI|and\fR 1|
|00003610| 32 32 09 2d 2d 2d 20 20 | 31 30 0a 58 42 69 6e 61 |22.--- |10.XBina|
|00003620| 72 79 20 4e 4f 54 20 6f | 66 20 39 39 39 39 20 69 |ry NOT o|f 9999 i|
|00003630| 6e 20 31 36 20 62 69 74 | 20 77 69 64 65 20 66 69 |n 16 bit| wide fi|
|00003640| 65 6c 64 3a 09 39 39 39 | 39 20 5c 66 49 6e 6f 74 |eld:.999|9 \fInot|
|00003650| 5c 66 52 20 31 36 09 2d | 2d 2d 20 20 35 35 35 33 |\fR 16.-|-- 5553|
|00003660| 36 0a 58 41 64 64 20 36 | 2e 35 20 70 65 72 63 65 |6.XAdd 6|.5 perce|
|00003670| 6e 74 20 74 6f 20 33 35 | 30 30 3a 09 33 35 30 30 |nt to 35|00:.3500|
|00003680| 20 5c 66 49 70 70 6c 75 | 73 5c 66 52 20 36 2e 35 | \fIpplu|s\fR 6.5|
|00003690| 09 2d 2d 2d 20 20 33 37 | 32 37 2e 35 0a 58 50 65 |.--- 37|27.5.XPe|
|000036a0| 72 63 65 6e 74 61 67 65 | 20 69 6e 63 72 65 61 73 |rcentage| increas|
|000036b0| 65 20 66 72 6f 6d 20 33 | 33 30 30 20 74 6f 20 33 |e from 3|300 to 3|
|000036c0| 35 30 30 3a 09 33 33 30 | 30 20 5c 66 49 70 64 69 |500:.330|0 \fIpdi|
|000036d0| 66 66 5c 66 52 20 33 35 | 30 30 09 2d 2d 2d 20 20 |ff\fR 35|00.--- |
|000036e0| 36 2e 30 36 0a 58 49 66 | 20 34 37 37 38 20 69 73 |6.06.XIf| 4778 is|
|000036f0| 20 31 30 30 25 2c 20 77 | 68 61 74 20 25 20 69 73 | 100%, w|hat % is|
|00003700| 20 32 33 38 39 3a 09 34 | 37 37 38 20 5c 66 49 70 | 2389:.4|778 \fIp|
|00003710| 76 65 72 73 75 73 5c 66 | 52 20 32 33 38 39 09 2d |versus\f|R 2389.-|
|00003720| 2d 2d 20 20 35 30 0a 58 | 57 68 61 74 20 69 73 20 |-- 50.X|What is |
|00003730| 37 35 25 20 6f 66 20 34 | 30 30 30 3a 09 37 35 20 |75% of 4|000:.75 |
|00003740| 5c 66 49 70 6f 66 5c 66 | 52 20 34 30 30 30 09 2d |\fIpof\f|R 4000.-|
|00003750| 2d 2d 20 20 33 30 30 30 | 0a 58 49 66 20 34 30 25 |-- 3000|.XIf 40%|
|00003760| 20 6f 66 20 61 20 73 75 | 6d 20 69 73 20 35 30 2c | of a su|m is 50,|
|00003770| 20 77 68 61 74 20 69 73 | 20 74 68 65 20 73 75 6d | what is| the sum|
|00003780| 3a 09 34 30 20 5c 66 49 | 70 65 71 75 61 6c 5c 66 |:.40 \fI|pequal\f|
|00003790| 52 20 35 30 09 2d 2d 2d | 20 20 31 32 35 0a 58 43 |R 50.---| 125.XC|
|000037a0| 6f 6e 76 65 72 74 20 31 | 32 32 35 20 69 6e 63 68 |onvert 1|225 inch|
|000037b0| 65 73 20 74 6f 20 63 65 | 6e 74 69 6d 65 74 65 72 |es to ce|ntimeter|
|000037c0| 73 3a 09 31 32 32 35 20 | 5c 66 49 74 6f 20 63 6d |s:.1225 |\fIto cm|
|000037d0| 5c 66 52 09 2d 2d 2d 20 | 20 33 31 31 31 2e 35 0a |\fR.--- | 3111.5.|
|000037e0| 58 2e 66 69 0a 58 2e 4c | 50 0a 58 54 68 65 20 5c |X.fi.X.L|P.XThe \|
|000037f0| 66 42 70 61 63 5c 66 52 | 20 74 6f 6b 65 6e 73 0a |fBpac\fR| tokens.|
|00003800| 58 5c 66 49 73 69 6e 5c | 66 52 28 78 29 2c 20 5c |X\fIsin\|fR(x), \|
|00003810| 66 49 63 6f 73 5c 66 52 | 28 78 29 2c 20 5c 66 49 |fIcos\fR|(x), \fI|
|00003820| 65 78 70 5c 66 52 28 78 | 29 2c 20 5c 66 49 6c 6f |exp\fR(x|), \fIlo|
|00003830| 67 5c 66 52 28 78 29 2c | 20 5c 66 49 61 72 63 74 |g\fR(x),| \fIarct|
|00003840| 5c 66 52 28 78 29 0a 58 | 61 72 65 20 75 73 65 64 |\fR(x).X|are used|
|00003850| 20 61 73 20 73 75 62 73 | 74 69 74 75 74 65 73 20 | as subs|titutes |
|00003860| 66 6f 72 20 74 68 65 20 | 5c 66 42 62 63 5c 66 52 |for the |\fBbc\fR|
|00003870| 0a 58 60 60 73 28 78 29 | 2c 20 63 28 78 29 2c 20 |.X``s(x)|, c(x), |
|00003880| 65 28 78 29 2c 20 6c 28 | 78 29 2c 20 61 28 78 29 |e(x), l(|x), a(x)|
|00003890| 27 27 20 66 75 6e 63 74 | 69 6f 6e 73 2c 20 72 65 |'' funct|ions, re|
|000038a0| 73 70 65 63 74 69 76 65 | 6c 79 2e 0a 58 49 6e 70 |spective|ly..XInp|
|000038b0| 75 74 20 76 61 6c 75 65 | 73 20 61 6e 64 20 72 65 |ut value|s and re|
|000038c0| 73 75 6c 74 73 20 61 72 | 65 20 72 61 64 69 61 6e |sults ar|e radian|
|000038d0| 73 2e 0a 58 2e 53 48 20 | 43 41 4c 43 55 4c 41 54 |s..X.SH |CALCULAT|
|000038e0| 4f 52 20 45 4e 56 49 52 | 4f 4e 4d 45 4e 54 0a 58 |OR ENVIR|ONMENT.X|
|000038f0| 45 6e 76 69 72 6f 6e 6d | 65 6e 74 20 63 6f 6e 74 |Environm|ent cont|
|00003900| 72 6f 6c 20 6f 70 65 72 | 61 74 6f 72 73 20 61 72 |rol oper|ators ar|
|00003910| 65 20 75 73 65 64 20 74 | 6f 20 63 75 73 74 6f 6d |e used t|o custom|
|00003920| 69 7a 65 0a 58 74 68 65 | 20 43 41 4c 43 55 4c 41 |ize.Xthe| CALCULA|
|00003930| 54 4f 52 20 74 6f 20 74 | 68 65 20 75 73 65 72 27 |TOR to t|he user'|
|00003940| 73 20 6c 69 6b 69 6e 67 | 2e 0a 58 41 73 20 77 69 |s liking|..XAs wi|
|00003950| 74 68 20 74 68 65 20 6f | 74 68 65 72 20 5c 66 42 |th the o|ther \fB|
|00003960| 70 61 63 5c 66 52 20 74 | 6f 6b 65 6e 73 2c 20 61 |pac\fR t|okens, a|
|00003970| 20 63 65 72 74 61 69 6e | 20 72 65 64 75 6e 64 61 | certain| redunda|
|00003980| 6e 63 79 20 69 73 20 61 | 70 70 61 72 65 6e 74 0a |ncy is a|pparent.|
|00003990| 58 69 6e 20 6e 61 6d 69 | 6e 67 20 74 68 65 20 76 |Xin nami|ng the v|
|000039a0| 61 72 69 61 62 6c 65 73 | 3a 20 74 77 6f 2d 63 68 |ariables|: two-ch|
|000039b0| 61 72 61 63 74 65 72 20 | 61 62 62 72 65 76 69 61 |aracter |abbrevia|
|000039c0| 74 69 6f 6e 73 20 61 72 | 65 0a 58 67 65 6e 65 72 |tions ar|e.Xgener|
|000039d0| 61 6c 6c 79 20 61 63 63 | 65 70 74 65 64 20 61 73 |ally acc|epted as|
|000039e0| 20 69 6e 70 75 74 20 74 | 6f 6b 65 6e 73 2e 0a 58 | input t|okens..X|
|000039f0| 2e 4c 50 0a 58 57 68 65 | 6e 20 65 78 69 74 69 6e |.LP.XWhe|n exitin|
|00003a00| 67 20 5c 66 42 70 61 63 | 5c 66 52 2c 20 61 6e 20 |g \fBpac|\fR, an |
|00003a10| 61 74 74 65 6d 70 74 20 | 69 73 20 6d 61 64 65 20 |attempt |is made |
|00003a20| 74 6f 0a 58 77 72 69 74 | 65 20 61 0a 58 60 60 2e |to.Xwrit|e a.X``.|
|00003a30| 70 61 63 72 63 27 27 20 | 66 69 6c 65 20 69 6e 20 |pacrc'' |file in |
|00003a40| 74 68 65 20 75 73 65 72 | 27 73 20 68 6f 6d 65 5c |the user|'s home\|
|00003a50| 66 52 20 64 69 72 65 63 | 74 6f 72 79 2c 20 75 6e |fR direc|tory, un|
|00003a60| 6c 65 73 73 20 74 68 65 | 0a 58 5c 66 49 64 6f 6e |less the|.X\fIdon|
|00003a70| 74 73 61 76 65 5c 66 52 | 20 63 6f 6d 6d 61 6e 64 |tsave\fR| command|
|00003a80| 20 65 78 70 72 65 73 73 | 6c 79 20 66 6f 72 62 69 | express|ly forbi|
|00003a90| 64 73 20 74 68 69 73 2e | 20 20 49 6e 20 74 68 65 |ds this.| In the|
|00003aa0| 20 2e 70 61 63 72 63 0a | 58 66 69 6c 65 2c 20 5c | .pacrc.|Xfile, \|
|00003ab0| 66 42 70 61 63 5c 66 52 | 20 6b 65 65 70 73 20 61 |fBpac\fR| keeps a|
|00003ac0| 20 72 65 63 6f 72 64 20 | 6f 66 20 74 68 65 20 63 | record |of the c|
|00003ad0| 75 72 72 65 6e 74 20 70 | 61 6e 65 6c 20 65 6e 76 |urrent p|anel env|
|00003ae0| 69 72 6f 6e 6d 65 6e 74 | 2e 20 20 54 68 65 0a 58 |ironment|. The.X|
|00003af0| 66 69 6c 65 20 61 6c 73 | 6f 20 63 6f 6e 74 61 69 |file als|o contai|
|00003b00| 6e 73 20 74 68 65 20 73 | 69 78 74 65 65 6e 20 73 |ns the s|ixteen s|
|00003b10| 74 61 63 6b 20 73 74 72 | 69 6e 67 73 2c 20 61 6e |tack str|ings, an|
|00003b20| 64 20 74 68 65 0a 58 75 | 70 2d 74 6f 2d 64 61 74 |d the.Xu|p-to-dat|
|00003b30| 65 20 60 60 75 6e 69 74 | 73 20 63 6f 6e 76 65 72 |e ``unit|s conver|
|00003b40| 73 69 6f 6e 73 20 6c 69 | 73 74 27 27 20 64 65 73 |sions li|st'' des|
|00003b50| 63 72 69 62 65 64 20 75 | 6e 64 65 72 0a 58 45 44 |cribed u|nder.XED|
|00003b60| 49 54 49 4e 47 20 54 48 | 45 20 43 4f 4e 56 45 52 |ITING TH|E CONVER|
|00003b70| 53 49 4f 4e 53 20 4c 49 | 53 54 2c 20 77 69 74 68 |SIONS LI|ST, with|
|00003b80| 20 61 6e 79 20 6d 6f 64 | 69 66 69 63 61 74 69 6f | any mod|ificatio|
|00003b90| 6e 73 0a 58 65 66 66 65 | 63 74 65 64 20 62 79 20 |ns.Xeffe|cted by |
|00003ba0| 74 68 65 20 75 73 65 72 | 2e 20 53 75 62 73 65 71 |the user|. Subseq|
|00003bb0| 75 65 6e 74 20 63 61 6c | 6c 73 20 74 6f 0a 58 5c |uent cal|ls to.X\|
|00003bc0| 66 42 70 61 63 5c 66 52 | 20 62 65 67 69 6e 20 62 |fBpac\fR| begin b|
|00003bd0| 79 20 72 65 61 64 69 6e | 67 20 61 6e 64 20 72 65 |y readin|g and re|
|00003be0| 73 65 74 74 69 6e 67 20 | 69 6e 74 65 72 6e 61 6c |setting |internal|
|00003bf0| 20 70 61 72 61 6d 65 74 | 65 72 73 0a 58 66 72 6f | paramet|ers.Xfro|
|00003c00| 6d 20 74 68 65 20 66 69 | 6c 65 20 64 61 74 61 2e |m the fi|le data.|
|00003c10| 0a 58 2e 4c 50 0a 58 54 | 6f 20 74 68 65 20 72 69 |.X.LP.XT|o the ri|
|00003c20| 67 68 74 20 6f 66 20 74 | 68 65 20 73 74 61 63 6b |ght of t|he stack|
|00003c30| 2c 20 74 68 65 20 6e 61 | 72 72 6f 77 65 72 20 47 |, the na|rrower G|
|00003c40| 4c 4f 42 41 4c 53 20 77 | 69 6e 64 6f 77 20 6c 69 |LOBALS w|indow li|
|00003c50| 73 74 73 20 74 68 65 0a | 58 65 6e 76 69 72 6f 6e |sts the.|Xenviron|
|00003c60| 6d 65 6e 74 20 63 6f 6e | 74 72 6f 6c 20 6f 70 65 |ment con|trol ope|
|00003c70| 72 61 74 6f 72 73 20 61 | 6e 64 20 74 68 65 69 72 |rators a|nd their|
|00003c80| 20 63 75 72 72 65 6e 74 | 20 76 61 6c 75 65 73 2e | current| values.|
|00003c90| 0a 58 54 68 65 20 73 74 | 61 74 65 2d 73 77 69 74 |.XThe st|ate-swit|
|00003ca0| 63 68 69 6e 67 20 5c 66 | 49 43 6f 6e 74 72 6f 6c |ching \f|IControl|
|00003cb0| 2d 47 5c 66 52 20 63 68 | 61 72 61 63 74 65 72 0a |-G\fR ch|aracter.|
|00003cc0| 58 6f 76 65 72 6c 61 79 | 73 20 74 68 65 20 47 4c |Xoverlay|s the GL|
|00003cd0| 4f 42 41 4c 53 20 77 69 | 6e 64 6f 77 20 77 69 74 |OBALS wi|ndow wit|
|00003ce0| 68 20 61 20 53 54 41 54 | 55 53 20 4f 50 54 49 4f |h a STAT|US OPTIO|
|00003cf0| 4e 53 20 77 69 6e 64 6f | 77 2c 20 77 68 69 63 68 |NS windo|w, which|
|00003d00| 0a 58 73 68 6f 77 73 20 | 74 68 65 20 61 62 62 72 |.Xshows |the abbr|
|00003d10| 65 76 69 61 74 65 64 20 | 6e 61 6d 65 20 6f 66 20 |eviated |name of |
|00003d20| 65 61 63 68 20 63 6f 6e | 74 72 6f 6c 20 6f 70 65 |each con|trol ope|
|00003d30| 72 61 74 6f 72 20 74 6f | 6b 65 6e 2c 20 66 6f 6c |rator to|ken, fol|
|00003d40| 6c 6f 77 65 64 0a 58 62 | 79 20 74 68 65 20 76 61 |lowed.Xb|y the va|
|00003d50| 6c 75 65 73 20 74 68 61 | 74 20 74 68 69 73 20 6f |lues tha|t this o|
|00003d60| 70 65 72 61 74 6f 72 20 | 6d 61 79 20 61 73 73 75 |perator |may assu|
|00003d70| 6d 65 2e 0a 58 41 20 73 | 65 63 6f 6e 64 20 5c 66 |me..XA s|econd \f|
|00003d80| 49 43 6f 6e 74 72 6f 6c | 2d 47 5c 66 52 20 74 6f |IControl|-G\fR to|
|00003d90| 67 67 6c 65 73 20 74 68 | 65 20 53 54 41 54 55 53 |ggles th|e STATUS|
|00003da0| 20 4f 50 54 49 4f 4e 53 | 0a 58 77 69 6e 64 6f 77 | OPTIONS|.Xwindow|
|00003db0| 20 64 69 73 70 6c 61 79 | 20 62 61 63 6b 20 74 6f | display| back to|
|00003dc0| 20 47 4c 4f 42 41 4c 53 | 2c 0a 58 75 6e 6c 65 73 | GLOBALS|,.Xunles|
|00003dd0| 73 20 74 68 65 20 65 78 | 65 63 75 74 69 6f 6e 20 |s the ex|ecution |
|00003de0| 6f 66 20 61 20 43 41 4c | 43 55 4c 41 54 4f 52 20 |of a CAL|CULATOR |
|00003df0| 73 74 72 69 6e 67 20 68 | 61 73 20 61 6c 72 65 61 |string h|as alrea|
|00003e00| 64 79 20 63 61 75 73 65 | 64 0a 58 74 68 65 20 72 |dy cause|d.Xthe r|
|00003e10| 65 2d 64 69 73 70 6c 61 | 79 20 6f 66 20 74 68 65 |e-displa|y of the|
|00003e20| 20 47 4c 4f 42 41 4c 53 | 20 77 69 6e 64 6f 77 2e | GLOBALS| window.|
|00003e30| 0a 58 2e 4c 50 0a 58 54 | 68 65 20 76 61 72 69 61 |.X.LP.XT|he varia|
|00003e40| 62 6c 65 73 20 5c 66 49 | 6a 75 73 74 69 66 79 5c |bles \fI|justify\|
|00003e50| 66 52 2c 20 5c 66 49 66 | 6f 72 6d 61 74 5c 66 52 |fR, \fIf|ormat\fR|
|00003e60| 2c 0a 58 5c 66 49 68 61 | 72 64 66 6f 72 6d 5c 66 |,.X\fIha|rdform\f|
|00003e70| 52 2c 20 61 6e 64 20 5c | 66 49 61 75 74 6f 74 69 |R, and \|fIautoti|
|00003e80| 6d 65 5c 66 52 0a 58 63 | 6f 6e 74 72 6f 6c 20 74 |me\fR.Xc|ontrol t|
|00003e90| 68 65 20 66 6f 72 6d 61 | 74 20 6f 66 20 74 68 65 |he forma|t of the|
|00003ea0| 20 5c 66 42 70 61 63 5c | 66 52 20 64 69 73 70 6c | \fBpac\|fR displ|
|00003eb0| 61 79 20 73 63 72 65 65 | 6e 2c 20 61 6e 64 20 63 |ay scree|n, and c|
|00003ec0| 6f 6e 74 72 6f 6c 0a 58 | 74 68 65 20 66 6f 72 6d |ontrol.X|the form|
|00003ed0| 61 74 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 72 |at of th|e file r|
|00003ee0| 65 63 6f 72 64 73 2e 0a | 58 54 68 65 20 63 6f 6d |ecords..|XThe com|
|00003ef0| 6d 61 6e 64 20 5c 66 49 | 6a 75 73 74 69 66 79 20 |mand \fI|justify |
|00003f00| 6c 65 66 74 5c 66 52 0a | 58 28 61 62 62 72 65 76 |left\fR.|X(abbrev|
|00003f10| 69 61 74 65 64 3a 20 5c | 66 49 6a 75 20 6c 65 5c |iated: \|fIju le\|
|00003f20| 66 52 29 20 69 6e 73 74 | 72 75 63 74 73 20 5c 66 |fR) inst|ructs \f|
|00003f30| 42 70 61 63 5c 66 52 0a | 58 74 6f 20 70 6f 73 69 |Bpac\fR.|Xto posi|
|00003f40| 74 69 6f 6e 20 74 68 65 | 20 6c 65 66 74 6d 6f 73 |tion the| leftmos|
|00003f50| 74 20 64 69 67 69 74 20 | 6f 66 20 74 68 65 0a 58 |t digit |of the.X|
|00003f60| 72 65 73 75 6c 74 20 69 | 6e 20 74 68 65 20 62 6f |result i|n the bo|
|00003f70| 74 74 6f 6d 20 6c 65 66 | 74 6d 6f 73 74 20 70 6f |ttom lef|tmost po|
|00003f80| 73 69 74 69 6f 6e 20 6f | 66 20 74 68 65 20 43 41 |sition o|f the CA|
|00003f90| 4c 43 55 4c 41 54 4f 52 | 20 77 69 6e 64 6f 77 2e |LCULATOR| window.|
|00003fa0| 0a 58 43 6f 6e 76 65 72 | 73 65 6c 79 2c 20 5c 66 |.XConver|sely, \f|
|00003fb0| 49 6a 75 73 74 69 66 79 | 20 72 69 67 68 74 5c 66 |Ijustify| right\f|
|00003fc0| 52 0a 58 28 61 62 62 72 | 65 76 69 61 74 65 64 3a |R.X(abbr|eviated:|
|00003fd0| 20 5c 66 49 6a 75 20 72 | 69 5c 66 52 29 20 73 70 | \fIju r|i\fR) sp|
|00003fe0| 65 63 69 66 69 65 73 20 | 74 68 61 74 20 74 68 65 |ecifies |that the|
|00003ff0| 20 72 69 67 68 74 6d 6f | 73 74 20 64 69 67 69 74 | rightmo|st digit|
|00004000| 20 6f 66 20 74 68 65 0a | 58 72 65 73 75 6c 74 20 | of the.|Xresult |
|00004010| 62 65 20 70 6c 61 63 65 | 64 20 69 6e 20 74 68 65 |be place|d in the|
|00004020| 20 62 6f 74 74 6f 6d 20 | 72 69 67 68 74 6d 6f 73 | bottom |rightmos|
|00004030| 74 0a 58 43 41 4c 43 55 | 4c 41 54 4f 52 20 77 69 |t.XCALCU|LATOR wi|
|00004040| 6e 64 6f 77 20 70 6f 73 | 69 74 69 6f 6e 2e 0a 58 |ndow pos|ition..X|
|00004050| 41 73 20 61 20 73 70 65 | 63 69 61 6c 20 63 61 73 |As a spe|cial cas|
|00004060| 65 20 6f 66 20 5c 66 49 | 6a 75 73 74 69 66 79 20 |e of \fI|justify |
|00004070| 72 69 67 68 74 5c 66 52 | 2c 0a 58 5c 66 49 6a 75 |right\fR|,.X\fIju|
|00004080| 73 74 69 66 79 20 66 69 | 78 5c 66 52 20 6f 75 74 |stify fi|x\fR out|
|00004090| 70 75 74 73 20 74 68 65 | 20 72 65 73 75 6c 74 0a |puts the| result.|
|000040a0| 58 69 6e 20 61 20 66 69 | 78 65 64 20 64 65 63 69 |Xin a fi|xed deci|
|000040b0| 6d 61 6c 20 70 6f 69 6e | 74 20 66 6f 72 6d 61 74 |mal poin|t format|
|000040c0| 2e 20 20 49 6e 20 66 69 | 78 65 64 0a 58 6a 75 73 |. In fi|xed.Xjus|
|000040d0| 74 69 66 69 63 61 74 69 | 6f 6e 2c 20 74 68 65 20 |tificati|on, the |
|000040e0| 6e 75 6d 62 65 72 20 6f | 66 20 64 69 67 69 74 73 |number o|f digits|
|000040f0| 20 64 69 73 70 6c 61 79 | 65 64 20 74 6f 0a 58 74 | display|ed to.Xt|
|00004100| 68 65 20 72 69 67 68 74 | 20 6f 66 20 74 68 65 20 |he right| of the |
|00004110| 64 65 63 69 6d 61 6c 20 | 70 6f 69 6e 74 20 69 73 |decimal |point is|
|00004120| 20 63 6f 6e 73 74 61 6e | 74 3a 20 74 68 65 20 76 | constan|t: the v|
|00004130| 61 6c 75 65 20 6f 66 20 | 74 68 65 0a 58 5c 66 49 |alue of |the.X\fI|
|00004140| 70 72 65 63 69 73 69 6f | 6e 5c 66 52 20 76 61 72 |precisio|n\fR var|
|00004150| 69 61 62 6c 65 20 28 30 | 20 74 68 72 6f 75 67 68 |iable (0| through|
|00004160| 20 33 32 29 2e 0a 58 54 | 68 65 20 5c 66 49 66 6f | 32)..XT|he \fIfo|
|00004170| 72 6d 61 74 20 73 70 61 | 63 65 5c 66 52 20 6f 72 |rmat spa|ce\fR or|
|00004180| 20 5c 66 49 66 6f 72 6d | 61 74 20 63 6f 6d 6d 61 | \fIform|at comma|
|00004190| 5c 66 52 0a 58 28 61 62 | 62 72 65 76 69 61 74 65 |\fR.X(ab|breviate|
|000041a0| 64 3a 20 5c 66 49 73 70 | 5c 66 52 20 61 6e 64 20 |d: \fIsp|\fR and |
|000041b0| 5c 66 49 63 6d 5c 66 52 | 29 0a 58 63 6f 6d 6d 61 |\fIcm\fR|).Xcomma|
|000041c0| 6e 64 20 73 70 65 63 69 | 66 69 65 73 20 74 68 61 |nd speci|fies tha|
|000041d0| 74 20 43 55 52 52 45 53 | 20 76 61 6c 75 65 73 20 |t CURRES| values |
|000041e0| 61 72 65 0a 58 74 6f 20 | 62 65 20 64 69 73 70 6c |are.Xto |be displ|
|000041f0| 61 79 65 64 20 77 69 74 | 68 20 73 70 61 63 65 73 |ayed wit|h spaces|
|00004200| 20 6f 72 20 63 6f 6d 6d | 61 73 20 72 65 73 70 65 | or comm|as respe|
|00004210| 63 74 69 76 65 6c 79 2c | 0a 58 62 65 74 77 65 65 |ctively,|.Xbetwee|
|00004220| 6e 20 67 72 6f 75 70 73 | 20 6f 66 20 64 69 67 69 |n groups| of digi|
|00004230| 74 73 3b 0a 58 74 68 69 | 73 20 6d 61 6b 65 73 20 |ts;.Xthi|s makes |
|00004240| 69 74 20 65 61 73 69 65 | 72 20 74 6f 20 72 65 61 |it easie|r to rea|
|00004250| 64 20 6c 6f 6e 67 20 73 | 74 72 69 6e 67 73 2e 0a |d long s|trings..|
|00004260| 58 2e 4c 50 0a 58 54 68 | 65 20 5c 66 49 68 61 72 |X.LP.XTh|e \fIhar|
|00004270| 64 66 6f 72 6d 5c 66 52 | 20 63 6f 6d 6d 61 6e 64 |dform\fR| command|
|00004280| 20 63 6f 6e 74 72 6f 6c | 73 20 74 68 65 20 66 6f | control|s the fo|
|00004290| 72 6d 61 74 20 6f 66 20 | 61 0a 58 72 65 63 6f 72 |rmat of |a.Xrecor|
|000042a0| 64 69 6e 67 20 66 69 6c | 65 20 77 68 69 63 68 20 |ding fil|e which |
|000042b0| 63 61 6e 20 62 65 20 6f | 70 65 6e 65 64 20 66 6f |can be o|pened fo|
|000042c0| 72 20 77 72 69 74 69 6e | 67 20 77 69 74 68 20 74 |r writin|g with t|
|000042d0| 68 65 20 5c 66 49 43 6f | 6e 74 72 6f 6c 2d 46 5c |he \fICo|ntrol-F\|
|000042e0| 66 52 0a 58 28 46 69 6c | 65 29 0a 58 63 68 61 72 |fR.X(Fil|e).Xchar|
|000042f0| 61 63 74 65 72 2c 20 6f | 72 20 66 6f 72 20 61 70 |acter, o|r for ap|
|00004300| 70 65 6e 64 69 6e 67 20 | 77 69 74 68 20 74 68 65 |pending |with the|
|00004310| 20 5c 66 49 43 6f 6e 74 | 72 6f 6c 2d 50 5c 66 52 | \fICont|rol-P\fR|
|00004320| 0a 58 28 50 6f 73 74 70 | 65 6e 64 29 0a 58 63 68 |.X(Postp|end).Xch|
|00004330| 61 72 61 63 74 65 72 2e | 20 20 54 68 65 20 75 73 |aracter.| The us|
|00004340| 65 72 20 69 73 20 70 72 | 6f 6d 70 74 65 64 20 66 |er is pr|ompted f|
|00004350| 6f 72 20 61 20 66 69 6c | 65 20 6e 61 6d 65 3b 20 |or a fil|e name; |
|00004360| 60 60 68 61 72 64 63 6f | 70 79 27 27 20 69 73 20 |``hardco|py'' is |
|00004370| 74 68 65 0a 58 64 65 66 | 61 75 6c 74 2e 20 20 48 |the.Xdef|ault. H|
|00004380| 61 76 69 6e 67 20 6f 70 | 65 6e 65 64 20 74 68 65 |aving op|ened the|
|00004390| 20 66 69 6c 65 2c 20 61 | 20 6e 65 77 0a 58 5c 66 | file, a| new.X\f|
|000043a0| 49 43 6f 6e 74 72 6f 6c | 2d 46 5c 66 52 20 6f 72 |IControl|-F\fR or|
|000043b0| 20 5c 66 49 43 6f 6e 74 | 72 6f 6c 2d 50 5c 66 52 | \fICont|rol-P\fR|
|000043c0| 20 77 69 6c 6c 20 63 6c | 6f 73 65 20 69 74 2c 20 | will cl|ose it, |
|000043d0| 6f 74 68 65 72 77 69 73 | 65 20 74 68 65 20 66 69 |otherwis|e the fi|
|000043e0| 6c 65 0a 58 77 69 6c 6c | 20 72 65 63 6f 72 64 20 |le.Xwill| record |
|000043f0| 63 61 6c 63 75 6c 61 74 | 6f 72 20 74 72 61 6e 73 |calculat|or trans|
|00004400| 61 63 74 69 6f 6e 73 20 | 75 6e 74 69 6c 20 74 68 |actions |until th|
|00004410| 65 20 65 78 69 74 20 66 | 72 6f 6d 20 5c 66 42 70 |e exit f|rom \fBp|
|00004420| 61 63 5c 66 52 2e 0a 58 | 54 68 65 20 63 6f 6d 6d |ac\fR..X|The comm|
|00004430| 61 6e 64 20 5c 66 49 68 | 61 72 64 66 6f 72 6d 20 |and \fIh|ardform |
|00004440| 76 65 72 62 6f 73 65 5c | 66 52 20 28 61 62 62 72 |verbose\|fR (abbr|
|00004450| 65 76 69 61 74 65 64 3a | 20 5c 66 49 76 65 72 5c |eviated:| \fIver\|
|00004460| 66 52 29 20 72 65 73 65 | 74 73 0a 58 74 6f 20 74 |fR) rese|ts.Xto t|
|00004470| 68 65 20 64 65 66 61 75 | 6c 74 20 66 69 6c 65 20 |he defau|lt file |
|00004480| 6f 75 74 70 75 74 20 66 | 6f 72 6d 61 74 2c 20 73 |output f|ormat, s|
|00004490| 61 76 69 6e 67 0a 58 62 | 6f 74 68 20 69 6e 70 75 |aving.Xb|oth inpu|
|000044a0| 74 20 61 6e 64 20 72 65 | 73 75 6c 74 73 2c 20 77 |t and re|sults, w|
|000044b0| 69 74 68 0a 58 72 65 63 | 6f 72 64 73 20 73 65 70 |ith.Xrec|ords sep|
|000044c0| 61 72 61 74 65 64 20 62 | 79 20 68 6f 72 69 7a 6f |arated b|y horizo|
|000044d0| 6e 74 61 6c 20 6c 69 6e | 65 73 20 6f 66 20 64 61 |ntal lin|es of da|
|000044e0| 73 68 65 73 2e 0a 58 54 | 68 65 20 63 6f 6d 6d 61 |shes..XT|he comma|
|000044f0| 6e 64 73 20 5c 66 49 68 | 61 72 64 66 6f 72 6d 20 |nds \fIh|ardform |
|00004500| 74 65 72 73 65 5c 66 52 | 0a 58 28 5c 66 49 74 65 |terse\fR|.X(\fIte|
|00004510| 5c 66 52 29 20 61 6e 64 | 20 5c 66 49 68 61 72 64 |\fR) and| \fIhard|
|00004520| 66 6f 72 6d 20 78 74 65 | 72 73 65 5c 66 52 20 28 |form xte|rse\fR (|
|00004530| 5c 66 49 78 74 5c 66 52 | 29 20 73 70 65 63 69 66 |\fIxt\fR|) specif|
|00004540| 79 0a 58 73 75 63 63 65 | 73 73 69 76 65 6c 79 20 |y.Xsucce|ssively |
|00004550| 64 65 6e 73 65 72 20 73 | 65 73 73 69 6f 6e 20 72 |denser s|ession r|
|00004560| 65 63 6f 72 64 69 6e 67 | 2e 0a 58 2e 4c 50 0a 58 |ecording|..X.LP.X|
|00004570| 54 68 65 20 63 6f 6d 6d | 61 6e 64 3a 20 5c 66 49 |The comm|and: \fI|
|00004580| 61 75 74 6f 63 6f 6e 76 | 5c 66 52 20 61 75 74 6f |autoconv|\fR auto|
|00004590| 6d 61 74 69 63 61 6c 6c | 79 20 61 70 70 6c 69 65 |maticall|y applie|
|000045a0| 73 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 0a 58 |s the se|lected.X|
|000045b0| 75 6e 69 74 20 63 6f 6e | 76 65 72 73 69 6f 6e 20 |unit con|version |
|000045c0| 66 6f 72 6d 75 6c 61 20 | 74 6f 20 65 61 63 68 20 |formula |to each |
|000045d0| 6e 65 77 20 65 76 61 6c | 75 61 74 69 6f 6e 20 28 |new eval|uation (|
|000045e0| 43 55 52 52 45 53 29 0a | 58 70 72 69 6f 72 20 74 |CURRES).|Xprior t|
|000045f0| 6f 20 64 69 73 70 6c 61 | 79 69 6e 67 20 74 68 65 |o displa|ying the|
|00004600| 20 72 65 73 75 6c 74 2e | 20 20 46 6f 72 20 65 78 | result.| For ex|
|00004610| 61 6d 70 6c 65 2c 20 61 | 20 6c 69 73 74 20 6f 66 |ample, a| list of|
|00004620| 20 64 6f 6c 6c 61 72 20 | 66 69 67 75 72 65 73 0a | dollar |figures.|
|00004630| 58 6d 61 79 20 62 65 20 | 63 6f 6e 76 65 72 74 65 |Xmay be |converte|
|00004640| 64 20 74 6f 20 70 6f 75 | 6e 64 73 20 6a 75 73 74 |d to pou|nds just|
|00004650| 20 62 79 20 65 6e 74 65 | 72 69 6e 67 20 65 61 63 | by ente|ring eac|
|00004660| 68 20 64 6f 6c 6c 61 72 | 20 76 61 6c 75 65 2e 0a |h dollar| value..|
|00004670| 58 2e 4c 50 0a 58 54 68 | 65 20 6d 61 63 72 6f 20 |X.LP.XTh|e macro |
|00004680| 63 6f 6d 6d 61 6e 64 3a | 20 5c 66 49 69 6e 69 74 |command:| \fIinit|
|00004690| 5c 66 52 20 72 65 73 65 | 74 73 20 74 68 65 20 66 |\fR rese|ts the f|
|000046a0| 6f 72 6d 61 74 2c 20 68 | 61 72 64 66 6f 72 6d 2c |ormat, h|ardform,|
|000046b0| 0a 58 69 62 61 73 65 2c | 20 6f 62 61 73 65 2c 20 |.Xibase,| obase, |
|000046c0| 6a 75 73 74 69 66 79 2c | 20 70 72 65 63 69 73 69 |justify,| precisi|
|000046d0| 6f 6e 2c 20 73 74 61 63 | 6b 2c 20 73 74 61 79 62 |on, stac|k, stayb|
|000046e0| 61 73 65 2c 20 61 6e 64 | 0a 58 61 75 74 6f 63 6f |ase, and|.Xautoco|
|000046f0| 6e 76 20 70 61 72 61 6d | 65 74 65 72 73 20 74 6f |nv param|eters to|
|00004700| 20 74 68 65 69 72 20 64 | 65 66 61 75 6c 74 20 76 | their d|efault v|
|00004710| 61 6c 75 65 73 2e 0a 58 | 2e 4c 50 0a 58 54 68 65 |alues..X|.LP.XThe|
|00004720| 20 73 70 65 63 69 61 6c | 20 63 6f 6d 62 69 6e 61 | special| combina|
|00004730| 74 69 6f 6e 20 5c 66 49 | 68 65 6c 70 20 5b 74 6f |tion \fI|help [to|
|00004740| 6b 65 6e 5d 5c 66 52 0a | 58 28 6f 72 20 69 74 73 |ken]\fR.|X(or its|
|00004750| 20 61 62 62 72 65 76 69 | 61 74 65 64 20 66 6f 72 | abbrevi|ated for|
|00004760| 6d 20 5c 66 49 3f 20 5b | 74 6f 6b 65 6e 5d 5c 66 |m \fI? [|token]\f|
|00004770| 52 29 0a 58 6f 76 65 72 | 6c 61 79 73 20 74 68 65 |R).Xover|lays the|
|00004780| 20 73 74 61 63 6b 20 61 | 72 65 61 20 77 69 74 68 | stack a|rea with|
|00004790| 20 61 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 74 68 | a porti|on of th|
|000047a0| 65 20 74 6f 6b 65 6e 20 | 6c 69 73 74 2c 0a 58 68 |e token |list,.Xh|
|000047b0| 69 67 68 6c 69 67 68 74 | 69 6e 67 20 74 68 65 20 |ighlight|ing the |
|000047c0| 73 65 6c 65 63 74 65 64 | 20 74 6f 6b 65 6e 2e 20 |selected| token. |
|000047d0| 20 54 6f 20 74 68 65 20 | 72 69 67 68 74 20 6f 66 | To the |right of|
|000047e0| 20 65 61 63 68 0a 58 74 | 6f 6b 65 6e 20 20 6f 66 | each.Xt|oken of|
|000047f0| 20 74 68 65 20 6c 69 73 | 74 2c 20 61 20 76 65 72 | the lis|t, a ver|
|00004800| 79 20 62 72 69 65 66 20 | 73 75 6d 6d 61 72 79 0a |y brief |summary.|
|00004810| 58 6f 66 20 74 68 65 20 | 74 6f 6b 65 6e 20 61 63 |Xof the |token ac|
|00004820| 74 69 6f 6e 20 69 73 20 | 70 72 69 6e 74 65 64 2e |tion is |printed.|
|00004830| 20 20 53 74 61 63 6b 20 | 64 69 73 70 6c 61 79 0a | Stack |display.|
|00004840| 58 72 65 73 75 6d 65 73 | 20 61 74 20 74 68 65 20 |Xresumes| at the |
|00004850| 66 69 72 73 74 20 73 75 | 62 73 65 71 75 65 6e 74 |first su|bsequent|
|00004860| 20 73 74 61 63 6b 20 61 | 63 74 69 76 69 74 79 2e | stack a|ctivity.|
|00004870| 0a 58 2e 53 48 20 41 53 | 43 49 49 20 43 4f 4e 56 |.X.SH AS|CII CONV|
|00004880| 45 52 53 49 4f 4e 53 0a | 58 44 69 72 65 63 74 6c |ERSIONS.|XDirectl|
|00004890| 79 20 74 6f 20 74 68 65 | 20 72 69 67 68 74 20 6f |y to the| right o|
|000048a0| 66 20 74 68 65 20 43 41 | 4c 43 55 4c 41 54 4f 52 |f the CA|LCULATOR|
|000048b0| 20 77 69 6e 64 6f 77 2c | 20 61 20 73 6d 61 6c 6c | window,| a small|
|000048c0| 20 72 65 63 74 61 6e 67 | 6c 65 0a 58 70 72 6f 76 | rectang|le.Xprov|
|000048d0| 69 64 65 73 20 69 6d 6d | 65 64 69 61 74 65 20 63 |ides imm|ediate c|
|000048e0| 6f 6e 76 65 72 73 69 6f | 6e 20 62 65 74 77 65 65 |onversio|n betwee|
|000048f0| 6e 20 41 53 43 49 49 20 | 63 68 61 72 61 63 74 65 |n ASCII |characte|
|00004900| 72 73 20 61 6e 64 20 74 | 68 65 69 72 0a 58 64 65 |rs and t|heir.Xde|
|00004910| 63 69 6d 61 6c 2c 20 6f | 63 74 61 6c 2c 20 6f 72 |cimal, o|ctal, or|
|00004920| 20 68 65 78 61 64 65 63 | 69 6d 61 6c 20 76 61 6c | hexadec|imal val|
|00004930| 75 65 73 2c 20 6f 6e 20 | 61 20 70 65 72 2d 63 68 |ues, on |a per-ch|
|00004940| 61 72 61 63 74 65 72 20 | 62 61 73 69 73 2e 0a 58 |aracter |basis..X|
|00004950| 54 68 65 20 77 69 6e 64 | 6f 77 20 69 73 20 74 69 |The wind|ow is ti|
|00004960| 74 6c 65 64 20 41 54 4f | 49 2c 20 61 6e 64 20 69 |tled ATO|I, and i|
|00004970| 6e 69 74 69 61 6c 6c 79 | 20 63 6f 6e 74 61 69 6e |nitially| contain|
|00004980| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing |
|00004990| 70 72 6f 6d 70 74 73 3a | 0a 58 2e 4c 50 0a 58 2e |prompts:|.X.LP.X.|
|000049a0| 52 53 0a 58 2e 6e 66 0a | 58 5e 20 41 20 20 61 73 |RS.X.nf.|X^ A as|
|000049b0| 63 0a 58 5e 20 44 20 20 | 64 65 63 0a 58 5e 20 4f |c.X^ D |dec.X^ O|
|000049c0| 20 20 6f 63 74 0a 58 5e | 20 58 20 20 68 65 78 0a | oct.X^| X hex.|
|000049d0| 58 2e 52 45 0a 58 2e 66 | 69 0a 58 2e 4c 50 0a 58 |X.RE.X.f|i.X.LP.X|
|000049e0| 54 68 65 20 63 68 61 72 | 61 63 74 65 72 73 20 70 |The char|acters p|
|000049f0| 72 65 63 65 64 65 64 20 | 62 79 20 74 68 65 20 63 |receded |by the c|
|00004a00| 61 72 65 74 20 5c 66 49 | 5e 5c 66 52 20 73 74 61 |aret \fI|^\fR sta|
|00004a10| 6e 64 20 66 6f 72 20 74 | 68 65 20 63 6f 6e 74 72 |nd for t|he contr|
|00004a20| 6f 6c 0a 58 63 68 61 72 | 61 63 74 65 72 73 20 77 |ol.Xchar|acters w|
|00004a30| 68 69 63 68 20 63 61 75 | 73 65 20 74 65 6d 70 6f |hich cau|se tempo|
|00004a40| 72 61 72 79 0a 58 74 72 | 61 6e 73 69 74 69 6f 6e |rary.Xtr|ansition|
|00004a50| 20 66 72 6f 6d 20 74 68 | 65 20 43 41 4c 43 55 4c | from th|e CALCUL|
|00004a60| 41 54 4f 52 20 73 74 61 | 74 65 0a 58 74 6f 20 74 |ATOR sta|te.Xto t|
|00004a70| 68 65 20 41 54 4f 49 20 | 77 69 6e 64 6f 77 2e 20 |he ATOI |window. |
|00004a80| 20 5c 66 49 43 6f 6e 74 | 72 6f 6c 2d 41 5c 66 52 | \fICont|rol-A\fR|
|00004a90| 20 70 72 6f 6d 70 74 73 | 20 74 68 65 20 75 73 65 | prompts| the use|
|00004aa0| 72 20 74 6f 20 65 6e 74 | 65 72 0a 58 61 6e 79 20 |r to ent|er.Xany |
|00004ab0| 63 68 61 72 61 63 74 65 | 72 20 6f 6e 20 74 68 65 |characte|r on the|
|00004ac0| 20 74 6f 70 20 6c 69 6e | 65 20 6f 66 20 74 68 65 | top lin|e of the|
|00004ad0| 20 41 54 4f 49 20 77 69 | 6e 64 6f 77 2c 0a 58 61 | ATOI wi|ndow,.Xa|
|00004ae0| 6e 64 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 20 64 |nd immed|iately d|
|00004af0| 69 73 70 6c 61 79 73 20 | 74 68 65 20 64 65 63 69 |isplays |the deci|
|00004b00| 6d 61 6c 2c 20 6f 63 74 | 61 6c 2c 0a 58 61 6e 64 |mal, oct|al,.Xand|
|00004b10| 20 68 65 78 20 65 71 75 | 69 76 61 6c 65 6e 74 73 | hex equ|ivalents|
|00004b20| 20 6f 66 20 74 68 69 73 | 20 63 68 61 72 61 63 74 | of this| charact|
|00004b30| 65 72 20 62 65 6e 65 61 | 74 68 20 74 68 65 20 69 |er benea|th the i|
|00004b40| 6e 70 75 74 2e 0a 58 43 | 6f 6e 74 65 78 74 20 74 |nput..XC|ontext t|
|00004b50| 68 65 6e 20 72 65 74 75 | 72 6e 73 20 74 6f 20 74 |hen retu|rns to t|
|00004b60| 68 65 20 43 41 4c 43 55 | 4c 41 54 4f 52 2e 0a 58 |he CALCU|LATOR..X|
|00004b70| 5c 66 49 43 6f 6e 74 72 | 6f 6c 2d 44 5c 66 52 20 |\fIContr|ol-D\fR |
|00004b80| 73 69 6d 69 6c 61 72 6c | 79 2c 20 70 72 6f 6d 70 |similarl|y, promp|
|00004b90| 74 73 20 66 6f 72 20 61 | 20 64 65 63 69 6d 61 6c |ts for a| decimal|
|00004ba0| 20 76 61 6c 75 65 0a 58 | 69 6e 20 74 68 65 20 74 | value.X|in the t|
|00004bb0| 6f 70 20 6c 69 6e 65 2c | 20 69 6e 20 74 68 65 20 |op line,| in the |
|00004bc0| 30 2d 31 32 37 20 72 61 | 6e 67 65 2e 20 20 46 6f |0-127 ra|nge. Fo|
|00004bd0| 6c 6c 6f 77 69 6e 67 20 | 61 20 5c 66 49 52 45 54 |llowing |a \fIRET|
|00004be0| 55 52 4e 5c 66 52 2c 0a | 58 74 68 65 20 41 53 43 |URN\fR,.|Xthe ASC|
|00004bf0| 49 49 20 65 71 75 69 76 | 61 6c 65 6e 74 20 6f 66 |II equiv|alent of|
|00004c00| 20 74 68 65 20 64 65 63 | 69 6d 61 6c 0a 58 76 61 | the dec|imal.Xva|
|00004c10| 6c 75 65 2c 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |lue, as |well as |
|00004c20| 74 68 65 20 6f 63 74 61 | 6c 20 61 6e 64 20 68 65 |the octa|l and he|
|00004c30| 78 61 64 65 63 69 6d 61 | 6c 20 76 65 72 73 69 6f |xadecima|l versio|
|00004c40| 6e 73 20 61 72 65 20 70 | 72 69 6e 74 65 64 2e 0a |ns are p|rinted..|
|00004c50| 58 5c 66 49 43 6f 6e 74 | 72 6f 6c 2d 4f 5c 66 52 |X\fICont|rol-O\fR|
|00004c60| 20 70 72 6f 6d 70 74 73 | 20 66 6f 72 20 61 6e 20 | prompts| for an |
|00004c70| 6f 63 74 61 6c 20 6e 75 | 6d 62 65 72 0a 58 62 65 |octal nu|mber.Xbe|
|00004c80| 74 77 65 65 6e 20 5c 5c | 30 30 30 20 61 6e 64 20 |tween \\|000 and |
|00004c90| 5c 5c 31 37 37 3b 20 5c | 66 49 43 6f 6e 74 72 6f |\\177; \|fIContro|
|00004ca0| 6c 2d 58 5c 66 52 0a 58 | 70 72 6f 6d 70 74 73 20 |l-X\fR.X|prompts |
|00004cb0| 66 6f 72 20 61 20 68 65 | 78 61 64 65 63 69 6d 61 |for a he|xadecima|
|00004cc0| 6c 20 76 61 6c 75 65 20 | 62 65 74 77 65 65 6e 20 |l value |between |
|00004cd0| 30 78 30 20 61 6e 64 20 | 30 78 37 66 2e 0a 58 56 |0x0 and |0x7f..XV|
|00004ce0| 61 6c 75 65 73 20 6f 75 | 74 20 6f 66 20 74 68 65 |alues ou|t of the|
|00004cf0| 0a 58 41 53 43 49 49 20 | 72 61 6e 67 65 20 61 72 |.XASCII |range ar|
|00004d00| 65 20 69 67 6e 6f 72 65 | 64 2c 20 61 6e 64 20 74 |e ignore|d, and t|
|00004d10| 68 65 20 63 75 72 73 6f | 72 20 73 74 61 79 73 20 |he curso|r stays |
|00004d20| 6f 6e 20 74 68 65 20 66 | 69 72 73 74 0a 58 6c 69 |on the f|irst.Xli|
|00004d30| 6e 65 20 6f 66 20 74 68 | 65 20 41 54 4f 49 20 77 |ne of th|e ATOI w|
|00004d40| 69 6e 64 6f 77 20 75 6e | 74 69 6c 20 61 20 6c 65 |indow un|til a le|
|00004d50| 67 61 6c 20 76 61 6c 75 | 65 20 69 73 20 73 65 6c |gal valu|e is sel|
|00004d60| 65 63 74 65 64 2e 0a 58 | 2e 53 48 20 41 4d 4f 52 |ected..X|.SH AMOR|
|00004d70| 54 49 5a 41 54 49 4f 4e | 0a 58 5c 66 49 43 6f 6e |TIZATION|.X\fICon|
|00004d80| 74 72 6f 6c 2d 4c 5c 66 | 52 20 28 4c 4f 41 4e 29 |trol-L\f|R (LOAN)|
|00004d90| 20 63 68 61 6e 67 65 73 | 20 63 6f 6e 74 65 78 74 | changes| context|
|00004da0| 20 61 6e 64 20 6d 6f 76 | 65 73 20 74 68 65 20 63 | and mov|es the c|
|00004db0| 75 72 73 6f 72 0a 58 74 | 6f 20 74 68 65 20 6c 6f |ursor.Xt|o the lo|
|00004dc0| 61 6e 20 61 6d 6f 72 74 | 69 7a 61 74 69 6f 6e 20 |an amort|ization |
|00004dd0| 77 69 6e 64 6f 77 20 62 | 65 6c 6f 77 20 41 54 4f |window b|elow ATO|
|00004de0| 49 2e 0a 58 41 20 73 65 | 63 6f 6e 64 20 5c 66 49 |I..XA se|cond \fI|
|00004df0| 43 6f 6e 74 72 6f 6c 2d | 4c 5c 66 52 20 72 65 74 |Control-|L\fR ret|
|00004e00| 75 72 6e 73 20 74 68 65 | 20 75 73 65 72 20 74 6f |urns the| user to|
|00004e10| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 63 6f | the pre|vious co|
|00004e20| 6e 74 65 78 74 2e 0a 58 | 54 68 65 20 74 6f 70 20 |ntext..X|The top |
|00004e30| 74 68 72 65 65 20 6c 69 | 6e 65 73 20 6f 66 20 74 |three li|nes of t|
|00004e40| 68 65 20 4c 4f 41 4e 20 | 77 69 6e 64 6f 77 20 61 |he LOAN |window a|
|00004e50| 72 65 20 6c 61 62 65 6c | 65 64 0a 58 60 60 41 4d |re label|ed.X``AM|
|00004e60| 54 27 27 2c 20 60 60 25 | 27 27 2c 20 61 6e 64 20 |T'', ``%|'', and |
|00004e70| 60 60 59 52 53 27 27 20 | 69 6e 20 74 68 65 20 69 |``YRS'' |in the i|
|00004e80| 6e 76 65 72 73 65 20 76 | 69 64 65 6f 20 62 6f 72 |nverse v|ideo bor|
|00004e90| 64 65 72 20 74 6f 20 74 | 68 65 0a 58 6c 65 66 74 |der to t|he.Xleft|
|00004ea0| 2e 20 20 54 68 65 20 75 | 73 65 72 20 69 73 20 65 |. The u|ser is e|
|00004eb0| 78 70 65 63 74 65 64 20 | 74 6f 20 69 6e 70 75 74 |xpected |to input|
|00004ec0| 20 61 20 64 65 63 69 6d | 61 6c 20 73 74 72 69 6e | a decim|al strin|
|00004ed0| 67 0a 58 61 73 20 74 68 | 65 20 60 60 6c 6f 61 6e |g.Xas th|e ``loan|
|00004ee0| 20 61 6d 6f 75 6e 74 27 | 27 20 28 70 72 69 6e 63 | amount'|' (princ|
|00004ef0| 69 70 61 6c 29 0a 58 6f | 6e 20 74 68 65 20 60 60 |ipal).Xo|n the ``|
|00004f00| 41 4d 54 27 27 20 6c 69 | 6e 65 2c 20 61 6e 20 61 |AMT'' li|ne, an a|
|00004f10| 6d 6f 72 74 69 7a 61 74 | 69 6f 6e 20 28 70 65 72 |mortizat|ion (per|
|00004f20| 63 65 6e 74 29 20 72 61 | 74 65 20 69 6e 20 74 68 |cent) ra|te in th|
|00004f30| 65 20 73 65 63 6f 6e 64 | 20 6c 69 6e 65 2c 0a 58 |e second| line,.X|
|00004f40| 61 6e 64 20 74 68 65 20 | 6c 69 66 65 20 74 65 72 |and the |life ter|
|00004f50| 6d 20 6f 66 20 74 68 65 | 20 6c 6f 61 6e 20 28 69 |m of the| loan (i|
|00004f60| 6e 20 79 65 61 72 73 29 | 20 6f 6e 20 74 68 65 20 |n years)| on the |
|00004f70| 74 68 69 72 64 20 6c 69 | 6e 65 2e 0a 58 55 70 20 |third li|ne..XUp |
|00004f80| 74 6f 20 74 77 6f 20 64 | 69 67 69 74 73 20 70 61 |to two d|igits pa|
|00004f90| 73 74 20 74 68 65 20 64 | 65 63 69 6d 61 6c 20 70 |st the d|ecimal p|
|00004fa0| 6f 69 6e 74 20 61 72 65 | 20 73 69 67 6e 69 66 69 |oint are| signifi|
|00004fb0| 63 61 6e 74 0a 58 66 6f | 72 20 62 6f 74 68 20 74 |cant.Xfo|r both t|
|00004fc0| 68 65 20 70 72 69 6e 63 | 69 70 61 6c 20 61 6e 64 |he princ|ipal and|
|00004fd0| 20 74 68 65 20 6c 69 66 | 65 20 74 65 72 6d 20 76 | the lif|e term v|
|00004fe0| 61 6c 75 65 73 2c 0a 58 | 74 68 72 65 65 20 64 69 |alues,.X|three di|
|00004ff0| 67 69 74 73 20 70 61 73 | 74 20 74 68 65 20 64 65 |gits pas|t the de|
|00005000| 63 69 6d 61 6c 20 70 6f | 69 6e 74 20 61 72 65 20 |cimal po|int are |
|00005010| 73 69 67 6e 69 66 69 63 | 61 6e 74 20 66 6f 72 0a |signific|ant for.|
|00005020| 58 74 68 65 20 70 65 72 | 63 65 6e 74 20 72 61 74 |Xthe per|cent rat|
|00005030| 65 2e 0a 58 2e 4c 50 0a | 58 57 68 65 6e 20 61 6c |e..X.LP.|XWhen al|
|00005040| 6c 0a 58 74 68 72 65 65 | 20 6c 69 6e 65 73 20 63 |l.Xthree| lines c|
|00005050| 6f 6e 74 61 69 6e 20 6e | 6f 6e 2d 7a 65 72 6f 20 |ontain n|on-zero |
|00005060| 76 61 6c 75 65 73 2c 20 | 74 68 65 20 6d 6f 6e 74 |values, |the mont|
|00005070| 68 6c 79 20 70 61 79 6d | 65 6e 74 20 6f 6e 20 74 |hly paym|ent on t|
|00005080| 68 65 20 70 72 6f 70 6f | 73 65 64 0a 58 6c 6f 61 |he propo|sed.Xloa|
|00005090| 6e 20 69 73 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |n is imm|ediately|
|000050a0| 20 64 69 73 70 6c 61 79 | 65 64 20 69 6e 20 74 68 | display|ed in th|
|000050b0| 65 20 66 6f 75 72 74 68 | 20 6c 69 6e 65 20 6f 66 |e fourth| line of|
|000050c0| 20 74 68 65 20 77 69 6e | 64 6f 77 2c 20 61 6e 64 | the win|dow, and|
|000050d0| 20 74 68 65 0a 58 63 75 | 72 73 6f 72 20 77 72 61 | the.Xcu|rsor wra|
|000050e0| 70 73 20 62 61 63 6b 20 | 74 6f 20 74 68 65 20 66 |ps back |to the f|
|000050f0| 69 72 73 74 20 6c 69 6e | 65 2e 20 20 54 68 65 20 |irst lin|e. The |
|00005100| 75 73 65 72 20 63 61 6e | 20 6e 6f 77 0a 58 72 65 |user can| now.Xre|
|00005110| 70 65 61 74 65 64 6c 79 | 20 61 64 6a 75 73 74 20 |peatedly| adjust |
|00005120| 74 68 65 20 61 6d 6f 75 | 6e 74 2c 20 72 61 74 65 |the amou|nt, rate|
|00005130| 2c 20 6f 72 20 74 65 72 | 6d 20 76 61 6c 75 65 73 |, or ter|m values|
|00005140| 20 69 6e 20 61 6e 20 69 | 6e 66 69 6e 69 74 65 20 | in an i|nfinite |
|00005150| 6c 6f 6f 70 2c 0a 58 62 | 79 20 73 69 6d 70 6c 79 |loop,.Xb|y simply|
|00005160| 0a 58 74 79 70 69 6e 67 | 20 6f 76 65 72 20 74 68 |.Xtyping| over th|
|00005170| 65 20 6f 6c 64 20 76 61 | 6c 75 65 73 2e 20 20 45 |e old va|lues. E|
|00005180| 61 63 68 20 63 68 61 6e | 67 65 20 63 61 75 73 65 |ach chan|ge cause|
|00005190| 73 20 61 6e 20 69 6d 6d | 65 64 69 61 74 65 20 75 |s an imm|ediate u|
|000051a0| 70 64 61 74 65 20 6f 66 | 0a 58 74 68 65 20 6d 6f |pdate of|.Xthe mo|
|000051b0| 6e 74 68 6c 79 20 70 61 | 79 6d 65 6e 74 20 66 69 |nthly pa|yment fi|
|000051c0| 67 75 72 65 2e 0a 58 2e | 4c 50 0a 58 54 6f 20 64 |gure..X.|LP.XTo d|
|000051d0| 75 6d 70 20 74 68 65 20 | 61 63 74 75 61 6c 20 6d |ump the |actual m|
|000051e0| 6f 6e 74 68 6c 79 20 61 | 6d 6f 72 74 69 7a 61 74 |onthly a|mortizat|
|000051f0| 69 6f 6e 20 73 63 68 65 | 64 75 6c 65 20 74 6f 20 |ion sche|dule to |
|00005200| 61 20 66 69 6c 65 2c 0a | 58 5c 66 49 43 6f 6e 74 |a file,.|X\fICont|
|00005210| 72 6f 6c 2d 42 5c 66 52 | 0a 58 6d 6f 76 65 73 20 |rol-B\fR|.Xmoves |
|00005220| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 74 68 |the curs|or to th|
|00005230| 65 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 74 |e last l|ine of t|
|00005240| 68 65 20 4c 4f 41 4e 20 | 77 69 6e 64 6f 77 2c 20 |he LOAN |window, |
|00005250| 77 68 65 72 65 20 74 68 | 65 0a 58 6d 6f 6e 74 68 |where th|e.Xmonth|
|00005260| 2f 79 65 61 72 20 64 61 | 74 65 20 6f 66 20 74 68 |/year da|te of th|
|00005270| 65 20 66 69 72 73 74 20 | 70 61 79 6d 65 6e 74 20 |e first |payment |
|00005280| 69 73 20 65 6e 74 65 72 | 65 64 3b 20 74 68 65 6e |is enter|ed; then|
|00005290| 20 74 68 65 20 75 73 65 | 72 20 69 73 0a 58 70 72 | the use|r is.Xpr|
|000052a0| 6f 6d 70 74 65 64 20 66 | 6f 72 20 61 20 66 69 6c |ompted f|or a fil|
|000052b0| 65 20 6e 61 6d 65 20 6f | 6e 20 74 68 65 20 62 6f |e name o|n the bo|
|000052c0| 74 74 6f 6d 20 6f 66 20 | 74 68 65 20 73 63 72 65 |ttom of |the scre|
|000052d0| 65 6e 2e 20 20 54 68 65 | 20 61 6d 6f 72 74 69 7a |en. The| amortiz|
|000052e0| 61 74 69 6f 6e 0a 58 66 | 69 6c 65 20 63 72 65 61 |ation.Xf|ile crea|
|000052f0| 74 69 6f 6e 20 69 6e 76 | 6f 6c 76 65 73 20 73 75 |tion inv|olves su|
|00005300| 62 73 74 61 6e 74 69 61 | 6c 20 66 6c 6f 61 74 69 |bstantia|l floati|
|00005310| 6e 67 20 70 6f 69 6e 74 | 20 6d 61 74 68 20 61 6e |ng point| math an|
|00005320| 64 20 73 74 72 69 6e 67 | 0a 58 66 6f 72 6d 61 74 |d string|.Xformat|
|00005330| 74 69 6e 67 2c 20 61 6e | 64 20 74 61 6b 65 73 20 |ting, an|d takes |
|00005340| 61 20 66 65 77 20 73 65 | 63 6f 6e 64 73 20 74 6f |a few se|conds to|
|00005350| 20 63 6f 6d 70 6c 65 74 | 65 2e 0a 58 2e 4c 50 0a | complet|e..X.LP.|
|00005360| 58 54 68 65 20 61 75 74 | 68 6f 72 20 68 61 73 20 |XThe aut|hor has |
|00005370| 67 6c 65 61 6e 65 64 20 | 74 68 65 20 61 6d 6f 72 |gleaned |the amor|
|00005380| 74 69 7a 61 74 69 6f 6e | 20 61 6c 67 6f 72 69 74 |tization| algorit|
|00005390| 68 6d 20 66 72 6f 6d 0a | 58 65 78 61 6d 69 6e 69 |hm from.|Xexamini|
|000053a0| 6e 67 20 61 63 74 75 61 | 6c 20 62 61 6e 6b 20 6c |ng actua|l bank l|
|000053b0| 6f 61 6e 20 70 72 69 6e | 74 6f 75 74 73 2e 0a 58 |oan prin|touts..X|
|000053c0| 57 68 69 6c 65 20 74 68 | 65 20 5c 66 42 70 61 63 |While th|e \fBpac|
|000053d0| 5c 66 52 20 6d 65 74 68 | 6f 64 20 64 75 70 6c 69 |\fR meth|od dupli|
|000053e0| 63 61 74 65 73 0a 58 74 | 68 65 20 62 61 6e 6b 20 |cates.Xt|he bank |
|000053f0| 73 61 6d 70 6c 65 73 20 | 65 78 61 63 74 6c 79 2c |samples |exactly,|
|00005400| 20 64 69 66 66 65 72 65 | 6e 74 20 6d 65 74 68 6f | differe|nt metho|
|00005410| 64 73 20 6f 66 20 72 6f | 75 6e 64 69 6e 67 0a 58 |ds of ro|unding.X|
|00005420| 6d 61 79 20 70 6f 73 73 | 69 62 6c 79 20 62 65 20 |may poss|ibly be |
|00005430| 65 6d 70 6c 6f 79 65 64 | 20 62 79 20 6f 74 68 65 |employed| by othe|
|00005440| 72 20 6c 65 6e 64 69 6e | 67 20 69 6e 73 74 69 74 |r lendin|g instit|
|00005450| 75 74 69 6f 6e 73 2c 20 | 72 65 73 75 6c 74 69 6e |utions, |resultin|
|00005460| 67 20 69 6e 0a 58 6d 69 | 6e 6f 72 20 64 69 73 63 |g in.Xmi|nor disc|
|00005470| 72 65 70 61 6e 63 69 65 | 73 20 62 65 74 77 65 65 |repancie|s betwee|
|00005480| 6e 20 74 68 65 20 74 77 | 6f 20 73 65 74 73 20 6f |n the tw|o sets o|
|00005490| 66 20 66 69 67 75 72 65 | 73 2e 0a 58 2e 53 48 20 |f figure|s..X.SH |
|000054a0| 43 48 45 43 4b 42 4f 4f | 4b 20 42 41 4c 41 4e 43 |CHECKBOO|K BALANC|
|000054b0| 45 52 0a 58 43 61 73 68 | 69 65 72 27 73 20 6c 69 |ER.XCash|ier's li|
|000054c0| 73 74 73 2c 20 63 68 65 | 63 6b 62 6f 6f 6b 20 74 |sts, che|ckbook t|
|000054d0| 61 6c 6c 69 65 73 2c 20 | 73 63 6f 72 65 20 6b 65 |allies, |score ke|
|000054e0| 65 70 69 6e 67 2c 20 61 | 6e 64 0a 58 61 20 6e 75 |eping, a|nd.Xa nu|
|000054f0| 6d 62 65 72 20 6f 66 20 | 62 6f 6f 6b 20 6b 65 65 |mber of |book kee|
|00005500| 70 69 6e 67 20 61 63 74 | 69 76 69 74 69 65 73 20 |ping act|ivities |
|00005510| 69 6e 76 6f 6c 76 65 20 | 65 6e 74 65 72 69 6e 67 |involve |entering|
|00005520| 20 61 6e 64 20 73 75 6d | 6d 69 6e 67 0a 58 76 61 | and sum|ming.Xva|
|00005530| 6c 75 65 73 20 69 6e 20 | 63 6f 6c 75 6d 6e 61 72 |lues in |columnar|
|00005540| 20 66 6f 72 6d 61 74 2e | 0a 58 5c 66 49 43 6f 6e | format.|.X\fICon|
|00005550| 74 72 6f 6c 2d 54 5c 66 | 52 20 73 77 69 74 63 68 |trol-T\f|R switch|
|00005560| 65 73 20 5c 66 42 70 61 | 63 5c 66 52 20 74 6f 20 |es \fBpa|c\fR to |
|00005570| 74 68 65 20 54 4f 54 41 | 4c 20 77 69 6e 64 6f 77 |the TOTA|L window|
|00005580| 0a 58 64 69 72 65 63 74 | 6c 79 20 6f 76 65 72 6c |.Xdirect|ly overl|
|00005590| 61 79 69 6e 67 20 74 68 | 65 20 43 4f 4e 56 45 52 |aying th|e CONVER|
|000055a0| 53 49 4f 4e 53 20 6c 69 | 73 74 2e 0a 58 49 6e 69 |SIONS li|st..XIni|
|000055b0| 74 69 61 6c 6c 79 2c 20 | 74 68 65 20 54 4f 54 41 |tially, |the TOTA|
|000055c0| 4c 20 77 69 6e 64 6f 77 | 20 63 6f 6e 73 69 73 74 |L window| consist|
|000055d0| 73 20 6f 66 20 31 39 20 | 6c 69 6e 65 73 0a 58 6f |s of 19 |lines.Xo|
|000055e0| 66 20 7a 65 72 6f 20 76 | 61 6c 75 65 73 2c 20 61 |f zero v|alues, a|
|000055f0| 6e 64 20 61 20 62 6f 74 | 74 6f 6d 20 60 60 74 6f |nd a bot|tom ``to|
|00005600| 74 61 6c 27 27 20 6c 69 | 6e 65 2e 0a 58 54 68 65 |tal'' li|ne..XThe|
|00005610| 20 6c 69 6e 65 73 20 61 | 72 65 20 6c 61 62 65 6c | lines a|re label|
|00005620| 65 64 20 69 6e 20 74 68 | 65 0a 58 72 69 67 68 74 |ed in th|e.Xright|
|00005630| 20 69 6e 76 65 72 73 65 | 20 76 69 64 65 6f 20 62 | inverse| video b|
|00005640| 6f 72 64 65 72 20 62 79 | 20 74 68 65 20 6c 6f 77 |order by| the low|
|00005650| 65 72 20 63 61 73 65 20 | 6c 65 74 74 65 72 73 20 |er case |letters |
|00005660| 5c 66 49 61 5c 66 52 20 | 74 68 72 6f 75 67 68 0a |\fIa\fR |through.|
|00005670| 58 5c 66 49 73 5c 66 52 | 2c 20 61 6e 64 20 74 68 |X\fIs\fR|, and th|
|00005680| 65 20 60 60 74 6f 74 61 | 6c 27 27 0a 58 6c 69 6e |e ``tota|l''.Xlin|
|00005690| 65 20 69 73 20 6c 61 62 | 65 6c 65 64 20 62 79 20 |e is lab|eled by |
|000056a0| 5c 66 49 74 5c 66 52 2e | 20 20 41 73 20 74 68 65 |\fIt\fR.| As the|
|000056b0| 0a 58 75 73 65 72 20 74 | 79 70 65 73 20 69 6e 20 |.Xuser t|ypes in |
|000056c0| 64 65 63 69 6d 61 6c 20 | 76 61 6c 75 65 73 20 28 |decimal |values (|
|000056d0| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 5c 66 49 52 |followed| by \fIR|
|000056e0| 45 54 55 52 4e 5c 66 52 | 29 0a 58 74 68 65 20 63 |ETURN\fR|).Xthe c|
|000056f0| 75 72 73 6f 72 20 61 64 | 76 61 6e 63 65 73 20 74 |ursor ad|vances t|
|00005700| 6f 20 74 68 65 20 6e 65 | 78 74 20 6c 6f 77 65 72 |o the ne|xt lower|
|00005710| 20 6c 69 6e 65 2c 20 61 | 6e 64 20 74 68 65 20 65 | line, a|nd the e|
|00005720| 6e 74 65 72 65 64 20 76 | 61 6c 75 65 73 20 61 72 |ntered v|alues ar|
|00005730| 65 0a 58 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |e.Xautom|atically|
|00005740| 20 73 75 6d 6d 65 64 20 | 74 6f 20 60 60 74 6f 74 | summed |to ``tot|
|00005750| 61 6c 27 27 2e 0a 58 2e | 4c 50 0a 58 41 74 20 65 |al''..X.|LP.XAt e|
|00005760| 61 63 68 20 5c 66 49 52 | 45 54 55 52 4e 5c 66 52 |ach \fIR|ETURN\fR|
|00005770| 2c 20 74 68 65 20 6d 6f | 73 74 20 72 65 63 65 6e |, the mo|st recen|
|00005780| 74 6c 79 20 74 79 70 65 | 64 20 76 61 6c 75 65 20 |tly type|d value |
|00005790| 69 73 20 72 65 2d 66 6f | 72 6d 61 74 74 65 64 0a |is re-fo|rmatted.|
|000057a0| 58 72 69 67 68 74 20 6a | 75 73 74 69 66 69 65 64 |Xright j|ustified|
|000057b0| 2c 20 77 69 74 68 20 74 | 68 65 20 6e 75 6d 62 65 |, with t|he numbe|
|000057c0| 72 20 6f 66 20 66 72 61 | 63 74 69 6f 6e 61 6c 20 |r of fra|ctional |
|000057d0| 64 69 67 69 74 73 0a 58 | 64 69 63 74 61 74 65 64 |digits.X|dictated|
|000057e0| 20 62 79 20 74 68 65 20 | 75 73 65 72 20 65 6e 76 | by the |user env|
|000057f0| 69 72 6f 6e 6d 65 6e 74 | 27 0a 58 70 72 65 63 69 |ironment|'.Xpreci|
|00005800| 73 69 6f 6e 20 76 61 6c | 75 65 2e 20 20 4e 65 67 |sion val|ue. Neg|
|00005810| 61 74 69 76 65 20 76 61 | 6c 75 65 73 0a 58 61 72 |ative va|lues.Xar|
|00005820| 65 20 73 75 62 74 72 61 | 63 74 65 64 20 66 72 6f |e subtra|cted fro|
|00005830| 6d 20 74 68 65 20 74 6f | 74 61 6c 2e 20 20 54 68 |m the to|tal. Th|
|00005840| 65 20 6c 69 6e 65 20 6d | 61 79 20 61 6c 73 6f 0a |e line m|ay also.|
|00005850| 58 63 6f 6e 74 61 69 6e | 20 61 20 73 69 6e 67 6c |Xcontain| a singl|
|00005860| 65 20 5c 66 49 2a 5c 66 | 52 20 6f 72 20 5c 66 49 |e \fI*\f|R or \fI|
|00005870| 40 5c 66 52 20 63 68 61 | 72 61 63 74 65 72 2c 20 |@\fR cha|racter, |
|00005880| 74 6f 20 65 66 66 65 63 | 74 0a 58 70 72 69 63 65 |to effec|t.Xprice|
|00005890| 20 6d 75 6c 74 69 70 6c | 69 63 61 74 69 6f 6e 20 | multipl|ication |
|000058a0| 62 79 20 69 74 65 6d 20 | 63 6f 75 6e 74 2e 20 20 |by item |count. |
|000058b0| 41 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 2c 20 60 |As an ex|ample, `|
|000058c0| 60 36 34 20 40 20 39 2e | 31 37 27 27 0a 58 69 73 |`64 @ 9.|17''.Xis|
|000058d0| 20 69 6d 6d 65 64 69 61 | 74 65 6c 79 20 63 6f 6e | immedia|tely con|
|000058e0| 76 65 72 74 65 64 20 74 | 6f 20 60 60 35 38 36 2e |verted t|o ``586.|
|000058f0| 38 38 27 27 2e 0a 58 2e | 4c 50 0a 58 57 68 65 6e |88''..X.|LP.XWhen|
|00005900| 20 6e 69 6e 65 74 65 65 | 6e 20 69 74 65 6d 73 20 | ninetee|n items |
|00005910| 68 61 76 65 20 61 6c 72 | 65 61 64 79 20 62 65 65 |have alr|eady bee|
|00005920| 6e 20 65 6e 74 65 72 65 | 64 20 61 6e 64 20 74 68 |n entere|d and th|
|00005930| 65 20 63 75 72 73 6f 72 | 20 69 73 0a 58 69 6e 20 |e cursor| is.Xin |
|00005940| 6c 69 6e 65 20 5c 66 49 | 73 5c 66 52 2c 20 74 68 |line \fI|s\fR, th|
|00005950| 65 20 69 6e 70 75 74 20 | 77 69 6e 64 6f 77 20 77 |e input |window w|
|00005960| 69 70 65 73 0a 58 69 74 | 73 65 6c 66 20 63 6c 65 |ipes.Xit|self cle|
|00005970| 61 6e 20 61 6e 64 20 63 | 6f 70 69 65 73 20 74 68 |an and c|opies th|
|00005980| 65 20 63 75 72 72 65 6e | 74 20 74 6f 74 61 6c 0a |e curren|t total.|
|00005990| 58 74 6f 20 74 68 65 20 | 74 6f 70 20 6c 69 6e 65 |Xto the |top line|
|000059a0| 2e 20 20 54 68 65 20 63 | 75 72 73 6f 72 20 69 73 |. The c|ursor is|
|000059b0| 20 74 68 65 6e 20 70 6f | 73 69 74 69 6f 6e 65 64 | then po|sitioned|
|000059c0| 20 61 74 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | at the |beginnin|
|000059d0| 67 20 6f 66 20 74 68 65 | 0a 58 73 65 63 6f 6e 64 |g of the|.Xsecond|
|000059e0| 20 6c 69 6e 65 2c 20 61 | 6e 64 20 74 68 65 20 65 | line, a|nd the e|
|000059f0| 6e 74 72 79 20 70 72 6f | 63 65 73 73 20 63 61 6e |ntry pro|cess can|
|00005a00| 20 63 6f 6e 74 69 6e 75 | 65 20 69 6e 64 65 66 69 | continu|e indefi|
|00005a10| 6e 69 74 65 6c 79 2e 20 | 20 49 74 20 69 73 0a 58 |nitely. | It is.X|
|00005a20| 63 6f 6e 76 65 6e 69 65 | 6e 74 20 74 6f 20 72 65 |convenie|nt to re|
|00005a30| 66 65 72 20 74 6f 20 74 | 68 69 73 20 70 61 67 69 |fer to t|his pagi|
|00005a40| 6e 67 0a 58 65 76 65 6e | 74 20 61 73 20 61 20 60 |ng.Xeven|t as a `|
|00005a50| 60 73 75 62 74 6f 74 61 | 6c 27 27 2e 20 20 41 74 |`subtota|l''. At|
|00005a60| 20 73 75 62 74 6f 74 61 | 6c 2c 0a 58 61 73 20 77 | subtota|l,.Xas w|
|00005a70| 65 6c 6c 20 61 73 20 61 | 74 20 74 68 65 20 65 78 |ell as a|t the ex|
|00005a80| 69 74 20 66 72 6f 6d 20 | 74 68 65 20 54 4f 54 41 |it from |the TOTA|
|00005a90| 4c 20 66 75 6e 63 74 69 | 6f 6e 2c 0a 58 74 68 65 |L functi|on,.Xthe|
|00005aa0| 20 63 75 72 72 65 6e 74 | 20 74 6f 74 61 6c 20 69 | current| total i|
|00005ab0| 73 20 70 75 73 68 65 64 | 20 69 6e 74 6f 20 73 74 |s pushed| into st|
|00005ac0| 61 63 6b 20 63 65 6c 6c | 20 5c 66 49 68 5c 66 52 |ack cell| \fIh\fR|
|00005ad0| 20 28 74 68 65 20 74 6f | 70 0a 58 76 69 73 69 62 | (the to|p.Xvisib|
|00005ae0| 6c 65 20 65 6c 65 6d 65 | 6e 74 20 6f 66 20 74 68 |le eleme|nt of th|
|00005af0| 65 20 75 73 65 72 20 73 | 74 61 63 6b 20 6f 6e 20 |e user s|tack on |
|00005b00| 74 68 65 20 6c 65 66 74 | 20 73 69 64 65 29 2e 20 |the left| side). |
|00005b10| 20 49 66 20 74 68 65 20 | 75 73 65 72 20 73 74 61 | If the |user sta|
|00005b20| 63 6b 0a 58 69 73 20 5c | 66 49 6f 6e 5c 66 52 2c |ck.Xis \|fIon\fR,|
|00005b30| 20 69 74 73 20 65 6c 65 | 6d 65 6e 74 73 20 61 72 | its ele|ments ar|
|00005b40| 65 20 73 68 69 66 74 65 | 64 20 64 6f 77 6e 20 6f |e shifte|d down o|
|00005b50| 6e 65 20 6c 69 6e 65 2c | 20 70 6f 74 65 6e 74 69 |ne line,| potenti|
|00005b60| 61 6c 6c 79 0a 58 72 65 | 74 61 69 6e 69 6e 67 20 |ally.Xre|taining |
|00005b70| 61 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 73 75 |a sequen|ce of su|
|00005b80| 62 74 6f 74 61 6c 20 76 | 61 6c 75 65 73 2e 20 20 |btotal v|alues. |
|00005b90| 54 68 65 20 63 61 6c 63 | 75 6c 61 74 6f 72 0a 58 |The calc|ulator.X|
|00005ba0| 43 55 52 52 45 53 20 76 | 61 6c 75 65 0a 58 69 73 |CURRES v|alue.Xis|
|00005bb0| 20 6e 6f 74 20 61 66 66 | 65 63 74 65 64 20 62 79 | not aff|ected by|
|00005bc0| 20 73 75 62 74 6f 74 61 | 6c 73 3b 20 74 68 65 20 | subtota|ls; the |
|00005bd0| 75 73 65 72 20 6d 75 73 | 74 20 65 78 70 6c 69 63 |user mus|t explic|
|00005be0| 69 74 6c 79 20 72 65 66 | 65 72 65 6e 63 65 20 74 |itly ref|erence t|
|00005bf0| 68 65 0a 58 61 70 70 72 | 6f 70 72 69 61 74 65 20 |he.Xappr|opriate |
|00005c00| 73 74 61 63 6b 20 63 65 | 6c 6c 73 20 74 6f 20 74 |stack ce|lls to t|
|00005c10| 72 61 6e 73 66 65 72 20 | 76 61 6c 75 65 73 20 74 |ransfer |values t|
|00005c20| 6f 20 74 68 65 0a 58 43 | 41 4c 43 55 4c 41 54 4f |o the.XC|ALCULATO|
|00005c30| 52 20 77 69 6e 64 6f 77 | 20 66 6f 72 20 69 6e 70 |R window| for inp|
|00005c40| 75 74 2e 0a 58 2e 4c 50 | 0a 58 53 69 6d 69 6c 61 |ut..X.LP|.XSimila|
|00005c50| 72 6c 79 20 74 6f 20 74 | 68 65 20 60 60 68 61 72 |rly to t|he ``har|
|00005c60| 64 63 6f 70 79 27 27 0a | 58 66 69 6c 65 20 75 73 |dcopy''.|Xfile us|
|00005c70| 65 64 20 66 6f 72 20 6b | 65 65 70 69 6e 67 20 61 |ed for k|eeping a|
|00005c80| 6e 20 61 75 74 6f 6d 61 | 74 69 63 20 72 65 63 6f |n automa|tic reco|
|00005c90| 72 64 20 6f 66 20 43 41 | 4c 43 55 4c 41 54 4f 52 |rd of CA|LCULATOR|
|00005ca0| 0a 58 61 63 74 69 76 69 | 74 69 65 73 2c 20 61 20 |.Xactivi|ties, a |
|00005cb0| 73 65 70 61 72 61 74 65 | 20 60 60 68 61 72 64 74 |separate| ``hardt|
|00005cc0| 6f 74 61 6c 27 27 20 66 | 69 6c 65 20 6d 61 79 20 |otal'' f|ile may |
|00005cd0| 62 65 20 6f 70 65 6e 65 | 64 0a 58 66 6f 72 20 5c |be opene|d.Xfor \|
|00005ce0| 66 49 77 72 69 74 65 5c | 66 52 20 6f 72 20 5c 66 |fIwrite\|fR or \f|
|00005cf0| 49 61 70 70 65 6e 64 5c | 66 52 0a 58 77 68 69 6c |Iappend\|fR.Xwhil|
|00005d00| 65 20 74 68 65 20 63 68 | 65 63 6b 62 6f 6f 6b 20 |e the ch|eckbook |
|00005d10| 62 61 6c 61 6e 63 65 72 | 20 69 73 20 61 63 74 69 |balancer| is acti|
|00005d20| 76 65 2e 0a 58 60 60 48 | 61 72 64 74 6f 74 61 6c |ve..X``H|ardtotal|
|00005d30| 27 27 20 69 73 20 73 75 | 70 70 6c 69 65 64 20 61 |'' is su|pplied a|
|00005d40| 73 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 66 69 |s the de|fault fi|
|00005d50| 6c 65 20 6e 61 6d 65 2c | 20 75 6e 6c 65 73 73 0a |le name,| unless.|
|00005d60| 58 74 68 65 20 75 73 65 | 72 20 74 79 70 65 73 20 |Xthe use|r types |
|00005d70| 69 6e 20 61 6e 6f 74 68 | 65 72 20 6e 61 6d 65 2e |in anoth|er name.|
|00005d80| 0a 58 54 68 65 20 66 69 | 6c 65 20 63 6f 6e 74 69 |.XThe fi|le conti|
|00005d90| 6e 75 65 73 20 72 65 63 | 65 69 76 69 6e 67 20 73 |nues rec|eiving s|
|00005da0| 6e 61 70 73 68 6f 74 73 | 20 6f 66 20 74 68 65 20 |napshots| of the |
|00005db0| 65 6e 74 69 72 65 20 54 | 4f 54 41 4c 20 77 69 6e |entire T|OTAL win|
|00005dc0| 64 6f 77 20 61 74 0a 58 | 65 76 65 72 79 20 73 75 |dow at.X|every su|
|00005dd0| 62 74 6f 74 61 6c 20 28 | 65 78 63 65 70 74 20 72 |btotal (|except r|
|00005de0| 65 63 65 69 76 69 6e 67 | 20 6f 6e 6c 79 20 74 68 |eceiving| only th|
|00005df0| 65 20 73 75 62 74 6f 74 | 61 6c 20 76 61 6c 75 65 |e subtot|al value|
|00005e00| 73 0a 58 69 66 20 74 68 | 65 20 5c 66 42 70 61 63 |s.Xif th|e \fBpac|
|00005e10| 5c 66 52 20 5c 66 49 68 | 61 72 64 66 6f 72 6d 5c |\fR \fIh|ardform\|
|00005e20| 66 52 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 73 |fR varia|ble is s|
|00005e30| 65 74 20 74 6f 20 5c 66 | 49 78 74 65 72 73 65 5c |et to \f|Ixterse\|
|00005e40| 66 52 29 2c 0a 58 61 6e | 64 20 61 20 66 69 6e 61 |fR),.Xan|d a fina|
|00005e50| 6c 20 73 6e 61 70 73 68 | 6f 74 20 6f 6e 20 65 78 |l snapsh|ot on ex|
|00005e60| 69 74 20 66 72 6f 6d 20 | 74 68 65 20 54 4f 54 41 |it from |the TOTA|
|00005e70| 4c 20 77 69 6e 64 6f 77 | 2e 0a 58 2e 4c 50 0a 58 |L window|..X.LP.X|
|00005e80| 54 4f 54 41 4c 20 69 6e | 74 65 72 70 72 65 74 73 |TOTAL in|terprets|
|00005e90| 20 64 65 63 69 6d 61 6c | 20 6e 75 6d 62 65 72 73 | decimal| numbers|
|00005ea0| 20 6f 6e 6c 79 2e 20 49 | 6e 0a 58 61 64 64 69 74 | only. I|n.Xaddit|
|00005eb0| 69 6f 6e 20 74 6f 20 64 | 69 67 69 74 73 2c 20 5c |ion to d|igits, \|
|00005ec0| 66 49 2b 20 2d 20 2a 20 | 40 5c 66 52 20 61 6e 64 |fI+ - * |@\fR and|
|00005ed0| 20 74 68 65 20 6e 6f 72 | 6d 61 6c 20 6c 69 6e 65 | the nor|mal line|
|00005ee0| 20 65 64 69 74 69 6e 67 | 0a 58 63 68 61 72 61 63 | editing|.Xcharac|
|00005ef0| 74 65 72 73 2c 20 74 68 | 65 20 54 4f 54 41 4c 20 |ters, th|e TOTAL |
|00005f00| 6c 69 6e 65 20 65 64 69 | 74 6f 72 20 61 6c 73 6f |line edi|tor also|
|00005f10| 20 61 63 63 65 70 74 73 | 0a 58 74 68 65 20 6c 65 | accepts|.Xthe le|
|00005f20| 74 74 65 72 73 20 5c 66 | 49 61 5c 66 52 20 74 68 |tters \f|Ia\fR th|
|00005f30| 72 6f 75 67 68 20 5c 66 | 49 74 5c 66 52 20 61 6e |rough \f|It\fR an|
|00005f40| 64 20 5c 66 49 41 5c 66 | 52 20 74 68 72 6f 75 67 |d \fIA\f|R throug|
|00005f50| 68 20 5c 66 49 54 5c 66 | 52 2e 0a 58 54 68 65 20 |h \fIT\f|R..XThe |
|00005f60| 6c 6f 77 65 72 20 63 61 | 73 65 20 6c 65 74 74 65 |lower ca|se lette|
|00005f70| 72 73 20 63 61 75 73 65 | 20 74 68 65 20 76 61 6c |rs cause| the val|
|00005f80| 75 65 20 69 6e 20 74 68 | 65 20 63 6f 72 72 65 73 |ue in th|e corres|
|00005f90| 70 6f 6e 64 69 6e 67 20 | 6c 69 6e 65 20 74 6f 0a |ponding |line to.|
|00005fa0| 58 62 65 20 72 65 70 6c | 69 63 61 74 65 64 20 69 |Xbe repl|icated i|
|00005fb0| 6e 20 74 68 65 20 6c 69 | 6e 65 20 6f 66 20 74 68 |n the li|ne of th|
|00005fc0| 65 20 63 75 72 73 6f 72 | 0a 58 28 5c 66 49 74 5c |e cursor|.X(\fIt\|
|00005fd0| 66 52 20 72 65 70 6c 69 | 63 61 74 65 73 20 74 68 |fR repli|cates th|
|00005fe0| 65 20 63 75 72 72 65 6e | 74 20 74 6f 74 61 6c 29 |e curren|t total)|
|00005ff0| 2e 20 20 55 70 70 65 72 | 20 63 61 73 65 20 0a 58 |. Upper| case .X|
|00006000| 61 6c 70 68 61 62 65 74 | 69 63 73 20 5c 66 49 41 |alphabet|ics \fIA|
|00006010| 5c 66 52 20 74 68 72 6f | 75 67 68 20 5c 66 49 53 |\fR thro|ugh \fIS|
|00006020| 5c 66 52 20 72 65 6c 6f | 63 61 74 65 20 74 68 65 |\fR relo|cate the|
|00006030| 20 63 75 72 73 6f 72 0a | 58 74 6f 20 74 68 65 20 | cursor.|Xto the |
|00006040| 6c 69 6e 65 20 6c 61 62 | 65 6c 65 64 20 62 79 20 |line lab|eled by |
|00006050| 74 68 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the corr|espondin|
|00006060| 67 0a 58 6c 6f 77 65 72 | 20 63 61 73 65 20 6c 65 |g.Xlower| case le|
|00006070| 74 74 65 72 3b 20 69 6e | 70 75 74 20 74 68 65 6e |tter; in|put then|
|00006080| 20 63 6f 6e 74 69 6e 75 | 65 73 20 66 72 6f 6d 20 | continu|es from |
|00006090| 74 68 69 73 20 6c 69 6e | 65 2e 0a 58 57 68 65 6e |this lin|e..XWhen|
|000060a0| 20 74 68 65 20 63 75 72 | 73 6f 72 20 69 73 20 72 | the cur|sor is r|
|000060b0| 65 6c 6f 63 61 74 65 64 | 20 74 68 69 73 20 77 61 |elocated| this wa|
|000060c0| 79 2c 20 74 68 65 20 64 | 69 67 69 74 20 73 74 72 |y, the d|igit str|
|000060d0| 69 6e 67 0a 58 61 6c 72 | 65 61 64 79 20 69 6e 20 |ing.Xalr|eady in |
|000060e0| 74 68 65 20 6c 69 6e 65 | 20 69 73 20 6e 6f 74 20 |the line| is not |
|000060f0| 63 6c 65 61 72 65 64 3b | 20 74 68 65 20 6e 65 77 |cleared;| the new|
|00006100| 20 69 6e 70 75 74 20 77 | 69 6c 6c 20 62 65 0a 58 | input w|ill be.X|
|00006110| 70 72 65 70 65 6e 64 65 | 64 20 74 6f 20 69 74 2e |prepende|d to it.|
|00006120| 20 20 41 20 73 70 61 63 | 65 20 74 79 70 65 64 20 | A spac|e typed |
|00006130| 63 6c 65 61 72 73 20 74 | 68 65 20 6c 69 6e 65 20 |clears t|he line |
|00006140| 66 72 6f 6d 20 74 68 65 | 20 63 75 72 73 6f 72 0a |from the| cursor.|
|00006150| 58 74 6f 20 69 74 73 20 | 65 6e 64 2e 0a 58 55 70 |Xto its |end..XUp|
|00006160| 70 65 72 20 63 61 73 65 | 20 5c 66 49 54 5c 66 52 |per case| \fIT\fR|
|00006170| 20 66 6f 72 63 65 73 20 | 61 20 73 74 61 63 6b 20 | forces |a stack |
|00006180| 70 75 73 68 20 6f 66 20 | 74 68 65 20 63 75 72 72 |push of |the curr|
|00006190| 65 6e 74 20 74 6f 74 61 | 6c 2c 0a 58 61 6e 64 20 |ent tota|l,.Xand |
|000061a0| 74 68 65 20 73 6e 61 70 | 73 68 6f 74 20 6f 66 20 |the snap|shot of |
|000061b0| 74 68 65 20 77 69 6e 64 | 6f 77 20 77 72 69 74 74 |the wind|ow writt|
|000061c0| 65 6e 20 74 6f 20 61 6e | 20 6f 70 65 6e 20 60 60 |en to an| open ``|
|000061d0| 68 61 72 64 74 6f 74 61 | 6c 27 27 20 66 69 6c 65 |hardtota|l'' file|
|000061e0| 2e 0a 58 54 68 65 20 5c | 66 49 23 5c 66 52 20 63 |..XThe \|fI#\fR c|
|000061f0| 68 61 72 61 63 74 65 72 | 0a 58 69 73 20 61 67 61 |haracter|.Xis aga|
|00006200| 69 6e 20 61 20 63 6f 6d | 6d 65 6e 74 20 64 65 6c |in a com|ment del|
|00006210| 69 6d 69 74 65 72 2c 0a | 58 73 69 67 6e 61 6c 69 |imiter,.|Xsignali|
|00006220| 6e 67 20 74 68 65 20 65 | 64 69 74 6f 72 20 74 6f |ng the e|ditor to|
|00006230| 20 69 67 6e 6f 72 65 20 | 69 74 20 61 6e 64 20 61 | ignore |it and a|
|00006240| 6e 79 20 66 75 72 74 68 | 65 72 20 69 6e 70 75 74 |ny furth|er input|
|00006250| 0a 58 75 6e 74 69 6c 20 | 74 68 65 20 5c 66 49 52 |.Xuntil |the \fIR|
|00006260| 45 54 55 52 4e 5c 66 52 | 2e 0a 58 41 20 73 65 63 |ETURN\fR|..XA sec|
|00006270| 6f 6e 64 20 5c 66 49 43 | 6f 6e 74 72 6f 6c 2d 54 |ond \fIC|ontrol-T|
|00006280| 5c 66 52 20 70 72 6f 76 | 69 64 65 73 20 72 65 74 |\fR prov|ides ret|
|00006290| 75 72 6e 20 74 6f 20 74 | 68 65 20 70 72 65 76 69 |urn to t|he previ|
|000062a0| 6f 75 73 20 63 6f 6e 74 | 65 78 74 2e 20 20 41 0a |ous cont|ext. A.|
|000062b0| 58 60 60 68 61 72 64 74 | 6f 74 61 6c 27 27 0a 58 |X``hardt|otal''.X|
|000062c0| 66 69 6c 65 20 6d 61 79 | 20 62 65 20 65 78 70 6c |file may| be expl|
|000062d0| 69 63 69 74 6c 79 20 63 | 6c 6f 73 65 64 20 70 72 |icitly c|losed pr|
|000062e0| 69 6f 72 20 74 6f 20 65 | 78 69 74 69 6e 67 20 54 |ior to e|xiting T|
|000062f0| 4f 54 41 4c 2c 20 6f 72 | 0a 58 69 74 20 6d 61 79 |OTAL, or|.Xit may|
|00006300| 20 62 65 20 6c 65 66 74 | 20 6f 70 65 6e 2c 20 61 | be left| open, a|
|00006310| 77 61 69 74 69 6e 67 20 | 72 65 63 6f 72 64 69 6e |waiting |recordin|
|00006320| 67 20 6f 66 20 66 75 72 | 74 68 65 72 20 54 4f 54 |g of fur|ther TOT|
|00006330| 41 4c 20 61 63 74 69 76 | 69 74 69 65 73 2e 0a 58 |AL activ|ities..X|
|00006340| 45 76 65 6e 20 61 66 74 | 65 72 20 65 78 69 74 69 |Even aft|er exiti|
|00006350| 6e 67 20 54 4f 54 41 4c | 2c 20 74 68 65 20 77 69 |ng TOTAL|, the wi|
|00006360| 6e 64 6f 77 20 72 65 6d | 61 69 6e 73 20 76 69 73 |ndow rem|ains vis|
|00006370| 69 62 6c 65 20 6f 76 65 | 72 20 74 68 65 0a 58 43 |ible ove|r the.XC|
|00006380| 4f 4e 56 45 52 53 49 4f | 4e 53 20 6c 69 73 74 20 |ONVERSIO|NS list |
|00006390| 75 6e 74 69 6c 20 61 20 | 43 41 4c 43 55 4c 41 54 |until a |CALCULAT|
|000063a0| 4f 52 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 74 61 |OR conve|rsion ta|
|000063b0| 6b 65 73 20 70 6c 61 63 | 65 2e 0a 58 2e 53 48 20 |kes plac|e..X.SH |
|000063c0| 45 44 49 54 49 4e 47 20 | 54 48 45 20 43 4f 4e 56 |EDITING |THE CONV|
|000063d0| 45 52 53 49 4f 4e 53 20 | 4c 49 53 54 0a 58 55 6e |ERSIONS |LIST.XUn|
|000063e0| 69 74 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 6f 70 |it conve|rsion op|
|000063f0| 65 72 61 74 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |erations| of the |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.