home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: EPOC Installation Package
(archive/epocInstallationPackage).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| EPOC Installation Package (archive/epocInstallationPackage)
| magic
| Supported |
1%
| dexvert
| Symbian Series 3 Installation file (other/symbianSeries3InstallationFile)
| ext
| Unsupported |
100%
| file
| Symbian installation file (EPOC release 3/4/5)
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| EPOC Installation package (rel. 2,3,5)
| default
| |
100%
| gt2
| Kopftext: 'nnt;m'
| default (weak)
| |
100%
| xdgMime
| application/vnd.symbian.install
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6e 6e 74 3b 6d 00 00 10 | 19 04 00 10 84 92 3c a2 |nnt;m...|......<.|
|00000010| fd ae 01 00 05 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 64 00 00 00 00 00 00 00 | 02 00 56 00 00 00 00 00 |d.......|..V.....|
|00000030| 44 00 00 00 46 00 00 00 | fa 00 00 00 00 00 00 00 |D...F...|........|
|00000040| fa 00 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 17 00 00 00 02 01 | 00 00 28 00 00 00 19 01 |........|..(.....|
|00000060| 00 00 a3 03 00 00 40 02 | 00 00 00 00 00 00 00 00 |......@.|........|
|00000070| 00 00 00 00 00 00 18 00 | 00 00 41 01 00 00 29 00 |........|..A...).|
|00000080| 00 00 59 01 00 00 88 02 | 00 00 e3 05 00 00 00 00 |..Y.....|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 14 00 00 00 82 01 |........|........|
|000000a0| 00 00 25 00 00 00 96 01 | 00 00 3b 5f 03 00 6b 08 |..%.....|..;_..k.|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 14 00 |........|........|
|000000c0| 00 00 bb 01 00 00 25 00 | 00 00 cf 01 00 00 fd 2f |......%.|......./|
|000000d0| 00 00 a6 67 03 00 00 00 | 00 00 01 00 00 00 02 00 |...g....|........|
|000000e0| 00 00 12 00 00 00 f4 01 | 00 00 23 00 00 00 06 02 |........|..#.....|
|000000f0| 00 00 88 02 00 00 a3 97 | 03 00 17 00 00 00 29 02 |........|......).|
|00000100| 00 00 43 3a 5c 53 69 73 | 74 65 6d 70 5c 43 69 78 |..C:\Sis|temp\Cix|
|00000110| 65 64 73 72 63 2e 74 78 | 74 21 3a 5c 50 73 69 6f |edsrc.tx|t!:\Psio|
|00000120| 6e 35 43 44 31 5c 43 69 | 78 45 64 4f 50 4c 53 6f |n5CD1\Ci|xEdOPLSo|
|00000130| 75 72 63 65 5c 43 69 78 | 65 64 73 72 63 2e 74 78 |urce\Cix|edsrc.tx|
|00000140| 74 43 3a 5c 53 69 73 74 | 65 6d 70 5c 43 69 78 45 |tC:\Sist|emp\CixE|
|00000150| 64 49 63 6f 6e 2e 6d 62 | 6d 21 3a 5c 50 73 69 6f |dIcon.mb|m!:\Psio|
|00000160| 6e 35 43 44 31 5c 43 69 | 78 45 64 4f 50 4c 53 6f |n5CD1\Ci|xEdOPLSo|
|00000170| 75 72 63 65 5c 43 69 78 | 45 64 49 63 6f 6e 2e 6d |urce\Cix|EdIcon.m|
|00000180| 62 6d 43 3a 5c 53 69 73 | 74 65 6d 70 5c 43 49 58 |bmC:\Sis|temp\CIX|
|00000190| 45 44 2e 4f 50 4c 21 3a | 5c 50 73 69 6f 6e 35 43 |ED.OPL!:|\Psion5C|
|000001a0| 44 31 5c 43 69 78 45 64 | 4f 50 4c 53 6f 75 72 63 |D1\CixEd|OPLSourc|
|000001b0| 65 5c 43 49 58 45 44 2e | 4f 50 4c 43 3a 5c 53 69 |e\CIXED.|OPLC:\Si|
|000001c0| 73 74 65 6d 70 5c 43 69 | 78 45 64 2e 6d 62 6d 21 |stemp\Ci|xEd.mbm!|
|000001d0| 3a 5c 50 73 69 6f 6e 35 | 43 44 31 5c 43 69 78 45 |:\Psion5|CD1\CixE|
|000001e0| 64 4f 50 4c 53 6f 75 72 | 63 65 5c 43 69 78 45 64 |dOPLSour|ce\CixEd|
|000001f0| 2e 6d 62 6d 43 3a 5c 53 | 69 73 74 65 6d 70 5c 42 |.mbmC:\S|istemp\B|
|00000200| 69 73 2e 74 78 74 21 3a | 5c 50 73 69 6f 6e 35 43 |is.txt!:|\Psion5C|
|00000210| 44 31 5c 43 69 78 45 64 | 4f 50 4c 53 6f 75 72 63 |D1\CixEd|OPLSourc|
|00000220| 65 5c 42 69 73 2e 74 78 | 74 43 69 78 45 64 4f 50 |e\Bis.tx|tCixEdOP|
|00000230| 4c 53 6f 75 72 63 65 20 | 32 32 38 2e 34 20 6b 42 |LSource |228.4 kB|
|00000240| 43 69 78 45 64 20 4f 50 | 4c 20 53 6f 75 72 63 65 |CixEd OP|L Source|
|00000250| 20 66 69 6c 65 73 0d 0a | 0d 0a 59 6f 75 20 68 61 | files..|..You ha|
|00000260| 76 65 20 6a 75 73 74 20 | 69 6e 73 74 61 6c 6c 65 |ve just |installe|
|00000270| 64 20 43 69 78 45 64 20 | 73 6f 75 72 63 65 20 66 |d CixEd |source f|
|00000280| 69 6c 65 73 0d 0a 0d 0a | 54 68 65 20 74 77 6f 20 |iles....|The two |
|00000290| 66 69 6c 65 73 20 68 61 | 76 65 20 62 65 65 6e 20 |files ha|ve been |
|000002a0| 69 6e 73 74 61 6c 6c 65 | 64 20 74 6f 20 74 68 65 |installe|d to the|
|000002b0| 20 44 6f 63 75 6d 65 6e | 74 73 20 66 6f 6c 64 65 | Documen|ts folde|
|000002c0| 72 0d 0a 61 6e 64 20 63 | 61 6e 20 62 65 20 6d 6f |r..and c|an be mo|
|000002d0| 76 65 64 20 74 6f 20 61 | 6e 79 20 66 6f 6c 64 65 |ved to a|ny folde|
|000002e0| 72 20 79 6f 75 20 77 69 | 73 68 2e 20 4e 6f 74 65 |r you wi|sh. Note|
|000002f0| 20 74 68 61 74 20 74 6f | 20 74 72 61 6e 73 6c 61 | that to| transla|
|00000300| 74 65 0d 0a 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |te..the |program |
|00000310| 79 6f 75 20 77 69 6c 6c | 20 61 6c 73 6f 20 72 65 |you will| also re|
|00000320| 71 75 69 72 65 20 74 77 | 6f 20 68 65 61 64 65 72 |quire tw|o header|
|00000330| 20 66 69 6c 65 73 20 74 | 6f 20 62 65 0d 0a 69 6e | files t|o be..in|
|00000340| 73 74 61 6c 6c 65 64 20 | 69 6e 20 79 6f 75 72 20 |stalled |in your |
|00000350| 53 79 73 74 65 6d 2f 4f | 70 6c 20 66 6f 6c 64 65 |System/O|pl folde|
|00000360| 72 2e 20 54 68 65 73 65 | 20 61 72 65 20 74 68 65 |r. These| are the|
|00000370| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 0d 0a 66 | header |files..f|
|00000380| 6f 72 20 74 68 65 20 6f | 70 78 27 73 20 75 73 65 |or the o|px's use|
|00000390| 64 20 66 6f 72 20 73 70 | 65 6c 6c 20 63 68 65 63 |d for sp|ell chec|
|000003a0| 6b 69 6e 67 20 61 6e 64 | 20 73 79 73 74 65 6d 20 |king and| system |
|000003b0| 69 6e 64 6f 72 6d 61 74 | 69 6f 6e 0d 0a 61 6e 64 |indormat|ion..and|
|000003c0| 20 63 61 6e 20 62 65 20 | 6f 62 74 61 69 6e 65 64 | can be |obtained|
|000003d0| 20 66 72 6f 6d 20 74 68 | 65 20 52 4d 52 20 53 6f | from th|e RMR So|
|000003e0| 66 74 77 61 72 65 20 73 | 69 74 65 20 61 74 20 77 |ftware s|ite at w|
|000003f0| 77 77 2e 72 6d 72 73 6f | 66 74 2e 63 6f 6d 0d 0a |ww.rmrso|ft.com..|
|00000400| 0d 0a 49 66 20 79 6f 75 | 20 66 65 65 6c 20 79 6f |..If you| feel yo|
|00000410| 75 20 68 61 76 65 20 61 | 6e 79 20 63 6f 6e 74 72 |u have a|ny contr|
|00000420| 69 62 75 74 69 6f 6e 73 | 20 79 6f 75 20 77 69 73 |ibutions| you wis|
|00000430| 68 20 74 6f 20 6d 61 79 | 20 74 6f 20 74 68 65 0d |h to may| to the.|
|00000440| 0a 70 72 6f 67 72 61 6d | 2c 20 74 68 65 6e 20 62 |.program|, then b|
|00000450| 79 20 61 6c 6c 20 6d 65 | 61 6e 73 20 66 65 65 6c |y all me|ans feel|
|00000460| 20 66 72 65 65 2e 20 50 | 6c 65 61 73 65 20 75 73 | free. P|lease us|
|00000470| 65 20 74 68 65 0d 0a 43 | 69 78 45 64 2f 64 65 76 |e the..C|ixEd/dev|
|00000480| 65 6c 6f 70 6d 65 6e 74 | 20 63 6f 6e 66 65 72 65 |elopment| confere|
|00000490| 6e 63 65 20 74 6f 20 61 | 64 76 69 73 65 20 61 6e |nce to a|dvise an|
|000004a0| 64 20 63 68 61 74 20 77 | 69 74 68 20 6f 74 68 65 |d chat w|ith othe|
|000004b0| 72 0d 0a 64 65 76 65 6c | 6f 70 65 72 73 2e 0d 0a |r..devel|opers...|
|000004c0| 0d 0a 41 74 20 74 68 65 | 20 6d 6f 6d 65 6e 74 2c |..At the| moment,|
|000004d0| 20 49 20 61 6d 20 70 72 | 6f 76 69 64 69 6e 67 20 | I am pr|oviding |
|000004e0| 61 6e 20 22 61 6e 63 68 | 6f 72 22 20 66 6f 72 20 |an "anch|or" for |
|000004f0| 74 68 65 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 20 |the deve|lopment |
|00000500| 0d 0a 77 6f 72 6b 2c 20 | 61 6e 64 20 77 69 6c 6c |..work, |and will|
|00000510| 20 63 6f 6e 74 69 6e 75 | 65 20 74 6f 20 64 69 73 | continu|e to dis|
|00000520| 74 72 69 62 75 74 65 20 | 66 69 6e 61 6c 20 76 65 |tribute |final ve|
|00000530| 72 73 69 6f 6e 73 20 66 | 72 6f 6d 20 62 6f 74 68 |rsions f|rom both|
|00000540| 0d 0a 74 68 65 20 66 69 | 6c 65 73 20 6c 69 73 74 |..the fi|les list|
|00000550| 20 6f 6e 20 43 69 78 20 | 61 6e 64 20 74 68 72 6f | on Cix |and thro|
|00000560| 75 67 68 20 6d 79 20 77 | 65 62 20 73 69 74 65 20 |ugh my w|eb site |
|00000570| 61 74 20 77 77 77 2e 70 | 73 69 63 69 78 2e 63 6f |at www.p|sicix.co|
|00000580| 6d 2e 0d 0a 0d 0a 50 6c | 65 61 73 65 20 72 65 70 |m.....Pl|ease rep|
|00000590| 6f 72 74 20 61 6c 6c 20 | 62 75 67 73 20 74 6f 20 |ort all |bugs to |
|000005a0| 74 68 65 20 43 69 78 65 | 64 2f 64 65 76 65 6c 6f |the Cixe|d/develo|
|000005b0| 70 6d 65 6e 74 20 63 6f | 6e 66 2e 0d 0a 0d 0a 4d |pment co|nf.....M|
|000005c0| 61 72 6b 20 46 6c 65 65 | 6d 69 6e 67 0d 0a 6d 66 |ark Flee|ming..mf|
|000005d0| 6c 65 65 6d 69 6e 67 40 | 63 69 78 2e 63 6f 2e 75 |leeming@|cix.co.u|
|000005e0| 6b 0d 0a 37 00 00 10 42 | 00 00 10 00 00 00 00 39 |k..7...B|.......9|
|000005f0| 64 39 47 7c 02 00 00 5a | 01 00 00 28 00 00 00 30 |d9G|...Z|...(...0|
|00000600| 00 00 00 30 00 00 00 00 | 00 00 00 00 00 00 00 02 |...0....|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 1b |........|........|
|00000620| ff fe f3 f3 09 ff fe cc | 08 08 ff fc 3f 2b af f0 |........|....?+..|
|00000630| 07 ff fc cf ca ff 0a 07 | ff fb b3 f2 ff af f0 06 |........|........|
|00000640| ff fb ac fc ff ff 0a 05 | ff fe 3f 2b 02 ff fe af |........|..?+....|
|00000650| f0 04 ff fe cf ca 03 ff | ff 0a 03 ff ff 0f 06 00 |........|........|
|00000660| ff fc 02 ff fe 4f fd 04 | ff fe 7f fc 02 ff fe 4f |.....O..|.......O|
|00000670| f6 04 ff fe 9f fc 02 ff | fe 4f db 04 ff fe a7 fc |........|.O......|
|00000680| 02 ff fe 4f 6f 04 ff fe | b9 fc 02 ff fd 4f bf fd |...Oo...|.....O..|
|00000690| 02 ff fd 55 be fc 02 ff | f7 4f ff f6 ff ff 5f ff |...U....|.O...._.|
|000006a0| b5 fc 02 ff f7 4f ff d7 | ff ff f7 d1 5f fc 02 ff |.....O..|...._...|
|000006b0| f7 4f ff 6d ff ff f7 4c | ff fd 02 ff f7 4f 7f bf |.O.m...L|.....O..|
|000006c0| fd ff 03 0f d1 f7 02 ff | f7 4f df ff f6 ff b7 79 |........|.O.....y|
|000006d0| cc df 02 ff f7 4f f7 ff | db ff 6d e6 4b cf 02 ff |.....O..|..m.K...|
|000006e0| f7 4f fd ff 6f 7f 9b f9 | 46 c5 02 ff f7 4f ff ff |.O..o...|F....O..|
|000006f0| bf 7d 7f be 15 c0 02 ff | ff 4f 02 ff fb 56 ff 6f |.}......|.O...V.o|
|00000700| 55 f1 02 ff ff 4f 02 aa | fb 2a ff 5b 15 c8 02 ff |U....O..|.*.[....|
|00000710| ff 0f 02 00 fb d0 f0 57 | 81 c6 06 ff fb 9f 0f 17 |.......W|........|
|00000720| 68 c5 06 ff fb 9f f9 80 | 56 c5 06 ff fb 9f 8a 5f |h.......|V......_|
|00000730| 55 c1 06 ff fb 3f a8 68 | 15 fc 07 ff fd 83 5a c1 |U....?.h|......Z.|
|00000740| 08 ff fd 3f 18 fc 09 ff | ff c3 7f ff 29 ff fe ff |...?....|....)...|
|00000750| ff 0e 01 00 00 28 00 00 | 00 30 00 00 00 30 00 00 |.....(..|.0...0..|
|00000760| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 01 00 00 | 00 0e ff fd 3f 00 f0 08 |........|....?...|
|00000780| ff fc 03 00 00 fc 06 ff | ff 3f 02 00 ff c0 06 ff |........|.?......|
|00000790| ff 0f 03 00 ff fc 05 ff | ff 03 03 00 ff c0 05 ff |........|........|
|000007a0| ff 03 04 00 04 ff ff 3f | 05 00 ff fc 03 ff ff 3f |.......?|.......?|
|000007b0| 05 00 ff c0 03 ff ff 3f | 06 00 ff fc 02 ff 07 00 |.......?|........|
|000007c0| fc fc ff ff 0f 07 00 fc | f0 ff ff 0f 07 00 fc f0 |........|........|
|000007d0| ff ff 0f 07 00 fc c0 ff | ff 0f 07 00 fc c0 ff ff |........|........|
|000007e0| 0f 07 00 fc c0 ff ff 0f | 07 00 fc c0 ff ff 0f 07 |........|........|
|000007f0| 00 fc c0 ff ff 3f 07 00 | fc c0 ff ff 0f 07 00 fc |.....?..|........|
|00000800| c0 ff ff 0f 08 00 fd ff | ff 0f 08 00 fd ff ff 0f |........|........|
|00000810| 08 00 fd ff ff 0f 08 00 | fd ff ff 0f 08 00 fd ff |........|........|
|00000820| ff 0f 08 00 fd ff ff 3f | 08 00 02 ff 08 00 02 ff |.......?|........|
|00000830| fe cf 0f 06 00 06 ff 04 | 00 06 ff 04 00 06 ff ff |........|........|
|00000840| 03 03 00 06 ff ff 3f 02 | 00 ff c0 07 ff fc 03 00 |......?.|........|
|00000850| 00 fc 07 ff fd 3f 00 f0 | 7f ff 1c ff fe ff ff 02 |.....?..|........|
|00000860| 00 00 00 14 00 00 00 6e | 01 00 00 37 00 00 10 6d |.......n|...7...m|
|00000870| 00 00 10 85 00 00 10 f4 | 63 08 55 22 5f 03 00 5c |........|c.U"_..\|
|00000880| 00 00 10 63 00 00 10 00 | 00 00 00 64 00 00 10 a3 |...c....|...d....|
|00000890| f2 1a 00 72 65 6d 20 2a | 2a 2a 2a 2a 2a 2a 2a 20 |...rem *|******* |
|000008a0| 43 69 78 45 64 20 41 50 | 50 4c 49 43 41 54 49 4f |CixEd AP|PLICATIO|
|000008b0| 4e 20 53 4f 55 52 43 45 | 20 2a 2a 2a 2a 2a 2a 2a |N SOURCE| *******|
|000008c0| 2a 06 72 65 6d 20 57 72 | 69 74 74 65 6e 20 62 79 |*.rem Wr|itten by|
|000008d0| 20 53 74 65 76 65 20 4c | 69 74 63 68 66 69 65 6c | Steve L|itchfiel|
|000008e0| 64 20 2d 20 73 6c 69 74 | 63 68 66 69 65 6c 64 40 |d - slit|chfield@|
|000008f0| 63 69 78 2e 63 6f 2e 75 | 6b 06 72 65 6d 20 4c 61 |cix.co.u|k.rem La|
|00000900| 73 74 20 65 64 69 74 65 | 64 20 62 79 20 4d 61 72 |st edite|d by Mar|
|00000910| 6b 20 46 6c 65 65 6d 69 | 6e 67 20 2d 20 6d 66 6c |k Fleemi|ng - mfl|
|00000920| 65 65 6d 69 6e 67 40 63 | 69 78 2e 63 6f 2e 75 6b |eeming@c|ix.co.uk|
|00000930| 06 72 65 6d 20 43 6f 6e | 74 72 69 62 75 74 69 6f |.rem Con|tributio|
|00000940| 6e 73 20 66 72 6f 6d 20 | 53 74 65 76 65 20 4d 61 |ns from |Steve Ma|
|00000950| 72 74 69 6e 20 2d 20 73 | 6d 61 72 74 69 6e 63 40 |rtin - s|martinc@|
|00000960| 63 69 78 2e 63 6f 2e 75 | 6b 06 72 65 6d 20 43 6f |cix.co.u|k.rem Co|
|00000970| 6e 74 72 69 62 75 74 69 | 6f 6e 73 20 66 72 6f 6d |ntributi|ons from|
|00000980| 20 50 61 75 6c 20 57 61 | 6b 65 66 6f 72 64 20 2d | Paul Wa|keford -|
|00000990| 20 70 77 61 6b 65 66 6f | 72 64 40 63 69 78 2e 63 | pwakefo|rd@cix.c|
|000009a0| 6f 2e 75 6b 06 72 65 6d | 20 43 6f 6e 74 72 69 62 |o.uk.rem| Contrib|
|000009b0| 75 74 69 6f 6e 73 20 66 | 72 6f 6d 20 54 6f 6e 79 |utions f|rom Tony|
|000009c0| 20 43 72 6f 63 6b 65 72 | 20 2d 20 74 73 74 65 76 | Crocker| - tstev|
|000009d0| 65 6e 40 63 69 78 2e 63 | 6f 2e 75 6b 06 72 65 6d |en@cix.c|o.uk.rem|
|000009e0| 20 43 6f 6e 74 72 69 62 | 75 74 69 6f 6e 73 20 66 | Contrib|utions f|
|000009f0| 72 6f 6d 20 41 6e 64 72 | 65 77 20 47 69 64 64 69 |rom Andr|ew Giddi|
|00000a00| 6e 67 73 20 2d 20 67 69 | 64 64 73 40 63 69 78 2e |ngs - gi|dds@cix.|
|00000a10| 63 6f 2e 75 6b 06 72 65 | 6d 20 53 70 65 6c 6c 20 |co.uk.re|m Spell |
|00000a20| 4f 50 58 20 77 72 69 74 | 74 65 6e 20 61 6e 64 20 |OPX writ|ten and |
|00000a30| 63 6f 70 79 72 69 67 68 | 74 20 62 79 20 4f 74 66 |copyrigh|t by Otf|
|00000a40| 72 69 65 64 20 43 68 65 | 6f 6e 67 06 72 65 6d 20 |ried Che|ong.rem |
|00000a50| 54 68 61 6e 6b 73 20 74 | 6f 20 6d 61 6e 79 20 6f |Thanks t|o many o|
|00000a60| 74 68 65 72 73 20 6f 6e | 20 43 69 78 45 64 20 63 |thers on| CixEd c|
|00000a70| 6f 6e 66 20 66 6f 72 20 | 68 65 6c 70 20 61 6e 64 |onf for |help and|
|00000a80| 20 73 75 67 67 65 73 74 | 69 6f 6e 73 2e 06 06 72 | suggest|ions...r|
|00000a90| 65 6d 20 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |em *****|********|
|00000aa0| 2a 2a 2a 2a 2a 2a 2a 20 | 42 55 47 53 20 4c 49 53 |******* |BUGS LIS|
|00000ab0| 54 20 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |T ******|********|
|00000ac0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 06 72 65 6d 20 53 65 |********|*.rem Se|
|00000ad0| 61 72 63 68 20 66 6f 72 | 20 23 23 23 20 66 6f 72 |arch for| ### for|
|00000ae0| 20 6d 75 73 74 20 64 6f | 27 73 20 65 74 63 2e 06 | must do|'s etc..|
|00000af0| 06 72 65 6d 20 57 61 72 | 6e 69 6e 67 3a 20 69 66 |.rem War|ning: if|
|00000b00| 20 79 6f 75 20 67 65 74 | 20 65 72 72 6f 72 73 20 | you get| errors |
|00000b10| 73 75 63 68 20 61 73 20 | 22 4b 4b 65 79 41 72 72 |such as |"KKeyArr|
|00000b20| 6f 77 33 32 25 20 75 6e | 64 65 66 69 6e 65 64 22 |ow32% un|defined"|
|00000b30| 2c 06 72 65 6d 20 79 6f | 75 20 6d 75 73 74 20 68 |,.rem yo|u must h|
|00000b40| 61 76 65 20 61 6e 20 6f | 6c 64 20 76 65 72 73 69 |ave an o|ld versi|
|00000b50| 6f 6e 20 6f 66 20 74 68 | 65 20 43 6f 6e 73 74 2e |on of th|e Const.|
|00000b60| 6f 70 68 20 66 69 6c 65 | 2e 20 20 50 6c 65 61 73 |oph file|. Pleas|
|00000b70| 65 20 64 65 66 69 6e 65 | 06 72 65 6d 20 74 68 65 |e define|.rem the|
|00000b80| 6d 20 74 65 6d 70 6f 72 | 61 72 69 6c 79 20 74 6f |m tempor|arily to|
|00000b90| 20 74 68 65 20 73 61 6d | 65 20 77 69 74 68 6f 75 | the sam|e withou|
|00000ba0| 74 20 74 68 65 20 33 32 | 2e 20 20 42 75 74 20 5f |t the 32|. But _|
|00000bb0| 70 6c 65 61 73 65 5f 20 | 64 6f 6e 27 74 06 72 65 |please_ |don't.re|
|00000bc0| 6d 20 6c 65 61 76 65 20 | 74 68 65 20 63 68 61 6e |m leave |the chan|
|00000bd0| 67 65 73 20 69 6e 20 69 | 66 20 79 6f 75 20 73 65 |ges in i|f you se|
|00000be0| 6e 64 20 74 68 65 20 63 | 6f 64 65 20 74 6f 20 61 |nd the c|ode to a|
|00000bf0| 6e 79 6f 6e 65 20 65 6c | 73 65 2c 20 61 73 20 69 |nyone el|se, as i|
|00000c00| 74 20 77 69 6c 6c 06 72 | 65 6d 20 73 69 6c 65 6e |t will.r|em silen|
|00000c10| 74 6c 79 20 62 72 65 61 | 6b 20 6f 6e 20 52 4f 4d |tly brea|k on ROM|
|00000c20| 20 76 31 2e 30 31 20 61 | 62 6f 76 65 21 06 06 72 | v1.01 a|bove!..r|
|00000c30| 65 6d 20 43 68 61 6e 67 | 65 20 44 45 42 55 47 20 |em Chang|e DEBUG |
|00000c40| 74 6f 20 31 20 74 6f 20 | 64 69 73 61 62 6c 65 20 |to 1 to |disable |
|00000c50| 65 72 72 6f 72 20 68 61 | 6e 64 6c 65 72 2c 20 65 |error ha|ndler, e|
|00000c60| 6c 73 65 20 30 20 66 6f | 72 20 64 69 73 74 72 69 |lse 0 fo|r distri|
|00000c70| 62 75 74 69 6f 6e 20 76 | 65 72 73 69 6f 6e 06 63 |bution v|ersion.c|
|00000c80| 6f 6e 73 74 20 44 45 42 | 55 47 20 3d 20 30 06 06 |onst DEB|UG = 0..|
|00000c90| 63 6f 6e 73 74 20 4b 55 | 69 64 41 70 70 4d 79 41 |const KU|idAppMyA|
|00000ca0| 70 70 30 26 20 3d 20 26 | 31 30 30 30 30 35 32 37 |pp0& = &|10000527|
|00000cb0| 06 63 6f 6e 73 74 20 50 | 72 6f 67 72 61 6d 24 20 |.const P|rogram$ |
|00000cc0| 3d 20 22 43 69 78 45 64 | 22 06 63 6f 6e 73 74 20 |= "CixEd|".const |
|00000cd0| 56 65 72 73 69 6f 6e 24 | 20 3d 20 22 32 2e 38 36 |Version$| = "2.86|
|00000ce0| 22 06 06 69 6e 63 6c 75 | 64 65 20 22 43 6f 6e 73 |"..inclu|de "Cons|
|00000cf0| 74 2e 6f 70 68 22 06 69 | 6e 63 6c 75 64 65 20 22 |t.oph".i|nclude "|
|00000d00| 53 79 73 74 65 6d 2e 6f | 78 68 22 06 69 6e 63 6c |System.o|xh".incl|
|00000d10| 75 64 65 20 22 44 61 74 | 65 2e 6f 78 68 22 06 69 |ude "Dat|e.oxh".i|
|00000d20| 6e 63 6c 75 64 65 20 22 | 50 72 69 6e 74 65 72 2e |nclude "|Printer.|
|00000d30| 6f 78 68 22 06 69 6e 63 | 6c 75 64 65 20 22 53 70 |oxh".inc|lude "Sp|
|00000d40| 65 6c 6c 2e 6f 78 68 22 | 06 69 6e 63 6c 75 64 65 |ell.oxh"|.include|
|00000d50| 20 22 53 79 73 74 49 6e | 66 6f 2e 6f 78 68 22 06 | "SystIn|fo.oxh".|
|00000d60| 06 06 61 70 70 20 43 69 | 78 45 64 2c 20 4b 55 69 |..app Ci|xEd, KUi|
|00000d70| 64 41 70 70 4d 79 41 70 | 70 30 26 06 09 69 63 6f |dAppMyAp|p0&..ico|
|00000d80| 6e 20 22 43 69 78 45 64 | 49 63 6f 6e 2e 6d 62 6d |n "CixEd|Icon.mbm|
|00000d90| 22 06 09 63 61 70 74 69 | 6f 6e 20 50 72 6f 67 72 |"..capti|on Progr|
|00000da0| 61 6d 24 2c 20 4b 4c 61 | 6e 67 45 6e 67 6c 69 73 |am$, KLa|ngEnglis|
|00000db0| 68 25 06 65 6e 64 61 06 | 06 63 6f 6e 73 74 20 4b |h%.enda.|.const K|
|00000dc0| 4d 61 78 57 72 61 70 25 | 20 3d 20 37 38 06 63 6f |MaxWrap%| = 78.co|
|00000dd0| 6e 73 74 20 43 69 78 4d | 69 6e 43 68 61 72 67 65 |nst CixM|inCharge|
|00000de0| 20 3d 20 36 2e 32 35 06 | 63 6f 6e 73 74 20 4b 4d | = 6.25.|const KM|
|00000df0| 61 78 57 6f 72 64 73 25 | 20 3d 20 34 30 06 63 6f |axWords%| = 40.co|
|00000e00| 6e 73 74 20 4b 4e 6f 74 | 45 78 69 73 74 25 20 3d |nst KNot|Exist% =|
|00000e10| 20 30 06 63 6f 6e 73 74 | 20 4b 4c 65 6e 42 75 66 | 0.const| KLenBuf|
|00000e20| 66 65 72 25 20 3d 20 31 | 30 30 30 30 06 63 6f 6e |fer% = 1|0000.con|
|00000e30| 73 74 20 4b 41 72 72 61 | 79 4d 61 78 54 6f 70 69 |st KArra|yMaxTopi|
|00000e40| 63 73 25 20 3d 20 35 30 | 30 06 63 6f 6e 73 74 20 |cs% = 50|0.const |
|00000e50| 4b 53 63 72 65 65 6e 52 | 6f 77 73 25 20 3d 20 31 |KScreenR|ows% = 1|
|00000e60| 39 06 63 6f 6e 73 74 20 | 4b 53 63 72 65 65 6e 43 |9.const |KScreenC|
|00000e70| 6f 6c 73 25 20 3d 20 34 | 06 63 6f 6e 73 74 20 4b |ols% = 4|.const K|
|00000e80| 4e 65 77 4d 65 73 42 75 | 66 53 69 7a 65 25 20 3d |NewMesBu|fSize% =|
|00000e90| 20 31 32 35 31 09 09 72 | 65 6d 20 31 20 2b 20 28 | 1251..r|em 1 + (|
|00000ea0| 34 39 39 39 20 2b 20 33 | 29 20 2f 20 34 20 69 6e |4999 + 3|) / 4 in|
|00000eb0| 20 69 6e 74 65 67 65 72 | 20 61 72 69 74 68 6d 65 | integer| arithme|
|00000ec0| 74 69 63 06 63 6f 6e 73 | 74 20 4b 41 72 72 61 79 |tic.cons|t KArray|
|00000ed0| 4d 61 78 4c 69 6e 65 73 | 25 20 3d 20 36 30 30 06 |MaxLines|% = 600.|
|00000ee0| 63 6f 6e 73 74 20 4b 41 | 72 72 61 79 4c 69 6e 65 |const KA|rrayLine|
|00000ef0| 4c 65 6e 67 74 68 25 20 | 3d 20 31 30 30 06 63 6f |Length% |= 100.co|
|00000f00| 6e 73 74 20 4b 59 65 73 | 25 20 3d 20 31 09 09 72 |nst KYes|% = 1..r|
|00000f10| 65 6d 20 46 6f 72 20 66 | 6c 61 67 73 06 63 6f 6e |em For f|lags.con|
|00000f20| 73 74 20 4b 4e 6f 25 20 | 3d 20 32 09 09 72 65 6d |st KNo% |= 2..rem|
|00000f30| 20 46 6f 72 20 66 6c 61 | 67 73 06 63 6f 6e 73 74 | For fla|gs.const|
|00000f40| 20 4b 43 6f 6e 66 25 20 | 3d 20 30 09 09 72 65 6d | KConf% |= 0..rem|
|00000f50| 20 4d 65 73 73 61 67 65 | 20 69 73 20 61 20 63 75 | Message| is a cu|
|00000f60| 72 72 65 6e 74 20 63 6f | 6e 66 20 6d 65 73 73 61 |rrent co|nf messa|
|00000f70| 67 65 06 63 6f 6e 73 74 | 20 4b 4f 72 69 67 25 20 |ge.const| KOrig% |
|00000f80| 3d 20 31 09 09 72 65 6d | 20 4d 65 73 73 61 67 65 |= 1..rem| Message|
|00000f90| 20 69 73 20 6f 72 69 67 | 69 6e 61 6c 20 63 6f 6e | is orig|inal con|
|00000fa0| 66 20 6d 65 73 73 61 67 | 65 06 63 6f 6e 73 74 20 |f messag|e.const |
|00000fb0| 4b 4d 61 69 6c 25 20 3d | 20 32 09 09 72 65 6d 20 |KMail% =| 2..rem |
|00000fc0| 4d 61 69 6c 20 6d 65 73 | 73 61 67 65 06 06 72 65 |Mail mes|sage..re|
|00000fd0| 6d 20 53 70 65 63 69 61 | 6c 20 6c 6f 74 2e 20 44 |m Specia|l lot. D|
|00000fe0| 65 6c 69 6d 69 74 65 64 | 20 62 79 20 4b 53 74 61 |elimited| by KSta|
|00000ff0| 72 74 20 61 6e 64 20 4b | 45 6e 64 45 78 69 74 46 |rt and K|EndExitF|
|00001000| 6c 61 67 73 2e 06 72 65 | 6d 20 54 68 69 73 20 73 |lags..re|m This s|
|00001010| 61 76 65 73 20 61 64 64 | 69 6e 67 20 6c 6f 74 73 |aves add|ing lots|
|00001020| 20 6f 66 20 63 68 65 63 | 6b 73 20 66 6f 72 20 76 | of chec|ks for v|
|00001030| 61 72 69 6f 75 73 20 65 | 78 69 74 20 6b 65 79 73 |arious e|xit keys|
|00001040| 20 69 6e 20 74 68 65 06 | 72 65 6d 20 6d 65 73 73 | in the.|rem mess|
|00001050| 61 67 65 20 72 65 61 64 | 65 72 73 2e 06 63 6f 6e |age read|ers..con|
|00001060| 73 74 20 4b 53 74 61 72 | 74 45 78 69 74 46 6c 61 |st KStar|tExitFla|
|00001070| 67 73 25 20 3d 20 31 30 | 30 30 09 09 72 65 6d 20 |gs% = 10|00..rem |
|00001080| 44 6f 6e 27 74 20 75 73 | 65 2c 20 74 68 69 73 20 |Don't us|e, this |
|00001090| 6d 61 72 6b 73 20 73 74 | 61 72 74 20 6f 66 20 72 |marks st|art of r|
|000010a0| 65 61 64 65 72 20 65 78 | 69 74 20 66 6c 61 67 73 |eader ex|it flags|
|000010b0| 06 63 6f 6e 73 74 20 4b | 53 6b 69 70 54 6f 70 69 |.const K|SkipTopi|
|000010c0| 63 25 20 3d 20 31 30 30 | 31 09 09 72 65 6d 20 53 |c% = 100|1..rem S|
|000010d0| 6b 69 70 74 6f 70 69 63 | 20 74 6f 20 6e 65 78 74 |kiptopic| to next|
|000010e0| 20 75 6e 72 65 61 64 20 | 74 6f 70 69 63 20 66 6c | unread |topic fl|
|000010f0| 61 67 06 63 6f 6e 73 74 | 20 4b 42 61 63 6b 4f 6e |ag.const| KBackOn|
|00001100| 65 54 6f 70 69 63 25 20 | 3d 20 31 30 30 32 09 09 |eTopic% |= 1002..|
|00001110| 72 65 6d 20 4d 6f 76 65 | 20 62 61 63 6b 20 74 6f |rem Move| back to|
|00001120| 20 70 72 65 76 69 6f 75 | 73 20 74 6f 70 69 63 20 | previou|s topic |
|00001130| 72 65 61 64 06 63 6f 6e | 73 74 20 4b 4e 65 78 74 |read.con|st KNext|
|00001140| 50 65 6e 64 69 6e 67 25 | 20 3d 20 31 30 30 33 09 |Pending%| = 1003.|
|00001150| 09 72 65 6d 20 45 78 69 | 74 20 72 65 61 64 65 72 |.rem Exi|t reader|
|00001160| 20 61 6e 64 20 67 6f 74 | 6f 20 6e 65 78 74 20 70 | and got|o next p|
|00001170| 65 6e 64 69 6e 67 20 6d | 65 73 73 61 67 65 06 63 |ending m|essage.c|
|00001180| 6f 6e 73 74 20 4b 50 72 | 65 76 50 65 6e 64 69 6e |onst KPr|evPendin|
|00001190| 67 25 20 3d 20 31 30 30 | 34 09 09 72 65 6d 20 45 |g% = 100|4..rem E|
|000011a0| 78 69 74 20 72 65 61 64 | 65 72 20 61 6e 64 20 67 |xit read|er and g|
|000011b0| 6f 74 6f 20 70 72 65 76 | 69 6f 75 73 20 70 65 6e |oto prev|ious pen|
|000011c0| 64 69 6e 67 20 6d 65 73 | 73 61 67 65 06 63 6f 6e |ding mes|sage.con|
|000011d0| 73 74 20 4b 52 65 6d 6f | 76 65 50 65 6e 64 69 6e |st KRemo|vePendin|
|000011e0| 67 25 20 3d 20 31 30 30 | 35 09 09 72 65 6d 20 45 |g% = 100|5..rem E|
|000011f0| 78 69 74 20 72 65 61 64 | 65 72 20 61 6e 64 20 72 |xit read|er and r|
|00001200| 65 6d 6f 76 65 20 6d 65 | 73 73 61 67 65 20 66 72 |emove me|ssage fr|
|00001210| 6f 6d 20 70 65 6e 64 69 | 6e 67 06 63 6f 6e 73 74 |om pendi|ng.const|
|00001220| 20 4b 45 6e 64 45 78 69 | 74 46 6c 61 67 73 25 20 | KEndExi|tFlags% |
|00001230| 3d 20 31 30 30 36 09 09 | 72 65 6d 20 44 6f 6e 27 |= 1006..|rem Don'|
|00001240| 74 20 75 73 65 2c 20 74 | 68 69 73 20 6d 61 72 6b |t use, t|his mark|
|00001250| 73 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |s the en|d of the|
|00001260| 20 72 65 61 64 65 72 20 | 65 78 69 74 20 66 6c 61 | reader |exit fla|
|00001270| 67 73 06 06 06 70 72 6f | 63 20 6d 61 69 6e 3a 06 |gs...pro|c main:.|
|00001280| 09 67 6c 6f 62 61 6c 20 | 72 65 70 6c 79 46 69 6c |.global |replyFil|
|00001290| 65 24 28 4b 44 46 69 6c | 65 6e 61 6d 65 4c 65 6e |e$(KDFil|enameLen|
|000012a0| 25 29 2c 20 73 63 72 61 | 74 63 68 46 69 6c 65 24 |%), scra|tchFile$|
|000012b0| 28 4b 44 46 69 6c 65 4e | 61 6d 65 4c 65 6e 25 29 |(KDFileN|ameLen%)|
|000012c0| 06 09 67 6c 6f 62 61 6c | 20 66 69 6c 65 4c 69 73 |..global| fileLis|
|000012d0| 74 24 28 4b 44 46 69 6c | 65 6e 61 6d 65 4c 65 6e |t$(KDFil|enameLen|
|000012e0| 25 29 2c 20 62 6c 69 6e | 6b 53 63 72 69 70 74 24 |%), blin|kScript$|
|000012f0| 28 4b 44 46 69 6c 65 6e | 61 6d 65 4c 65 6e 25 29 |(KDFilen|ameLen%)|
|00001300| 06 09 67 6c 6f 62 61 6c | 20 63 69 78 42 69 6c 6c |..global| cixBill|
|00001310| 24 28 4b 44 46 69 6c 65 | 6e 61 6d 65 4c 65 6e 25 |$(KDFile|nameLen%|
|00001320| 29 2c 20 73 65 74 46 69 | 6c 65 24 28 4b 44 46 69 |), setFi|le$(KDFi|
|00001330| 6c 65 6e 61 6d 65 4c 65 | 6e 25 29 06 09 67 6c 6f |lenameLe|n%)..glo|
|00001340| 62 61 6c 20 70 72 65 66 | 73 46 69 6c 65 24 28 4b |bal pref|sFile$(K|
|00001350| 44 46 69 6c 65 6e 61 6d | 65 4c 65 6e 25 29 2c 20 |DFilenam|eLen%), |
|00001360| 61 64 64 73 46 69 6c 65 | 24 28 4b 44 46 69 6c 65 |addsFile|$(KDFile|
|00001370| 6e 61 6d 65 4c 65 6e 25 | 29 06 09 67 6c 6f 62 61 |nameLen%|)..globa|
|00001380| 6c 20 64 69 61 6c 46 69 | 6c 65 24 28 4b 44 46 69 |l dialFi|le$(KDFi|
|00001390| 6c 65 6e 61 6d 65 4c 65 | 6e 25 29 2c 20 61 72 63 |lenameLe|n%), arc|
|000013a0| 46 69 6c 65 24 28 4b 44 | 46 69 6c 65 6e 61 6d 65 |File$(KD|Filename|
|000013b0| 4c 65 6e 25 29 06 09 67 | 6c 6f 62 61 6c 20 70 61 |Len%)..g|lobal pa|
|000013c0| 73 73 46 69 6c 65 24 28 | 4b 44 46 69 6c 65 6e 61 |ssFile$(|KDFilena|
|000013d0| 6d 65 4c 65 6e 25 29 2c | 20 6d 61 69 6e 53 63 72 |meLen%),| mainScr|
|000013e0| 69 70 74 24 28 4b 44 46 | 69 6c 65 6e 61 6d 65 4c |ipt$(KDF|ilenameL|
|000013f0| 65 6e 25 29 06 09 67 6c | 6f 62 61 6c 20 75 73 65 |en%)..gl|obal use|
|00001400| 72 53 63 72 69 70 74 44 | 69 72 24 28 4b 44 46 69 |rScriptD|ir$(KDFi|
|00001410| 6c 65 6e 61 6d 65 4c 65 | 6e 25 29 06 09 67 6c 6f |lenameLe|n%)..glo|
|00001420| 62 61 6c 20 68 65 6c 70 | 54 68 72 65 61 64 49 44 |bal help|ThreadID|
|00001430| 26 09 09 72 65 6d 20 41 | 6e 20 49 44 20 66 6f 72 |&..rem A|n ID for|
|00001440| 20 74 72 61 63 6b 69 6e | 67 20 74 68 65 20 44 61 | trackin|g the Da|
|00001450| 74 61 20 61 70 70 20 66 | 6f 72 20 70 72 6f 67 72 |ta app f|or progr|
|00001460| 61 6d 20 68 65 6c 70 06 | 09 67 6c 6f 62 61 6c 20 |am help.|.global |
|00001470| 68 65 6c 70 53 74 61 74 | 75 73 26 09 09 72 65 6d |helpStat|us&..rem|
|00001480| 20 41 20 73 74 61 74 75 | 73 20 77 6f 72 64 20 74 | A statu|s word t|
|00001490| 6f 20 6b 65 65 70 20 74 | 72 61 63 6b 20 6f 66 20 |o keep t|rack of |
|000014a0| 74 68 65 20 68 65 6c 70 | 20 74 68 72 65 61 64 06 |the help| thread.|
|000014b0| 09 67 6c 6f 62 61 6c 20 | 61 70 70 54 68 72 65 61 |.global |appThrea|
|000014c0| 64 49 44 26 2c 20 74 65 | 6d 70 26 06 09 67 6c 6f |dID&, te|mp&..glo|
|000014d0| 62 61 6c 20 73 63 72 61 | 74 63 68 24 28 36 30 29 |bal scra|tch$(60)|
|000014e0| 2c 20 63 69 78 53 63 72 | 61 74 63 68 24 28 36 30 |, cixScr|atch$(60|
|000014f0| 29 2c 20 61 72 63 68 69 | 76 65 44 69 72 24 28 32 |), archi|veDir$(2|
|00001500| 35 35 29 2c 20 70 65 6e | 64 69 6e 67 46 69 6c 65 |55), pen|dingFile|
|00001510| 24 28 32 35 35 29 06 09 | 67 6c 6f 62 61 6c 20 73 |$(255)..|global s|
|00001520| 65 74 75 70 53 63 72 69 | 70 74 24 28 36 30 29 06 |etupScri|pt$(60).|
|00001530| 09 67 6c 6f 62 61 6c 20 | 70 72 75 6e 65 45 6d 70 |.global |pruneEmp|
|00001540| 74 69 65 73 25 2c 20 73 | 74 61 72 74 54 6f 70 69 |ties%, s|tartTopi|
|00001550| 63 25 2c 20 6c 61 73 74 | 52 65 61 64 54 6f 70 69 |c%, last|ReadTopi|
|00001560| 63 4e 6f 25 06 09 67 6c | 6f 62 61 6c 20 63 6f 6e |cNo%..gl|obal con|
|00001570| 66 65 72 65 6e 63 65 24 | 28 32 30 29 2c 20 74 6f |ference$|(20), to|
|00001580| 70 69 63 24 28 32 30 29 | 2c 20 70 6f 73 74 65 72 |pic$(20)|, poster|
|00001590| 4e 61 6d 65 24 28 32 30 | 29 2c 20 64 61 74 65 53 |Name$(20|), dateS|
|000015a0| 74 61 6d 70 24 28 33 30 | 29 06 09 67 6c 6f 62 61 |tamp$(30|)..globa|
|000015b0| 6c 20 75 6e 72 65 61 64 | 4d 61 69 6c 25 2c 20 75 |l unread|Mail%, u|
|000015c0| 6e 72 65 61 64 43 6f 6e | 66 25 06 09 67 6c 6f 62 |nreadCon|f%..glob|
|000015d0| 61 6c 20 63 63 46 6c 61 | 67 25 09 09 72 65 6d 20 |al ccFla|g%..rem |
|000015e0| 31 20 3d 20 43 43 20 6d | 61 69 6c 20 74 6f 20 73 |1 = CC m|ail to s|
|000015f0| 65 6c 66 2c 20 32 20 3d | 20 64 6f 6e 27 74 06 09 |elf, 2 =| don't..|
|00001600| 67 6c 6f 62 61 6c 20 75 | 73 65 72 4e 61 6d 65 24 |global u|serName$|
|00001610| 28 32 30 29 2c 20 70 61 | 73 73 77 6f 72 64 24 28 |(20), pa|ssword$(|
|00001620| 32 30 29 2c 20 73 70 65 | 65 64 26 06 09 67 6c 6f |20), spe|ed&..glo|
|00001630| 62 61 6c 20 6d 65 6e 75 | 50 6f 73 25 2c 20 70 72 |bal menu|Pos%, pr|
|00001640| 65 66 46 6f 6e 74 25 06 | 09 67 6c 6f 62 61 6c 20 |efFont%.|.global |
|00001650| 69 72 4c 69 6e 6b 25 2c | 20 6c 6f 63 61 74 69 6f |irLink%,| locatio|
|00001660| 6e 25 2c 20 73 63 72 61 | 74 63 68 70 61 64 46 6f |n%, scra|tchpadFo|
|00001670| 72 6d 61 74 25 2c 20 70 | 72 75 6e 65 44 61 79 73 |rmat%, p|runeDays|
|00001680| 25 06 06 09 67 6c 6f 62 | 61 6c 20 70 61 74 68 24 |%...glob|al path$|
|00001690| 28 4b 44 46 69 6c 65 6e | 61 6d 65 4c 65 6e 25 29 |(KDFilen|ameLen%)|
|000016a0| 06 09 67 6c 6f 62 61 6c | 20 6e 75 6d 62 65 72 24 |..global| number$|
|000016b0| 28 32 30 29 2c 20 70 72 | 65 66 69 78 24 28 32 30 |(20), pr|efix$(20|
|000016c0| 29 06 09 67 6c 6f 62 61 | 6c 20 76 6f 6c 75 6d 65 |)..globa|l volume|
|000016d0| 26 09 09 72 65 6d 20 44 | 69 61 6c 6c 69 6e 67 2f |&..rem D|ialling/|
|000016e0| 6d 6f 64 65 6d 20 76 6f | 6c 75 6d 65 3a 20 30 20 |modem vo|lume: 0 |
|000016f0| 69 73 20 6f 66 66 2c 20 | 31 20 69 73 20 6f 6e 06 |is off, |1 is on.|
|00001700| 09 67 6c 6f 62 61 6c 20 | 73 74 61 72 74 44 65 6c |.global |startDel|
|00001710| 61 79 26 2c 20 77 6f 72 | 64 57 72 61 70 25 2c 20 |ay&, wor|dWrap%, |
|00001720| 63 68 6b 50 65 6e 64 69 | 6e 67 25 06 09 67 6c 6f |chkPendi|ng%..glo|
|00001730| 62 61 6c 20 70 65 72 73 | 6f 6e 25 06 09 67 6c 6f |bal pers|on%..glo|
|00001740| 62 61 6c 20 69 6e 46 69 | 6c 65 25 2c 20 6f 75 74 |bal inFi|le%, out|
|00001750| 46 69 6c 65 25 09 09 72 | 65 6d 20 75 73 65 64 20 |File%..r|em used |
|00001760| 69 6e 20 76 61 72 69 6f | 75 73 20 63 72 6f 73 73 |in vario|us cross|
|00001770| 2d 70 72 6f 63 65 64 75 | 72 65 20 6f 70 65 72 61 |-procedu|re opera|
|00001780| 74 69 6f 6e 73 06 09 67 | 6c 6f 62 61 6c 20 74 6f |tions..g|lobal to|
|00001790| 70 69 63 73 24 28 4b 41 | 72 72 61 79 4d 61 78 54 |pics$(KA|rrayMaxT|
|000017a0| 6f 70 69 63 73 25 2c 20 | 36 30 29 2c 20 74 6f 70 |opics%, |60), top|
|000017b0| 69 63 73 46 6f 75 6e 64 | 25 06 09 67 6c 6f 62 61 |icsFound|%..globa|
|000017c0| 6c 20 74 65 78 74 46 6f | 6e 74 26 2c 20 6d 61 69 |l textFo|nt&, mai|
|000017d0| 6e 46 6f 6e 74 26 2c 20 | 73 6d 61 6c 6c 46 6f 6e |nFont&, |smallFon|
|000017e0| 74 26 06 09 67 6c 6f 62 | 61 6c 20 71 75 6f 74 65 |t&..glob|al quote|
|000017f0| 24 28 33 29 2c 20 75 73 | 65 72 44 69 63 74 25 2c |$(3), us|erDict%,|
|00001800| 20 63 6f 6e 66 69 72 6d | 45 78 69 74 25 2c 20 71 | confirm|Exit%, q|
|00001810| 75 6f 74 65 52 65 66 25 | 06 09 67 6c 6f 62 61 6c |uoteRef%|..global|
|00001820| 20 68 6f 6d 65 24 28 32 | 35 29 2c 20 6f 66 66 69 | home$(2|5), offi|
|00001830| 63 65 24 28 32 35 29 2c | 20 6d 6f 62 69 6c 65 24 |ce$(25),| mobile$|
|00001840| 28 32 35 29 2c 20 68 6f | 74 65 6c 24 28 32 35 29 |(25), ho|tel$(25)|
|00001850| 09 09 72 65 6d 20 45 78 | 74 72 61 20 64 69 61 6c |..rem Ex|tra dial|
|00001860| 6c 69 6e 67 20 70 72 65 | 66 69 78 65 73 06 09 67 |ling pre|fixes..g|
|00001870| 6c 6f 62 61 6c 20 77 69 | 6e 64 6f 77 26 2c 20 78 |lobal wi|ndow&, x|
|00001880| 50 6f 73 26 2c 20 79 50 | 6f 73 26 2c 20 74 79 70 |Pos&, yP|os&, typ|
|00001890| 65 26 2c 20 62 75 74 74 | 6f 6e 4f 66 66 73 65 74 |e&, butt|onOffset|
|000018a0| 25 06 09 67 6c 6f 62 61 | 6c 20 6d 61 69 6e 49 64 |%..globa|l mainId|
|000018b0| 25 2c 20 62 61 6e 6e 65 | 72 57 69 6e 49 64 25 2c |%, banne|rWinId%,|
|000018c0| 20 62 61 6e 6e 65 72 49 | 64 25 2c 20 77 69 6e 57 | bannerI|d%, winW|
|000018d0| 69 64 74 68 25 2c 20 62 | 75 74 74 6f 6e 42 61 72 |idth%, b|uttonBar|
|000018e0| 57 69 64 74 68 25 06 09 | 67 6c 6f 62 61 6c 20 6d |Width%..|global m|
|000018f0| 61 69 6e 42 75 74 74 6f | 6e 73 49 64 25 2c 20 6d |ainButto|nsId%, m|
|00001900| 65 73 73 42 75 74 74 6f | 6e 73 49 64 25 2c 20 6f |essButto|nsId%, o|
|00001910| 72 69 67 42 75 74 74 6f | 6e 73 49 64 25 2c 20 6d |rigButto|nsId%, m|
|00001920| 61 69 6c 42 75 74 74 6f | 6e 73 49 64 25 06 09 67 |ailButto|nsId%..g|
|00001930| 6c 6f 62 61 6c 20 68 61 | 74 63 68 49 64 25 2c 20 |lobal ha|tchId%, |
|00001940| 4f 75 74 54 72 61 79 49 | 64 25 06 09 67 6c 6f 62 |OutTrayI|d%..glob|
|00001950| 61 6c 20 70 65 6e 64 69 | 6e 67 42 75 74 74 6f 6e |al pendi|ngButton|
|00001960| 73 49 64 25 2c 20 70 65 | 6e 64 69 6e 67 42 75 74 |sId%, pe|ndingBut|
|00001970| 74 6f 6e 57 69 64 74 68 | 25 06 09 67 6c 6f 62 61 |tonWidth|%..globa|
|00001980| 6c 20 73 6f 72 74 44 69 | 73 70 6c 61 79 25 2c 20 |l sortDi|splay%, |
|00001990| 61 75 74 6f 50 6f 73 74 | 25 2c 20 73 74 61 72 74 |autoPost|%, start|
|000019a0| 75 70 25 06 09 67 6c 6f | 62 61 6c 20 66 69 72 73 |up%..glo|bal firs|
|000019b0| 74 4d 65 73 73 26 2c 20 | 6c 61 73 74 4d 65 73 73 |tMess&, |lastMess|
|000019c0| 26 2c 20 6e 65 78 74 4d | 61 69 6c 4e 6f 25 06 09 |&, nextM|ailNo%..|
|000019d0| 67 6c 6f 62 61 6c 20 6c | 69 6e 65 4e 6f 25 2c 20 |global l|ineNo%, |
|000019e0| 68 6f 74 58 50 6f 73 26 | 2c 20 68 6f 74 59 50 6f |hotXPos&|, hotYPo|
|000019f0| 73 26 09 09 72 65 6d 20 | 48 6f 74 6c 69 6e 6b 20 |s&..rem |Hotlink |
|00001a00| 70 6f 69 6e 74 65 72 20 | 76 61 72 73 06 09 67 6c |pointer |vars..gl|
|00001a10| 6f 62 61 6c 20 73 69 67 | 6e 61 74 75 72 65 31 24 |obal sig|nature1$|
|00001a20| 28 36 30 29 2c 20 73 69 | 67 6e 61 74 75 72 65 32 |(60), si|gnature2|
|00001a30| 24 28 36 30 29 06 09 67 | 6c 6f 62 61 6c 20 73 69 |$(60)..g|lobal si|
|00001a40| 67 6e 61 74 75 72 65 33 | 24 28 36 30 29 2c 20 73 |gnature3|$(60), s|
|00001a50| 69 67 6e 61 74 75 72 65 | 34 24 28 36 30 29 2c 20 |ignature|4$(60), |
|00001a60| 73 69 67 4e 61 6d 65 24 | 28 32 30 29 2c 20 73 69 |sigName$|(20), si|
|00001a70| 67 6e 61 74 75 72 65 25 | 2c 20 73 69 67 46 69 6c |gnature%|, sigFil|
|00001a80| 65 24 28 36 30 29 06 06 | 09 6c 6f 63 61 6c 20 69 |e$(60)..|.local i|
|00001a90| 25 2c 20 6b 25 2c 20 72 | 65 74 25 06 06 09 67 69 |%, k%, r|et%...gi|
|00001aa0| 70 72 69 6e 74 20 22 43 | 69 78 45 64 20 6c 6f 61 |print "C|ixEd loa|
|00001ab0| 64 69 6e 67 2e 2e 2e 22 | 06 09 73 74 61 72 74 75 |ding..."|..startu|
|00001ac0| 70 25 20 3d 20 4b 59 65 | 73 25 06 06 09 72 65 6d |p% = KYe|s%...rem|
|00001ad0| 20 47 65 74 20 74 68 72 | 65 61 64 20 66 6f 72 20 | Get thr|ead for |
|00001ae0| 74 68 69 73 20 61 70 70 | 20 73 6f 20 77 65 20 63 |this app| so we c|
|00001af0| 61 6e 20 73 65 6e 64 20 | 6d 65 73 73 61 67 65 73 |an send |messages|
|00001b00| 20 74 6f 20 64 69 61 6c | 6f 67 73 06 09 61 70 70 | to dial|ogs..app|
|00001b10| 54 68 72 65 61 64 49 44 | 26 20 3d 20 47 65 74 54 |ThreadID|& = GetT|
|00001b20| 68 72 65 61 64 49 44 46 | 72 6f 6d 41 70 70 55 69 |hreadIDF|romAppUi|
|00001b30| 64 26 3a 28 4b 55 69 64 | 41 70 70 4d 79 41 70 70 |d&:(KUid|AppMyApp|
|00001b40| 30 26 2c 20 74 65 6d 70 | 26 29 06 06 09 72 65 6d |0&, temp|&)...rem|
|00001b50| 20 49 6e 69 74 69 61 6c | 69 73 65 20 70 72 65 66 | Initial|ise pref|
|00001b60| 65 72 65 6e 63 65 73 06 | 06 09 73 69 67 6e 61 74 |erences.|..signat|
|00001b70| 75 72 65 31 24 20 3d 20 | 22 22 06 09 73 69 67 6e |ure1$ = |""..sign|
|00001b80| 61 74 75 72 65 32 24 20 | 3d 20 22 22 06 06 09 68 |ature2$ |= ""...h|
|00001b90| 6f 6d 65 24 20 3d 20 22 | 22 06 09 6f 66 66 69 63 |ome$ = "|"..offic|
|00001ba0| 65 24 20 3d 20 22 39 2c | 22 06 09 6d 6f 62 69 6c |e$ = "9,|"..mobil|
|00001bb0| 65 24 20 3d 20 22 22 06 | 09 68 6f 74 65 6c 24 20 |e$ = "".|.hotel$ |
|00001bc0| 3d 20 22 39 2c 22 06 09 | 76 6f 6c 75 6d 65 26 20 |= "9,"..|volume& |
|00001bd0| 3d 20 4b 59 65 73 25 09 | 09 72 65 6d 20 64 65 66 |= KYes%.|.rem def|
|00001be0| 61 75 6c 74 20 4d 6f 64 | 65 6d 20 73 6f 75 6e 64 |ault Mod|em sound|
|00001bf0| 73 20 6f 6e 06 09 70 72 | 75 6e 65 45 6d 70 74 69 |s on..pr|uneEmpti|
|00001c00| 65 73 25 20 3d 20 4b 4e | 6f 25 09 09 72 65 6d 20 |es% = KN|o%..rem |
|00001c10| 64 65 66 61 75 6c 74 20 | 44 6f 6e 27 74 20 70 72 |default |Don't pr|
|00001c20| 75 6e 65 20 65 6d 70 74 | 79 20 74 6f 70 69 63 73 |une empt|y topics|
|00001c30| 06 09 61 75 74 6f 50 6f | 73 74 25 20 3d 20 4b 59 |..autoPo|st% = KY|
|00001c40| 65 73 25 09 09 72 65 6d | 20 64 65 66 61 75 6c 74 |es%..rem| default|
|00001c50| 20 41 75 74 6f 20 63 6c | 6f 73 65 20 63 6f 6d 6d | Auto cl|ose comm|
|00001c60| 73 20 61 66 74 65 72 20 | 62 6c 69 6e 6b 20 61 6e |s after |blink an|
|00001c70| 64 20 70 6f 73 74 20 6d | 65 73 73 61 67 65 73 06 |d post m|essages.|
|00001c80| 09 73 6f 72 74 44 69 73 | 70 6c 61 79 25 20 3d 20 |.sortDis|play% = |
|00001c90| 4b 59 65 73 25 09 09 72 | 65 6d 20 64 65 66 61 75 |KYes%..r|em defau|
|00001ca0| 6c 74 20 53 6f 72 74 20 | 74 6f 70 69 63 73 20 62 |lt Sort |topics b|
|00001cb0| 65 66 6f 72 65 20 64 69 | 73 70 6c 61 79 20 6f 6e |efore di|splay on|
|00001cc0| 20 6d 61 69 6e 20 73 63 | 72 65 65 6e 06 09 51 75 | main sc|reen..Qu|
|00001cd0| 6f 74 65 24 20 3d 20 22 | 3e 22 09 09 72 65 6d 20 |ote$ = "|>"..rem |
|00001ce0| 51 75 6f 74 65 64 20 74 | 65 78 74 20 6d 61 72 6b |Quoted t|ext mark|
|00001cf0| 65 72 73 06 09 55 73 65 | 72 44 69 63 74 25 20 3d |ers..Use|rDict% =|
|00001d00| 20 4b 4e 6f 25 09 09 72 | 65 6d 20 55 73 65 20 75 | KNo%..r|em Use u|
|00001d10| 73 65 72 20 64 69 63 74 | 69 6f 6e 61 72 79 20 69 |ser dict|ionary i|
|00001d20| 6e 20 73 70 65 6c 6c 69 | 6e 67 20 63 68 65 63 6b |n spelli|ng check|
|00001d30| 73 06 09 43 6f 6e 66 69 | 72 6d 45 78 69 74 25 20 |s..Confi|rmExit% |
|00001d40| 3d 20 4b 59 65 73 25 09 | 09 72 65 6d 20 45 78 70 |= KYes%.|.rem Exp|
|00001d50| 65 72 74 20 3d 20 59 65 | 73 20 64 69 73 61 62 6c |ert = Ye|s disabl|
|00001d60| 65 73 20 65 78 69 74 20 | 74 72 61 70 73 20 65 74 |es exit |traps et|
|00001d70| 63 06 09 51 75 6f 74 65 | 52 65 66 25 20 3d 20 4b |c..Quote|Ref% = K|
|00001d80| 59 65 73 25 09 09 72 65 | 6d 20 49 6e 73 65 72 74 |Yes%..re|m Insert|
|00001d90| 20 71 75 6f 74 65 64 20 | 6d 65 73 73 61 67 65 20 | quoted |message |
|00001da0| 73 65 6e 64 65 72 73 20 | 6e 61 6d 65 20 28 4d 72 |senders |name (Mr|
|00001db0| 20 78 20 73 61 69 64 29 | 06 09 77 6f 72 64 57 72 | x said)|..wordWr|
|00001dc0| 61 70 25 20 3d 20 37 37 | 09 09 72 65 6d 20 44 65 |ap% = 77|..rem De|
|00001dd0| 66 61 75 6c 74 20 6d 61 | 78 20 63 68 61 72 61 63 |fault ma|x charac|
|00001de0| 74 65 72 73 20 70 65 72 | 20 6c 69 6e 65 20 62 65 |ters per| line be|
|00001df0| 66 6f 72 65 20 77 72 61 | 70 2e 06 09 63 68 6b 50 |fore wra|p...chkP|
|00001e00| 65 6e 64 69 6e 67 25 20 | 3d 20 4b 59 65 73 25 09 |ending% |= KYes%.|
|00001e10| 09 72 65 6d 20 64 65 66 | 61 75 6c 74 20 64 69 73 |.rem def|ault dis|
|00001e20| 70 6c 61 79 20 70 65 6e | 64 69 6e 67 20 6d 65 73 |play pen|ding mes|
|00001e30| 73 61 67 65 73 20 6f 6e | 20 73 74 61 72 74 75 70 |sages on| startup|
|00001e40| 06 09 70 72 65 66 46 6f | 6e 74 25 20 3d 20 31 06 |..prefFo|nt% = 1.|
|00001e50| 09 69 72 4c 69 6e 6b 25 | 20 3d 20 31 06 09 6c 6f |.irLink%| = 1..lo|
|00001e60| 63 61 74 69 6f 6e 25 20 | 3d 20 31 06 09 73 63 72 |cation% |= 1..scr|
|00001e70| 61 74 63 68 70 61 64 46 | 6f 72 6d 61 74 25 20 3d |atchpadF|ormat% =|
|00001e80| 20 35 06 09 70 72 75 6e | 65 44 61 79 73 25 20 3d | 5..prun|eDays% =|
|00001e90| 20 35 06 06 09 77 69 6e | 57 69 64 74 68 25 20 3d | 5...win|Width% =|
|00001ea0| 20 36 34 30 06 09 73 74 | 61 72 74 54 6f 70 69 63 | 640..st|artTopic|
|00001eb0| 25 20 3d 20 30 06 06 09 | 70 61 74 68 24 20 3d 20 |% = 0...|path$ = |
|00001ec0| 6c 65 66 74 24 28 63 6d | 64 24 28 31 29 2c 20 6c |left$(cm|d$(1), l|
|00001ed0| 65 6e 28 63 6d 64 24 28 | 31 29 29 20 2d 20 31 30 |en(cmd$(|1)) - 10|
|00001ee0| 29 06 06 09 72 65 6d 20 | 4a 75 73 74 20 63 68 65 |)...rem |Just che|
|00001ef0| 63 6b 20 75 70 67 72 61 | 64 65 72 73 20 68 61 76 |ck upgra|ders hav|
|00001f00| 65 20 69 6e 73 74 61 6c | 6c 65 64 20 6d 62 6d 20 |e instal|led mbm |
|00001f10| 63 6f 72 72 65 63 74 6c | 79 06 09 69 66 20 6e 6f |correctl|y..if no|
|00001f20| 74 20 65 78 69 73 74 28 | 70 61 74 68 24 20 2b 20 |t exist(|path$ + |
|00001f30| 22 5c 43 69 78 45 64 2e | 6d 62 6d 22 29 06 09 09 |"\CixEd.|mbm")...|
|00001f40| 61 6c 65 72 74 28 22 43 | 69 78 45 64 2e 6d 62 6d |alert("C|ixEd.mbm|
|00001f50| 20 69 73 20 6d 69 73 73 | 69 6e 67 20 66 72 6f 6d | is miss|ing from|
|00001f60| 20 5c 53 59 53 54 45 4d | 5c 41 50 50 53 5c 43 49 | \SYSTEM|\APPS\CI|
|00001f70| 58 45 44 5c 22 2c 20 22 | 43 69 78 45 64 20 77 69 |XED\", "|CixEd wi|
|00001f80| 6c 6c 20 6e 6f 74 20 72 | 75 6e 20 77 69 74 68 6f |ll not r|un witho|
|00001f90| 75 74 20 69 74 22 29 06 | 09 09 73 74 6f 70 06 09 |ut it").|..stop..|
|00001fa0| 65 6e 64 69 66 06 06 09 | 6d 61 69 6e 49 64 25 20 |endif...|mainId% |
|00001fb0| 3d 20 31 06 09 62 61 6e | 6e 65 72 49 64 25 20 3d |= 1..ban|nerId% =|
|00001fc0| 20 67 6c 6f 61 64 62 69 | 74 28 70 61 74 68 24 20 | gloadbi|t(path$ |
|00001fd0| 2b 20 22 5c 43 69 78 45 | 64 2e 6d 62 6d 22 2c 20 |+ "\CixE|d.mbm", |
|00001fe0| 4b 67 4c 6f 61 64 42 69 | 74 52 65 61 64 4f 6e 6c |KgLoadBi|tReadOnl|
|00001ff0| 79 25 2c 20 30 29 06 06 | 09 72 65 6d 20 41 6c 6c |y%, 0)..|.rem All|
|00002000| 20 74 68 65 73 65 20 62 | 75 74 74 6f 6e 20 67 72 | these b|utton gr|
|00002010| 61 70 68 69 63 73 20 73 | 68 6f 75 6c 64 20 62 65 |aphics s|hould be|
|00002020| 20 74 68 65 20 73 61 6d | 65 20 6c 65 6e 67 74 68 | the sam|e length|
|00002030| 20 61 6e 64 20 68 65 69 | 67 68 74 06 09 6d 61 69 | and hei|ght..mai|
|00002040| 6e 42 75 74 74 6f 6e 73 | 49 64 25 20 3d 20 67 6c |nButtons|Id% = gl|
|00002050| 6f 61 64 62 69 74 28 70 | 61 74 68 24 20 2b 20 22 |oadbit(p|ath$ + "|
|00002060| 5c 43 69 78 45 64 2e 6d | 62 6d 22 2c 20 4b 67 4c |\CixEd.m|bm", KgL|
|00002070| 6f 61 64 42 69 74 52 65 | 61 64 4f 6e 6c 79 25 2c |oadBitRe|adOnly%,|
|00002080| 20 31 29 06 09 6d 65 73 | 73 42 75 74 74 6f 6e 73 | 1)..mes|sButtons|
|00002090| 49 64 25 20 3d 20 67 6c | 6f 61 64 62 69 74 28 70 |Id% = gl|oadbit(p|
|000020a0| 61 74 68 24 20 2b 20 22 | 5c 43 69 78 45 64 2e 6d |ath$ + "|\CixEd.m|
|000020b0| 62 6d 22 2c 20 4b 67 4c | 6f 61 64 42 69 74 52 65 |bm", KgL|oadBitRe|
|000020c0| 61 64 4f 6e 6c 79 25 2c | 20 32 29 06 09 6f 72 69 |adOnly%,| 2)..ori|
|000020d0| 67 42 75 74 74 6f 6e 73 | 49 64 25 20 3d 20 67 6c |gButtons|Id% = gl|
|000020e0| 6f 61 64 62 69 74 28 70 | 61 74 68 24 20 2b 20 22 |oadbit(p|ath$ + "|
|000020f0| 5c 43 69 78 45 64 2e 6d | 62 6d 22 2c 20 4b 67 4c |\CixEd.m|bm", KgL|
|00002100| 6f 61 64 42 69 74 52 65 | 61 64 4f 6e 6c 79 25 2c |oadBitRe|adOnly%,|
|00002110| 20 33 29 06 09 6d 61 69 | 6c 42 75 74 74 6f 6e 73 | 3)..mai|lButtons|
|00002120| 49 64 25 20 3d 20 67 6c | 6f 61 64 62 69 74 28 70 |Id% = gl|oadbit(p|
|00002130| 61 74 68 24 20 2b 20 22 | 5c 43 69 78 45 64 2e 6d |ath$ + "|\CixEd.m|
|00002140| 62 6d 22 2c 20 4b 67 4c | 6f 61 64 42 69 74 52 65 |bm", KgL|oadBitRe|
|00002150| 61 64 4f 6e 6c 79 25 2c | 20 34 29 06 06 09 62 75 |adOnly%,| 4)...bu|
|00002160| 74 74 6f 6e 42 61 72 57 | 69 64 74 68 25 20 3d 20 |ttonBarW|idth% = |
|00002170| 67 77 69 64 74 68 06 09 | 62 75 74 74 6f 6e 4f 66 |gwidth..|buttonOf|
|00002180| 66 73 65 74 25 20 3d 20 | 77 69 6e 57 69 64 74 68 |fset% = |winWidth|
|00002190| 25 20 2d 20 62 75 74 74 | 6f 6e 42 61 72 57 69 64 |% - butt|onBarWid|
|000021a0| 74 68 25 06 09 70 65 6e | 64 69 6e 67 42 75 74 74 |th%..pen|dingButt|
|000021b0| 6f 6e 73 49 64 25 20 3d | 20 67 6c 6f 61 64 62 69 |onsId% =| gloadbi|
|000021c0| 74 28 70 61 74 68 24 20 | 2b 20 22 5c 43 69 78 45 |t(path$ |+ "\CixE|
|000021d0| 64 2e 6d 62 6d 22 2c 20 | 4b 67 4c 6f 61 64 42 69 |d.mbm", |KgLoadBi|
|000021e0| 74 52 65 61 64 4f 6e 6c | 79 25 2c 20 35 29 06 09 |tReadOnl|y%, 5)..|
|000021f0| 70 65 6e 64 69 6e 67 42 | 75 74 74 6f 6e 57 69 64 |pendingB|uttonWid|
|00002200| 74 68 25 20 3d 20 67 77 | 69 64 74 68 06 09 68 61 |th% = gw|idth..ha|
|00002210| 74 63 68 49 64 25 20 3d | 20 67 6c 6f 61 64 62 69 |tchId% =| gloadbi|
|00002220| 74 28 70 61 74 68 24 20 | 2b 20 22 5c 43 69 78 45 |t(path$ |+ "\CixE|
|00002230| 64 2e 6d 62 6d 22 2c 20 | 4b 67 4c 6f 61 64 42 69 |d.mbm", |KgLoadBi|
|00002240| 74 52 65 61 64 4f 6e 6c | 79 25 2c 20 39 29 06 09 |tReadOnl|y%, 9)..|
|00002250| 4f 75 74 54 72 61 79 49 | 64 25 20 3d 20 67 6c 6f |OutTrayI|d% = glo|
|00002260| 61 64 62 69 74 28 70 61 | 74 68 24 20 2b 20 22 5c |adbit(pa|th$ + "\|
|00002270| 43 69 78 45 64 2e 6d 62 | 6d 22 2c 20 4b 67 4c 6f |CixEd.mb|m", KgLo|
|00002280| 61 64 42 69 74 52 65 61 | 64 4f 6e 6c 79 25 2c 20 |adBitRea|dOnly%, |
|00002290| 31 30 29 06 06 09 6e 75 | 6d 62 65 72 24 20 3d 20 |10)...nu|mber$ = |
|000022a0| 22 31 38 31 20 32 35 35 | 20 35 32 35 32 22 06 09 |"181 255| 5252"..|
|000022b0| 70 72 65 66 69 78 24 20 | 3d 20 22 30 22 06 09 73 |prefix$ |= "0"..s|
|000022c0| 74 61 72 74 44 65 6c 61 | 79 26 20 3d 20 30 06 06 |tartDela|y& = 0..|
|000022d0| 09 63 63 46 6c 61 67 25 | 20 3d 20 4b 4e 6f 25 09 |.ccFlag%| = KNo%.|
|000022e0| 09 72 65 6d 20 64 65 66 | 61 75 6c 74 20 4f 66 66 |.rem def|ault Off|
|000022f0| 06 06 09 70 72 65 66 73 | 46 69 6c 65 24 20 3d 20 |...prefs|File$ = |
|00002300| 22 43 3a 5c 53 79 73 74 | 65 6d 5c 41 70 70 73 5c |"C:\Syst|em\Apps\|
|00002310| 43 69 78 45 64 5c 50 72 | 65 66 73 2e 64 62 66 22 |CixEd\Pr|efs.dbf"|
|00002320| 06 09 70 61 73 73 46 69 | 6c 65 24 20 3d 20 22 43 |..passFi|le$ = "C|
|00002330| 3a 5c 53 79 73 74 65 6d | 5c 41 70 70 73 5c 43 69 |:\System|\Apps\Ci|
|00002340| 78 45 64 5c 50 61 73 73 | 77 6f 72 64 2e 64 62 66 |xEd\Pass|word.dbf|
|00002350| 22 06 09 73 65 74 46 69 | 6c 65 24 20 3d 20 22 43 |"..setFi|le$ = "C|
|00002360| 3a 5c 53 79 73 74 65 6d | 5c 41 70 70 73 5c 43 69 |:\System|\Apps\Ci|
|00002370| 78 45 64 5c 53 65 74 74 | 69 6e 67 73 2e 64 62 66 |xEd\Sett|ings.dbf|
|00002380| 22 06 09 64 69 61 6c 46 | 69 6c 65 24 20 3d 20 22 |"..dialF|ile$ = "|
|00002390| 43 3a 5c 53 79 73 74 65 | 6d 5c 41 70 70 73 5c 43 |C:\Syste|m\Apps\C|
|000023a0| 69 78 45 64 5c 44 69 61 | 6c 6c 69 6e 67 2e 64 62 |ixEd\Dia|lling.db|
|000023b0| 66 22 06 09 61 64 64 73 | 46 69 6c 65 24 20 3d 20 |f"..adds|File$ = |
|000023c0| 22 43 3a 5c 53 79 73 74 | 65 6d 5c 41 70 70 73 5c |"C:\Syst|em\Apps\|
|000023d0| 43 69 78 45 64 5c 41 64 | 64 72 65 73 73 2e 64 62 |CixEd\Ad|dress.db|
|000023e0| 66 22 06 09 73 69 67 46 | 69 6c 65 24 20 3d 20 22 |f"..sigF|ile$ = "|
|000023f0| 43 3a 5c 53 79 73 74 65 | 6d 5c 41 70 70 73 5c 43 |C:\Syste|m\Apps\C|
|00002400| 69 78 45 64 5c 53 69 67 | 6e 61 74 75 72 65 73 2e |ixEd\Sig|natures.|
|00002410| 64 62 66 22 06 09 61 72 | 63 46 69 6c 65 24 20 3d |dbf"..ar|cFile$ =|
|00002420| 20 22 43 3a 5c 53 79 73 | 74 65 6d 5c 41 70 70 73 | "C:\Sys|tem\Apps|
|00002430| 5c 43 69 78 45 64 5c 41 | 72 63 68 69 76 65 2e 64 |\CixEd\A|rchive.d|
|00002440| 62 66 22 06 09 63 69 78 | 42 69 6c 6c 24 20 3d 20 |bf"..cix|Bill$ = |
|00002450| 22 43 3a 5c 53 79 73 74 | 65 6d 5c 41 70 70 73 5c |"C:\Syst|em\Apps\|
|00002460| 43 69 78 45 64 5c 43 69 | 78 42 69 6c 6c 2e 64 62 |CixEd\Ci|xBill.db|
|00002470| 66 22 06 09 66 69 6c 65 | 4c 69 73 74 24 20 3d 20 |f"..file|List$ = |
|00002480| 22 43 3a 5c 53 79 73 74 | 65 6d 5c 41 70 70 73 5c |"C:\Syst|em\Apps\|
|00002490| 43 69 78 45 64 5c 44 6f | 77 6e 6c 6f 61 64 2e 64 |CixEd\Do|wnload.d|
|000024a0| 62 66 22 06 09 70 65 6e | 64 69 6e 67 46 69 6c 65 |bf"..pen|dingFile|
|000024b0| 24 20 3d 20 22 43 3a 5c | 53 79 73 74 65 6d 5c 41 |$ = "C:\|System\A|
|000024c0| 70 70 73 5c 43 69 78 45 | 64 5c 50 65 6e 64 69 6e |pps\CixE|d\Pendin|
|000024d0| 67 31 2e 64 62 66 22 06 | 09 6d 61 69 6e 53 63 72 |g1.dbf".|.mainScr|
|000024e0| 69 70 74 24 20 3d 20 70 | 61 74 68 24 20 2b 20 22 |ipt$ = p|ath$ + "|
|000024f0| 5c 43 69 78 45 64 2e 73 | 63 72 22 06 09 73 65 74 |\CixEd.s|cr"..set|
|00002500| 75 70 53 63 72 69 70 74 | 24 20 3d 20 22 5c 53 65 |upScript|$ = "\Se|
|00002510| 74 75 70 2e 73 63 72 22 | 06 09 73 63 72 61 74 63 |tup.scr"|..scratc|
|00002520| 68 24 20 3d 20 22 43 3a | 5c 44 6f 63 75 6d 65 6e |h$ = "C:|\Documen|
|00002530| 74 73 22 06 09 63 69 78 | 53 63 72 61 74 63 68 24 |ts"..cix|Scratch$|
|00002540| 20 3d 20 73 63 72 61 74 | 63 68 24 20 2b 20 22 5c | = scrat|ch$ + "\|
|00002550| 43 69 78 22 06 09 72 65 | 70 6c 79 46 69 6c 65 24 |Cix"..re|plyFile$|
|00002560| 20 3d 20 73 63 72 61 74 | 63 68 24 20 2b 20 22 5c | = scrat|ch$ + "\|
|00002570| 52 65 70 6c 79 2e 74 78 | 74 22 06 09 73 63 72 61 |Reply.tx|t"..scra|
|00002580| 74 63 68 46 69 6c 65 24 | 20 3d 20 73 63 72 61 74 |tchFile$| = scrat|
|00002590| 63 68 24 20 2b 20 22 5c | 53 63 72 61 74 63 68 70 |ch$ + "\|Scratchp|
|000025a0| 61 64 2e 22 06 09 62 6c | 69 6e 6b 53 63 72 69 70 |ad."..bl|inkScrip|
|000025b0| 74 24 20 3d 20 73 63 72 | 61 74 63 68 24 20 2b 20 |t$ = scr|atch$ + |
|000025c0| 22 5c 43 69 78 45 64 2e | 73 63 72 22 06 09 61 72 |"\CixEd.|scr"..ar|
|000025d0| 63 68 69 76 65 44 69 72 | 24 20 3d 20 63 69 78 53 |chiveDir|$ = cixS|
|000025e0| 63 72 61 74 63 68 24 20 | 2b 20 22 5c 41 72 63 68 |cratch$ |+ "\Arch|
|000025f0| 69 76 65 5c 22 06 06 09 | 67 75 73 65 20 6d 61 69 |ive\"...|guse mai|
|00002600| 6e 49 64 25 06 09 66 6f | 6f 74 65 72 3a 06 06 09 |nId%..fo|oter:...|
|00002610| 72 65 6d 20 43 68 65 63 | 6b 20 64 69 72 65 63 74 |rem Chec|k direct|
|00002620| 6f 72 79 20 73 74 72 75 | 63 74 75 72 65 20 69 73 |ory stru|cture is|
|00002630| 20 69 6e 20 70 6c 61 63 | 65 20 66 6f 72 20 6e 65 | in plac|e for ne|
|00002640| 77 20 75 73 65 72 73 06 | 06 09 74 72 61 70 20 6d |w users.|..trap m|
|00002650| 6b 64 69 72 20 73 63 72 | 61 74 63 68 24 06 09 74 |kdir scr|atch$..t|
|00002660| 72 61 70 20 6d 6b 64 69 | 72 20 22 5c 73 79 73 74 |rap mkdi|r "\syst|
|00002670| 65 6d 5c 61 70 70 73 5c | 43 69 78 45 64 22 06 09 |em\apps\|CixEd"..|
|00002680| 74 72 61 70 20 6d 6b 64 | 69 72 20 63 69 78 53 63 |trap mkd|ir cixSc|
|00002690| 72 61 74 63 68 24 06 09 | 74 72 61 70 20 6d 6b 64 |ratch$..|trap mkd|
|000026a0| 69 72 20 63 69 78 53 63 | 72 61 74 63 68 24 20 2b |ir cixSc|ratch$ +|
|000026b0| 20 22 5c 4d 61 69 6c 22 | 06 06 09 72 65 6d 20 49 | "\Mail"|...rem I|
|000026c0| 66 20 74 68 65 20 61 64 | 64 72 65 73 73 20 66 69 |f the ad|dress fi|
|000026d0| 6c 65 20 64 6f 65 73 20 | 6e 6f 74 20 65 78 69 73 |le does |not exis|
|000026e0| 74 20 74 68 65 6e 20 63 | 72 65 61 74 65 20 69 74 |t then c|reate it|
|000026f0| 20 61 6e 64 20 77 72 69 | 74 65 20 64 65 66 61 75 | and wri|te defau|
|00002700| 6c 74 20 64 61 74 61 06 | 06 09 69 66 20 6e 6f 74 |lt data.|..if not|
|00002710| 20 65 78 69 73 74 28 61 | 64 64 73 46 69 6c 65 24 | exist(a|ddsFile$|
|00002720| 29 06 09 09 61 64 64 72 | 65 73 73 3a 06 09 65 6e |)...addr|ess:..en|
|00002730| 64 69 66 06 06 09 69 66 | 20 72 65 61 64 50 61 73 |dif...if| readPas|
|00002740| 73 46 69 6c 65 25 3a 20 | 3d 20 4b 4e 6f 74 45 78 |sFile%: |= KNotEx|
|00002750| 69 73 74 25 06 09 09 70 | 61 73 73 77 6f 72 64 3a |ist%...p|assword:|
|00002760| 06 09 65 6e 64 69 66 06 | 06 09 69 66 20 72 65 61 |..endif.|..if rea|
|00002770| 64 50 72 65 66 73 46 69 | 6c 65 25 3a 20 3d 20 4b |dPrefsFi|le%: = K|
|00002780| 4e 6f 74 45 78 69 73 74 | 25 06 09 09 70 72 65 66 |NotExist|%...pref|
|00002790| 65 72 65 6e 63 65 73 3a | 06 09 65 6e 64 69 66 06 |erences:|..endif.|
|000027a0| 06 09 69 66 20 72 65 61 | 64 53 65 74 46 69 6c 65 |..if rea|dSetFile|
|000027b0| 25 3a 20 3d 20 4b 4e 6f | 74 45 78 69 73 74 25 06 |%: = KNo|tExist%.|
|000027c0| 09 09 73 65 74 74 69 6e | 67 73 3a 06 09 65 6e 64 |..settin|gs:..end|
|000027d0| 69 66 06 06 09 69 66 20 | 72 65 61 64 44 69 61 6c |if...if |readDial|
|000027e0| 46 69 6c 65 25 3a 20 3d | 20 4b 4e 6f 74 45 78 69 |File%: =| KNotExi|
|000027f0| 73 74 25 06 09 09 64 69 | 61 6c 6c 69 6e 67 4c 6f |st%...di|allingLo|
|00002800| 63 61 74 69 6f 6e 73 3a | 06 09 65 6e 64 69 66 06 |cations:|..endif.|
|00002810| 06 09 69 66 20 6e 6f 74 | 20 65 78 69 73 74 28 73 |..if not| exist(s|
|00002820| 69 67 46 69 6c 65 24 29 | 06 09 09 73 69 67 6e 61 |igFile$)|...signa|
|00002830| 74 75 72 65 73 3a 06 09 | 65 6e 64 69 66 06 06 09 |tures:..|endif...|
|00002840| 6d 61 69 6e 46 6f 6e 74 | 26 20 3d 20 4b 46 6f 6e |mainFont|& = KFon|
|00002850| 74 41 72 69 61 6c 4e 6f | 72 6d 61 6c 31 33 26 06 |tArialNo|rmal13&.|
|00002860| 09 67 66 6f 6e 74 20 6d | 61 69 6e 46 6f 6e 74 26 |.gfont m|ainFont&|
|00002870| 06 09 73 6d 61 6c 6c 46 | 6f 6e 74 26 20 3d 20 4b |..smallF|ont& = K|
|00002880| 46 6f 6e 74 41 72 69 61 | 6c 4e 6f 72 6d 61 6c 31 |FontAria|lNormal1|
|00002890| 31 26 06 06 09 72 65 66 | 72 65 73 68 54 6f 70 69 |1&...ref|reshTopi|
|000028a0| 63 73 3a 06 06 09 77 68 | 69 6c 65 20 4b 54 72 75 |cs:...wh|ile KTru|
|000028b0| 65 25 06 09 09 63 68 65 | 63 6b 46 6f 6e 74 3a 06 |e%...che|ckFont:.|
|000028c0| 09 09 64 69 73 70 6c 61 | 79 3a 28 73 74 61 72 74 |..displa|y:(start|
|000028d0| 54 6f 70 69 63 25 29 06 | 09 09 6b 67 65 74 25 3a |Topic%).|..kget%:|
|000028e0| 28 30 29 06 09 65 6e 64 | 77 68 06 65 6e 64 70 06 |(0)..end|wh.endp.|
|000028f0| 06 06 70 72 6f 63 20 63 | 68 65 63 6b 46 6f 6e 74 |..proc c|heckFont|
|00002900| 3a 06 09 69 66 20 70 72 | 65 66 46 6f 6e 74 25 20 |:..if pr|efFont% |
|00002910| 3d 20 31 06 09 09 74 65 | 78 74 66 6f 6e 74 26 20 |= 1...te|xtfont& |
|00002920| 3d 20 4b 46 6f 6e 74 41 | 72 69 61 6c 42 6f 6c 64 |= KFontA|rialBold|
|00002930| 31 33 26 09 09 72 65 6d | 20 64 65 66 61 75 6c 74 |13&..rem| default|
|00002940| 20 6d 65 73 73 61 67 65 | 20 66 6f 6e 74 2e 06 09 | message| font...|
|00002950| 65 6c 73 65 69 66 20 70 | 72 65 66 46 6f 6e 74 25 |elseif p|refFont%|
|00002960| 20 3d 20 32 06 09 09 74 | 65 78 74 66 6f 6e 74 26 | = 2...t|extfont&|
|00002970| 20 3d 20 4b 46 6f 6e 74 | 43 6f 75 72 69 65 72 42 | = KFont|CourierB|
|00002980| 6f 6c 64 31 33 26 06 09 | 65 6c 73 65 69 66 20 70 |old13&..|elseif p|
|00002990| 72 65 66 46 6f 6e 74 25 | 20 3d 20 33 06 09 09 74 |refFont%| = 3...t|
|000029a0| 65 78 74 66 6f 6e 74 26 | 20 3d 20 4b 46 6f 6e 74 |extfont&| = KFont|
|000029b0| 43 6f 75 72 69 65 72 42 | 6f 6c 64 31 31 26 06 09 |CourierB|old11&..|
|000029c0| 65 6c 73 65 69 66 20 70 | 72 65 66 46 6f 6e 74 25 |elseif p|refFont%|
|000029d0| 20 3d 20 34 06 09 09 74 | 65 78 74 66 6f 6e 74 26 | = 4...t|extfont&|
|000029e0| 20 3d 20 4b 46 6f 6e 74 | 54 69 6d 65 73 42 6f 6c | = KFont|TimesBol|
|000029f0| 64 31 33 26 06 09 65 6e | 64 69 66 06 65 6e 64 70 |d13&..en|dif.endp|
|00002a00| 06 06 06 72 65 6d 20 2a | 2a 2a 2a 2a 2a 2a 2a 2a |...rem *|********|
|00002a10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a30| 2a 2a 2a 2a 2a 2a 06 72 | 65 6d 20 44 72 61 77 20 |******.r|em Draw |
|00002a40| 74 6f 70 69 63 20 6e 61 | 6d 65 73 20 6f 6e 20 6d |topic na|mes on m|
|00002a50| 61 69 6e 20 73 63 72 65 | 65 6e 06 06 70 72 6f 63 |ain scre|en..proc|
|00002a60| 20 64 69 73 70 6c 61 79 | 3a 28 73 74 61 72 74 54 | display|:(startT|
|00002a70| 6f 70 69 63 25 29 06 09 | 6c 6f 63 61 6c 20 72 6f |opic%)..|local ro|
|00002a80| 77 25 2c 20 63 6f 6c 25 | 2c 20 69 25 2c 20 78 4f |w%, col%|, i%, xO|
|00002a90| 66 66 73 65 74 25 2c 20 | 79 4f 66 66 73 65 74 25 |ffset%, |yOffset%|
|00002aa0| 2c 20 6a 25 2c 20 74 65 | 6d 70 24 28 31 30 30 29 |, j%, te|mp$(100)|
|00002ab0| 06 06 09 78 4f 66 66 73 | 65 74 25 20 3d 20 35 06 |...xOffs|et% = 5.|
|00002ac0| 09 79 4f 66 66 73 65 74 | 25 20 3d 20 31 30 06 06 |.yOffset|% = 10..|
|00002ad0| 09 67 75 73 65 20 6d 61 | 69 6e 49 64 25 06 09 67 |.guse ma|inId%..g|
|00002ae0| 63 6c 73 06 06 09 69 66 | 20 74 6f 70 69 63 73 46 |cls...if| topicsF|
|00002af0| 6f 75 6e 64 25 20 3d 20 | 30 06 09 09 67 61 74 20 |ound% = |0...gat |
|00002b00| 78 4f 66 66 73 65 74 25 | 2c 20 79 4f 66 66 73 65 |xOffset%|, yOffse|
|00002b10| 74 25 20 2b 20 35 06 09 | 09 67 70 72 69 6e 74 20 |t% + 5..|.gprint |
|00002b20| 22 4e 6f 20 74 6f 70 69 | 63 73 20 66 6f 75 6e 64 |"No topi|cs found|
|00002b30| 20 69 6e 20 6d 65 73 73 | 61 67 65 62 61 73 65 22 | in mess|agebase"|
|00002b40| 06 09 09 72 65 74 75 72 | 6e 06 09 65 6e 64 69 66 |...retur|n..endif|
|00002b50| 06 06 09 67 66 6f 6e 74 | 20 73 6d 61 6c 6c 46 6f |...gfont| smallFo|
|00002b60| 6e 74 26 06 09 69 25 20 | 3d 20 31 06 09 67 75 70 |nt&..i% |= 1..gup|
|00002b70| 64 61 74 65 20 6f 66 66 | 06 09 77 68 69 6c 65 20 |date off|..while |
|00002b80| 28 73 74 61 72 74 54 6f | 70 69 63 25 20 2b 20 69 |(startTo|pic% + i|
|00002b90| 25 29 20 3c 3d 20 74 6f | 70 69 63 73 46 6f 75 6e |%) <= to|picsFoun|
|00002ba0| 64 25 06 09 09 63 6f 6c | 25 20 3d 20 28 69 25 20 |d%...col|% = (i% |
|00002bb0| 2d 20 31 29 20 2f 20 4b | 53 63 72 65 65 6e 52 6f |- 1) / K|ScreenRo|
|00002bc0| 77 73 25 06 09 09 72 6f | 77 25 20 3d 20 69 25 20 |ws%...ro|w% = i% |
|00002bd0| 2d 20 63 6f 6c 25 20 2a | 20 4b 53 63 72 65 65 6e |- col% *| KScreen|
|00002be0| 52 6f 77 73 25 06 09 09 | 67 61 74 20 78 4f 66 66 |Rows%...|gat xOff|
|00002bf0| 73 65 74 25 20 2b 20 63 | 6f 6c 25 20 2a 20 31 36 |set% + c|ol% * 16|
|00002c00| 30 2c 20 79 4f 66 66 73 | 65 74 25 20 2b 20 28 72 |0, yOffs|et% + (r|
|00002c10| 6f 77 25 20 2d 20 31 29 | 20 2a 20 31 31 06 09 09 |ow% - 1)| * 11...|
|00002c20| 67 70 72 69 6e 74 63 6c | 69 70 28 72 65 6d 6f 76 |gprintcl|ip(remov|
|00002c30| 65 50 65 72 63 65 6e 74 | 24 3a 28 74 6f 70 69 63 |ePercent|$:(topic|
|00002c40| 73 24 28 73 74 61 72 74 | 54 6f 70 69 63 25 20 2b |s$(start|Topic% +|
|00002c50| 20 69 25 29 29 2c 20 31 | 36 30 29 06 06 09 09 69 | i%)), 1|60)....i|
|00002c60| 25 20 3d 20 69 25 20 2b | 20 31 06 09 09 69 66 20 |% = i% +| 1...if |
|00002c70| 69 25 20 3e 20 4b 53 63 | 72 65 65 6e 52 6f 77 73 |i% > KSc|reenRows|
|00002c80| 25 20 2a 20 4b 53 63 72 | 65 65 6e 43 6f 6c 73 25 |% * KScr|eenCols%|
|00002c90| 09 09 72 65 6d 20 63 61 | 6e 27 74 20 64 69 73 70 |..rem ca|n't disp|
|00002ca0| 6c 61 79 20 6d 6f 72 65 | 20 74 68 61 6e 20 73 6f |lay more| than so|
|00002cb0| 20 6d 61 6e 79 20 74 6f | 70 69 63 73 2e 2e 2e 06 | many to|pics....|
|00002cc0| 09 09 09 62 72 65 61 6b | 06 09 09 65 6e 64 69 66 |...break|...endif|
|00002cd0| 06 09 65 6e 64 77 68 06 | 06 09 67 75 70 64 61 74 |..endwh.|..gupdat|
|00002ce0| 65 20 6f 6e 06 09 67 66 | 6f 6e 74 20 6d 61 69 6e |e on..gf|ont main|
|00002cf0| 46 6f 6e 74 26 06 65 6e | 64 70 06 06 06 72 65 6d |Font&.en|dp...rem|
|00002d00| 20 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *******|********|
|00002d10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002d20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 06 72 65 6d |********|****.rem|
|00002d30| 20 44 6f 20 61 20 74 69 | 64 79 20 73 68 75 74 64 | Do a ti|dy shutd|
|00002d40| 6f 77 6e 06 06 70 72 6f | 63 20 73 68 75 74 64 6f |own..pro|c shutdo|
|00002d50| 77 6e 3a 28 63 61 74 63 | 68 25 29 06 09 6c 6f 63 |wn:(catc|h%)..loc|
|00002d60| 61 6c 20 70 72 65 76 69 | 6f 75 73 26 2c 20 6b 25 |al previ|ous&, k%|
|00002d70| 06 06 09 69 66 20 63 61 | 74 63 68 25 20 3d 20 4b |...if ca|tch% = K|
|00002d80| 59 65 73 25 20 61 6e 64 | 20 43 6f 6e 66 69 72 6d |Yes% and| Confirm|
|00002d90| 45 78 69 74 25 20 3d 20 | 4b 59 65 73 25 06 09 09 |Exit% = |KYes%...|
|00002da0| 64 69 6e 69 74 20 22 43 | 6c 6f 73 65 20 70 72 6f |dinit "C|lose pro|
|00002db0| 67 72 61 6d 22 06 09 09 | 64 74 65 78 74 20 22 22 |gram"...|dtext ""|
|00002dc0| 2c 20 22 41 72 65 20 79 | 6f 75 20 73 75 72 65 3f |, "Are y|ou sure?|
|00002dd0| 22 06 09 09 64 62 75 74 | 74 6f 6e 73 20 22 59 65 |"...dbut|tons "Ye|
|00002de0| 73 22 2c 20 25 79 20 2b | 20 4b 44 42 75 74 74 6f |s", %y +| KDButto|
|00002df0| 6e 50 6c 61 69 6e 4b 65 | 79 25 20 2b 20 4b 44 42 |nPlainKe|y% + KDB|
|00002e00| 75 74 74 6f 6e 4e 6f 4c | 61 62 65 6c 25 2c 20 22 |uttonNoL|abel%, "|
|00002e10| 4e 6f 22 2c 20 25 6e 20 | 2b 20 4b 44 42 75 74 74 |No", %n |+ KDButt|
|00002e20| 6f 6e 50 6c 61 69 6e 4b | 65 79 25 20 2b 20 4b 44 |onPlainK|ey% + KD|
|00002e30| 42 75 74 74 6f 6e 4e 6f | 4c 61 62 65 6c 25 06 09 |ButtonNo|Label%..|
|00002e40| 09 6b 25 20 3d 20 64 69 | 61 6c 6f 67 06 09 65 6e |.k% = di|alog..en|
|00002e50| 64 69 66 06 06 09 69 66 | 20 6b 25 20 3d 20 25 79 |dif...if| k% = %y|
|00002e60| 20 6f 72 20 63 61 74 63 | 68 25 20 3d 20 4b 4e 6f | or catc|h% = KNo|
|00002e70| 25 20 6f 72 20 43 6f 6e | 66 69 72 6d 45 78 69 74 |% or Con|firmExit|
|00002e80| 25 20 3d 20 4b 4e 6f 25 | 06 09 09 69 66 20 68 65 |% = KNo%|...if he|
|00002e90| 6c 70 54 68 72 65 61 64 | 49 44 26 20 3c 3e 20 30 |lpThread|ID& <> 0|
|00002ea0| 09 09 72 65 6d 20 49 66 | 20 61 20 70 72 6f 67 72 |..rem If| a progr|
|00002eb0| 61 6d 20 68 65 6c 70 20 | 74 68 72 65 61 64 20 69 |am help |thread i|
|00002ec0| 73 20 72 75 6e 6e 69 6e | 67 06 09 09 09 69 6f 79 |s runnin|g....ioy|
|00002ed0| 69 65 6c 64 09 09 72 65 | 6d 20 41 6c 6c 6f 77 20 |ield..re|m Allow |
|00002ee0| 73 74 61 74 75 73 20 77 | 6f 72 64 20 74 6f 20 62 |status w|ord to b|
|00002ef0| 65 20 75 70 64 61 74 65 | 64 06 09 09 09 69 66 20 |e update|d....if |
|00002f00| 68 65 6c 70 53 74 61 74 | 75 73 26 20 3d 20 4b 53 |helpStat|us& = KS|
|00002f10| 74 61 74 75 73 50 65 6e | 64 69 6e 67 33 32 26 09 |tatusPen|ding32&.|
|00002f20| 09 72 65 6d 20 49 73 20 | 27 70 65 6e 64 69 6e 67 |.rem Is |'pending|
|00002f30| 27 20 73 6f 20 73 74 69 | 6c 6c 20 72 75 6e 6e 69 |' so sti|ll runni|
|00002f40| 6e 67 06 09 09 09 09 65 | 6e 64 74 61 73 6b 26 3a |ng.....e|ndtask&:|
|00002f50| 28 68 65 6c 70 54 68 72 | 65 61 64 49 44 26 2c 20 |(helpThr|eadID&, |
|00002f60| 70 72 65 76 69 6f 75 73 | 26 29 09 09 72 65 6d 20 |previous|&)..rem |
|00002f70| 45 6e 64 20 74 68 65 20 | 74 61 73 6b 20 75 73 69 |End the |task usi|
|00002f80| 6e 67 20 69 74 20 74 68 | 72 65 61 64 20 49 44 06 |ng it th|read ID.|
|00002f90| 09 09 09 65 6e 64 69 66 | 06 09 09 65 6e 64 69 66 |...endif|...endif|
|00002fa0| 06 09 09 72 65 6d 20 54 | 69 64 79 20 75 70 20 65 |...rem T|idy up e|
|00002fb0| 78 74 72 61 6e 65 6f 75 | 73 20 66 69 6c 65 73 20 |xtraneou|s files |
|00002fc0| 6c 65 66 74 20 69 6e 20 | 44 6f 63 75 6d 65 6e 74 |left in |Document|
|00002fd0| 73 20 66 6f 6c 64 65 72 | 06 09 09 69 66 20 65 78 |s folder|...if ex|
|00002fe0| 69 73 74 28 73 63 72 61 | 74 63 68 24 20 2b 20 22 |ist(scra|tch$ + "|
|00002ff0| 5c 43 69 78 45 64 2e 73 | 63 72 22 29 06 09 09 09 |\CixEd.s|cr")....|
|00003000| 74 72 61 70 20 64 65 6c | 65 74 65 20 73 63 72 61 |trap del|ete scra|
|00003010| 74 63 68 24 20 2b 20 22 | 5c 43 69 78 45 64 2e 73 |tch$ + "|\CixEd.s|
|00003020| 63 72 22 06 09 09 65 6e | 64 69 66 06 09 09 69 66 |cr"...en|dif...if|
|00003030| 20 65 78 69 73 74 28 73 | 63 72 61 74 63 68 24 20 | exist(s|cratch$ |
|00003040| 2b 20 22 5c 4a 75 6e 6b | 22 29 06 09 09 09 74 72 |+ "\Junk|")....tr|
|00003050| 61 70 20 64 65 6c 65 74 | 65 20 73 63 72 61 74 63 |ap delet|e scratc|
|00003060| 68 24 20 2b 20 22 5c 4a | 75 6e 6b 22 06 09 09 65 |h$ + "\J|unk"...e|
|00003070| 6e 64 69 66 06 09 09 73 | 74 6f 70 06 09 65 6e 64 |ndif...s|top..end|
|00003080| 69 66 06 65 6e 64 70 06 | 06 06 72 65 6d 20 2a 2a |if.endp.|..rem **|
|00003090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000030a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000030b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000030c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 06 72 65 6d |********|****.rem|
|000030d0| 20 50 65 72 66 6f 72 6d | 20 61 20 62 6c 69 6e 6b | Perform| a blink|
|000030e0| 06 06 70 72 6f 63 20 62 | 6c 69 6e 6b 25 3a 28 66 |..proc b|link%:(f|
|000030f0| 6c 61 67 25 29 06 09 72 | 65 6d 20 66 6c 61 67 25 |lag%)..r|em flag%|
|00003100| 20 3d 20 30 20 6d 65 61 | 6e 73 20 66 75 6c 6c 20 | = 0 mea|ns full |
|00003110| 62 6c 69 6e 6b 06 09 72 | 65 6d 20 66 6c 61 67 25 |blink..r|em flag%|
|00003120| 20 3d 20 31 20 6d 65 61 | 6e 73 20 6d 61 69 6c 20 | = 1 mea|ns mail |
|00003130| 6f 6e 6c 79 06 09 72 65 | 6d 20 66 6c 61 67 25 20 |only..re|m flag% |
|00003140| 3d 20 32 20 6d 65 61 6e | 73 20 74 65 72 6d 69 6e |= 2 mean|s termin|
|00003150| 61 6c 20 6f 6e 6c 79 06 | 09 72 65 6d 20 66 6c 61 |al only.|.rem fla|
|00003160| 67 25 20 3d 20 33 20 6d | 65 61 6e 73 20 72 65 63 |g% = 3 m|eans rec|
|00003170| 6f 76 65 72 20 73 63 72 | 61 74 63 68 70 61 64 20 |over scr|atchpad |
|00003180| 6f 6e 6c 79 06 09 72 65 | 6d 20 66 6c 61 67 25 20 |only..re|m flag% |
|00003190| 3d 20 34 20 6d 65 61 6e | 73 20 63 6f 6e 66 65 72 |= 4 mean|s confer|
|000031a0| 65 6e 63 69 6e 67 20 6f | 6e 6c 79 06 06 09 6c 6f |encing o|nly...lo|
|000031b0| 63 61 6c 20 74 68 72 65 | 61 64 26 2c 20 70 72 65 |cal thre|ad&, pre|
|000031c0| 76 69 6f 75 73 26 2c 20 | 63 6f 64 65 26 2c 20 73 |vious&, |code&, s|
|000031d0| 63 61 6e 43 6f 64 65 26 | 2c 20 6d 6f 64 69 66 69 |canCode&|, modifi|
|000031e0| 65 72 73 26 2c 20 72 65 | 70 65 61 74 73 26 06 09 |ers&, re|peats&..|
|000031f0| 6c 6f 63 61 6c 20 66 75 | 6c 6c 24 28 32 35 35 29 |local fu|ll$(255)|
|00003200| 2c 20 6f 66 66 25 28 36 | 29 2c 20 72 65 74 26 2c |, off%(6|), ret&,|
|00003210| 20 62 6c 69 6e 6b 57 69 | 6e 49 44 25 2c 20 64 65 | blinkWi|nID%, de|
|00003220| 6c 25 06 09 6c 6f 63 61 | 6c 20 69 25 2c 20 72 65 |l%..loca|l i%, re|
|00003230| 74 25 2c 20 73 74 61 74 | 75 73 57 6f 72 64 26 2c |t%, stat|usWord&,|
|00003240| 20 64 6c 46 69 6c 65 25 | 2c 20 6c 69 6e 65 24 28 | dlFile%|, line$(|
|00003250| 36 30 29 06 09 6c 6f 63 | 61 6c 20 61 75 74 6f 53 |60)..loc|al autoS|
|00003260| 77 69 74 63 68 4f 66 66 | 42 65 68 61 76 69 6f 72 |witchOff|Behavior|
|00003270| 26 06 06 09 72 65 6d 20 | 43 68 65 63 6b 20 6c 69 |&...rem |Check li|
|00003280| 6e 6b 20 6e 6f 74 20 6f | 6e 21 06 09 69 66 20 63 |nk not o|n!..if c|
|00003290| 68 65 63 6b 4c 69 6e 6b | 25 3a 20 3d 20 31 06 09 |heckLink|%: = 1..|
|000032a0| 09 72 65 74 75 72 6e 06 | 09 65 6e 64 69 66 06 06 |.return.|.endif..|
|000032b0| 09 72 65 6d 20 46 69 72 | 73 74 6c 79 2c 20 61 72 |.rem Fir|stly, ar|
|000032c0| 63 68 69 76 65 20 61 6e | 79 20 66 69 6c 65 6e 61 |chive an|y filena|
|000032d0| 6d 65 20 53 43 52 41 54 | 43 48 50 41 44 2e 06 09 |me SCRAT|CHPAD...|
|000032e0| 69 66 20 65 78 69 73 74 | 28 73 63 72 61 74 63 68 |if exist|(scratch|
|000032f0| 46 69 6c 65 24 29 06 09 | 09 72 65 6e 61 6d 65 20 |File$)..|.rename |
|00003300| 73 63 72 61 74 63 68 46 | 69 6c 65 24 2c 20 73 63 |scratchF|ile$, sc|
|00003310| 72 61 74 63 68 24 20 2b | 20 22 5c 53 63 72 61 74 |ratch$ +| "\Scrat|
|00003320| 63 68 2e 22 20 2b 20 67 | 65 6e 24 28 31 30 20 2b |ch." + g|en$(10 +|
|00003330| 20 68 6f 75 72 2c 20 32 | 29 20 2b 20 67 65 6e 24 | hour, 2|) + gen$|
|00003340| 28 31 30 20 2b 20 6d 69 | 6e 75 74 65 2c 20 32 29 |(10 + mi|nute, 2)|
|00003350| 20 2b 20 67 65 6e 24 28 | 31 30 20 2b 20 73 65 63 | + gen$(|10 + sec|
|00003360| 6f 6e 64 2c 20 32 29 06 | 09 65 6e 64 69 66 06 06 |ond, 2).|.endif..|
|00003370| 09 72 65 6d 20 57 72 69 | 74 65 20 74 68 65 20 73 |.rem Wri|te the s|
|00003380| 65 74 75 70 20 73 63 72 | 69 70 74 06 09 69 66 20 |etup scr|ipt..if |
|00003390| 73 65 74 75 70 53 63 72 | 69 70 74 46 69 6c 65 3a |setupScr|iptFile:|
|000033a0| 28 73 63 72 61 74 63 68 | 24 2c 20 66 6c 61 67 25 |(scratch|$, flag%|
|000033b0| 29 20 3d 20 30 06 09 09 | 72 65 74 75 72 6e 06 09 |) = 0...|return..|
|000033c0| 65 6e 64 69 66 06 06 09 | 72 65 6d 20 42 75 69 6c |endif...|rem Buil|
|000033d0| 64 20 74 68 65 20 62 6c | 69 6e 6b 69 6e 67 20 73 |d the bl|inking s|
|000033e0| 63 72 69 70 74 20 28 21 | 29 06 09 62 75 69 6c 64 |cript (!|)..build|
|000033f0| 53 63 72 69 70 74 3a 06 | 06 09 72 65 6d 20 44 69 |Script:.|..rem Di|
|00003400| 73 61 62 6c 65 20 61 75 | 74 6f 2d 6f 66 66 20 2d |sable au|to-off -|
|00003410| 20 77 65 20 64 6f 6e 27 | 74 20 77 61 6e 74 20 69 | we don'|t want i|
|00003420| 74 20 74 75 72 6e 69 6e | 67 20 6f 66 66 20 69 6e |t turnin|g off in|
|00003430| 20 74 68 65 20 6d 69 64 | 64 6c 65 20 6f 66 20 61 | the mid|dle of a|
|00003440| 20 62 6c 69 6e 6b 21 06 | 09 61 75 74 6f 53 77 69 | blink!.|.autoSwi|
|00003450| 74 63 68 4f 66 66 42 65 | 68 61 76 69 6f 72 26 20 |tchOffBe|havior& |
|00003460| 3d 20 53 49 41 75 74 6f | 53 77 69 74 63 68 4f 66 |= SIAuto|SwitchOf|
|00003470| 66 42 65 68 61 76 69 6f | 75 72 26 3a 06 09 53 65 |fBehavio|ur&:..Se|
|00003480| 74 41 75 74 6f 53 77 69 | 74 63 68 4f 66 66 42 65 |tAutoSwi|tchOffBe|
|00003490| 68 61 76 69 6f 72 3a 28 | 30 29 06 09 72 65 6d 20 |havior:(|0)..rem |
|000034a0| 53 65 74 41 63 74 69 76 | 65 3a 28 31 29 20 64 6f |SetActiv|e:(1) do|
|000034b0| 65 73 6e 27 74 20 73 65 | 65 6d 20 74 6f 20 77 6f |esn't se|em to wo|
|000034c0| 72 6b 20 3a 28 06 06 09 | 72 65 6d 20 4c 65 74 20 |rk :(...|rem Let |
|000034d0| 74 68 65 20 77 6f 72 6c | 64 20 6b 6e 6f 77 20 77 |the worl|d know w|
|000034e0| 68 79 20 65 76 65 72 79 | 20 74 68 69 6e 67 20 69 |hy every| thing i|
|000034f0| 73 20 73 6f 20 71 75 69 | 65 74 06 09 62 75 73 79 |s so qui|et..busy|
|00003500| 20 22 57 61 69 74 69 6e | 67 20 66 6f 72 20 43 6f | "Waitin|g for Co|
|00003510| 6d 6d 73 20 73 63 72 69 | 70 74 20 74 6f 20 74 65 |mms scri|pt to te|
|00003520| 72 6d 69 6e 61 74 65 2e | 2e 2e 22 06 06 09 72 65 |rminate.|.."...re|
|00003530| 6d 20 53 65 74 20 75 70 | 20 61 6e 20 65 72 72 6f |m Set up| an erro|
|00003540| 72 20 68 61 6e 64 6c 65 | 72 20 69 6e 20 63 61 73 |r handle|r in cas|
|00003550| 65 20 74 68 65 20 63 6f | 6d 6d 73 20 61 70 70 20 |e the co|mms app |
|00003560| 66 61 69 6c 73 20 74 6f | 20 73 74 61 72 74 06 09 |fails to| start..|
|00003570| 6f 6e 65 72 72 20 43 6f | 6d 6d 73 45 72 72 3a 3a |onerr Co|mmsErr::|
|00003580| 06 06 09 72 65 6d 20 4e | 65 78 74 20 73 74 61 72 |...rem N|ext star|
|00003590| 74 20 63 6f 6d 6d 73 20 | 61 70 70 2c 20 70 65 72 |t comms |app, per|
|000035a0| 66 6f 72 6d 20 74 68 65 | 20 62 6c 69 6e 6b 2e 06 |form the| blink..|
|000035b0| 09 74 68 72 65 61 64 26 | 20 3d 20 72 75 6e 43 6f |.thread&| = runCo|
|000035c0| 6d 6d 73 26 3a 28 73 63 | 72 61 74 63 68 24 29 06 |mms&:(sc|ratch$).|
|000035d0| 06 09 72 65 6d 20 53 65 | 74 20 75 70 20 63 6f 6d |..rem Se|t up com|
|000035e0| 6d 73 20 75 73 65 72 20 | 69 6e 74 65 72 66 61 63 |ms user |interfac|
|000035f0| 65 20 69 2e 65 2e 20 63 | 6c 65 61 72 20 74 68 65 |e i.e. c|lear the|
|00003600| 20 74 6f 6f 6c 62 61 72 | 20 66 72 6f 6d 20 73 63 | toolbar| from sc|
|00003610| 72 65 65 6e 06 09 63 6f | 64 65 26 20 3d 20 32 30 |reen..co|de& = 20|
|00003620| 09 09 72 65 6d 20 43 6f | 6e 74 72 6f 6c 2d 73 68 |..rem Co|ntrol-sh|
|00003630| 69 66 74 2d 77 2c 20 74 | 6f 20 74 75 72 6e 20 6f |ift-w, t|o turn o|
|00003640| 66 66 20 74 6f 6f 6c 62 | 61 72 06 09 70 72 65 76 |ff toolb|ar..prev|
|00003650| 69 6f 75 73 26 20 3d 20 | 30 06 09 73 63 61 6e 43 |ious& = |0..scanC|
|00003660| 6f 64 65 26 20 3d 20 30 | 06 09 6d 6f 64 69 66 69 |ode& = 0|..modifi|
|00003670| 65 72 73 26 20 3d 20 4b | 4d 6f 64 69 66 69 65 72 |ers& = K|Modifier|
|00003680| 43 74 72 6c 26 20 2b 20 | 4b 4d 6f 64 69 66 69 65 |Ctrl& + |KModifie|
|00003690| 72 53 68 69 66 74 26 06 | 09 72 65 70 65 61 74 73 |rShift&.|.repeats|
|000036a0| 26 20 3d 20 30 06 09 53 | 65 6e 64 4b 65 79 45 76 |& = 0..S|endKeyEv|
|000036b0| 65 6e 74 54 6f 41 70 70 | 26 3a 28 74 68 72 65 61 |entToApp|&:(threa|
|000036c0| 64 26 2c 20 70 72 65 76 | 69 6f 75 73 26 2c 20 63 |d&, prev|ious&, c|
|000036d0| 6f 64 65 26 2c 20 73 63 | 61 6e 43 6f 64 65 26 2c |ode&, sc|anCode&,|
|000036e0| 20 6d 6f 64 69 66 69 65 | 72 73 26 2c 20 72 65 70 | modifie|rs&, rep|
|000036f0| 65 61 74 73 26 29 06 06 | 09 72 65 6d 20 52 75 6e |eats&)..|.rem Run|
|00003700| 20 74 68 65 20 73 65 74 | 75 70 20 73 63 72 69 70 | the set|up scrip|
|00003710| 74 06 09 73 65 6e 64 53 | 63 72 69 70 74 54 6f 54 |t..sendS|criptToT|
|00003720| 68 72 65 61 64 3a 28 22 | 73 65 74 75 70 2e 73 63 |hread:("|setup.sc|
|00003730| 72 22 2c 20 74 68 72 65 | 61 64 26 29 06 06 09 72 |r", thre|ad&)...r|
|00003740| 65 6d 20 57 61 69 74 20 | 66 6f 72 20 63 6f 6d 6d |em Wait |for comm|
|00003750| 73 20 74 6f 20 69 6e 69 | 74 69 61 6c 69 73 65 20 |s to ini|tialise |
|00003760| 6d 6f 64 65 6d 06 09 70 | 61 75 73 65 20 31 30 06 |modem..p|ause 10.|
|00003770| 09 69 66 20 73 74 61 72 | 74 44 65 6c 61 79 26 20 |.if star|tDelay& |
|00003780| 3e 20 30 06 09 09 70 61 | 75 73 65 20 32 30 20 2a |> 0...pa|use 20 *|
|00003790| 20 73 74 61 72 74 44 65 | 6c 61 79 26 06 09 65 6e | startDe|lay&..en|
|000037a0| 64 69 66 06 06 09 72 65 | 6d 20 52 75 6e 20 74 68 |dif...re|m Run th|
|000037b0| 65 20 6d 61 69 6e 20 43 | 69 78 20 73 63 72 69 70 |e main C|ix scrip|
|000037c0| 74 06 09 73 65 6e 64 53 | 63 72 69 70 74 54 6f 54 |t..sendS|criptToT|
|000037d0| 68 72 65 61 64 3a 28 22 | 63 69 78 65 64 2e 73 63 |hread:("|cixed.sc|
|000037e0| 72 22 2c 20 74 68 72 65 | 61 64 26 29 06 06 09 72 |r", thre|ad&)...r|
|000037f0| 65 6d 20 4e 65 65 64 20 | 74 6f 20 64 65 6c 65 74 |em Need |to delet|
|00003800| 65 20 74 68 65 20 73 65 | 74 75 70 20 73 63 72 69 |e the se|tup scri|
|00003810| 70 74 20 66 69 6c 65 2c | 20 62 65 63 61 75 73 65 |pt file,| because|
|00003820| 20 69 74 20 68 61 73 20 | 74 68 65 20 70 61 73 73 | it has |the pass|
|00003830| 77 6f 72 64 20 65 74 63 | 20 69 6e 21 06 09 70 61 |word etc| in!..pa|
|00003840| 75 73 65 20 32 30 06 09 | 74 72 61 70 20 64 65 6c |use 20..|trap del|
|00003850| 65 74 65 20 73 63 72 61 | 74 63 68 24 20 2b 20 73 |ete scra|tch$ + s|
|00003860| 65 74 75 70 53 63 72 69 | 70 74 24 06 06 09 69 66 |etupScri|pt$...if|
|00003870| 20 61 75 74 6f 50 6f 73 | 74 25 20 3d 20 4b 59 65 | autoPos|t% = KYe|
|00003880| 73 25 20 61 6e 64 20 66 | 6c 61 67 25 20 3c 3e 20 |s% and f|lag% <> |
|00003890| 32 06 09 09 72 65 6d 20 | 57 61 69 74 20 66 6f 72 |2...rem |Wait for|
|000038a0| 20 74 68 65 20 43 6f 6d | 6d 73 20 74 68 72 65 61 | the Com|ms threa|
|000038b0| 64 20 74 6f 20 74 65 72 | 6d 69 6e 61 74 65 20 61 |d to ter|minate a|
|000038c0| 6e 64 20 73 65 74 20 43 | 69 78 45 64 20 74 6f 20 |nd set C|ixEd to |
|000038d0| 66 6f 72 65 67 72 6f 75 | 6e 64 06 09 09 72 65 6d |foregrou|nd...rem|
|000038e0| 20 53 65 74 75 70 20 61 | 6e 20 65 72 72 6f 72 20 | Setup a|n error |
|000038f0| 68 61 6e 64 6c 65 72 20 | 66 6f 72 20 4c 6f 67 6f |handler |for Logo|
|00003900| 6e 54 6f 54 68 72 65 61 | 64 20 61 73 20 61 6e 20 |nToThrea|d as an |
|00003910| 65 72 72 6f 72 20 77 69 | 6c 6c 06 09 09 72 65 6d |error wi|ll...rem|
|00003920| 20 6f 63 63 75 72 20 69 | 66 20 43 6f 6d 6d 73 20 | occur i|f Comms |
|00003930| 61 70 70 20 69 73 20 63 | 6c 6f 73 65 64 20 62 65 |app is c|losed be|
|00003940| 66 6f 72 65 20 74 68 65 | 20 74 68 72 65 61 64 20 |fore the| thread |
|00003950| 63 6f 6d 70 6c 65 74 65 | 73 2e 06 09 09 72 65 6d |complete|s....rem|
|00003960| 20 61 6c 6c 20 62 75 74 | 20 74 79 70 65 20 32 20 | all but| type 2 |
|00003970| 62 6c 69 6e 6b 73 20 72 | 65 74 75 72 6e 20 61 20 |blinks r|eturn a |
|00003980| 73 63 72 61 74 63 68 70 | 61 64 06 09 09 6f 6e 65 |scratchp|ad...one|
|00003990| 72 72 20 43 6f 6d 6d 73 | 43 6c 6f 73 65 64 3a 3a |rr Comms|Closed::|
|000039a0| 06 09 09 77 68 69 6c 65 | 20 73 74 61 74 75 73 57 |...while| statusW|
|000039b0| 6f 72 64 26 20 3c 3e 20 | 30 06 09 09 09 4c 6f 67 |ord& <> |0....Log|
|000039c0| 6f 6e 54 6f 54 68 72 65 | 61 64 3a 28 74 68 72 65 |onToThre|ad:(thre|
|000039d0| 61 64 26 2c 20 73 74 61 | 74 75 73 57 6f 72 64 26 |ad&, sta|tusWord&|
|000039e0| 29 06 09 09 09 69 6f 77 | 61 69 74 73 74 61 74 33 |)....iow|aitstat3|
|000039f0| 32 20 73 74 61 74 75 73 | 57 6f 72 64 26 06 09 09 |2 status|Word&...|
|00003a00| 09 72 65 6d 20 23 23 23 | 20 49 66 20 43 6f 6d 6d |.rem ###| If Comm|
|00003a10| 73 20 69 73 20 73 77 69 | 74 63 68 65 64 20 74 6f |s is swi|tched to|
|00003a20| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 64 75 72 69 | backgro|und duri|
|00003a30| 6e 67 20 61 20 62 6c 69 | 6e 6b 2c 20 74 68 65 6e |ng a bli|nk, then|
|00003a40| 20 74 68 65 20 74 68 72 | 65 61 64 06 09 09 09 72 | the thr|ead....r|
|00003a50| 65 6d 20 69 73 20 63 6c | 6f 73 65 64 21 21 20 20 |em is cl|osed!! |
|00003a60| 57 68 79 2e 20 57 68 61 | 74 20 61 72 65 20 74 68 |Why. Wha|t are th|
|00003a70| 65 20 6f 74 68 65 72 20 | 76 61 6c 75 65 73 20 66 |e other |values f|
|00003a80| 6f 72 20 73 74 61 74 75 | 73 57 6f 72 64 26 3f 06 |or statu|sWord&?.|
|00003a90| 09 09 65 6e 64 77 68 06 | 09 09 73 65 74 66 6f 72 |..endwh.|..setfor|
|00003aa0| 65 67 72 6f 75 6e 64 3a | 06 09 09 62 75 73 79 20 |eground:|...busy |
|00003ab0| 6f 66 66 06 09 09 72 65 | 6d 20 4b 69 6c 6c 20 63 |off...re|m Kill c|
|00003ac0| 6f 6d 6d 73 20 61 70 70 | 20 61 66 74 65 72 20 43 |omms app| after C|
|00003ad0| 69 78 45 64 20 69 6e 20 | 74 68 65 20 66 6f 72 65 |ixEd in |the fore|
|00003ae0| 67 72 6f 75 6e 64 06 09 | 09 72 65 74 26 20 3d 20 |ground..|.ret& = |
|00003af0| 6b 69 6c 6c 74 61 73 6b | 26 3a 28 74 68 72 65 61 |killtask|&:(threa|
|00003b00| 64 26 2c 20 70 72 65 76 | 69 6f 75 73 26 29 06 09 |d&, prev|ious&)..|
|00003b10| 09 69 66 20 72 65 74 26 | 20 3d 20 2d 31 06 09 09 |.if ret&| = -1...|
|00003b20| 09 67 69 70 72 69 6e 74 | 20 22 43 6f 6d 6d 73 20 |.giprint| "Comms |
|00003b30| 61 6c 72 65 61 64 79 20 | 63 6c 6f 73 65 64 21 22 |already |closed!"|
|00003b40| 06 09 09 65 6c 73 65 06 | 09 09 09 72 65 6d 20 52 |...else.|...rem R|
|00003b50| 65 6d 6f 76 65 20 66 69 | 6c 65 73 20 66 72 6f 6d |emove fi|les from|
|00003b60| 20 64 2f 6c 20 6c 69 73 | 74 20 69 66 20 61 20 63 | d/l lis|t if a c|
|00003b70| 6f 6e 66 20 62 6c 69 6e | 6b 20 77 61 73 20 64 6f |onf blin|k was do|
|00003b80| 6e 65 06 09 09 09 69 66 | 20 66 6c 61 67 25 20 3d |ne....if| flag% =|
|00003b90| 20 30 20 6f 72 20 66 6c | 61 67 25 20 3d 20 34 06 | 0 or fl|ag% = 4.|
|00003ba0| 09 09 09 09 74 72 61 70 | 20 64 65 6c 65 74 65 20 |....trap| delete |
|00003bb0| 66 69 6c 65 4c 69 73 74 | 24 06 09 09 09 09 74 72 |fileList|$.....tr|
|00003bc0| 61 70 20 64 65 6c 65 74 | 65 20 63 69 78 42 69 6c |ap delet|e cixBil|
|00003bd0| 6c 24 06 09 09 09 65 6e | 64 69 66 06 09 09 65 6e |l$....en|dif...en|
|00003be0| 64 69 66 06 09 09 63 68 | 65 63 6b 42 6c 69 6e 6b |dif...ch|eckBlink|
|00003bf0| 3a 28 66 6c 61 67 25 29 | 06 09 09 70 6f 73 74 3a |:(flag%)|...post:|
|00003c00| 06 09 09 67 6f 74 6f 20 | 43 4f 4e 54 49 4e 55 45 |...goto |CONTINUE|
|00003c10| 3a 3a 06 43 6f 6d 6d 73 | 43 6c 6f 73 65 64 3a 3a |::.Comms|Closed::|
|00003c20| 06 09 09 67 69 70 72 69 | 6e 74 20 22 43 6f 6d 6d |...gipri|nt "Comm|
|00003c30| 73 20 61 62 6f 72 74 65 | 64 21 22 06 43 4f 4e 54 |s aborte|d!".CONT|
|00003c40| 49 4e 55 45 3a 3a 06 09 | 09 6f 6e 65 72 72 20 6f |INUE::..|.onerr o|
|00003c50| 66 66 06 09 65 6c 73 65 | 06 09 09 62 75 73 79 20 |ff..else|...busy |
|00003c60| 6f 66 66 06 09 09 69 66 | 20 66 6c 61 67 25 20 3c |off...if| flag% <|
|00003c70| 3e 20 32 09 09 72 65 6d | 20 61 6c 6c 20 62 75 74 |> 2..rem| all but|
|00003c80| 20 74 79 70 65 20 32 20 | 62 6c 69 6e 6b 73 20 72 | type 2 |blinks r|
|00003c90| 65 74 75 72 6e 20 61 20 | 73 63 72 61 74 63 68 70 |eturn a |scratchp|
|00003ca0| 61 64 06 09 09 09 6c 6f | 63 6b 20 6f 6e 06 09 09 |ad....lo|ck on...|
|00003cb0| 09 64 69 6e 69 74 20 22 | 50 6f 73 74 20 53 43 52 |.dinit "|Post SCR|
|00003cc0| 41 54 43 48 50 41 44 20 | 74 6f 20 6d 65 73 73 61 |ATCHPAD |to messa|
|00003cd0| 67 65 62 61 73 65 3f 22 | 06 09 09 09 69 66 20 66 |gebase?"|....if f|
|00003ce0| 6c 61 67 25 20 3d 20 30 | 20 6f 72 20 66 6c 61 67 |lag% = 0| or flag|
|00003cf0| 25 20 3d 20 34 06 09 09 | 09 09 64 63 68 65 63 6b |% = 4...|..dcheck|
|00003d00| 62 6f 78 20 64 65 6c 25 | 2c 20 22 52 65 6d 6f 76 |box del%|, "Remov|
|00003d10| 65 20 64 2f 6c 20 66 69 | 6c 65 73 20 66 72 6f 6d |e d/l fi|les from|
|00003d20| 20 6c 69 73 74 3f 22 06 | 09 09 09 65 6e 64 69 66 | list?".|...endif|
|00003d30| 06 09 09 09 64 62 75 74 | 74 6f 6e 73 20 22 4e 6f |....dbut|tons "No|
|00003d40| 22 2c 20 4b 4b 65 79 45 | 73 63 25 2c 20 22 59 65 |", KKeyE|sc%, "Ye|
|00003d50| 73 22 2c 20 4b 4b 65 79 | 45 6e 74 65 72 25 06 09 |s", KKey|Enter%..|
|00003d60| 09 09 69 25 20 3d 20 64 | 69 61 6c 6f 67 06 09 09 |..i% = d|ialog...|
|00003d70| 09 6c 6f 63 6b 20 6f 66 | 66 06 09 09 09 69 66 20 |.lock of|f....if |
|00003d80| 69 25 20 3d 20 4b 4b 65 | 79 45 6e 74 65 72 25 06 |i% = KKe|yEnter%.|
|00003d90| 09 09 09 09 69 66 20 64 | 65 6c 25 06 09 09 09 09 |....if d|el%.....|
|00003da0| 09 74 72 61 70 20 64 65 | 6c 65 74 65 20 66 69 6c |.trap de|lete fil|
|00003db0| 65 4c 69 73 74 24 06 09 | 09 09 09 09 74 72 61 70 |eList$..|....trap|
|00003dc0| 20 64 65 6c 65 74 65 20 | 63 69 78 42 69 6c 6c 24 | delete |cixBill$|
|00003dd0| 06 09 09 09 09 65 6e 64 | 69 66 06 09 09 09 09 70 |.....end|if.....p|
|00003de0| 6f 73 74 3a 06 09 09 09 | 65 6e 64 69 66 06 09 09 |ost:....|endif...|
|00003df0| 65 6e 64 69 66 06 09 65 | 6e 64 69 66 06 06 09 67 |endif..e|ndif...g|
|00003e00| 6f 74 6f 20 46 69 6e 69 | 73 68 65 64 3a 3a 06 06 |oto Fini|shed::..|
|00003e10| 43 6f 6d 6d 73 45 72 72 | 3a 3a 06 09 6f 6e 65 72 |CommsErr|::..oner|
|00003e20| 72 20 6f 66 66 06 09 62 | 75 73 79 20 6f 66 66 06 |r off..b|usy off.|
|00003e30| 09 61 6c 65 72 74 28 22 | 43 6f 6d 6d 73 20 66 61 |.alert("|Comms fa|
|00003e40| 69 6c 65 64 22 2c 20 22 | 43 68 65 63 6b 20 6d 65 |iled", "|Check me|
|00003e50| 6d 6f 72 79 20 6f 72 20 | 6c 69 6e 6b 20 73 74 61 |mory or |link sta|
|00003e60| 74 75 73 22 29 06 06 46 | 69 6e 69 73 68 65 64 3a |tus")..F|inished:|
|00003e70| 3a 06 09 72 65 6d 20 52 | 65 73 74 6f 72 65 20 61 |:..rem R|estore a|
|00003e80| 75 74 6f 2d 6f 66 66 06 | 09 53 65 74 41 75 74 6f |uto-off.|.SetAuto|
|00003e90| 53 77 69 74 63 68 4f 66 | 66 42 65 68 61 76 69 6f |SwitchOf|fBehavio|
|00003ea0| 72 3a 28 61 75 74 6f 53 | 77 69 74 63 68 4f 66 66 |r:(autoS|witchOff|
|00003eb0| 42 65 68 61 76 69 6f 72 | 26 29 06 09 72 65 6d 20 |Behavior|&)..rem |
|00003ec0| 53 65 74 41 63 74 69 76 | 65 3a 28 30 29 20 44 6f |SetActiv|e:(0) Do|
|00003ed0| 65 73 6e 27 74 20 77 6f | 72 6b 20 3a 28 06 65 6e |esn't wo|rk :(.en|
|00003ee0| 64 70 06 06 06 70 72 6f | 63 20 63 68 65 63 6b 42 |dp...pro|c checkB|
|00003ef0| 6c 69 6e 6b 3a 28 66 6c | 61 67 25 29 06 09 69 66 |link:(fl|ag%)..if|
|00003f00| 20 65 78 69 73 74 28 72 | 65 70 6c 79 46 69 6c 65 | exist(r|eplyFile|
|00003f10| 24 29 20 61 6e 64 20 66 | 6c 61 67 25 20 3c 3e 20 |$) and f|lag% <> |
|00003f20| 32 06 09 09 6c 6f 63 6b | 20 6f 6e 06 09 09 72 65 |2...lock| on...re|
|00003f30| 6e 61 6d 65 20 72 65 70 | 6c 79 46 69 6c 65 24 2c |name rep|lyFile$,|
|00003f40| 20 22 43 3a 5c 44 6f 63 | 75 6d 65 6e 74 73 5c 52 | "C:\Doc|uments\R|
|00003f50| 65 70 6c 79 2e 65 72 72 | 22 06 09 09 64 69 6e 69 |eply.err|"...dini|
|00003f60| 74 20 22 42 6c 69 6e 6b | 20 66 61 69 6c 65 64 22 |t "Blink| failed"|
|00003f70| 06 09 09 64 74 65 78 74 | 20 22 22 2c 20 22 43 6f |...dtext| "", "Co|
|00003f80| 6d 6d 73 20 6d 61 79 20 | 68 61 76 65 20 62 65 65 |mms may |have bee|
|00003f90| 6e 20 69 6e 74 65 72 75 | 70 74 65 64 20 6f 72 20 |n interu|pted or |
|00003fa0| 74 69 6d 65 64 20 6f 75 | 74 22 06 09 09 64 74 65 |timed ou|t"...dte|
|00003fb0| 78 74 20 22 22 2c 20 22 | 61 6e 64 20 79 6f 75 72 |xt "", "|and your|
|00003fc0| 20 6f 75 74 62 61 73 6b | 65 74 20 73 74 69 6c 6c | outbask|et still|
|00003fd0| 20 63 6f 6e 74 61 69 6e | 73 20 6d 65 73 73 61 67 | contain|s messag|
|00003fe0| 65 73 2e 22 06 09 09 64 | 74 65 78 74 20 22 22 2c |es."...d|text "",|
|00003ff0| 20 22 59 6f 75 72 20 6f | 75 74 62 61 73 6b 65 74 | "Your o|utbasket|
|00004000| 20 68 61 73 20 62 65 65 | 6e 20 73 61 76 65 64 20 | has bee|n saved |
|00004010| 74 6f 22 06 09 09 64 74 | 65 78 74 20 22 22 2c 20 |to"...dt|ext "", |
|00004020| 22 43 3a 5c 44 6f 63 75 | 6d 65 6e 74 73 5c 52 65 |"C:\Docu|ments\Re|
|00004030| 70 6c 79 2e 65 72 72 22 | 06 09 09 64 74 65 78 74 |ply.err"|...dtext|
|00004040| 20 22 22 2c 20 22 49 66 | 20 79 6f 75 20 77 69 73 | "", "If| you wis|
|00004050| 68 20 74 6f 20 72 65 73 | 65 6e 64 20 79 6f 75 72 |h to res|end your|
|00004060| 20 6d 65 73 73 61 67 65 | 73 20 79 6f 75 20 6d 75 | message|s you mu|
|00004070| 73 74 22 06 09 09 64 74 | 65 78 74 20 22 22 2c 20 |st"...dt|ext "", |
|00004080| 22 72 65 6e 61 6d 65 20 | 52 65 70 6c 79 2e 65 72 |"rename |Reply.er|
|00004090| 72 20 74 6f 20 52 65 70 | 6c 79 2e 74 78 74 2e 22 |r to Rep|ly.txt."|
|000040a0| 06 09 09 64 62 75 74 74 | 6f 6e 73 20 22 43 6f 6e |...dbutt|ons "Con|
|000040b0| 74 69 6e 75 65 22 2c 20 | 4b 4b 65 79 45 6e 74 65 |tinue", |KKeyEnte|
|000040c0| 72 25 06 09 09 64 69 61 | 6c 6f 67 06 09 09 6c 6f |r%...dia|log...lo|
|000040d0| 63 6b 20 6f 66 66 06 09 | 65 6e 64 69 66 06 65 6e |ck off..|endif.en|
|000040e0| 64 70 06 06 06 72 65 6d | 20 2a 2a 2a 2a 2a 2a 2a |dp...rem| *******|
|000040f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004100| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004110| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004120| 2a 2a 2a 2a 2a 2a 2a 06 | 72 65 6d 20 52 65 73 74 |*******.|rem Rest|
|00004130| 6f 72 65 20 61 20 72 65 | 70 6c 79 2e 65 72 72 20 |ore a re|ply.err |
|00004140| 66 69 6c 65 20 74 6f 20 | 72 65 70 6c 79 2e 74 78 |file to |reply.tx|
|00004150| 74 06 06 70 72 6f 63 20 | 72 65 73 74 6f 72 65 52 |t..proc |restoreR|
|00004160| 65 70 6c 79 3a 06 09 69 | 66 20 65 78 69 73 74 28 |eply:..i|f exist(|
|00004170| 22 43 3a 5c 44 6f 63 75 | 6d 65 6e 74 73 5c 52 65 |"C:\Docu|ments\Re|
|00004180| 70 6c 79 2e 65 72 72 22 | 29 06 09 09 6c 6f 63 6b |ply.err"|)...lock|
|00004190| 20 6f 6e 06 09 09 64 69 | 6e 69 74 20 22 52 65 73 | on...di|nit "Res|
|000041a0| 74 6f 72 65 20 4f 75 74 | 62 61 73 6b 65 74 20 61 |tore Out|basket a|
|000041b0| 66 74 65 72 20 46 61 69 | 6c 65 64 20 42 6c 69 6e |fter Fai|led Blin|
|000041c0| 6b 22 06 09 09 69 66 20 | 65 78 69 73 74 28 22 43 |k"...if |exist("C|
|000041d0| 3a 5c 44 6f 63 75 6d 65 | 6e 74 73 5c 52 65 70 6c |:\Docume|nts\Repl|
|000041e0| 79 2e 74 78 74 22 29 06 | 09 09 09 64 74 65 78 74 |y.txt").|...dtext|
|000041f0| 20 22 22 2c 20 22 59 6f | 75 20 68 61 76 65 20 61 | "", "Yo|u have a|
|00004200| 20 63 75 72 72 65 6e 74 | 20 6f 75 74 62 61 73 6b | current| outbask|
|00004210| 65 74 2e 20 20 50 6c 65 | 61 73 65 20 62 6c 69 6e |et. Ple|ase blin|
|00004220| 6b 22 06 09 09 09 64 74 | 65 78 74 20 22 22 2c 20 |k"....dt|ext "", |
|00004230| 22 74 6f 20 73 65 6e 64 | 20 74 68 65 73 65 20 72 |"to send| these r|
|00004240| 65 70 6c 69 65 73 20 62 | 65 66 6f 72 65 20 72 65 |eplies b|efore re|
|00004250| 73 74 6f 72 69 6e 67 20 | 74 68 65 22 06 09 09 09 |storing |the"....|
|00004260| 64 74 65 78 74 20 22 22 | 2c 20 22 61 62 6f 72 74 |dtext ""|, "abort|
|00004270| 65 64 20 6f 75 74 62 61 | 73 6b 65 74 2e 22 06 09 |ed outba|sket."..|
|00004280| 09 09 64 62 75 74 74 6f | 6e 73 20 22 45 78 69 74 |..dbutto|ns "Exit|
|00004290| 22 2c 20 2d 4b 4b 65 79 | 45 73 63 25 06 09 09 65 |", -KKey|Esc%...e|
|000042a0| 6c 73 65 06 09 09 09 64 | 74 65 78 74 20 22 22 2c |lse....d|text "",|
|000042b0| 20 22 42 65 66 6f 72 65 | 20 79 6f 75 20 72 65 73 | "Before| you res|
|000042c0| 74 6f 72 65 20 74 68 69 | 73 20 72 65 70 6c 79 20 |tore thi|s reply |
|000042d0| 66 69 6c 65 2c 20 70 6c | 65 61 73 65 22 06 09 09 |file, pl|ease"...|
|000042e0| 09 64 74 65 78 74 20 22 | 22 2c 20 22 62 6c 69 6e |.dtext "|", "blin|
|000042f0| 6b 20 61 6e 64 20 63 68 | 65 63 6b 20 74 68 61 74 |k and ch|eck that|
|00004300| 20 79 6f 75 72 20 6d 65 | 73 73 61 67 65 73 20 68 | your me|ssages h|
|00004310| 61 76 65 22 06 09 09 09 | 64 74 65 78 74 20 22 22 |ave"....|dtext ""|
|00004320| 2c 20 22 6e 6f 74 20 61 | 63 74 75 61 6c 6c 79 20 |, "not a|ctually |
|00004330| 62 65 65 6e 20 70 6f 73 | 74 65 64 2e 22 06 09 09 |been pos|ted."...|
|00004340| 09 64 62 75 74 74 6f 6e | 73 20 22 45 78 69 74 22 |.dbutton|s "Exit"|
|00004350| 2c 20 2d 4b 4b 65 79 45 | 73 63 25 2c 20 22 52 65 |, -KKeyE|sc%, "Re|
|00004360| 73 74 6f 72 65 22 2c 20 | 4b 4b 65 79 45 6e 74 65 |store", |KKeyEnte|
|00004370| 72 25 06 09 09 65 6e 64 | 69 66 06 09 09 69 66 20 |r%...end|if...if |
|00004380| 64 69 61 6c 6f 67 20 3d | 20 4b 4b 65 79 45 6e 74 |dialog =| KKeyEnt|
|00004390| 65 72 25 06 09 09 09 72 | 65 6e 61 6d 65 20 22 43 |er%....r|ename "C|
|000043a0| 3a 5c 44 6f 63 75 6d 65 | 6e 74 73 5c 52 65 70 6c |:\Docume|nts\Repl|
|000043b0| 79 2e 65 72 72 22 2c 20 | 72 65 70 6c 79 46 69 6c |y.err", |replyFil|
|000043c0| 65 24 06 09 09 65 6e 64 | 69 66 06 09 09 6c 6f 63 |e$...end|if...loc|
|000043d0| 6b 20 6f 66 66 06 09 65 | 6c 73 65 06 09 09 67 69 |k off..e|lse...gi|
|000043e0| 70 72 69 6e 74 20 22 54 | 68 65 72 65 20 69 73 20 |print "T|here is |
|000043f0| 6e 6f 20 61 62 6f 72 74 | 65 64 20 6f 75 74 62 61 |no abort|ed outba|
|00004400| 73 6b 65 74 20 74 6f 20 | 72 65 73 74 6f 72 65 21 |sket to |restore!|
|00004410| 22 06 09 65 6e 64 69 66 | 06 65 6e 64 70 06 06 06 |"..endif|.endp...|
|00004420| 72 65 6d 20 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |rem ****|********|
|00004430| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004440| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004450| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004460| 2a 2a 06 72 65 6d 20 41 | 75 74 6f 20 63 6c 6f 73 |**.rem A|uto clos|
|00004470| 65 20 6f 66 20 4c 69 6e | 6b 20 61 64 64 65 64 20 |e of Lin|k added |
|00004480| 62 79 20 54 6f 6e 79 20 | 43 72 6f 63 6b 65 72 06 |by Tony |Crocker.|
|00004490| 06 70 72 6f 63 20 63 68 | 65 63 6b 4c 69 6e 6b 25 |.proc ch|eckLink%|
|000044a0| 3a 06 09 6c 6f 63 61 6c | 20 72 65 74 25 2c 20 73 |:..local| ret%, s|
|000044b0| 79 73 75 69 64 26 2c 20 | 73 79 73 74 65 6d 54 68 |ysuid&, |systemTh|
|000044c0| 72 65 61 64 26 2c 20 70 | 72 65 76 69 6f 75 73 26 |read&, p|revious&|
|000044d0| 2c 20 73 63 61 6e 43 6f | 64 65 26 06 09 6c 6f 63 |, scanCo|de&..loc|
|000044e0| 61 6c 20 72 65 70 65 61 | 74 73 26 2c 20 6d 6f 64 |al repea|ts&, mod|
|000044f0| 69 66 69 65 72 73 26 2c | 20 63 6f 64 65 26 2c 20 |ifiers&,| code&, |
|00004500| 6d 6f 64 69 66 69 65 72 | 26 2c 20 65 64 26 06 06 |modifier|&, ed&..|
|00004510| 09 72 65 6d 20 43 68 65 | 63 6b 20 6c 69 6e 6b 20 |.rem Che|ck link |
|00004520| 6e 6f 74 20 6f 6e 21 06 | 09 74 72 61 70 20 6c 6f |not on!.|.trap lo|
|00004530| 70 65 6e 20 28 22 54 54 | 59 3a 41 22 29 06 09 69 |pen ("TT|Y:A")..i|
|00004540| 66 20 65 72 72 20 3d 20 | 4b 45 72 72 41 63 63 65 |f err = |KErrAcce|
|00004550| 73 73 25 06 09 09 72 65 | 6d 20 54 68 65 20 6c 69 |ss%...re|m The li|
|00004560| 6e 6b 20 69 73 20 6f 6e | 20 73 6f 20 77 65 20 77 |nk is on| so we w|
|00004570| 69 6c 6c 20 74 75 72 6e | 20 69 74 20 6f 66 66 06 |ill turn| it off.|
|00004580| 09 09 73 79 73 75 69 64 | 26 20 3d 20 26 31 30 30 |..sysuid|& = &100|
|00004590| 30 30 30 37 36 06 09 09 | 70 72 65 76 69 6f 75 73 |00076...|previous|
|000045a0| 26 20 3d 20 30 06 09 09 | 73 79 73 74 65 6d 54 68 |& = 0...|systemTh|
|000045b0| 72 65 61 64 26 20 3d 20 | 47 65 74 54 68 72 65 61 |read& = |GetThrea|
|000045c0| 64 49 64 46 72 6f 6d 41 | 70 70 55 69 64 26 3a 28 |dIdFromA|ppUid&:(|
|000045d0| 73 79 73 75 69 64 26 2c | 20 70 72 65 76 69 6f 75 |sysuid&,| previou|
|000045e0| 73 26 29 06 09 09 70 72 | 65 76 69 6f 75 73 26 20 |s&)...pr|evious& |
|000045f0| 3d 20 30 06 09 09 53 65 | 74 46 6f 72 65 67 72 6f |= 0...Se|tForegro|
|00004600| 75 6e 64 42 79 54 68 72 | 65 61 64 26 3a 28 73 79 |undByThr|ead&:(sy|
|00004610| 73 74 65 6d 54 68 72 65 | 61 64 26 2c 20 70 72 65 |stemThre|ad&, pre|
|00004620| 76 69 6f 75 73 26 29 06 | 06 09 09 63 6f 64 65 26 |vious&).|...code&|
|00004630| 20 3d 20 31 32 09 09 72 | 65 6d 20 43 74 72 6c 20 | = 12..r|em Ctrl |
|00004640| 4c 06 09 09 70 72 65 76 | 69 6f 75 73 26 20 3d 20 |L...prev|ious& = |
|00004650| 30 06 09 09 73 63 61 6e | 43 6f 64 65 26 20 3d 20 |0...scan|Code& = |
|00004660| 30 06 09 09 72 65 70 65 | 61 74 73 26 20 3d 20 30 |0...repe|ats& = 0|
|00004670| 06 09 09 6d 6f 64 69 66 | 69 65 72 73 26 20 3d 20 |...modif|iers& = |
|00004680| 4b 4d 6f 64 69 66 69 65 | 72 43 74 72 6c 26 06 09 |KModifie|rCtrl&..|
|00004690| 09 53 65 6e 64 4b 65 79 | 45 76 65 6e 74 54 6f 41 |.SendKey|EventToA|
|000046a0| 70 70 26 3a 28 73 79 73 | 74 65 6d 54 68 72 65 61 |pp&:(sys|temThrea|
|000046b0| 64 26 2c 20 70 72 65 76 | 69 6f 75 73 26 2c 20 63 |d&, prev|ious&, c|
|000046c0| 6f 64 65 26 2c 20 73 63 | 61 6e 43 6f 64 65 26 2c |ode&, sc|anCode&,|
|000046d0| 20 6d 6f 64 69 66 69 65 | 72 73 26 2c 20 72 65 70 | modifie|rs&, rep|
|000046e0| 65 61 74 73 26 29 06 06 | 09 09 6d 6f 64 69 66 69 |eats&)..|..modifi|
|000046f0| 65 72 73 26 20 3d 20 30 | 06 09 09 63 6f 64 65 26 |ers& = 0|...code&|
|00004700| 20 3d 20 31 31 31 09 09 | 72 65 6d 20 6f 06 09 09 | = 111..|rem o...|
|00004710| 53 65 6e 64 4b 65 79 45 | 76 65 6e 74 54 6f 41 70 |SendKeyE|ventToAp|
|00004720| 70 26 3a 28 73 79 73 74 | 65 6d 54 68 72 65 61 64 |p&:(syst|emThread|
|00004730| 26 2c 20 70 72 65 76 69 | 6f 75 73 26 2c 20 63 6f |&, previ|ous&, co|
|00004740| 64 65 26 2c 20 73 63 61 | 6e 43 6f 64 65 26 2c 20 |de&, sca|nCode&, |
|00004750| 6d 6f 64 69 66 69 65 72 | 73 26 2c 20 72 65 70 65 |modifier|s&, repe|
|00004760| 61 74 73 26 29 06 06 09 | 09 63 6f 64 65 26 20 3d |ats&)...|.code& =|
|00004770| 20 4b 4b 65 79 45 6e 74 | 65 72 25 06 09 09 6d 6f | KKeyEnt|er%...mo|
|00004780| 64 69 66 69 65 72 73 26 | 20 3d 20 30 06 09 09 53 |difiers&| = 0...S|
|00004790| 65 6e 64 4b 65 79 45 76 | 65 6e 74 54 6f 41 70 70 |endKeyEv|entToApp|
|000047a0| 26 3a 28 73 79 73 74 65 | 6d 54 68 72 65 61 64 26 |&:(syste|mThread&|
|000047b0| 2c 20 70 72 65 76 69 6f | 75 73 26 2c 20 63 6f 64 |, previo|us&, cod|
|000047c0| 65 26 2c 20 73 63 61 6e | 43 6f 64 65 26 2c 20 6d |e&, scan|Code&, m|
|000047d0| 6f 64 69 66 69 65 72 73 | 26 2c 20 72 65 70 65 61 |odifiers|&, repea|
|000047e0| 74 73 26 29 06 06 09 09 | 72 65 6d 20 4e 6f 77 20 |ts&)....|rem Now |
|000047f0| 77 65 20 67 6f 20 62 61 | 63 6b 06 09 09 65 64 26 |we go ba|ck...ed&|
|00004800| 20 3d 20 30 06 09 09 53 | 65 74 46 6f 72 65 67 72 | = 0...S|etForegr|
|00004810| 6f 75 6e 64 42 79 54 68 | 72 65 61 64 26 3a 28 61 |oundByTh|read&:(a|
|00004820| 70 70 54 68 72 65 61 64 | 49 44 26 2c 20 65 64 26 |ppThread|ID&, ed&|
|00004830| 29 06 06 09 65 6c 73 65 | 69 66 20 65 72 72 20 3c |)...else|if err <|
|00004840| 3e 20 30 06 09 09 72 65 | 74 25 20 3d 20 61 6c 65 |> 0...re|t% = ale|
|00004850| 72 74 28 22 53 65 72 69 | 61 6c 20 70 6f 72 74 20 |rt("Seri|al port |
|00004860| 70 72 6f 62 6c 65 6d 22 | 2c 20 65 72 72 24 28 65 |problem"|, err$(e|
|00004870| 72 72 29 29 06 09 09 72 | 65 74 75 72 6e 20 31 06 |rr))...r|eturn 1.|
|00004880| 09 65 6c 73 65 06 09 09 | 6c 63 6c 6f 73 65 06 09 |.else...|lclose..|
|00004890| 09 72 65 74 75 72 6e 20 | 30 06 09 65 6e 64 69 66 |.return |0..endif|
|000048a0| 06 65 6e 64 70 06 06 06 | 72 65 6d 20 2a 2a 2a 2a |.endp...|rem ****|
|000048b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000048c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000048d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000048e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 06 72 65 6d 20 42 |********|**.rem B|
|000048f0| 75 69 6c 64 20 74 68 65 | 20 62 6c 69 6e 6b 20 73 |uild the| blink s|
|00004900| 63 72 69 70 74 20 66 6f | 72 20 74 68 69 73 20 62 |cript fo|r this b|
|00004910| 6c 69 6e 6b 20 61 6e 64 | 20 69 6e 63 6c 75 64 65 |link and| include|
|00004920| 20 61 6e 79 20 66 69 6c | 65 73 06 72 65 6d 20 74 | any fil|es.rem t|
|00004930| 6f 20 62 65 20 64 6f 77 | 6e 6c 6f 61 64 65 64 20 |o be dow|nloaded |
|00004940| 66 72 6f 6d 20 74 68 65 | 20 64 6f 77 6e 6c 6f 61 |from the| downloa|
|00004950| 64 20 6c 69 73 74 2e 06 | 06 70 72 6f 63 20 62 75 |d list..|.proc bu|
|00004960| 69 6c 64 53 63 72 69 70 | 74 3a 06 09 6c 6f 63 61 |ildScrip|t:..loca|
|00004970| 6c 20 62 75 66 66 65 72 | 24 28 31 32 38 29 2c 20 |l buffer|$(128), |
|00004980| 62 75 66 66 65 72 26 2c | 20 6c 69 6e 65 24 28 31 |buffer&,| line$(1|
|00004990| 32 38 29 2c 20 72 65 74 | 69 25 2c 20 72 65 74 6f |28), ret|i%, reto|
|000049a0| 25 2c 20 6c 61 62 65 6c | 24 28 33 30 29 2c 20 69 |%, label|$(30), i|
|000049b0| 25 06 06 09 62 75 66 66 | 65 72 26 20 3d 20 61 64 |%...buff|er& = ad|
|000049c0| 64 72 28 62 75 66 66 65 | 72 24 29 06 06 09 62 75 |dr(buffe|r$)...bu|
|000049d0| 73 79 20 22 57 72 69 74 | 69 6e 67 20 62 6c 69 6e |sy "Writ|ing blin|
|000049e0| 6b 20 73 63 72 69 70 74 | 2e 2e 2e 22 06 09 69 66 |k script|..."..if|
|000049f0| 20 65 78 69 73 74 28 62 | 6c 69 6e 6b 53 63 72 69 | exist(b|linkScri|
|00004a00| 70 74 24 29 06 09 09 63 | 6f 70 79 20 62 6c 69 6e |pt$)...c|opy blin|
|00004a10| 6b 53 63 72 69 70 74 24 | 2c 20 73 63 72 61 74 63 |kScript$|, scratc|
|00004a20| 68 24 20 2b 20 22 5c 43 | 69 78 45 64 73 63 72 2e |h$ + "\C|ixEdscr.|
|00004a30| 6f 6c 64 22 06 09 09 64 | 65 6c 65 74 65 20 62 6c |old"...d|elete bl|
|00004a40| 69 6e 6b 53 63 72 69 70 | 74 24 06 09 65 6e 64 69 |inkScrip|t$..endi|
|00004a50| 66 06 06 09 72 65 74 6f | 25 20 3d 20 69 6f 6f 70 |f...reto|% = ioop|
|00004a60| 65 6e 28 6f 75 74 46 69 | 6c 65 25 2c 20 62 6c 69 |en(outFi|le%, bli|
|00004a70| 6e 6b 53 63 72 69 70 74 | 24 2c 20 4b 49 6f 4f 70 |nkScript|$, KIoOp|
|00004a80| 65 6e 4d 6f 64 65 52 65 | 70 6c 61 63 65 25 20 2b |enModeRe|place% +|
|00004a90| 20 4b 49 6f 4f 70 65 6e | 46 6f 72 6d 61 74 54 65 | KIoOpen|FormatTe|
|00004aa0| 78 74 25 20 2b 20 4b 49 | 6f 4f 70 65 6e 41 63 63 |xt% + KI|oOpenAcc|
|00004ab0| 65 73 73 55 70 64 61 74 | 65 25 29 06 09 69 66 20 |essUpdat|e%)..if |
|00004ac0| 72 65 74 6f 25 20 3c 20 | 30 06 09 09 73 68 6f 77 |reto% < |0...show|
|00004ad0| 45 72 72 6f 72 3a 28 22 | 43 61 6e 27 74 20 6f 76 |Error:("|Can't ov|
|00004ae0| 65 72 77 72 69 74 65 20 | 22 20 2b 20 62 6c 69 6e |erwrite |" + blin|
|00004af0| 6b 53 63 72 69 70 74 24 | 2c 20 72 65 74 6f 25 29 |kScript$|, reto%)|
|00004b00| 06 09 09 72 65 74 75 72 | 6e 06 09 65 6e 64 69 66 |...retur|n..endif|
|00004b10| 06 06 09 72 65 6d 20 52 | 65 61 64 20 69 6e 20 74 |...rem R|ead in t|
|00004b20| 68 65 20 73 74 61 6e 64 | 61 72 64 20 43 69 78 45 |he stand|ard CixE|
|00004b30| 64 20 73 63 72 69 70 74 | 20 66 72 6f 6d 20 74 68 |d script| from th|
|00004b40| 65 20 61 70 70 20 66 6f | 6c 64 65 72 06 09 72 65 |e app fo|lder..re|
|00004b50| 6d 20 53 74 6f 70 20 72 | 65 61 64 69 6e 67 20 61 |m Stop r|eading a|
|00004b60| 74 20 74 68 65 20 23 49 | 4e 53 45 52 54 23 20 74 |t the #I|NSERT# t|
|00004b70| 6f 6b 65 6e 06 06 09 72 | 65 6d 20 4f 70 65 6e 20 |oken...r|em Open |
|00004b80| 74 68 65 20 6d 61 69 6e | 20 43 69 78 45 64 20 73 |the main| CixEd s|
|00004b90| 63 72 69 70 74 20 66 69 | 6c 65 20 66 6f 72 20 72 |cript fi|le for r|
|00004ba0| 65 61 64 69 6e 67 06 09 | 72 65 74 69 25 20 3d 20 |eading..|reti% = |
|00004bb0| 69 6f 6f 70 65 6e 28 69 | 6e 46 69 6c 65 25 2c 20 |ioopen(i|nFile%, |
|00004bc0| 6d 61 69 6e 73 63 72 69 | 70 74 24 2c 20 4b 49 6f |mainscri|pt$, KIo|
|00004bd0| 4f 70 65 6e 4d 6f 64 65 | 4f 70 65 6e 25 20 2b 20 |OpenMode|Open% + |
|00004be0| 4b 49 6f 4f 70 65 6e 46 | 6f 72 6d 61 74 54 65 78 |KIoOpenF|ormatTex|
|00004bf0| 74 25 29 06 09 69 66 20 | 72 65 74 69 25 20 3c 20 |t%)..if |reti% < |
|00004c00| 30 06 09 09 73 68 6f 77 | 45 72 72 6f 72 3a 28 22 |0...show|Error:("|
|00004c10| 43 61 6e 27 74 20 6f 70 | 65 6e 20 22 20 2b 20 6d |Can't op|en " + m|
|00004c20| 61 69 6e 53 63 72 69 70 | 74 24 2c 20 72 65 74 69 |ainScrip|t$, reti|
|00004c30| 25 29 06 09 09 69 6f 63 | 6c 6f 73 65 28 6f 75 74 |%)...ioc|lose(out|
|00004c40| 46 69 6c 65 25 29 06 09 | 09 72 65 74 75 72 6e 06 |File%)..|.return.|
|00004c50| 09 65 6e 64 69 66 06 06 | 09 72 65 6d 20 53 74 61 |.endif..|.rem Sta|
|00004c60| 72 74 20 72 65 61 64 69 | 6e 67 20 74 68 65 20 43 |rt readi|ng the C|
|00004c70| 69 78 45 64 20 73 63 72 | 69 70 74 20 66 69 6c 65 |ixEd scr|ipt file|
|00004c80| 20 75 6e 74 69 6c 20 74 | 68 65 20 74 6f 6b 65 6e | until t|he token|
|00004c90| 20 69 73 20 66 6f 75 6e | 64 06 09 64 6f 06 09 09 | is foun|d..do...|
|00004ca0| 72 65 74 69 25 20 3d 20 | 69 6f 72 65 61 64 28 69 |reti% = |ioread(i|
|00004cb0| 6e 46 69 6c 65 25 2c 20 | 62 75 66 66 65 72 26 20 |nFile%, |buffer& |
|00004cc0| 2b 20 31 2c 20 31 32 37 | 29 06 09 09 69 66 20 72 |+ 1, 127|)...if r|
|00004cd0| 65 74 69 25 20 3c 20 30 | 06 09 09 09 69 66 20 72 |eti% < 0|....if r|
|00004ce0| 65 74 69 25 20 3d 20 4b | 45 72 72 45 6f 66 25 06 |eti% = K|ErrEof%.|
|00004cf0| 09 09 09 09 62 72 65 61 | 6b 06 09 09 09 65 6c 73 |....brea|k....els|
|00004d00| 65 69 66 20 72 65 74 69 | 25 20 3d 20 4b 45 72 72 |eif reti|% = KErr|
|00004d10| 52 65 63 6f 72 64 25 09 | 09 72 65 6d 20 52 65 63 |Record%.|.rem Rec|
|00004d20| 6f 72 64 20 74 6f 6f 20 | 6c 61 72 67 65 06 09 09 |ord too |large...|
|00004d30| 09 09 72 65 74 69 25 20 | 3d 20 31 32 37 09 09 72 |..reti% |= 127..r|
|00004d40| 65 6d 20 53 65 74 20 6c | 65 6e 67 74 68 20 74 6f |em Set l|ength to|
|00004d50| 20 74 72 75 6e 63 61 74 | 65 64 20 6d 61 78 69 6d | truncat|ed maxim|
|00004d60| 75 6d 06 09 09 09 65 6c | 73 65 06 09 09 09 09 73 |um....el|se.....s|
|00004d70| 68 6f 77 45 72 72 6f 72 | 3a 28 22 45 72 72 6f 72 |howError|:("Error|
|00004d80| 20 72 65 61 64 69 6e 67 | 20 22 20 2b 20 6d 61 69 | reading| " + mai|
|00004d90| 6e 53 63 72 69 70 74 24 | 2c 20 72 65 74 69 25 29 |nScript$|, reti%)|
|00004da0| 06 09 09 09 09 69 6f 63 | 6c 6f 73 65 28 69 6e 46 |.....ioc|lose(inF|
|00004db0| 69 6c 65 25 29 06 09 09 | 09 09 69 6f 63 6c 6f 73 |ile%)...|..ioclos|
|00004dc0| 65 28 6f 75 74 46 69 6c | 65 25 29 06 09 09 09 09 |e(outFil|e%).....|
|00004dd0| 72 65 74 75 72 6e 06 09 | 09 09 65 6e 64 69 66 06 |return..|..endif.|
|00004de0| 09 09 65 6e 64 69 66 06 | 09 09 70 6f 6b 65 62 20 |..endif.|..pokeb |
|00004df0| 62 75 66 66 65 72 26 2c | 20 72 65 74 69 25 06 09 |buffer&,| reti%..|
|00004e00| 09 62 75 66 66 65 72 24 | 20 3d 20 62 75 66 66 65 |.buffer$| = buffe|
|00004e10| 72 24 20 2b 20 63 68 72 | 24 28 4b 4b 65 79 45 6e |r$ + chr|$(KKeyEn|
|00004e20| 74 65 72 25 29 06 09 09 | 69 66 20 6c 6f 63 28 62 |ter%)...|if loc(b|
|00004e30| 75 66 66 65 72 24 2c 20 | 22 23 49 4e 53 45 52 54 |uffer$, |"#INSERT|
|00004e40| 23 22 29 20 3d 20 30 06 | 09 09 09 72 65 74 6f 25 |#") = 0.|...reto%|
|00004e50| 20 3d 20 69 6f 77 72 69 | 74 65 28 6f 75 74 46 69 | = iowri|te(outFi|
|00004e60| 6c 65 25 2c 20 62 75 66 | 66 65 72 26 20 2b 20 31 |le%, buf|fer& + 1|
|00004e70| 2c 20 6c 65 6e 28 62 75 | 66 66 65 72 24 29 29 06 |, len(bu|ffer$)).|
|00004e80| 09 09 09 69 66 20 72 65 | 74 6f 25 20 3c 20 30 06 |...if re|to% < 0.|
|00004e90| 09 09 09 09 73 68 6f 77 | 45 72 72 6f 72 3a 28 22 |....show|Error:("|
|00004ea0| 45 72 72 6f 72 20 77 72 | 69 74 69 6e 67 20 22 20 |Error wr|iting " |
|00004eb0| 2b 20 62 6c 69 6e 6b 53 | 63 72 69 70 74 24 2c 20 |+ blinkS|cript$, |
|00004ec0| 72 65 74 6f 25 29 06 09 | 09 09 09 69 6f 63 6c 6f |reto%)..|...ioclo|
|00004ed0| 73 65 28 69 6e 46 69 6c | 65 25 29 06 09 09 09 09 |se(inFil|e%).....|
|00004ee0| 69 6f 63 6c 6f 73 65 28 | 6f 75 74 46 69 6c 65 25 |ioclose(|outFile%|
|00004ef0| 29 06 09 09 09 09 72 65 | 74 75 72 6e 06 09 09 09 |).....re|turn....|
|00004f00| 65 6e 64 69 66 06 09 09 | 65 6e 64 69 66 06 09 75 |endif...|endif..u|
|00004f10| 6e 74 69 6c 20 6c 6f 63 | 28 62 75 66 66 65 72 24 |ntil loc|(buffer$|
|00004f20| 2c 20 22 23 49 4e 53 45 | 52 54 23 22 29 06 06 09 |, "#INSE|RT#")...|
|00004f30| 72 65 6d 20 4f 4b 20 73 | 6f 20 77 65 20 68 61 76 |rem OK s|o we hav|
|00004f40| 65 20 72 65 61 64 20 74 | 6f 20 74 68 65 20 6d 61 |e read t|o the ma|
|00004f50| 72 6b 65 72 20 69 6e 20 | 74 68 65 20 73 74 61 6e |rker in |the stan|
|00004f60| 64 61 72 64 20 73 63 72 | 69 70 74 2c 06 09 72 65 |dard scr|ipt,..re|
|00004f70| 6d 20 73 6f 20 6e 6f 77 | 20 77 72 69 74 65 20 74 |m so now| write t|
|00004f80| 68 65 20 65 78 74 72 61 | 20 66 75 6e 63 74 69 6f |he extra| functio|
|00004f90| 6e 73 20 72 65 71 75 69 | 72 65 64 20 74 6f 20 74 |ns requi|red to t|
|00004fa0| 68 65 20 6e 65 77 20 73 | 63 72 69 70 74 2e 06 09 |he new s|cript...|
|00004fb0| 69 66 20 65 78 69 73 74 | 28 66 69 6c 65 6c 69 73 |if exist|(filelis|
|00004fc0| 74 24 29 06 09 09 72 65 | 6d 20 57 72 69 74 65 20 |t$)...re|m Write |
|00004fd0| 61 20 64 75 6d 6d 79 20 | 73 74 61 72 74 20 6c 61 |a dummy |start la|
|00004fe0| 62 65 6c 2c 20 6f 74 68 | 65 72 77 69 73 65 20 74 |bel, oth|erwise t|
|00004ff0| 68 65 20 73 63 72 69 70 | 74 20 77 6f 6e 27 74 20 |he scrip|t won't |
|00005000| 72 75 6e 06 09 09 6c 69 | 6e 65 24 20 3d 20 22 66 |run...li|ne$ = "f|
|00005010| 69 6c 65 64 6c 3a 22 20 | 2b 20 63 68 72 24 28 4b |iledl:" |+ chr$(K|
|00005020| 4b 65 79 45 6e 74 65 72 | 25 29 06 09 09 72 65 74 |KeyEnter|%)...ret|
|00005030| 6f 25 20 3d 20 69 6f 77 | 72 69 74 65 28 6f 75 74 |o% = iow|rite(out|
|00005040| 46 69 6c 65 25 2c 20 61 | 64 64 72 28 6c 69 6e 65 |File%, a|ddr(line|
|00005050| 24 29 20 2b 20 31 2c 20 | 6c 65 6e 28 6c 69 6e 65 |$) + 1, |len(line|
|00005060| 24 29 29 06 09 09 69 66 | 20 72 65 74 6f 25 20 3c |$))...if| reto% <|
|00005070| 20 30 06 09 09 09 73 68 | 6f 77 45 72 72 6f 72 3a | 0....sh|owError:|
|00005080| 28 22 45 72 72 6f 72 20 | 77 72 69 74 69 6e 67 20 |("Error |writing |
|00005090| 22 20 2b 20 62 6c 69 6e | 6b 53 63 72 69 70 74 24 |" + blin|kScript$|
|000050a0| 2c 20 72 65 74 6f 25 29 | 06 09 09 09 69 6f 63 6c |, reto%)|....iocl|
|000050b0| 6f 73 65 28 69 6e 46 69 | 6c 65 25 29 06 09 09 09 |ose(inFi|le%)....|
|000050c0| 69 6f 63 6c 6f 73 65 28 | 6f 75 74 46 69 6c 65 25 |ioclose(|outFile%|
|000050d0| 29 06 09 09 09 72 65 74 | 75 72 6e 06 09 09 65 6e |)....ret|urn...en|
|000050e0| 64 69 66 06 09 09 72 65 | 6d 20 4f 70 65 6e 20 74 |dif...re|m Open t|
|000050f0| 68 65 20 64 6f 77 6e 6c | 6f 61 64 20 66 69 6c 65 |he downl|oad file|
|00005100| 20 6c 69 73 74 06 09 09 | 6f 70 65 6e 72 20 66 69 | list...|openr fi|
|00005110| 6c 65 6c 69 73 74 24 2c | 20 46 2c 20 66 69 6c 65 |lelist$,| F, file|
|00005120| 6e 61 6d 65 24 2c 20 66 | 69 6c 65 74 6f 70 69 63 |name$, f|iletopic|
|00005130| 24 06 09 09 69 66 20 63 | 6f 75 6e 74 20 3e 20 30 |$...if c|ount > 0|
|00005140| 06 09 09 09 66 69 72 73 | 74 06 09 09 09 64 6f 06 |....firs|t....do.|
|00005150| 09 09 09 09 72 65 6d 20 | 44 65 66 69 6e 65 20 61 |....rem |Define a|
|00005160| 20 6c 61 62 65 6c 20 74 | 6f 20 6a 75 6d 70 20 74 | label t|o jump t|
|00005170| 6f 20 69 66 20 74 68 65 | 72 65 20 61 72 65 20 65 |o if the|re are e|
|00005180| 72 72 6f 72 73 2e 06 09 | 09 09 09 72 65 6d 20 55 |rrors...|...rem U|
|00005190| 73 65 20 72 61 6e 64 6f | 6d 20 6e 75 6d 62 65 72 |se rando|m number|
|000051a0| 73 20 75 70 20 74 6f 20 | 32 36 20 74 6f 20 64 65 |s up to |26 to de|
|000051b0| 66 69 6e 65 20 61 20 6c | 61 62 65 6c 20 6f 66 20 |fine a l|abel of |
|000051c0| 38 20 63 68 61 72 73 06 | 09 09 09 09 69 25 20 3d |8 chars.|....i% =|
|000051d0| 20 31 06 09 09 09 09 6c | 61 62 65 6c 24 20 3d 20 | 1.....l|abel$ = |
|000051e0| 22 22 06 09 09 09 09 64 | 6f 06 09 09 09 09 09 6c |"".....d|o......l|
|000051f0| 61 62 65 6c 24 20 3d 20 | 6c 61 62 65 6c 24 20 2b |abel$ = |label$ +|
|00005200| 20 63 68 72 24 28 25 61 | 20 2b 20 69 6e 74 28 72 | chr$(%a| + int(r|
|00005210| 6e 64 20 2a 20 32 36 29 | 29 06 09 09 09 09 09 69 |nd * 26)|)......i|
|00005220| 25 20 3d 20 69 25 20 2b | 20 31 06 09 09 09 09 75 |% = i% +| 1.....u|
|00005230| 6e 74 69 6c 20 69 25 20 | 3e 20 38 06 06 09 09 09 |ntil i% |> 8.....|
|00005240| 09 72 65 6d 20 57 72 69 | 74 65 20 6f 75 74 20 73 |.rem Wri|te out s|
|00005250| 63 72 69 70 74 20 66 6f | 72 20 74 68 69 73 20 64 |cript fo|r this d|
|00005260| 6f 77 6e 6c 6f 61 64 20 | 74 6f 20 74 68 65 20 64 |ownload |to the d|
|00005270| 2f 6c 20 73 63 72 69 70 | 74 20 66 69 6c 65 06 06 |/l scrip|t file..|
|00005280| 09 09 09 09 72 65 6d 20 | 41 72 65 20 77 65 20 66 |....rem |Are we f|
|00005290| 65 74 63 68 69 6e 67 20 | 61 20 66 6c 69 73 74 3f |etching |a flist?|
|000052a0| 06 09 09 09 09 69 66 20 | 6c 6f 77 65 72 24 28 46 |.....if |lower$(F|
|000052b0| 2e 66 69 6c 65 6e 61 6d | 65 24 29 20 3d 20 22 66 |.filenam|e$) = "f|
|000052c0| 6c 69 73 74 22 06 09 09 | 09 09 09 6c 69 6e 65 24 |list"...|...line$|
|000052d0| 20 3d 20 22 53 54 41 54 | 55 53 20 22 22 47 65 74 | = "STAT|US ""Get|
|000052e0| 74 69 6e 67 20 66 6c 69 | 73 74 20 22 20 2b 20 72 |ting fli|st " + r|
|000052f0| 65 6d 6f 76 65 50 65 72 | 63 65 6e 74 24 3a 28 46 |emovePer|cent$:(F|
|00005300| 2e 66 69 6c 65 74 6f 70 | 69 63 24 29 20 2b 20 22 |.filetop|ic$) + "|
|00005310| 22 22 22 20 2b 20 63 68 | 72 24 28 4b 4b 65 79 45 |""" + ch|r$(KKeyE|
|00005320| 6e 74 65 72 25 29 06 09 | 09 09 09 09 72 65 74 6f |nter%)..|....reto|
|00005330| 25 20 3d 20 69 6f 77 72 | 69 74 65 28 6f 75 74 46 |% = iowr|ite(outF|
|00005340| 69 6c 65 25 2c 20 61 64 | 64 72 28 6c 69 6e 65 24 |ile%, ad|dr(line$|
|00005350| 29 20 2b 20 31 2c 20 6c | 65 6e 28 6c 69 6e 65 24 |) + 1, l|en(line$|
|00005360| 29 29 06 09 09 09 09 09 | 6c 69 6e 65 24 20 3d 20 |))......|line$ = |
|00005370| 22 53 45 4e 44 57 41 49 | 54 20 32 30 20 22 22 4a |"SENDWAI|T 20 ""J|
|00005380| 6f 69 6e 20 22 20 2b 20 | 72 65 6d 6f 76 65 50 65 |oin " + |removePe|
|00005390| 72 63 65 6e 74 24 3a 28 | 46 2e 66 69 6c 65 74 6f |rcent$:(|F.fileto|
|000053a0| 70 69 63 24 29 20 2b 20 | 22 3c 24 64 3e 22 22 2c |pic$) + |"<$d>"",|
|000053b0| 20 52 65 61 64 50 72 6f | 6d 70 74 24 20 47 4f 54 | ReadPro|mpt$ GOT|
|000053c0| 4f 20 22 20 2b 20 6c 61 | 62 65 6c 24 20 2b 20 63 |O " + la|bel$ + c|
|000053d0| 68 72 24 28 4b 4b 65 79 | 45 6e 74 65 72 25 29 06 |hr$(KKey|Enter%).|
|000053e0| 09 09 09 09 09 72 65 74 | 6f 25 20 3d 20 69 6f 77 |.....ret|o% = iow|
|000053f0| 72 69 74 65 28 6f 75 74 | 46 69 6c 65 25 2c 20 61 |rite(out|File%, a|
|00005400| 64 64 72 28 6c 69 6e 65 | 24 29 20 2b 20 31 2c 20 |ddr(line|$) + 1, |
|00005410| 6c 65 6e 28 6c 69 6e 65 | 24 29 29 06 09 09 09 09 |len(line|$)).....|
|00005420| 09 6c 69 6e 65 24 20 3d | 20 22 53 45 4e 44 57 41 |.line$ =| "SENDWA|
|00005430| 49 54 20 32 34 30 20 22 | 22 46 49 4c 45 20 46 4c |IT 240 "|"FILE FL|
|00005440| 49 53 54 3c 24 64 3e 22 | 22 2c 20 52 65 61 64 50 |IST<$d>"|", ReadP|
|00005450| 72 6f 6d 70 74 24 20 47 | 4f 54 4f 20 22 20 2b 20 |rompt$ G|OTO " + |
|00005460| 6c 61 62 65 6c 24 20 2b | 20 63 68 72 24 28 4b 4b |label$ +| chr$(KK|
|00005470| 65 79 45 6e 74 65 72 25 | 29 06 09 09 09 09 09 72 |eyEnter%|)......r|
|00005480| 65 74 6f 25 20 3d 20 69 | 6f 77 72 69 74 65 28 6f |eto% = i|owrite(o|
|00005490| 75 74 46 69 6c 65 25 2c | 20 61 64 64 72 28 6c 69 |utFile%,| addr(li|
|000054a0| 6e 65 24 29 20 2b 20 31 | 2c 20 6c 65 6e 28 6c 69 |ne$) + 1|, len(li|
|000054b0| 6e 65 24 29 29 06 09 09 | 09 09 09 6c 69 6e 65 24 |ne$))...|...line$|
|000054c0| 20 3d 20 22 53 45 4e 44 | 57 41 49 54 20 32 34 30 | = "SEND|WAIT 240|
|000054d0| 20 22 22 64 6f 77 6e 3c | 24 64 3e 22 22 2c 20 44 | ""down<|$d>"", D|
|000054e0| 4c 57 61 69 74 24 20 47 | 4f 54 4f 20 22 20 2b 20 |LWait$ G|OTO " + |
|000054f0| 6c 61 62 65 6c 24 20 2b | 20 63 68 72 24 28 4b 4b |label$ +| chr$(KK|
|00005500| 65 79 45 6e 74 65 72 25 | 29 06 09 09 09 09 09 72 |eyEnter%|)......r|
|00005510| 65 74 6f 25 20 3d 20 69 | 6f 77 72 69 74 65 28 6f |eto% = i|owrite(o|
|00005520| 75 74 46 69 6c 65 25 2c | 20 61 64 64 72 28 6c 69 |utFile%,| addr(li|
|00005530| 6e 65 24 29 20 2b 20 31 | 2c 20 6c 65 6e 28 6c 69 |ne$) + 1|, len(li|
|00005540| 6e 65 24 29 29 06 09 09 | 09 09 09 6c 69 6e 65 24 |ne$))...|...line$|
|00005550| 20 3d 20 22 44 4f 57 4e | 4c 4f 41 44 20 22 22 22 | = "DOWN|LOAD """|
|00005560| 20 2b 20 46 2e 66 69 6c | 65 74 6f 70 69 63 24 20 | + F.fil|etopic$ |
|00005570| 2b 20 22 5c 66 6c 69 73 | 74 2e 74 78 74 22 22 2c |+ "\flis|t.txt"",|
|00005580| 20 44 4c 50 72 6f 74 6f | 63 6f 6c 46 75 6c 6c 24 | DLProto|colFull$|
|00005590| 22 20 2b 20 63 68 72 24 | 28 4b 4b 65 79 45 6e 74 |" + chr$|(KKeyEnt|
|000055a0| 65 72 25 29 06 09 09 09 | 09 09 72 65 74 6f 25 20 |er%)....|..reto% |
|000055b0| 3d 20 69 6f 77 72 69 74 | 65 28 6f 75 74 46 69 6c |= iowrit|e(outFil|
|000055c0| 65 25 2c 20 61 64 64 72 | 28 6c 69 6e 65 24 29 20 |e%, addr|(line$) |
|000055d0| 2b 20 31 2c 20 6c 65 6e | 28 6c 69 6e 65 24 29 29 |+ 1, len|(line$))|
|000055e0| 06 09 09 09 09 09 6c 69 | 6e 65 24 20 3d 20 22 57 |......li|ne$ = "W|
|000055f0| 41 49 54 20 33 22 20 2b | 20 63 68 72 24 28 4b 4b |AIT 3" +| chr$(KK|
|00005600| 65 79 45 6e 74 65 72 25 | 29 06 09 09 09 09 09 72 |eyEnter%|)......r|
|00005610| 65 74 6f 25 20 3d 20 69 | 6f 77 72 69 74 65 28 6f |eto% = i|owrite(o|
|00005620| 75 74 46 69 6c 65 25 2c | 20 61 64 64 72 28 6c 69 |utFile%,| addr(li|
|00005630| 6e 65 24 29 20 2b 20 31 | 2c 20 6c 65 6e 28 6c 69 |ne$) + 1|, len(li|
|00005640| 6e 65 24 29 29 06 09 09 | 09 09 09 6c 69 6e 65 24 |ne$))...|...line$|
|00005650| 20 3d 20 22 22 22 4f 4b | 20 74 6f 20 64 65 6c 65 | = """OK| to dele|
|00005660| 74 65 22 22 20 47 4f 54 | 4f 20 64 22 20 2b 20 6c |te"" GOT|O d" + l|
|00005670| 61 62 65 6c 24 20 2b 20 | 63 68 72 24 28 4b 4b 65 |abel$ + |chr$(KKe|
|00005680| 79 45 6e 74 65 72 25 29 | 06 09 09 09 09 09 72 65 |yEnter%)|......re|
|00005690| 74 6f 25 20 3d 20 69 6f | 77 72 69 74 65 28 6f 75 |to% = io|write(ou|
|000056a0| 74 46 69 6c 65 25 2c 20 | 61 64 64 72 28 6c 69 6e |tFile%, |addr(lin|
|000056b0| 65 24 29 20 2b 20 31 2c | 20 6c 65 6e 28 6c 69 6e |e$) + 1,| len(lin|
|000056c0| 65 24 29 29 06 09 09 09 | 09 09 6c 69 6e 65 24 20 |e$))....|..line$ |
|000056d0| 3d 20 22 45 4e 44 57 41 | 49 54 22 20 2b 20 63 68 |= "ENDWA|IT" + ch|
|000056e0| 72 24 28 4b 4b 65 79 45 | 6e 74 65 72 25 29 06 09 |r$(KKeyE|nter%)..|
|000056f0| 09 09 09 09 72 65 74 6f | 25 20 3d 20 69 6f 77 72 |....reto|% = iowr|
|00005700| 69 74 65 28 6f 75 74 46 | 69 6c 65 25 2c 20 61 64 |ite(outF|ile%, ad|
|00005710| 64 72 28 6c 69 6e 65 24 | 29 20 2b 20 31 2c 20 6c |dr(line$|) + 1, l|
|00005720| 65 6e 28 6c 69 6e 65 24 | 29 29 06 06 09 09 09 09 |en(line$|))......|
|00005730| 09 6c 69 6e 65 24 20 3d | 20 22 64 22 20 2b 20 6c |.line$ =| "d" + l|
|00005740| 61 62 65 6c 24 20 2b 20 | 22 3a 22 20 2b 20 63 68 |abel$ + |":" + ch|
|00005750| 72 24 28 4b 4b 65 79 45 | 6e 74 65 72 25 29 06 09 |r$(KKeyE|nter%)..|
|00005760| 09 09 09 09 72 65 74 6f | 25 20 3d 20 69 6f 77 72 |....reto|% = iowr|
|00005770| 69 74 65 28 6f 75 74 46 | 69 6c 65 25 2c 20 61 64 |ite(outF|ile%, ad|
|00005780| 64 72 28 6c 69 6e 65 24 | 29 20 2b 20 31 2c 20 6c |dr(line$|) + 1, l|
|00005790| 65 6e 28 6c 69 6e 65 24 | 29 29 06 09 09 09 09 09 |en(line$|))......|
|000057a0| 6c 69 6e 65 24 20 3d 20 | 22 53 45 4e 44 57 41 49 |line$ = |"SENDWAI|
|000057b0| 54 20 32 30 20 22 22 79 | 3c 24 64 3e 22 22 2c 20 |T 20 ""y|<$d>"", |
|000057c0| 52 65 61 64 50 72 6f 6d | 70 74 24 20 47 4f 54 4f |ReadProm|pt$ GOTO|
|000057d0| 20 22 20 2b 20 6c 61 62 | 65 6c 24 20 2b 20 63 68 | " + lab|el$ + ch|
|000057e0| 72 24 28 4b 4b 65 79 45 | 6e 74 65 72 25 29 06 09 |r$(KKeyE|nter%)..|
|000057f0| 09 09 09 09 72 65 74 6f | 25 20 3d 20 69 6f 77 72 |....reto|% = iowr|
|00005800| 69 74 65 28 6f 75 74 46 | 69 6c 65 25 2c 20 61 64 |ite(outF|ile%, ad|
|00005810| 64 72 28 6c 69 6e 65 24 | 29 20 2b 20 31 2c 20 6c |dr(line$|) + 1, l|
|00005820| 65 6e 28 6c 69 6e 65 24 | 29 29 06 06 09 09 09 09 |en(line$|))......|
|00005830| 09 72 65 6d 20 54 68 69 | 73 20 6a 75 73 74 20 6d |.rem Thi|s just m|
|00005840| 6f 76 65 73 20 74 68 65 | 20 66 6c 69 73 74 20 74 |oves the| flist t|
|00005850| 6f 20 74 68 65 20 63 6f | 72 72 65 63 74 20 66 6f |o the co|rrect fo|
|00005860| 6c 64 65 72 20 28 69 66 | 20 59 4d 6f 64 65 6d 20 |lder (if| YModem |
|00005870| 6f 76 65 72 72 6f 64 65 | 20 74 68 65 20 66 69 6c |overrode| the fil|
|00005880| 65 6e 61 6d 65 29 06 09 | 09 09 09 09 6c 69 6e 65 |ename)..|....line|
|00005890| 24 20 3d 20 22 52 45 4e | 41 4d 45 20 22 22 22 20 |$ = "REN|AME """ |
|000058a0| 2b 20 73 63 72 61 74 63 | 68 24 20 2b 20 22 5c 53 |+ scratc|h$ + "\S|
|000058b0| 63 72 61 74 63 68 70 61 | 64 28 30 31 29 22 22 2c |cratchpa|d(01)"",|
|000058c0| 20 22 22 22 20 2b 20 46 | 2e 66 69 6c 65 74 6f 70 | """ + F|.filetop|
|000058d0| 69 63 24 20 2b 20 22 5c | 66 6c 69 73 74 2e 74 78 |ic$ + "\|flist.tx|
|000058e0| 74 22 22 22 20 2b 20 63 | 68 72 24 28 4b 4b 65 79 |t""" + c|hr$(KKey|
|000058f0| 45 6e 74 65 72 25 29 06 | 09 09 09 09 09 72 65 74 |Enter%).|.....ret|
|00005900| 6f 25 20 3d 20 69 6f 77 | 72 69 74 65 28 6f 75 74 |o% = iow|rite(out|
|00005910| 46 69 6c 65 25 2c 20 61 | 64 64 72 28 6c 69 6e 65 |File%, a|ddr(line|
|00005920| 24 29 20 2b 20 31 2c 20 | 6c 65 6e 28 6c 69 6e 65 |$) + 1, |len(line|
|00005930| 24 29 29 06 09 09 09 09 | 65 6c 73 65 06 09 09 09 |$)).....|else....|
|00005940| 09 09 72 65 6d 20 41 70 | 70 61 72 65 6e 74 6c 79 |..rem Ap|parently|
|00005950| 20 6e 6f 74 2c 20 73 6f | 20 67 65 74 20 61 20 66 | not, so| get a f|
|00005960| 69 6c 65 20 74 6f 20 64 | 6f 77 6e 6c 6f 61 64 06 |ile to d|ownload.|
|00005970| 09 09 09 09 09 6c 69 6e | 65 24 20 3d 20 22 53 54 |.....lin|e$ = "ST|
|00005980| 41 54 55 53 20 22 22 44 | 6f 77 6e 6c 6f 61 64 69 |ATUS ""D|ownloadi|
|00005990| 6e 67 20 22 20 2b 20 46 | 2e 66 69 6c 65 6e 61 6d |ng " + F|.filenam|
|000059a0| 65 24 20 2b 20 22 22 22 | 22 20 2b 20 63 68 72 24 |e$ + """|" + chr$|
|000059b0| 28 4b 4b 65 79 45 6e 74 | 65 72 25 29 06 09 09 09 |(KKeyEnt|er%)....|
|000059c0| 09 09 72 65 74 6f 25 20 | 3d 20 69 6f 77 72 69 74 |..reto% |= iowrit|
|000059d0| 65 28 6f 75 74 46 69 6c | 65 25 2c 20 61 64 64 72 |e(outFil|e%, addr|
|000059e0| 28 6c 69 6e 65 24 29 20 | 2b 20 31 2c 20 6c 65 6e |(line$) |+ 1, len|
|000059f0| 28 6c 69 6e 65 24 29 29 | 06 09 09 09 09 09 6c 69 |(line$))|......li|
|00005a00| 6e 65 24 20 3d 20 22 53 | 45 4e 44 57 41 49 54 20 |ne$ = "S|ENDWAIT |
|00005a10| 32 30 20 22 22 4a 6f 69 | 6e 20 22 20 2b 20 46 2e |20 ""Joi|n " + F.|
|00005a20| 66 69 6c 65 74 6f 70 69 | 63 24 20 2b 20 22 3c 24 |filetopi|c$ + "<$|
|00005a30| 64 3e 22 22 2c 20 52 65 | 61 64 50 72 6f 6d 70 74 |d>"", Re|adPrompt|
|00005a40| 24 20 47 4f 54 4f 20 22 | 20 2b 20 6c 61 62 65 6c |$ GOTO "| + label|
|00005a50| 24 20 2b 20 63 68 72 24 | 28 4b 4b 65 79 45 6e 74 |$ + chr$|(KKeyEnt|
|00005a60| 65 72 25 29 06 09 09 09 | 09 09 72 65 74 6f 25 20 |er%)....|..reto% |
|00005a70| 3d 20 69 6f 77 72 69 74 | 65 28 6f 75 74 46 69 6c |= iowrit|e(outFil|
|00005a80| 65 25 2c 20 61 64 64 72 | 28 6c 69 6e 65 24 29 20 |e%, addr|(line$) |
|00005a90| 2b 20 31 2c 20 6c 65 6e | 28 6c 69 6e 65 24 29 29 |+ 1, len|(line$))|
|00005aa0| 06 09 09 09 09 09 6c 69 | 6e 65 24 20 3d 20 22 53 |......li|ne$ = "S|
|00005ab0| 45 4e 44 57 41 49 54 20 | 36 30 20 22 22 66 64 6c |ENDWAIT |60 ""fdl|
|00005ac0| 3c 24 64 3e 22 22 2c 20 | 22 22 46 69 6c 65 6e 61 |<$d>"", |""Filena|
|00005ad0| 6d 65 20 3a 22 22 20 47 | 4f 54 4f 20 22 20 2b 20 |me :"" G|OTO " + |
|00005ae0| 6c 61 62 65 6c 24 20 2b | 20 63 68 72 24 28 4b 4b |label$ +| chr$(KK|
|00005af0| 65 79 45 6e 74 65 72 25 | 29 06 09 09 09 09 09 72 |eyEnter%|)......r|
|00005b00| 65 74 6f 25 20 3d 20 69 | 6f 77 72 69 74 65 28 6f |eto% = i|owrite(o|
|00005b10| 75 74 46 69 6c 65 25 2c | 20 61 64 64 72 28 6c 69 |utFile%,| addr(li|
|00005b20| 6e 65 24 29 20 2b 20 31 | 2c 20 6c 65 6e 28 6c 69 |ne$) + 1|, len(li|
|00005b30| 6e 65 24 29 29 06 09 09 | 09 09 09 6c 69 6e 65 24 |ne$))...|...line$|
|00005b40| 20 3d 20 22 53 45 4e 44 | 57 41 49 54 20 36 30 20 | = "SEND|WAIT 60 |
|00005b50| 22 22 22 20 2b 20 46 2e | 66 69 6c 65 6e 61 6d 65 |""" + F.|filename|
|00005b60| 24 20 2b 20 22 20 3c 24 | 64 3e 22 22 2c 20 44 4c |$ + " <$|d>"", DL|
|00005b70| 57 61 69 74 24 20 47 4f | 54 4f 20 22 20 2b 20 6c |Wait$ GO|TO " + l|
|00005b80| 61 62 65 6c 24 20 2b 20 | 63 68 72 24 28 4b 4b 65 |abel$ + |chr$(KKe|
|00005b90| 79 45 6e 74 65 72 25 29 | 06 09 09 09 09 09 72 65 |yEnter%)|......re|
|00005ba0| 74 6f 25 20 3d 20 69 6f | 77 72 69 74 65 28 6f 75 |to% = io|write(ou|
|00005bb0| 74 46 69 6c 65 25 2c 20 | 61 64 64 72 28 6c 69 6e |tFile%, |addr(lin|
|00005bc0| 65 24 29 20 2b 20 31 2c | 20 6c 65 6e 28 6c 69 6e |e$) + 1,| len(lin|
|00005bd0| 65 24 29 29 06 09 09 09 | 09 09 6c 69 6e 65 24 20 |e$))....|..line$ |
|00005be0| 3d 20 22 44 4f 57 4e 4c | 4f 41 44 20 22 22 43 3a |= "DOWNL|OAD ""C:|
|00005bf0| 5c 44 6f 63 75 6d 65 6e | 74 73 5c 22 20 2b 20 46 |\Documen|ts\" + F|
|00005c00| 2e 66 69 6c 65 6e 61 6d | 65 24 20 2b 20 22 22 22 |.filenam|e$ + """|
|00005c10| 2c 20 44 4c 50 72 6f 74 | 6f 63 6f 6c 46 75 6c 6c |, DLProt|ocolFull|
|00005c20| 24 22 20 2b 20 63 68 72 | 24 28 4b 4b 65 79 45 6e |$" + chr|$(KKeyEn|
|00005c30| 74 65 72 25 29 06 09 09 | 09 09 09 72 65 74 6f 25 |ter%)...|...reto%|
|00005c40| 20 3d 20 69 6f 77 72 69 | 74 65 28 6f 75 74 46 69 | = iowri|te(outFi|
|00005c50| 6c 65 25 2c 20 61 64 64 | 72 28 6c 69 6e 65 24 29 |le%, add|r(line$)|
|00005c60| 20 2b 20 31 2c 20 6c 65 | 6e 28 6c 69 6e 65 24 29 | + 1, le|n(line$)|
|00005c70| 29 06 09 09 09 09 65 6e | 64 69 66 06 09 09 09 09 |).....en|dif.....|
|00005c80| 72 65 6d 20 57 72 69 74 | 65 20 74 68 65 20 74 72 |rem Writ|e the tr|
|00005c90| 61 69 6c 69 6e 67 20 6c | 61 62 65 6c 20 74 6f 20 |ailing l|abel to |
|00005ca0| 6a 75 6d 70 20 74 6f 20 | 69 66 20 74 68 65 72 65 |jump to |if there|
|00005cb0| 20 61 72 65 20 65 72 72 | 6f 72 73 06 09 09 09 09 | are err|ors.....|
|00005cc0| 6c 69 6e 65 24 20 3d 20 | 6c 61 62 65 6c 24 20 2b |line$ = |label$ +|
|00005cd0| 20 22 3a 22 20 2b 20 63 | 68 72 24 28 4b 4b 65 79 | ":" + c|hr$(KKey|
|00005ce0| 45 6e 74 65 72 25 29 06 | 09 09 09 09 72 65 74 6f |Enter%).|....reto|
|00005cf0| 25 20 3d 20 69 6f 77 72 | 69 74 65 28 6f 75 74 46 |% = iowr|ite(outF|
|00005d00| 69 6c 65 25 2c 20 61 64 | 64 72 28 6c 69 6e 65 24 |ile%, ad|dr(line$|
|00005d10| 29 20 2b 20 31 2c 20 6c | 65 6e 28 6c 69 6e 65 24 |) + 1, l|en(line$|
|00005d20| 29 29 06 09 09 09 09 69 | 66 20 72 65 74 6f 25 20 |)).....i|f reto% |
|00005d30| 3c 20 30 06 09 09 09 09 | 09 72 65 6d 20 4f 6b 61 |< 0.....|.rem Oka|
|00005d40| 79 2c 20 77 65 20 73 68 | 6f 75 6c 64 20 63 68 65 |y, we sh|ould che|
|00005d50| 63 6b 20 61 66 74 65 72 | 20 65 61 63 68 20 6f 66 |ck after| each of|
|00005d60| 20 74 68 65 20 77 72 69 | 74 65 73 20 61 62 6f 76 | the wri|tes abov|
|00005d70| 65 2e 2e 2e 06 09 09 09 | 09 09 72 65 6d 20 62 75 |e.......|..rem bu|
|00005d80| 74 20 77 65 27 64 20 62 | 65 20 68 65 72 65 20 61 |t we'd b|e here a|
|00005d90| 6c 6c 20 64 61 79 21 20 | 20 54 68 69 73 20 73 68 |ll day! | This sh|
|00005da0| 6f 75 6c 64 20 70 69 63 | 6b 20 75 70 20 74 68 65 |ould pic|k up the|
|00005db0| 20 77 6f 72 73 74 2e 06 | 09 09 09 09 09 73 68 6f | worst..|.....sho|
|00005dc0| 77 45 72 72 6f 72 3a 28 | 22 45 72 72 6f 72 20 77 |wError:(|"Error w|
|00005dd0| 72 69 74 69 6e 67 20 22 | 20 2b 20 62 6c 69 6e 6b |riting "| + blink|
|00005de0| 53 63 72 69 70 74 24 2c | 20 72 65 74 6f 25 29 06 |Script$,| reto%).|
|00005df0| 09 09 09 09 09 69 6f 63 | 6c 6f 73 65 28 69 6e 46 |.....ioc|lose(inF|
|00005e00| 69 6c 65 25 29 06 09 09 | 09 09 09 69 6f 63 6c 6f |ile%)...|...ioclo|
|00005e10| 73 65 28 6f 75 74 46 69 | 6c 65 25 29 06 09 09 09 |se(outFi|le%)....|
|00005e20| 09 09 72 65 74 75 72 6e | 06 09 09 09 09 65 6e 64 |..return|.....end|
|00005e30| 69 66 06 09 09 09 09 72 | 65 6d 20 4e 65 78 74 20 |if.....r|em Next |
|00005e40| 66 69 6c 65 20 74 6f 20 | 64 6f 77 6e 6c 6f 61 64 |file to |download|
|00005e50| 06 09 09 09 09 6e 65 78 | 74 06 09 09 09 75 6e 74 |.....nex|t....unt|
|00005e60| 69 6c 20 65 6f 66 06 09 | 09 09 6c 69 6e 65 24 20 |il eof..|..line$ |
|00005e70| 3d 20 22 53 45 4e 44 57 | 41 49 54 20 32 30 20 22 |= "SENDW|AIT 20 "|
|00005e80| 22 71 3c 24 64 3e 22 22 | 2c 20 52 65 61 64 50 72 |"q<$d>""|, ReadPr|
|00005e90| 6f 6d 70 74 24 20 47 4f | 54 4f 20 71 22 20 2b 20 |ompt$ GO|TO q" + |
|00005ea0| 6c 61 62 65 6c 24 20 2b | 20 63 68 72 24 28 4b 4b |label$ +| chr$(KK|
|00005eb0| 65 79 45 6e 74 65 72 25 | 29 06 09 09 09 72 65 74 |eyEnter%|)....ret|
|00005ec0| 6f 25 20 3d 20 69 6f 77 | 72 69 74 65 28 6f 75 74 |o% = iow|rite(out|
|00005ed0| 46 69 6c 65 25 2c 20 61 | 64 64 72 28 6c 69 6e 65 |File%, a|ddr(line|
|00005ee0| 24 29 20 2b 20 31 2c 20 | 6c 65 6e 28 6c 69 6e 65 |$) + 1, |len(line|
|00005ef0| 24 29 29 06 09 09 09 6c | 69 6e 65 24 20 3d 20 22 |$))....l|ine$ = "|
|00005f00| 71 22 20 2b 20 6c 61 62 | 65 6c 24 20 2b 20 22 3a |q" + lab|el$ + ":|
|00005f10| 22 20 2b 20 63 68 72 24 | 28 4b 4b 65 79 45 6e 74 |" + chr$|(KKeyEnt|
|00005f20| 65 72 25 29 06 09 09 09 | 72 65 74 6f 25 20 3d 20 |er%)....|reto% = |
|00005f30| 69 6f 77 72 69 74 65 28 | 6f 75 74 46 69 6c 65 25 |iowrite(|outFile%|
|00005f40| 2c 20 61 64 64 72 28 6c | 69 6e 65 24 29 20 2b 20 |, addr(l|ine$) + |
|00005f50| 31 2c 20 6c 65 6e 28 6c | 69 6e 65 24 29 29 06 09 |1, len(l|ine$))..|
|00005f60| 09 65 6e 64 69 66 06 09 | 09 63 6c 6f 73 65 06 09 |.endif..|.close..|
|00005f70| 65 6e 64 69 66 06 06 09 | 69 66 20 65 78 69 73 74 |endif...|if exist|
|00005f80| 28 63 69 78 42 69 6c 6c | 24 29 06 09 09 72 65 6d |(cixBill|$)...rem|
|00005f90| 20 57 72 69 74 65 20 61 | 20 64 75 6d 6d 79 20 73 | Write a| dummy s|
|00005fa0| 74 61 72 74 20 6c 61 62 | 65 6c 2c 20 6f 74 68 65 |tart lab|el, othe|
|00005fb0| 72 77 69 73 65 20 74 68 | 65 20 73 63 72 69 70 74 |rwise th|e script|
|00005fc0| 20 77 6f 6e 27 74 20 72 | 75 6e 06 09 09 6c 69 6e | won't r|un...lin|
|00005fd0| 65 24 20 3d 20 22 63 69 | 78 62 69 6c 6c 3a 22 20 |e$ = "ci|xbill:" |
|00005fe0| 2b 20 63 68 72 24 28 4b | 4b 65 79 45 6e 74 65 72 |+ chr$(K|KeyEnter|
|00005ff0| 25 29 06 09 09 72 65 74 | 6f 25 20 3d 20 69 6f 77 |%)...ret|o% = iow|
|00006000| 72 69 74 65 28 6f 75 74 | 46 69 6c 65 25 2c 20 61 |rite(out|File%, a|
|00006010| 64 64 72 28 6c 69 6e 65 | 24 29 20 2b 20 31 2c 20 |ddr(line|$) + 1, |
|00006020| 6c 65 6e 28 6c 69 6e 65 | 24 29 29 06 09 09 72 65 |len(line|$))...re|
|00006030| 6d 20 4f 70 65 6e 20 74 | 68 65 20 63 69 78 62 69 |m Open t|he cixbi|
|00006040| 6c 6c 20 64 62 66 20 66 | 69 6c 65 06 09 09 6f 70 |ll dbf f|ile...op|
|00006050| 65 6e 72 20 63 69 78 42 | 69 6c 6c 24 2c 20 46 2c |enr cixB|ill$, F,|
|00006060| 20 63 69 78 42 69 6c 6c | 24 06 09 09 69 66 20 63 | cixBill|$...if c|
|00006070| 6f 75 6e 74 20 3e 20 30 | 06 09 09 09 66 69 72 73 |ount > 0|....firs|
|00006080| 74 06 09 09 09 64 6f 06 | 09 09 09 09 72 65 6d 20 |t....do.|....rem |
|00006090| 44 65 66 69 6e 65 20 61 | 20 6c 61 62 65 6c 20 74 |Define a| label t|
|000060a0| 6f 20 6a 75 6d 70 20 74 | 6f 20 69 66 20 74 68 65 |o jump t|o if the|
|000060b0| 72 65 20 61 72 65 20 65 | 72 72 6f 72 73 2e 06 09 |re are e|rrors...|
|000060c0| 09 09 09 72 65 6d 20 55 | 73 65 20 72 61 6e 64 6f |...rem U|se rando|
|000060d0| 6d 20 6e 75 6d 62 65 72 | 73 20 75 70 74 6f 20 32 |m number|s upto 2|
|000060e0| 36 20 74 6f 20 64 65 66 | 69 6e 65 20 61 20 6c 61 |6 to def|ine a la|
|000060f0| 62 65 6c 20 6f 66 20 38 | 20 63 68 61 72 73 06 09 |bel of 8| chars..|
|00006100| 09 09 09 69 25 20 3d 20 | 31 06 09 09 09 09 6c 61 |...i% = |1.....la|
|00006110| 62 65 6c 24 20 3d 20 22 | 22 06 09 09 09 09 64 6f |bel$ = "|".....do|
|00006120| 06 09 09 09 09 09 6c 61 | 62 65 6c 24 20 3d 20 6c |......la|bel$ = l|
|00006130| 61 62 65 6c 24 20 2b 20 | 63 68 72 24 28 25 61 20 |abel$ + |chr$(%a |
|00006140| 2b 20 69 6e 74 28 72 6e | 64 20 2a 20 32 36 29 29 |+ int(rn|d * 26))|
|00006150| 06 09 09 09 09 09 69 25 | 20 3d 20 69 25 20 2b 20 |......i%| = i% + |
|00006160| 31 06 09 09 09 09 75 6e | 74 69 6c 20 69 25 20 3e |1.....un|til i% >|
|00006170| 20 38 06 06 09 09 09 09 | 6c 69 6e 65 24 20 3d 20 | 8......|line$ = |
|00006180| 22 53 54 41 54 55 53 20 | 22 22 47 65 74 74 69 6e |"STATUS |""Gettin|
|00006190| 67 20 43 69 78 20 62 69 | 6c 6c 69 6e 67 20 66 6f |g Cix bi|lling fo|
|000061a0| 72 20 22 20 2b 20 46 2e | 63 69 78 42 69 6c 6c 24 |r " + F.|cixBill$|
|000061b0| 20 2b 20 22 22 22 22 20 | 2b 20 63 68 72 24 28 4b | + """" |+ chr$(K|
|000061c0| 4b 65 79 45 6e 74 65 72 | 25 29 06 09 09 09 09 72 |KeyEnter|%).....r|
|000061d0| 65 74 6f 25 20 3d 20 69 | 6f 77 72 69 74 65 28 6f |eto% = i|owrite(o|
|000061e0| 75 74 46 69 6c 65 25 2c | 20 61 64 64 72 28 6c 69 |utFile%,| addr(li|
|000061f0| 6e 65 24 29 20 2b 20 31 | 2c 20 6c 65 6e 28 6c 69 |ne$) + 1|, len(li|
|00006200| 6e 65 24 29 29 06 06 09 | 09 09 09 6c 69 6e 65 24 |ne$))...|...line$|
|00006210| 20 3d 20 22 53 45 4e 44 | 57 41 49 54 20 36 30 20 | = "SEND|WAIT 60 |
|00006220| 22 22 4b 69 6c 6c 73 63 | 72 61 74 63 68 3c 24 64 |""Killsc|ratch<$d|
|00006230| 3e 22 22 2c 20 50 72 6f | 6d 70 74 24 20 47 4f 54 |>"", Pro|mpt$ GOT|
|00006240| 4f 20 22 20 2b 20 6c 61 | 62 65 6c 24 20 2b 20 63 |O " + la|bel$ + c|
|00006250| 68 72 24 28 4b 4b 65 79 | 45 6e 74 65 72 25 29 06 |hr$(KKey|Enter%).|
|00006260| 09 09 09 09 72 65 74 6f | 25 20 3d 20 69 6f 77 72 |....reto|% = iowr|
|00006270| 69 74 65 28 6f 75 74 46 | 69 6c 65 25 2c 20 61 64 |ite(outF|ile%, ad|
|00006280| 64 72 28 6c 69 6e 65 24 | 29 20 2b 20 31 2c 20 6c |dr(line$|) + 1, l|
|00006290| 65 6e 28 6c 69 6e 65 24 | 29 29 06 09 09 09 09 6c |en(line$|)).....l|
|000062a0| 69 6e 65 24 20 3d 20 22 | 53 45 4e 44 57 41 49 54 |ine$ = "|SENDWAIT|
|000062b0| 20 36 30 20 22 22 66 69 | 6c 65 62 69 6c 6c 69 6e | 60 ""fi|lebillin|
|000062c0| 67 3c 24 64 3e 22 22 2c | 20 22 22 6d 6f 6e 74 68 |g<$d>"",| ""month|
|000062d0| 2e 2e 2e 2e 2e 22 22 20 | 47 4f 54 4f 20 22 20 2b |....."" |GOTO " +|
|000062e0| 20 6c 61 62 65 6c 24 20 | 2b 20 63 68 72 24 28 4b | label$ |+ chr$(K|
|000062f0| 4b 65 79 45 6e 74 65 72 | 25 29 06 09 09 09 09 72 |KeyEnter|%).....r|
|00006300| 65 74 6f 25 20 3d 20 69 | 6f 77 72 69 74 65 28 6f |eto% = i|owrite(o|
|00006310| 75 74 46 69 6c 65 25 2c | 20 61 64 64 72 28 6c 69 |utFile%,| addr(li|
|00006320| 6e 65 24 29 20 2b 20 31 | 2c 20 6c 65 6e 28 6c 69 |ne$) + 1|, len(li|
|00006330| 6e 65 24 29 29 06 09 09 | 09 09 6c 69 6e 65 24 20 |ne$))...|..line$ |
|00006340| 3d 20 22 53 45 4e 44 57 | 41 49 54 20 36 30 20 22 |= "SENDW|AIT 60 "|
|00006350| 22 22 20 2b 20 6c 65 66 | 74 24 28 46 2e 63 69 78 |"" + lef|t$(F.cix|
|00006360| 42 69 6c 6c 24 2c 20 33 | 29 20 2b 20 22 3c 24 64 |Bill$, 3|) + "<$d|
|00006370| 3e 22 22 2c 20 22 22 79 | 65 61 72 2e 2e 2e 2e 2e |>"", ""y|ear.....|
|00006380| 22 22 20 47 4f 54 4f 20 | 22 20 2b 20 6c 61 62 65 |"" GOTO |" + labe|
|00006390| 6c 24 20 2b 20 63 68 72 | 24 28 4b 4b 65 79 45 6e |l$ + chr|$(KKeyEn|
|000063a0| 74 65 72 25 29 06 09 09 | 09 09 72 65 74 6f 25 20 |ter%)...|..reto% |
|000063b0| 3d 20 69 6f 77 72 69 74 | 65 28 6f 75 74 46 69 6c |= iowrit|e(outFil|
|000063c0| 65 25 2c 20 61 64 64 72 | 28 6c 69 6e 65 24 29 20 |e%, addr|(line$) |
|000063d0| 2b 20 31 2c 20 6c 65 6e | 28 6c 69 6e 65 24 29 29 |+ 1, len|(line$))|
|000063e0| 06 09 09 09 09 6c 69 6e | 65 24 20 3d 20 22 53 45 |.....lin|e$ = "SE|
|000063f0| 4e 44 57 41 49 54 20 31 | 32 30 20 22 22 22 20 2b |NDWAIT 1|20 """ +|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.