home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / Co-Cz / Colorizing HC XCMD 1.1.2 ƒ / Colorizing HC Debug < prev    next >
MacBinary  |  1992-09-16  |  17.5 KB  |  [STAK/WILD]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Colorizing HC Debug

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Sep 3 13:49:57 1992, modified Wed Sep 16 05:43:06 1992, creator HyperCard, type HyperCard stack, 17408 bytes "Colorizing HC Debug" , at 0x4480 344 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 43 6f 6c 6f 72 69 | 7a 69 6e 67 20 48 43 20 |..Colori|zing HC |
|00000010| 44 65 62 75 67 00 00 00 | 00 00 00 00 00 00 00 00 |Debug...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 44 00 00 | 00 01 58 a6 cc 00 c5 a6 |.....D..|..X.....|
|00000060| dc b2 2a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..*.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a9 fc 00 00 |........|........|
|00000080| 00 00 2c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..,.STAK|........|
|00000090| 00 00 00 0a 00 00 44 00 | 00 00 2c 00 00 00 00 00 |......D.|..,.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 61 00 00 00 02 |........|...a....|
|000000b0| 00 00 0b 5a 00 00 08 01 | 00 00 00 00 00 00 00 00 |...Z....|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 01 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| df d0 84 ef 00 00 00 00 | 00 63 00 80 00 f3 01 80 |........|.c......|
|00000100| 00 00 00 00 01 56 02 00 | 00 00 00 00 00 00 00 00 |.....V..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d e2 00 00 0c 56 | 00 90 01 00 00 00 00 00 |.......V|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 63 48 43 64 65 | 62 75 67 49 6e 69 74 0d |on cHCde|bugInit.|
|00000690| 67 6c 6f 62 61 6c 20 67 | 48 43 64 65 62 75 67 49 |global g|HCdebugI|
|000006a0| 6e 69 74 2c 20 67 48 43 | 64 65 62 75 67 55 73 65 |nit, gHC|debugUse|
|000006b0| 54 65 78 74 6f 69 64 2c | 20 67 48 43 64 65 62 75 |Textoid,| gHCdebu|
|000006c0| 67 4c 69 6e 65 73 2c 20 | c2 0d 67 48 43 64 65 62 |gLines, |..gHCdeb|
|000006d0| 75 67 56 61 6c 2c 20 67 | 48 43 64 65 62 75 67 54 |ugVal, g|HCdebugT|
|000006e0| 65 78 74 6f 69 64 4c 6f | 63 0d 70 75 74 20 74 68 |extoidLo|c.put th|
|000006f0| 65 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 69 |e lockMe|ssages i|
|00000700| 6e 74 6f 20 6c 6d 65 73 | 73 0d 70 75 74 20 74 68 |nto lmes|s.put th|
|00000710| 65 20 6c 6f 63 6b 52 65 | 63 65 6e 74 20 69 6e 74 |e lockRe|cent int|
|00000720| 6f 20 6c 72 65 63 65 6e | 74 0d 6c 6f 63 6b 20 73 |o lrecen|t.lock s|
|00000730| 63 72 65 65 6e 0d 73 65 | 74 20 6c 6f 63 6b 4d 65 |creen.se|t lockMe|
|00000740| 73 73 61 67 65 73 20 74 | 6f 20 54 72 75 65 0d 73 |ssages t|o True.s|
|00000750| 65 74 20 6c 6f 63 6b 52 | 65 63 65 6e 74 20 74 6f |et lockR|ecent to|
|00000760| 20 54 72 75 65 0d 70 75 | 73 68 20 74 68 69 73 20 | True.pu|sh this |
|00000770| 63 61 72 64 0d 0d 67 6f | 20 74 6f 20 63 64 20 31 |card..go| to cd 1|
|00000780| 20 6f 66 20 73 74 61 63 | 6b 20 22 43 6f 6c 6f 72 | of stac|k "Color|
|00000790| 69 7a 69 6e 67 20 48 43 | 20 44 65 62 75 67 22 0d |izing HC| Debug".|
|000007a0| 70 75 74 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |put the |hilite o|
|000007b0| 66 20 62 75 74 74 6f 6e | 20 22 55 73 65 20 54 65 |f button| "Use Te|
|000007c0| 78 74 6f 69 64 22 20 69 | 6e 74 6f 20 67 48 43 64 |xtoid" i|nto gHCd|
|000007d0| 65 62 75 67 55 73 65 54 | 65 78 74 6f 69 64 0d 69 |ebugUseT|extoid.i|
|000007e0| 66 20 67 48 43 64 65 62 | 75 67 54 65 78 74 6f 69 |f gHCdeb|ugTextoi|
|000007f0| 64 4c 6f 63 20 69 73 20 | 65 6d 70 74 79 0d 74 68 |dLoc is |empty.th|
|00000800| 65 6e 20 70 75 74 20 63 | 64 20 66 6c 64 20 22 54 |en put c|d fld "T|
|00000810| 65 78 74 6f 69 64 20 4c | 6f 63 22 20 69 6e 74 6f |extoid L|oc" into|
|00000820| 20 67 48 43 64 65 62 75 | 67 54 65 78 74 6f 69 64 | gHCdebu|gTextoid|
|00000830| 4c 6f 63 0d 69 66 20 67 | 48 43 64 65 62 75 67 54 |Loc.if g|HCdebugT|
|00000840| 65 78 74 6f 69 64 4c 6f | 63 20 69 73 20 65 6d 70 |extoidLo|c is emp|
|00000850| 74 79 20 2d 2d 20 64 65 | 66 61 75 6c 74 0d 74 68 |ty -- de|fault.th|
|00000860| 65 6e 20 70 75 74 20 22 | 31 2c 33 31 22 20 69 6e |en put "|1,31" in|
|00000870| 74 6f 20 67 48 43 64 65 | 62 75 67 54 65 78 74 6f |to gHCde|bugTexto|
|00000880| 69 64 4c 6f 63 0d 70 6f | 70 20 63 61 72 64 0d 0d |idLoc.po|p card..|
|00000890| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|000008a0| 20 74 6f 20 6c 6d 65 73 | 73 0d 73 65 74 20 6c 6f | to lmes|s.set lo|
|000008b0| 63 6b 52 65 63 65 6e 74 | 20 74 6f 20 6c 72 65 63 |ckRecent| to lrec|
|000008c0| 65 6e 74 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |ent.unlo|ck scree|
|000008d0| 6e 0d 0d 69 66 20 67 48 | 43 64 65 62 75 67 55 73 |n..if gH|CdebugUs|
|000008e0| 65 54 65 78 74 6f 69 64 | 20 74 68 65 6e 0d 69 66 |eTextoid| then.if|
|000008f0| 20 67 48 43 64 65 62 75 | 67 4c 69 6e 65 73 20 69 | gHCdebu|gLines i|
|00000900| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|00000910| 20 30 20 69 6e 74 6f 20 | 67 48 43 64 65 62 75 67 | 0 into |gHCdebug|
|00000920| 4c 69 6e 65 73 0d 63 48 | 43 77 0d 65 6e 64 20 69 |Lines.cH|Cw.end i|
|00000930| 66 0d 0d 70 75 74 20 54 | 72 75 65 20 69 6e 74 6f |f..put T|rue into|
|00000940| 20 67 48 43 64 65 62 75 | 67 49 6e 69 74 0d 65 6e | gHCdebu|gInit.en|
|00000950| 64 20 63 48 43 64 65 62 | 75 67 49 6e 69 74 0d 0d |d cHCdeb|ugInit..|
|00000960| 6f 6e 20 63 6f 6c 6f 72 | 69 7a 65 48 43 0d 2d 2d |on color|izeHC.--|
|00000970| 20 64 65 62 75 67 67 69 | 6e 67 2e 20 49 66 20 77 | debuggi|ng. If w|
|00000980| 65 20 61 72 65 20 6e 6f | 74 2c 20 77 65 20 64 6f |e are no|t, we do|
|00000990| 6e d5 74 20 70 61 73 73 | 20 74 68 72 6f 75 67 68 |n.t pass| through|
|000009a0| 20 68 65 72 65 0d 67 6c | 6f 62 61 6c 20 67 48 43 | here.gl|obal gHC|
|000009b0| 64 65 62 75 67 49 6e 69 | 74 2c 20 67 48 43 64 65 |debugIni|t, gHCde|
|000009c0| 62 75 67 55 73 65 54 65 | 78 74 6f 69 64 2c 20 67 |bugUseTe|xtoid, g|
|000009d0| 48 43 64 65 62 75 67 4c | 69 6e 65 73 2c 20 67 48 |HCdebugL|ines, gH|
|000009e0| 43 64 65 62 75 67 56 61 | 6c 0d 69 66 20 67 48 43 |CdebugVa|l.if gHC|
|000009f0| 64 65 62 75 67 49 6e 69 | 74 20 69 73 20 65 6d 70 |debugIni|t is emp|
|00000a00| 74 79 20 74 68 65 6e 20 | 63 48 43 64 65 62 75 67 |ty then |cHCdebug|
|00000a10| 49 6e 69 74 0d 0d 69 66 | 20 67 48 43 64 65 62 75 |Init..if| gHCdebu|
|00000a20| 67 55 73 65 54 65 78 74 | 6f 69 64 20 74 68 65 6e |gUseText|oid then|
|00000a30| 0d 69 66 20 67 48 43 64 | 65 62 75 67 4c 69 6e 65 |.if gHCd|ebugLine|
|00000a40| 73 20 b3 20 33 30 20 74 | 68 65 6e 20 2d 2d 20 6d |s . 30 t|hen -- m|
|00000a50| 6f 76 65 20 65 76 65 72 | 79 74 68 69 6e 67 20 75 |ove ever|ything u|
|00000a60| 70 20 32 30 20 6c 69 6e | 65 73 0d 64 65 6c 65 74 |p 20 lin|es.delet|
|00000a70| 65 20 6c 69 6e 65 20 31 | 20 74 6f 20 31 30 20 6f |e line 1| to 10 o|
|00000a80| 66 20 67 48 43 64 65 62 | 75 67 56 61 6c 0d 73 75 |f gHCdeb|ugVal.su|
|00000a90| 62 74 72 61 63 74 20 31 | 30 20 66 72 6f 6d 20 67 |btract 1|0 from g|
|00000aa0| 48 43 64 65 62 75 67 4c | 69 6e 65 73 0d 69 66 20 |HCdebugL|ines.if |
|00000ab0| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00000ac0| 77 20 22 43 6f 6c 6f 72 | 69 7a 65 48 43 20 57 61 |w "Color|izeHC Wa|
|00000ad0| 74 63 68 65 72 22 20 74 | 68 65 6e 0d 73 65 74 20 |tcher" t|hen.set |
|00000ae0| 74 68 65 20 74 65 78 74 | 20 6f 66 20 77 69 6e 64 |the text| of wind|
|00000af0| 6f 77 20 22 63 6f 6c 6f | 72 69 7a 65 48 43 20 57 |ow "colo|rizeHC W|
|00000b00| 61 74 63 68 65 72 22 20 | 74 6f 20 67 48 43 64 65 |atcher" |to gHCde|
|00000b10| 62 75 67 56 61 6c 0d 73 | 65 74 20 74 68 65 20 73 |bugVal.s|et the s|
|00000b20| 65 6c 65 63 74 65 64 43 | 68 75 6e 6b 20 6f 66 20 |electedC|hunk of |
|00000b30| 77 69 6e 64 6f 77 20 22 | 63 6f 6c 6f 72 69 7a 65 |window "|colorize|
|00000b40| 48 43 20 57 61 74 63 68 | 65 72 22 20 74 6f 20 33 |HC Watch|er" to 3|
|00000b50| 30 30 30 30 20 2d 2d 20 | 74 68 65 20 65 6e 64 21 |0000 -- |the end!|
|00000b60| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 6b 54 65 78 |.set the| lockTex|
|00000b70| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 22 63 6f 6c |t of win|dow "col|
|00000b80| 6f 72 69 7a 65 48 43 20 | 57 61 74 63 68 65 72 22 |orizeHC |Watcher"|
|00000b90| 20 74 6f 20 54 72 75 65 | 0d 65 6e 64 20 69 66 0d | to True|.end if.|
|00000ba0| 65 6e 64 20 69 66 0d 67 | 65 74 20 74 68 65 20 70 |end if.g|et the p|
|00000bb0| 61 72 61 6d 73 20 26 20 | 72 65 74 75 72 6e 0d 64 |arams & |return.d|
|00000bc0| 65 6c 65 74 65 20 77 6f | 72 64 20 31 20 6f 66 20 |elete wo|rd 1 of |
|00000bd0| 69 74 0d 70 75 74 20 69 | 74 20 61 66 74 65 72 20 |it.put i|t after |
|00000be0| 67 48 43 64 65 62 75 67 | 56 61 6c 0d 69 66 20 74 |gHCdebug|Val.if t|
|00000bf0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00000c00| 20 22 43 6f 6c 6f 72 69 | 7a 65 48 43 20 57 61 74 | "Colori|zeHC Wat|
|00000c10| 63 68 65 72 22 20 74 68 | 65 6e 0d 73 65 74 20 74 |cher" th|en.set t|
|00000c20| 68 65 20 73 65 6c 65 63 | 74 65 64 43 68 75 6e 6b |he selec|tedChunk|
|00000c30| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 63 6f 6c 6f | of wind|ow "colo|
|00000c40| 72 69 7a 65 48 43 20 57 | 61 74 63 68 65 72 22 20 |rizeHC W|atcher" |
|00000c50| 74 6f 20 33 30 30 30 30 | 20 2d 2d 20 74 68 65 20 |to 30000| -- the |
|00000c60| 65 6e 64 21 0d 73 65 74 | 20 74 68 65 20 73 65 6c |end!.set| the sel|
|00000c70| 65 63 74 65 64 54 65 78 | 74 20 6f 66 20 77 69 6e |ectedTex|t of win|
|00000c80| 64 6f 77 20 22 63 6f 6c | 6f 72 69 7a 65 48 43 20 |dow "col|orizeHC |
|00000c90| 57 61 74 63 68 65 72 22 | 20 74 6f 20 69 74 0d 73 |Watcher"| to it.s|
|00000ca0| 65 74 20 74 68 65 20 6c | 6f 63 6b 54 65 78 74 20 |et the l|ockText |
|00000cb0| 6f 66 20 77 69 6e 64 6f | 77 20 22 63 6f 6c 6f 72 |of windo|w "color|
|00000cc0| 69 7a 65 48 43 20 57 61 | 74 63 68 65 72 22 20 74 |izeHC Wa|tcher" t|
|00000cd0| 6f 20 54 72 75 65 0d 65 | 6e 64 20 69 66 0d 61 64 |o True.e|nd if.ad|
|00000ce0| 64 20 31 20 74 6f 20 67 | 48 43 64 65 62 75 67 4c |d 1 to g|HCdebugL|
|00000cf0| 69 6e 65 73 0d 65 6c 73 | 65 0d 73 65 74 20 74 68 |ines.els|e.set th|
|00000d00| 65 20 6e 65 78 74 6c 69 | 6e 65 20 6f 66 20 77 69 |e nextli|ne of wi|
|00000d10| 6e 64 6f 77 20 22 4d 65 | 73 73 61 67 65 20 57 61 |ndow "Me|ssage Wa|
|00000d20| 74 63 68 65 72 22 20 74 | 6f 20 74 68 65 20 70 61 |tcher" t|o the pa|
|00000d30| 72 61 6d 73 20 26 20 72 | 65 74 75 72 6e 0d 65 6e |rams & r|eturn.en|
|00000d40| 64 20 69 66 0d 2d 2d 20 | 70 61 73 73 20 63 6f 6c |d if.-- |pass col|
|00000d50| 6f 72 69 7a 65 48 43 0d | 2d 2d 20 70 61 73 73 20 |orizeHC.|-- pass |
|00000d60| 63 61 75 73 65 73 20 70 | 72 6f 62 6c 65 6d 73 20 |causes p|roblems |
|00000d70| 28 64 6f 75 62 6c 65 20 | 67 6f 65 73 20 61 6e 64 |(double |goes and|
|00000d80| 20 6f 63 63 61 73 69 6f | 6e 61 6c 20 6d 69 73 73 | occasio|nal miss|
|00000d90| 65 73 20 2d 0d 2d 2d 20 | 61 6e 79 20 62 6f 64 79 |es -.-- |any body|
|00000da0| 20 6b 6e 6f 77 20 77 68 | 79 3f 29 2c 20 73 6f 2e | know wh|y?), so.|
|00000db0| 2e 2e 0d 73 65 6e 64 20 | 74 68 65 20 70 61 72 61 |...send |the para|
|00000dc0| 6d 73 20 74 6f 20 73 74 | 61 63 6b 20 22 43 6f 6c |ms to st|ack "Col|
|00000dd0| 6f 72 69 7a 69 6e 67 20 | 48 43 20 58 43 4d 44 22 |orizing |HC XCMD"|
|00000de0| 0d 65 6e 64 20 63 6f 6c | 6f 72 69 7a 65 48 43 0d |.end col|orizeHC.|
|00000df0| 0d 6f 6e 20 63 48 43 77 | 0d 69 66 20 74 68 65 72 |.on cHCw|.if ther|
|00000e00| 65 20 69 73 20 6e 6f 74 | 20 61 20 77 69 6e 64 6f |e is not| a windo|
|00000e10| 77 20 22 63 6f 6c 6f 72 | 69 7a 65 48 43 20 57 61 |w "color|izeHC Wa|
|00000e20| 74 63 68 65 72 22 20 74 | 68 65 6e 0d 67 6c 6f 62 |tcher" t|hen.glob|
|00000e30| 61 6c 20 67 48 43 64 65 | 62 75 67 54 65 78 74 6f |al gHCde|bugTexto|
|00000e40| 69 64 4c 6f 63 0d 74 65 | 78 74 6f 69 64 20 22 63 |idLoc.te|xtoid "c|
|00000e50| 6f 6c 6f 72 69 7a 65 48 | 43 20 57 61 74 63 68 65 |olorizeH|C Watche|
|00000e60| 72 22 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |r".if th|e result|
|00000e70| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00000e80| 65 6e 20 61 6e 73 77 65 | 72 20 74 68 65 20 72 65 |en answe|r the re|
|00000e90| 73 75 6c 74 0d 65 6c 73 | 65 0d 69 66 20 67 48 43 |sult.els|e.if gHC|
|00000ea0| 64 65 62 75 67 54 65 78 | 74 6f 69 64 4c 6f 63 20 |debugTex|toidLoc |
|00000eb0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 73 65 |is empty| then.se|
|00000ec0| 74 20 74 68 65 20 67 6c | 6f 62 61 6c 4c 6f 63 20 |t the gl|obalLoc |
|00000ed0| 6f 66 20 77 69 6e 64 6f | 77 20 22 63 6f 6c 6f 72 |of windo|w "color|
|00000ee0| 69 7a 65 48 43 20 57 61 | 74 63 68 65 72 22 20 74 |izeHC Wa|tcher" t|
|00000ef0| 6f 20 22 31 2c 33 31 22 | 0d 65 6c 73 65 20 69 66 |o "1,31"|.else if|
|00000f00| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00000f10| 74 65 6d 73 20 6f 66 20 | 67 48 43 64 65 62 75 67 |tems of |gHCdebug|
|00000f20| 54 65 78 74 6f 69 64 4c | 6f 63 20 69 73 20 34 20 |TextoidL|oc is 4 |
|00000f30| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 67 6c 6f |then.set| the glo|
|00000f40| 62 61 6c 52 65 63 74 20 | 6f 66 20 77 69 6e 64 6f |balRect |of windo|
|00000f50| 77 20 22 63 6f 6c 6f 72 | 69 7a 65 48 43 20 57 61 |w "color|izeHC Wa|
|00000f60| 74 63 68 65 72 22 20 74 | 6f 20 67 48 43 64 65 62 |tcher" t|o gHCdeb|
|00000f70| 75 67 54 65 78 74 6f 69 | 64 4c 6f 63 0d 65 6c 73 |ugTextoi|dLoc.els|
|00000f80| 65 0d 73 65 74 20 74 68 | 65 20 67 6c 6f 62 61 6c |e.set th|e global|
|00000f90| 4c 6f 63 20 6f 66 20 77 | 69 6e 64 6f 77 20 22 63 |Loc of w|indow "c|
|00000fa0| 6f 6c 6f 72 69 7a 65 48 | 43 20 57 61 74 63 68 65 |olorizeH|C Watche|
|00000fb0| 72 22 20 74 6f 20 67 48 | 43 64 65 62 75 67 54 65 |r" to gH|CdebugTe|
|00000fc0| 78 74 6f 69 64 4c 6f 63 | 0d 65 6e 64 20 69 66 0d |xtoidLoc|.end if.|
|00000fd0| 73 65 74 20 74 68 65 20 | 74 65 78 74 57 72 61 70 |set the |textWrap|
|00000fe0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 63 6f 6c 6f | of wind|ow "colo|
|00000ff0| 72 69 7a 65 48 43 20 57 | 61 74 63 68 65 72 22 20 |rizeHC W|atcher" |
|00001000| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 69 66 0d |to false|.end if.|
|00001010| 65 6e 64 20 69 66 0d 65 | 6e 64 20 63 48 43 77 0d |end if.e|nd cHCw.|
|00001020| 0d 6f 6e 20 6f 70 65 6e | 54 65 78 74 6f 69 64 20 |.on open|Textoid |
|00001030| 57 68 61 74 0d 2d 2d 20 | 70 6c 61 63 65 20 63 75 |What.-- |place cu|
|00001040| 72 72 65 6e 74 20 76 61 | 6c 75 65 73 20 69 6e 20 |rrent va|lues in |
|00001050| 74 68 65 72 65 0d 69 66 | 20 57 68 61 74 20 69 73 |there.if| What is|
|00001060| 20 6e 6f 74 20 22 63 6f | 6c 6f 72 69 7a 65 48 43 | not "co|lorizeHC|
|00001070| 20 57 61 74 63 68 65 72 | 22 20 74 68 65 6e 20 70 | Watcher|" then p|
|00001080| 61 73 73 20 6f 70 65 6e | 54 65 78 74 6f 69 64 0d |ass open|Textoid.|
|00001090| 67 6c 6f 62 61 6c 20 67 | 48 43 64 65 62 75 67 56 |global g|HCdebugV|
|000010a0| 61 6c 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 20 |al.set t|he text |
|000010b0| 6f 66 20 77 69 6e 64 6f | 77 20 22 63 6f 6c 6f 72 |of windo|w "color|
|000010c0| 69 7a 65 48 43 20 57 61 | 74 63 68 65 72 22 20 74 |izeHC Wa|tcher" t|
|000010d0| 6f 20 67 48 43 64 65 62 | 75 67 56 61 6c 0d 73 65 |o gHCdeb|ugVal.se|
|000010e0| 74 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 43 68 |t the se|lectedCh|
|000010f0| 75 6e 6b 20 6f 66 20 77 | 69 6e 64 6f 77 20 22 63 |unk of w|indow "c|
|00001100| 6f 6c 6f 72 69 7a 65 48 | 43 20 57 61 74 63 68 65 |olorizeH|C Watche|
|00001110| 72 22 20 74 6f 20 33 30 | 30 30 30 20 2d 2d 20 74 |r" to 30|000 -- t|
|00001120| 68 65 20 65 6e 64 21 0d | 73 65 74 20 74 68 65 20 |he end!.|set the |
|00001130| 6c 6f 63 6b 54 65 78 74 | 20 6f 66 20 77 69 6e 64 |lockText| of wind|
|00001140| 6f 77 20 22 63 6f 6c 6f | 72 69 7a 65 48 43 20 57 |ow "colo|rizeHC W|
|00001150| 61 74 63 68 65 72 22 20 | 74 6f 20 54 72 75 65 0d |atcher" |to True.|
|00001160| 65 6e 64 20 6f 70 65 6e | 54 65 78 74 6f 69 64 0d |end open|Textoid.|
|00001170| 0d 6f 6e 20 63 6c 6f 73 | 65 54 65 78 74 6f 69 64 |.on clos|eTextoid|
|00001180| 20 57 68 61 74 0d 2d 2d | 20 73 61 76 65 20 6d 6f | What.--| save mo|
|00001190| 76 65 64 20 61 72 6f 75 | 6e 64 20 63 6f 2d 6f 72 |ved arou|nd co-or|
|000011a0| 64 69 6e 61 74 65 73 0d | 69 66 20 57 68 61 74 20 |dinates.|if What |
|000011b0| 69 73 20 6e 6f 74 20 22 | 63 6f 6c 6f 72 69 7a 65 |is not "|colorize|
|000011c0| 48 43 20 57 61 74 63 68 | 65 72 22 20 74 68 65 6e |HC Watch|er" then|
|000011d0| 20 70 61 73 73 20 63 6c | 6f 73 65 54 65 78 74 6f | pass cl|oseTexto|
|000011e0| 69 64 0d 67 6c 6f 62 61 | 6c 20 67 48 43 64 65 62 |id.globa|l gHCdeb|
|000011f0| 75 67 54 65 78 74 6f 69 | 64 4c 6f 63 0d 67 65 74 |ugTextoi|dLoc.get|
|00001200| 20 74 68 65 20 67 6c 6f | 62 61 6c 52 65 63 74 20 | the glo|balRect |
|00001210| 6f 66 20 77 69 6e 64 6f | 77 20 22 63 6f 6c 6f 72 |of windo|w "color|
|00001220| 69 7a 65 48 43 20 57 61 | 74 63 68 65 72 22 0d 70 |izeHC Wa|tcher".p|
|00001230| 75 74 20 69 74 20 69 6e | 74 6f 20 67 48 43 64 65 |ut it in|to gHCde|
|00001240| 62 75 67 54 65 78 74 6f | 69 64 4c 6f 63 0d 65 6e |bugTexto|idLoc.en|
|00001250| 64 20 63 6c 6f 73 65 54 | 65 78 74 6f 69 64 0d 0d |d closeT|extoid..|
|00001260| 2d 2d 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |-- the f|ollowing|
|00001270| 20 61 72 65 20 69 6e 63 | 6c 75 64 65 64 20 68 65 | are inc|luded he|
|00001280| 72 65 20 73 6f 20 74 68 | 65 79 20 61 63 74 69 76 |re so th|ey activ|
|00001290| 61 74 65 20 74 68 65 20 | 61 62 6f 76 65 2e 20 49 |ate the |above. I|
|000012a0| 74 20 69 73 0d 2d 2d 20 | 65 73 73 65 6e 74 69 61 |t is.-- |essentia|
|000012b0| 6c 20 74 68 61 74 20 74 | 68 65 79 20 61 72 65 20 |l that t|hey are |
|000012c0| 74 68 65 20 73 61 6d 65 | 20 61 73 20 74 68 6f 73 |the same| as thos|
|000012d0| 65 20 69 6e 20 74 68 65 | 20 58 43 4d 44 20 73 74 |e in the| XCMD st|
|000012e0| 61 63 6b 20 69 74 73 65 | 6c 66 21 0d 0d 2d 2d 20 |ack itse|lf!..-- |
|000012f0| 44 6f 6e d5 74 20 65 64 | 69 74 20 61 66 74 65 72 |Don.t ed|it after|
|00001300| 20 74 68 69 73 20 70 6f | 69 6e 74 20 2d 20 63 6f | this po|int - co|
|00001310| 70 69 65 64 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |pied aut|omatical|
|00001320| 6c 79 20 62 79 20 72 65 | 6d 61 6b 65 20 69 6e 20 |ly by re|make in |
|00001330| 63 61 72 64 20 32 0d 6f | 6e 20 63 48 43 63 6f 6c |card 2.o|n cHCcol|
|00001340| 6f 72 69 7a 65 20 2d 2d | 20 63 61 6c 6c 65 64 20 |orize --| called |
|00001350| 74 6f 20 63 6f 6c 6f 75 | 72 20 61 20 67 69 76 65 |to colou|r a give|
|00001360| 6e 20 63 61 72 64 0d 67 | 6c 6f 62 61 6c 20 67 4f |n card.g|lobal gO|
|00001370| 4b 54 6f 43 6f 6c 6f 72 | 69 7a 65 2c 20 67 48 43 |KToColor|ize, gHC|
|00001380| 6f 70 74 69 6f 6e 73 2c | 20 67 48 43 77 69 6e 64 |options,| gHCwind|
|00001390| 6f 77 73 2c 20 67 48 43 | 65 66 66 65 63 74 73 0d |ows, gHC|effects.|
|000013a0| 69 66 20 67 48 43 6f 70 | 74 69 6f 6e 73 20 69 73 |if gHCop|tions is|
|000013b0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|000013c0| 20 63 48 43 63 6f 6c 6f | 72 69 7a 65 20 2d 2d 20 | cHCcolo|rize -- |
|000013d0| 75 6e 69 6e 69 74 69 61 | 6c 69 73 65 64 21 0d 2d |uninitia|lised!.-|
|000013e0| 2d 0d 69 66 20 6e 6f 74 | 20 74 68 65 20 6c 6f 63 |-.if not| the loc|
|000013f0| 6b 53 63 72 65 65 6e 20 | 74 68 65 6e 20 6c 6f 63 |kScreen |then loc|
|00001400| 6b 20 73 63 72 65 65 6e | 0d 2d 2d 0d 69 66 20 63 |k screen|.--.if c|
|00001410| 68 61 72 20 31 35 20 6f | 66 20 67 48 43 6f 70 74 |har 15 o|f gHCopt|
|00001420| 69 6f 6e 73 20 69 73 20 | 22 31 22 20 74 68 65 6e |ions is |"1" then|
|00001430| 20 73 65 6e 64 20 48 43 | 70 72 65 47 72 61 70 68 | send HC|preGraph|
|00001440| 69 63 20 74 6f 20 63 61 | 72 64 0d 69 66 20 67 4f |ic to ca|rd.if gO|
|00001450| 4b 54 6f 43 6f 6c 6f 72 | 69 7a 65 20 69 73 20 6e |KToColor|ize is n|
|00001460| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 69 66 |ot empty| then.if|
|00001470| 20 63 68 61 72 20 33 20 | 6f 66 20 67 48 43 6f 70 | char 3 |of gHCop|
|00001480| 74 69 6f 6e 73 20 69 73 | 20 22 31 22 20 74 68 65 |tions is| "1" the|
|00001490| 6e 0d 73 65 6e 64 20 48 | 43 62 57 68 69 74 65 20 |n.send H|CbWhite |
|000014a0| 74 6f 20 63 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |to card.|end if.e|
|000014b0| 6c 73 65 0d 69 66 20 63 | 68 61 72 20 31 20 6f 66 |lse.if c|har 1 of|
|000014c0| 20 67 48 43 6f 70 74 69 | 6f 6e 73 20 69 73 20 22 | gHCopti|ons is "|
|000014d0| 31 22 20 74 68 65 6e 20 | 73 65 6e 64 20 48 43 63 |1" then |send HCc|
|000014e0| 6f 6c 6f 72 69 7a 65 20 | 74 6f 20 63 61 72 64 0d |olorize |to card.|
|000014f0| 65 6c 73 65 20 63 6f 6c | 6f 72 69 7a 65 48 43 20 |else col|orizeHC |
|00001500| 22 45 72 61 73 65 22 20 | 2d 2d 20 64 65 66 61 75 |"Erase" |-- defau|
|00001510| 6c 74 20 48 43 63 6f 6c | 6f 72 69 7a 65 0d 65 6e |lt HCcol|orize.en|
|00001520| 64 20 69 66 0d 69 66 20 | 63 68 61 72 20 35 20 6f |d if.if |char 5 o|
|00001530| 66 20 67 48 43 6f 70 74 | 69 6f 6e 73 20 69 73 20 |f gHCopt|ions is |
|00001540| 22 31 22 20 74 68 65 6e | 20 73 65 6e 64 20 48 43 |"1" then| send HC|
|00001550| 67 72 61 70 68 69 63 20 | 74 6f 20 63 61 72 64 0d |graphic |to card.|
|00001560| 2d 2d 0d 67 65 74 20 67 | 48 43 65 66 66 65 63 74 |--.get g|HCeffect|
|00001570| 73 20 2d 2d 20 67 65 74 | 20 6e 6f 77 20 2d 20 74 |s -- get| now - t|
|00001580| 68 61 74 20 77 61 79 20 | 77 65 20 64 6f 6e 27 74 |hat way |we don't|
|00001590| 20 72 65 70 65 61 74 20 | 65 72 72 6f 72 73 0d 70 | repeat |errors.p|
|000015a0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 67 48 |ut empty| into gH|
|000015b0| 43 65 66 66 65 63 74 73 | 0d 69 66 20 69 74 20 69 |Ceffects|.if it i|
|000015c0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 75 6e 6c |s empty |then unl|
|000015d0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6c 73 65 20 |ock scre|en.else |
|000015e0| 69 66 20 63 68 61 72 20 | 31 32 20 6f 66 20 67 48 |if char |12 of gH|
|000015f0| 43 6f 70 74 69 6f 6e 73 | 20 3d 20 31 20 74 68 65 |Coptions| = 1 the|
|00001600| 6e 20 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |n unlock| screen |
|00001610| 2d 2d 20 6e 6f 56 69 73 | 75 61 6c 73 0d 65 6c 73 |-- noVis|uals.els|
|00001620| 65 20 64 6f 20 22 75 6e | 6c 6f 63 6b 20 73 63 72 |e do "un|lock scr|
|00001630| 65 65 6e 20 77 69 74 68 | 22 20 26 26 20 69 74 0d |een with|" && it.|
|00001640| 2d 2d 0d 69 66 20 28 63 | 68 61 72 20 31 30 20 6f |--.if (c|har 10 o|
|00001650| 66 20 67 48 43 6f 70 74 | 69 6f 6e 73 20 69 73 20 |f gHCopt|ions is |
|00001660| 22 31 22 29 20 61 6e 64 | 20 67 48 43 77 69 6e 64 |"1") and| gHCwind|
|00001670| 6f 77 73 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ows is n|ot empty|
|00001680| 0d 74 68 65 6e 20 63 48 | 43 73 68 6f 77 57 69 6e |.then cH|CshowWin|
|00001690| 64 6f 77 73 0d 2d 2d 20 | 72 65 61 6c 6c 79 20 73 |dows.-- |really s|
|000016a0| 68 6f 75 6c 64 20 6e 6f | 74 20 63 61 6c 6c 20 75 |hould no|t call u|
|000016b0| 6e 74 69 6c 20 75 6e 6c | 6f 63 6b 20 74 61 6b 65 |ntil unl|ock take|
|000016c0| 73 20 70 6c 61 63 65 2c | 20 62 75 74 20 77 6f 75 |s place,| but wou|
|000016d0| 6c 64 20 72 65 71 75 69 | 72 65 0d 2d 2d 20 64 65 |ld requi|re.-- de|
|000016e0| 6c 61 79 65 64 20 61 63 | 74 69 6f 6e 0d 65 6e 64 |layed ac|tion.end|
|000016f0| 20 63 48 43 63 6f 6c 6f | 72 69 7a 65 0d 0d 6f 6e | cHCcolo|rize..on|
|00001700| 20 48 43 63 6f 6c 6f 72 | 69 7a 65 20 2d 2d 20 64 | HCcolor|ize -- d|
|00001710| 65 66 61 75 6c 74 20 69 | 73 20 65 72 61 73 65 20 |efault i|s erase |
|00001720| 63 6f 6c 6f 75 72 20 73 | 63 72 65 65 6e 0d 43 6f |colour s|creen.Co|
|00001730| 6c 6f 72 69 7a 65 48 43 | 20 22 45 72 61 73 65 22 |lorizeHC| "Erase"|
|00001740| 0d 65 6e 64 20 48 43 63 | 6f 6c 6f 72 69 7a 65 0d |.end HCc|olorize.|
|00001750| 0d 6f 6e 20 63 48 43 6d | 6f 75 73 65 44 6f 77 6e |.on cHCm|ouseDown|
|00001760| 20 70 6f 73 2c 55 70 42 | 6d 61 70 2c 44 6f 77 6e | pos,UpB|map,Down|
|00001770| 42 6d 61 70 2c 43 6f 72 | 72 65 63 74 69 6f 6e 2c |Bmap,Cor|rection,|
|00001780| 48 69 4c 69 74 65 42 57 | 0d 69 66 20 74 68 65 20 |HiLiteBW|.if the |
|00001790| 61 75 74 6f 48 69 6c 69 | 74 65 20 6f 66 20 54 61 |autoHili|te of Ta|
|000017a0| 72 67 65 74 20 2d 2d 20 | 6d 65 73 73 65 73 20 75 |rget -- |messes u|
|000017b0| 70 20 63 6f 6c 6f 75 72 | 2c 20 64 65 66 61 75 6c |p colour|, defaul|
|000017c0| 74 20 66 6f 72 20 42 57 | 0d 74 68 65 6e 20 65 78 |t for BW|.then ex|
|000017d0| 69 74 20 63 48 43 6d 6f | 75 73 65 44 6f 77 6e 0d |it cHCmo|useDown.|
|000017e0| 67 6c 6f 62 61 6c 20 67 | 4f 6b 54 6f 43 6f 6c 6f |global g|OkToColo|
|000017f0| 72 69 7a 65 0d 70 75 74 | 20 28 67 4f 6b 54 6f 43 |rize.put| (gOkToC|
|00001800| 6f 6c 6f 72 69 7a 65 20 | 69 73 20 6e 6f 74 20 65 |olorize |is not e|
|00001810| 6d 70 74 79 29 20 6f 72 | 20 28 55 70 42 6d 61 70 |mpty) or| (UpBmap|
|00001820| 20 69 73 20 65 6d 70 74 | 79 29 20 6f 72 20 c2 0d | is empt|y) or ..|
|00001830| 28 44 6f 77 6e 42 6d 61 | 70 20 69 73 20 65 6d 70 |(DownBma|p is emp|
|00001840| 74 79 29 20 69 6e 74 6f | 20 64 6f 42 57 0d 69 66 |ty) into| doBW.if|
|00001850| 20 64 6f 42 57 20 61 6e | 64 20 48 69 4c 69 74 65 | doBW an|d HiLite|
|00001860| 42 57 20 69 73 20 46 61 | 6c 73 65 20 2d 2d 20 75 |BW is Fa|lse -- u|
|00001870| 73 65 20 28 6e 6f 74 20 | 61 75 74 6f 48 69 6c 69 |se (not |autoHili|
|00001880| 74 65 29 20 64 65 66 61 | 75 6c 74 0d 74 68 65 6e |te) defa|ult.then|
|00001890| 20 65 78 69 74 20 63 48 | 43 6d 6f 75 73 65 44 6f | exit cH|CmouseDo|
|000018a0| 77 6e 0d 69 66 20 6e 6f | 74 20 64 6f 42 57 20 74 |wn.if no|t doBW t|
|000018b0| 68 65 6e 0d 69 66 20 70 | 6f 73 20 69 73 20 65 6d |hen.if p|os is em|
|000018c0| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 74 6f 70 |pty then| put top|
|000018d0| 4c 65 66 74 20 6f 66 20 | 74 68 65 20 74 61 72 67 |Left of |the targ|
|000018e0| 65 74 20 69 6e 74 6f 20 | 70 6f 73 0d 69 66 20 43 |et into |pos.if C|
|000018f0| 6f 72 72 65 63 74 69 6f | 6e 20 69 73 20 6e 6f 74 |orrectio|n is not|
|00001900| 20 65 6d 70 74 79 0d 74 | 68 65 6e 20 70 75 74 20 | empty.t|hen put |
|00001910| 63 48 43 63 6f 72 72 65 | 63 74 28 70 6f 73 2c 43 |cHCcorre|ct(pos,C|
|00001920| 6f 72 72 65 63 74 69 6f | 6e 29 20 69 6e 74 6f 20 |orrectio|n) into |
|00001930| 70 6f 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 46 |pos.end |if.put F|
|00001940| 61 6c 73 65 20 69 6e 74 | 6f 20 49 73 49 6e 4d 65 |alse int|o IsInMe|
|00001950| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 74 68 |.repeat |until th|
|00001960| 65 20 6d 6f 75 73 65 20 | 69 73 20 75 70 0d 69 66 |e mouse |is up.if|
|00001970| 20 28 74 68 65 20 6d 6f | 75 73 65 4c 6f 63 20 69 | (the mo|useLoc i|
|00001980| 73 20 77 69 74 68 69 6e | 20 74 68 65 20 72 65 63 |s within| the rec|
|00001990| 74 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 29 |t of the| target)|
|000019a0| 20 74 68 65 6e 0d 69 66 | 20 49 73 49 6e 4d 65 20 | then.if| IsInMe |
|000019b0| 69 73 20 6e 6f 74 20 54 | 72 75 65 20 74 68 65 6e |is not T|rue then|
|000019c0| 0d 69 66 20 6e 6f 74 20 | 64 6f 42 57 20 74 68 65 |.if not |doBW the|
|000019d0| 6e 0d 63 6f 6c 6f 72 69 | 7a 65 48 43 20 22 61 64 |n.colori|zeHC "ad|
|000019e0| 64 22 2c 44 6f 77 6e 42 | 6d 61 70 2c 70 6f 73 0d |d",DownB|map,pos.|
|000019f0| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00001a00| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00001a10| 63 48 43 65 72 72 6f 72 | 20 74 68 65 20 72 65 73 |cHCerror| the res|
|00001a20| 75 6c 74 0d 63 48 43 73 | 68 6f 77 43 6f 6c 6f 72 |ult.cHCs|howColor|
|00001a30| 20 54 72 75 65 0d 65 6c | 73 65 20 73 65 74 20 74 | True.el|se set t|
|00001a40| 68 65 20 68 69 6c 69 74 | 65 20 6f 66 20 74 68 65 |he hilit|e of the|
|00001a50| 20 74 61 72 67 65 74 20 | 74 6f 20 54 72 75 65 0d | target |to True.|
|00001a60| 70 75 74 20 54 72 75 65 | 20 69 6e 74 6f 20 49 73 |put True| into Is|
|00001a70| 49 6e 4d 65 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |InMe.end| if.else|
|00001a80| 0d 69 66 20 49 73 49 6e | 4d 65 20 69 73 20 6e 6f |.if IsIn|Me is no|
|00001a90| 74 20 46 61 6c 73 65 20 | 74 68 65 6e 0d 69 66 20 |t False |then.if |
|00001aa0| 6e 6f 74 20 64 6f 42 57 | 20 74 68 65 6e 0d 63 6f |not doBW| then.co|
|00001ab0| 6c 6f 72 69 7a 65 48 43 | 20 22 61 64 64 22 2c 55 |lorizeHC| "add",U|
|00001ac0| 70 42 4d 61 70 2c 70 6f | 73 0d 69 66 20 74 68 65 |pBMap,po|s.if the|
|00001ad0| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|00001ae0| 6d 70 74 79 20 74 68 65 | 6e 0d 73 65 6e 64 20 22 |mpty the|n.send "|
|00001af0| 63 48 43 65 72 72 6f 72 | 22 20 26 26 20 71 75 6f |cHCerror|" && quo|
|00001b00| 74 65 20 26 20 74 68 65 | 20 72 65 73 75 6c 74 20 |te & the| result |
|00001b10| 26 20 71 75 6f 74 65 20 | 74 6f 20 63 61 72 64 0d |& quote |to card.|
|00001b20| 65 6e 64 20 69 66 0d 63 | 48 43 73 68 6f 77 43 6f |end if.c|HCshowCo|
|00001b30| 6c 6f 72 20 54 72 75 65 | 0d 65 6c 73 65 20 73 65 |lor True|.else se|
|00001b40| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00001b50| 74 68 65 20 74 61 72 67 | 65 74 20 74 6f 20 66 61 |the targ|et to fa|
|00001b60| 6c 73 65 0d 70 75 74 20 | 46 61 6c 73 65 20 69 6e |lse.put |False in|
|00001b70| 74 6f 20 49 73 49 6e 4d | 65 0d 65 6e 64 20 69 66 |to IsInM|e.end if|
|00001b80| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00001b90| 61 74 0d 65 6e 64 20 63 | 48 43 6d 6f 75 73 65 44 |at.end c|HCmouseD|
|00001ba0| 6f 77 6e 0d 0d 66 75 6e | 63 74 69 6f 6e 20 63 48 |own..fun|ction cH|
|00001bb0| 43 6d 6f 75 73 65 55 70 | 20 70 6f 73 2c 55 70 42 |CmouseUp| pos,UpB|
|00001bc0| 6d 61 70 2c 43 6f 72 72 | 65 63 74 69 6f 6e 2c 48 |map,Corr|ection,H|
|00001bd0| 69 6c 69 74 65 42 57 0d | 69 66 20 6e 6f 74 20 28 |iliteBW.|if not (|
|00001be0| 74 68 65 20 6d 6f 75 73 | 65 4c 6f 63 20 69 73 20 |the mous|eLoc is |
|00001bf0| 77 69 74 68 69 6e 20 74 | 68 65 20 72 65 63 74 20 |within t|he rect |
|00001c00| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 29 0d 74 |of the t|arget).t|
|00001c10| 68 65 6e 20 72 65 74 75 | 72 6e 20 46 61 6c 73 65 |hen retu|rn False|
|00001c20| 0d 65 6c 73 65 0d 67 6c | 6f 62 61 6c 20 67 4f 6b |.else.gl|obal gOk|
|00001c30| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 69 66 20 28 67 |ToColori|ze.if (g|
|00001c40| 4f 6b 54 6f 43 6f 6c 6f | 72 69 7a 65 20 69 73 20 |OkToColo|rize is |
|00001c50| 65 6d 70 74 79 29 20 61 | 6e 64 20 28 55 70 42 6d |empty) a|nd (UpBm|
|00001c60| 61 70 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 29 |ap is no|t empty)|
|00001c70| 20 74 68 65 6e 0d 69 66 | 20 70 6f 73 20 69 73 20 | then.if| pos is |
|00001c80| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 74 |empty th|en put t|
|00001c90| 6f 70 4c 65 66 74 20 6f | 66 20 74 68 65 20 74 61 |opLeft o|f the ta|
|00001ca0| 72 67 65 74 20 69 6e 74 | 6f 20 70 6f 73 0d 69 66 |rget int|o pos.if|
|00001cb0| 20 43 6f 72 72 65 63 74 | 69 6f 6e 20 69 73 20 6e | Correct|ion is n|
|00001cc0| 6f 74 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 70 75 |ot empty|.then pu|
|00001cd0| 74 20 63 48 43 63 6f 72 | 72 65 63 74 28 70 6f 73 |t cHCcor|rect(pos|
|00001ce0| 2c 43 6f 72 72 65 63 74 | 69 6f 6e 29 20 69 6e 74 |,Correct|ion) int|
|00001cf0| 6f 20 70 6f 73 0d 63 6f | 6c 6f 72 69 7a 65 48 43 |o pos.co|lorizeHC|
|00001d00| 20 22 61 64 64 22 2c 55 | 70 42 4d 61 70 2c 70 6f | "add",U|pBMap,po|
|00001d10| 73 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |s.if the| result |
|00001d20| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00001d30| 6e 0d 73 65 6e 64 20 22 | 63 48 43 65 72 72 6f 72 |n.send "|cHCerror|
|00001d40| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 74 68 65 |" && quo|te & the|
|00001d50| 20 72 65 73 75 6c 74 20 | 26 20 71 75 6f 74 65 20 | result |& quote |
|00001d60| 74 6f 20 63 61 72 64 0d | 65 6e 64 20 69 66 0d 63 |to card.|end if.c|
|00001d70| 48 43 73 68 6f 77 43 6f | 6c 6f 72 20 54 72 75 65 |HCshowCo|lor True|
|00001d80| 0d 65 6c 73 65 20 69 66 | 20 48 69 6c 69 74 65 42 |.else if| HiliteB|
|00001d90| 57 20 69 73 20 6e 6f 74 | 20 66 61 6c 73 65 20 2d |W is not| false -|
|00001da0| 2d 20 69 66 20 48 69 6c | 69 74 65 42 57 20 69 73 |- if Hil|iteBW is|
|00001db0| 20 66 61 6c 73 65 2c 20 | 6c 65 61 76 65 20 61 6c | false, |leave al|
|00001dc0| 6f 6e 65 21 0d 74 68 65 | 6e 20 73 65 74 20 74 68 |one!.the|n set th|
|00001dd0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 74 68 65 20 |e hilite| of the |
|00001de0| 74 61 72 67 65 74 20 74 | 6f 20 46 61 6c 73 65 0d |target t|o False.|
|00001df0| 72 65 74 75 72 6e 20 54 | 72 75 65 0d 65 6e 64 20 |return T|rue.end |
|00001e00| 69 66 0d 65 6e 64 20 63 | 48 43 6d 6f 75 73 65 55 |if.end c|HCmouseU|
|00001e10| 70 0d 0d 6f 6e 20 63 48 | 43 69 6e 69 74 42 75 74 |p..on cH|CinitBut|
|00001e20| 74 6f 6e 20 73 68 6f 77 | 49 74 2c 20 66 6c 61 67 |ton show|It, flag|
|00001e30| 73 2c 20 49 63 6e 2c 20 | 70 6f 73 2c 20 55 70 42 |s, Icn, |pos, UpB|
|00001e40| 4d 61 70 2c 20 43 6f 72 | 72 65 63 74 69 6f 6e 2c |Map, Cor|rection,|
|00001e50| 20 6f 75 74 6c 69 6e 65 | 53 74 79 6c 65 0d 2d 2d | outline|Style.--|
|00001e60| 20 64 65 66 61 75 6c 74 | 73 3a 20 73 68 6f 77 49 | default|s: showI|
|00001e70| 74 20 46 61 6c 73 65 2c | 20 70 6f 73 20 74 6f 70 |t False,| pos top|
|00001e80| 4c 65 66 74 20 6f 66 20 | 74 61 72 67 65 74 2c 20 |Left of |target, |
|00001e90| 43 6f 72 72 65 63 74 69 | 6f 6e 20 6e 6f 74 68 69 |Correcti|on nothi|
|00001ea0| 6e 67 2c 0d 2d 2d 20 66 | 6c 61 67 73 3a 20 49 3d |ng,.-- f|lags: I=|
|00001eb0| 4e 65 76 65 72 2c 4f 3d | 4e 65 76 65 72 2c 4e 3d |Never,O=|Never,N=|
|00001ec0| 4e 65 76 65 72 20 2c 20 | 6f 75 74 6c 69 6e 65 53 |Never , |outlineS|
|00001ed0| 74 79 6c 65 3a 20 72 65 | 63 74 61 6e 67 6c 65 2c |tyle: re|ctangle,|
|00001ee0| 20 49 63 6f 6e 3a 20 6e | 6f 6e 65 0d 0d 69 66 20 | Icon: n|one..if |
|00001ef0| 73 68 6f 77 49 74 20 69 | 73 20 46 61 6c 73 65 20 |showIt i|s False |
|00001f00| 74 68 65 6e 0d 68 69 64 | 65 20 74 68 65 20 74 61 |then.hid|e the ta|
|00001f10| 72 67 65 74 0d 65 6c 73 | 65 20 69 66 20 73 68 6f |rget.els|e if sho|
|00001f20| 77 49 74 20 69 73 20 22 | 46 6f 72 63 65 22 20 74 |wIt is "|Force" t|
|00001f30| 68 65 6e 0d 63 48 43 66 | 6f 72 63 65 42 75 74 74 |hen.cHCf|orceButt|
|00001f40| 6f 6e 20 66 6c 61 67 73 | 2c 49 63 6e 2c 70 6f 73 |on flags|,Icn,pos|
|00001f50| 2c 55 70 42 4d 61 70 2c | 43 6f 72 72 65 63 74 69 |,UpBMap,|Correcti|
|00001f60| 6f 6e 2c 6f 75 74 6c 69 | 6e 65 53 74 79 6c 65 0d |on,outli|neStyle.|
|00001f70| 65 6c 73 65 0d 67 6c 6f | 62 61 6c 20 67 4f 6b 54 |else.glo|bal gOkT|
|00001f80| 6f 43 6f 6c 6f 72 69 7a | 65 0d 70 75 74 20 67 4f |oColoriz|e.put gO|
|00001f90| 6b 54 6f 43 6f 6c 6f 72 | 69 7a 65 20 69 73 20 6e |kToColor|ize is n|
|00001fa0| 6f 74 20 65 6d 70 74 79 | 20 6f 72 20 55 70 42 4d |ot empty| or UpBM|
|00001fb0| 61 70 20 69 73 20 65 6d | 70 74 79 20 69 6e 74 6f |ap is em|pty into|
|00001fc0| 20 42 57 0d 0d 69 66 20 | 66 6c 61 67 73 20 63 6f | BW..if |flags co|
|00001fd0| 6e 74 61 69 6e 73 20 22 | 3d 22 20 74 68 65 6e 20 |ntains "|=" then |
|00001fe0| 70 75 74 20 63 48 43 62 | 75 74 74 46 6c 61 67 73 |put cHCb|uttFlags|
|00001ff0| 28 66 6c 61 67 73 29 20 | 69 6e 74 6f 20 66 6c 61 |(flags) |into fla|
|00002000| 67 73 0d 0d 2d 2d 20 69 | 6e 20 77 68 61 74 20 66 |gs..-- i|n what f|
|00002010| 6f 6c 6c 6f 77 73 20 77 | 65 20 61 73 73 75 6d 65 |ollows w|e assume|
|00002020| 20 74 68 61 74 20 63 48 | 43 69 6e 69 74 42 75 74 | that cH|CinitBut|
|00002030| 74 6f 6e 20 73 65 74 20 | 74 68 65 20 62 75 74 74 |ton set |the butt|
|00002040| 6f 6e 0d 2d 2d 20 62 65 | 66 6f 72 65 2c 20 61 6e |on.-- be|fore, an|
|00002050| 64 20 74 68 75 73 20 6f | 6e 6c 79 20 42 57 20 63 |d thus o|nly BW c|
|00002060| 68 61 6e 67 65 73 20 2d | 20 6f 6e 6c 79 20 6e 65 |hanges -| only ne|
|00002070| 65 64 20 74 6f 20 61 64 | 64 72 65 73 73 20 42 27 |ed to ad|dress B'|
|00002080| 73 0d 0d 69 66 20 42 57 | 20 74 68 65 6e 0d 69 66 |s..if BW| then.if|
|00002090| 20 63 68 61 72 20 33 20 | 6f 66 20 66 6c 61 67 73 | char 3 |of flags|
|000020a0| 20 69 73 20 22 42 22 20 | 74 68 65 6e 20 2d 2d 20 | is "B" |then -- |
|000020b0| 64 6f 4f 75 74 6c 69 6e | 65 0d 69 66 20 6f 75 74 |doOutlin|e.if out|
|000020c0| 6c 69 6e 65 53 74 79 6c | 65 20 69 73 20 65 6d 70 |lineStyl|e is emp|
|000020d0| 74 79 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |ty then.|set the |
|000020e0| 73 74 79 6c 65 20 6f 66 | 20 74 68 65 20 74 61 72 |style of| the tar|
|000020f0| 67 65 74 20 74 6f 20 72 | 65 63 74 61 6e 67 6c 65 |get to r|ectangle|
|00002100| 20 2d 2d 20 64 65 66 61 | 75 6c 74 0d 65 6c 73 65 | -- defa|ult.else|
|00002110| 20 73 65 74 20 74 68 65 | 20 73 74 79 6c 65 20 6f | set the| style o|
|00002120| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 74 6f 20 |f the ta|rget to |
|00002130| 6f 75 74 6c 69 6e 65 53 | 74 79 6c 65 0d 65 6e 64 |outlineS|tyle.end|
|00002140| 20 69 66 0d 0d 69 66 20 | 63 68 61 72 20 31 20 6f | if..if |char 1 o|
|00002150| 66 20 66 6c 61 67 73 20 | 69 73 20 22 42 22 20 2d |f flags |is "B" -|
|00002160| 2d 20 64 6f 49 63 6f 6e | 0d 74 68 65 6e 20 73 65 |- doIcon|.then se|
|00002170| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 74 68 |t the ic|on of th|
|00002180| 65 20 74 61 72 67 65 74 | 20 74 6f 20 49 63 6e 0d |e target| to Icn.|
|00002190| 0d 69 66 20 63 68 61 72 | 20 32 20 6f 66 20 66 6c |.if char| 2 of fl|
|000021a0| 61 67 73 20 69 73 20 22 | 42 22 20 2d 2d 20 64 6f |ags is "|B" -- do|
|000021b0| 4e 61 6d 65 0d 74 68 65 | 6e 20 73 65 74 20 74 68 |Name.the|n set th|
|000021c0| 65 20 73 68 6f 77 4e 61 | 6d 65 20 6f 66 20 74 68 |e showNa|me of th|
|000021d0| 65 20 74 61 72 67 65 74 | 20 74 6f 20 54 72 75 65 |e target| to True|
|000021e0| 0d 0d 73 65 74 20 74 68 | 65 20 61 75 74 6f 48 69 |..set th|e autoHi|
|000021f0| 6c 69 74 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |lite of |the targ|
|00002200| 65 74 20 74 6f 20 54 72 | 75 65 0d 0d 65 6c 73 65 |et to Tr|ue..else|
|00002210| 20 2d 2d 20 43 6f 6c 6f | 75 72 0d 69 66 20 63 68 | -- Colo|ur.if ch|
|00002220| 61 72 20 33 20 6f 66 20 | 66 6c 61 67 73 20 69 73 |ar 3 of |flags is|
|00002230| 20 22 42 22 20 2d 2d 20 | 64 6f 4f 75 74 6c 69 6e | "B" -- |doOutlin|
|00002240| 65 0d 74 68 65 6e 20 73 | 65 74 20 74 68 65 20 73 |e.then s|et the s|
|00002250| 74 79 6c 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |tyle of |the targ|
|00002260| 65 74 20 74 6f 20 6f 70 | 61 71 75 65 20 2d 2d 20 |et to op|aque -- |
|00002270| 72 61 74 68 65 72 20 74 | 68 61 6e 20 74 72 61 6e |rather t|han tran|
|00002280| 73 70 61 72 65 6e 74 0d | 0d 69 66 20 63 68 61 72 |sparent.|.if char|
|00002290| 20 31 20 6f 66 20 66 6c | 61 67 73 20 69 73 20 22 | 1 of fl|ags is "|
|000022a0| 42 22 20 2d 2d 20 64 6f | 49 63 6f 6e 0d 74 68 65 |B" -- do|Icon.the|
|000022b0| 6e 20 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |n set th|e icon o|
|000022c0| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 74 6f 20 |f the ta|rget to |
|000022d0| 65 6d 70 74 79 0d 0d 69 | 66 20 63 68 61 72 20 32 |empty..i|f char 2|
|000022e0| 20 6f 66 20 66 6c 61 67 | 73 20 69 73 20 22 42 22 | of flag|s is "B"|
|000022f0| 20 2d 2d 20 64 6f 4e 61 | 6d 65 0d 74 68 65 6e 20 | -- doNa|me.then |
|00002300| 73 65 74 20 74 68 65 20 | 73 68 6f 77 4e 61 6d 65 |set the |showName|
|00002310| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 74 | of the |target t|
|00002320| 6f 20 46 61 6c 73 65 20 | 2d 2d 20 64 6f 4e 61 6d |o False |-- doNam|
|00002330| 65 0d 0d 73 65 74 20 74 | 68 65 20 61 75 74 6f 48 |e..set t|he autoH|
|00002340| 69 6c 69 74 65 20 6f 66 | 20 74 68 65 20 74 61 72 |ilite of| the tar|
|00002350| 67 65 74 20 74 6f 20 46 | 61 6c 73 65 0d 0d 2d 2d |get to F|alse..--|
|00002360| 20 54 68 69 73 20 70 6c | 61 63 65 73 20 74 68 65 | This pl|aces the|
|00002370| 20 42 75 74 74 6f 6e 20 | 50 49 43 54 0d 69 66 20 | Button |PICT.if |
|00002380| 70 6f 73 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |pos is e|mpty the|
|00002390| 6e 20 70 75 74 20 74 68 | 65 20 74 6f 70 4c 65 66 |n put th|e topLef|
|000023a0| 74 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |t of the| target |
|000023b0| 69 6e 74 6f 20 70 6f 73 | 0d 69 66 20 43 6f 72 72 |into pos|.if Corr|
|000023c0| 65 63 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 65 6d |ection i|s not em|
|000023d0| 70 74 79 0d 74 68 65 6e | 20 70 75 74 20 63 48 43 |pty.then| put cHC|
|000023e0| 63 6f 72 72 65 63 74 28 | 70 6f 73 2c 43 6f 72 72 |correct(|pos,Corr|
|000023f0| 65 63 74 69 6f 6e 29 20 | 69 6e 74 6f 20 70 6f 73 |ection) |into pos|
|00002400| 0d 63 6f 6c 6f 72 69 7a | 65 48 43 20 22 61 64 64 |.coloriz|eHC "add|
|00002410| 22 2c 55 70 42 4d 61 70 | 2c 70 6f 73 0d 69 66 20 |",UpBMap|,pos.if |
|00002420| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00002430| 74 20 65 6d 70 74 79 0d | 74 68 65 6e 20 73 65 6e |t empty.|then sen|
|00002440| 64 20 22 63 48 43 65 72 | 72 6f 72 22 20 26 26 20 |d "cHCer|ror" && |
|00002450| 71 75 6f 74 65 20 26 20 | 74 68 65 20 72 65 73 75 |quote & |the resu|
|00002460| 6c 74 20 26 20 71 75 6f | 74 65 20 74 6f 20 63 61 |lt & quo|te to ca|
|00002470| 72 64 0d 65 6e 64 20 69 | 66 0d 0d 73 68 6f 77 20 |rd.end i|f..show |
|00002480| 74 68 65 20 74 61 72 67 | 65 74 0d 65 6e 64 20 69 |the targ|et.end i|
|00002490| 66 0d 65 6e 64 20 63 48 | 43 69 6e 69 74 42 75 74 |f.end cH|CinitBut|
|000024a0| 74 6f 6e 0d 0d 6f 6e 20 | 63 48 43 66 6f 72 63 65 |ton..on |cHCforce|
|000024b0| 42 75 74 74 6f 6e 20 66 | 6c 61 67 73 2c 20 49 63 |Button f|lags, Ic|
|000024c0| 6e 2c 20 70 6f 73 2c 20 | 55 70 42 4d 61 70 2c 20 |n, pos, |UpBMap, |
|000024d0| 43 6f 72 72 65 63 74 69 | 6f 6e 2c 20 6f 75 74 6c |Correcti|on, outl|
|000024e0| 69 6e 65 53 74 79 6c 65 | 0d 2d 2d 20 64 6f 6e 27 |ineStyle|.-- don'|
|000024f0| 74 20 61 73 73 75 6d 65 | 20 77 65 20 61 72 65 20 |t assume| we are |
|00002500| 69 6e 20 76 61 6c 69 64 | 20 73 74 61 74 65 21 0d |in valid| state!.|
|00002510| 0d 67 6c 6f 62 61 6c 20 | 67 4f 6b 54 6f 43 6f 6c |.global |gOkToCol|
|00002520| 6f 72 69 7a 65 0d 70 75 | 74 20 67 4f 6b 54 6f 43 |orize.pu|t gOkToC|
|00002530| 6f 6c 6f 72 69 7a 65 20 | 69 73 20 6e 6f 74 20 65 |olorize |is not e|
|00002540| 6d 70 74 79 20 6f 72 20 | 55 70 42 4d 61 70 20 69 |mpty or |UpBMap i|
|00002550| 73 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 42 57 0d |s empty |into BW.|
|00002560| 0d 69 66 20 66 6c 61 67 | 73 20 63 6f 6e 74 61 69 |.if flag|s contai|
|00002570| 6e 73 20 22 3d 22 20 74 | 68 65 6e 20 70 75 74 20 |ns "=" t|hen put |
|00002580| 63 48 43 62 75 74 74 46 | 6c 61 67 73 28 66 6c 61 |cHCbuttF|lags(fla|
|00002590| 67 73 29 20 69 6e 74 6f | 20 66 6c 61 67 73 0d 0d |gs) into| flags..|
|000025a0| 69 66 20 42 57 20 74 68 | 65 6e 0d 67 65 74 20 63 |if BW th|en.get c|
|000025b0| 68 61 72 20 33 20 6f 66 | 20 66 6c 61 67 73 20 2d |har 3 of| flags -|
|000025c0| 2d 20 64 6f 4f 75 74 6c | 69 6e 65 0d 69 66 20 69 |- doOutl|ine.if i|
|000025d0| 74 20 69 73 20 22 42 22 | 20 6f 72 20 69 74 20 69 |t is "B"| or it i|
|000025e0| 73 20 22 41 22 20 74 68 | 65 6e 20 2d 2d 20 64 6f |s "A" th|en -- do|
|000025f0| 4f 75 74 6c 69 6e 65 0d | 69 66 20 6f 75 74 6c 69 |Outline.|if outli|
|00002600| 6e 65 53 74 79 6c 65 20 | 69 73 20 65 6d 70 74 79 |neStyle |is empty|
|00002610| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 73 74 | then.se|t the st|
|00002620| 79 6c 65 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |yle of t|he targe|
|00002630| 74 20 74 6f 20 72 65 63 | 74 61 6e 67 6c 65 20 2d |t to rec|tangle -|
|00002640| 2d 20 64 65 66 61 75 6c | 74 0d 65 6c 73 65 20 73 |- defaul|t.else s|
|00002650| 65 74 20 74 68 65 20 73 | 74 79 6c 65 20 6f 66 20 |et the s|tyle of |
|00002660| 74 68 65 20 74 61 72 67 | 65 74 20 74 6f 20 6f 75 |the targ|et to ou|
|00002670| 74 6c 69 6e 65 53 74 79 | 6c 65 0d 65 6c 73 65 20 |tlineSty|le.else |
|00002680| 73 65 74 20 74 68 65 20 | 73 74 79 6c 65 20 6f 66 |set the |style of|
|00002690| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 6f | the tar|get to o|
|000026a0| 70 61 71 75 65 20 2d 2d | 20 72 61 74 68 65 72 20 |paque --| rather |
|000026b0| 74 68 61 6e 20 74 72 61 | 6e 73 70 61 72 65 6e 74 |than tra|nsparent|
|000026c0| 0d 0d 67 65 74 20 63 68 | 61 72 20 31 20 6f 66 20 |..get ch|ar 1 of |
|000026d0| 66 6c 61 67 73 20 2d 2d | 20 64 6f 49 63 6f 6e 0d |flags --| doIcon.|
|000026e0| 69 66 20 69 74 20 69 73 | 20 22 42 22 20 6f 72 20 |if it is| "B" or |
|000026f0| 69 74 20 69 73 20 22 41 | 22 20 74 68 65 6e 0d 73 |it is "A|" then.s|
|00002700| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 74 |et the i|con of t|
|00002710| 68 65 20 74 61 72 67 65 | 74 20 74 6f 20 49 63 6e |he targe|t to Icn|
|00002720| 0d 65 6c 73 65 20 73 65 | 74 20 74 68 65 20 69 63 |.else se|t the ic|
|00002730| 6f 6e 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |on of th|e target|
|00002740| 20 74 6f 20 65 6d 70 74 | 79 0d 0d 67 65 74 20 63 | to empt|y..get c|
|00002750| 68 61 72 20 32 20 6f 66 | 20 66 6c 61 67 73 20 2d |har 2 of| flags -|
|00002760| 2d 20 64 6f 4e 61 6d 65 | 0d 73 65 74 20 74 68 65 |- doName|.set the|
|00002770| 20 73 68 6f 77 4e 61 6d | 65 20 6f 66 20 74 68 65 | showNam|e of the|
|00002780| 20 74 61 72 67 65 74 20 | 74 6f 20 69 74 20 69 73 | target |to it is|
|00002790| 20 22 42 22 20 6f 72 20 | 69 74 20 69 73 20 22 41 | "B" or |it is "A|
|000027a0| 22 0d 73 65 74 20 74 68 | 65 20 61 75 74 6f 48 69 |".set th|e autoHi|
|000027b0| 6c 69 74 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |lite of |the targ|
|000027c0| 65 74 20 74 6f 20 54 72 | 75 65 0d 0d 65 6c 73 65 |et to Tr|ue..else|
|000027d0| 20 2d 2d 20 43 6f 6c 6f | 75 72 0d 69 66 20 63 68 | -- Colo|ur.if ch|
|000027e0| 61 72 20 33 20 6f 66 20 | 66 6c 61 67 73 20 69 73 |ar 3 of |flags is|
|000027f0| 20 22 41 22 20 74 68 65 | 6e 20 2d 2d 20 64 6f 4f | "A" the|n -- doO|
|00002800| 75 74 6c 69 6e 65 0d 69 | 66 20 6f 75 74 6c 69 6e |utline.i|f outlin|
|00002810| 65 53 74 79 6c 65 20 69 | 73 20 65 6d 70 74 79 20 |eStyle i|s empty |
|00002820| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 73 74 79 |then.set| the sty|
|00002830| 6c 65 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |le of th|e target|
|00002840| 20 74 6f 20 72 65 63 74 | 61 6e 67 6c 65 20 2d 2d | to rect|angle --|
|00002850| 20 64 65 66 61 75 6c 74 | 0d 65 6c 73 65 20 73 65 | default|.else se|
|00002860| 74 20 74 68 65 20 73 74 | 79 6c 65 20 6f 66 20 74 |t the st|yle of t|
|00002870| 68 65 20 74 61 72 67 65 | 74 20 74 6f 20 6f 75 74 |he targe|t to out|
|00002880| 6c 69 6e 65 53 74 79 6c | 65 0d 65 6c 73 65 20 73 |lineStyl|e.else s|
|00002890| 65 74 20 74 68 65 20 73 | 74 79 6c 65 20 6f 66 20 |et the s|tyle of |
|000028a0| 74 68 65 20 74 61 72 67 | 65 74 20 74 6f 20 6f 70 |the targ|et to op|
|000028b0| 61 71 75 65 20 2d 2d 20 | 72 61 74 68 65 72 20 74 |aque -- |rather t|
|000028c0| 68 61 6e 20 74 72 61 6e | 73 70 61 72 65 6e 74 0d |han tran|sparent.|
|000028d0| 0d 69 66 20 63 68 61 72 | 20 31 20 6f 66 20 66 6c |.if char| 1 of fl|
|000028e0| 61 67 73 20 69 73 20 22 | 41 22 20 74 68 65 6e 20 |ags is "|A" then |
|000028f0| 2d 2d 20 64 6f 49 63 6f | 6e 0d 73 65 74 20 74 68 |-- doIco|n.set th|
|00002900| 65 20 69 63 6f 6e 20 6f | 66 20 74 68 65 20 74 61 |e icon o|f the ta|
|00002910| 72 67 65 74 20 74 6f 20 | 49 63 6e 0d 65 6c 73 65 |rget to |Icn.else|
|00002920| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|00002930| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 65 | the tar|get to e|
|00002940| 6d 70 74 79 0d 0d 73 65 | 74 20 74 68 65 20 73 68 |mpty..se|t the sh|
|00002950| 6f 77 4e 61 6d 65 20 6f | 66 20 74 68 65 20 74 61 |owName o|f the ta|
|00002960| 72 67 65 74 20 74 6f 20 | 63 68 61 72 20 32 20 6f |rget to |char 2 o|
|00002970| 66 20 66 6c 61 67 73 20 | 69 73 20 22 41 22 20 2d |f flags |is "A" -|
|00002980| 2d 20 64 6f 4e 61 6d 65 | 0d 73 65 74 20 74 68 65 |- doName|.set the|
|00002990| 20 61 75 74 6f 48 69 6c | 69 74 65 20 6f 66 20 74 | autoHil|ite of t|
|000029a0| 68 65 20 74 61 72 67 65 | 74 20 74 6f 20 46 61 6c |he targe|t to Fal|
|000029b0| 73 65 0d 0d 2d 2d 20 54 | 68 69 73 20 70 6c 61 63 |se..-- T|his plac|
|000029c0| 65 73 20 74 68 65 20 42 | 75 74 74 6f 6e 20 50 49 |es the B|utton PI|
|000029d0| 43 54 0d 69 66 20 70 6f | 73 20 69 73 20 65 6d 70 |CT.if po|s is emp|
|000029e0| 74 79 20 74 68 65 6e 20 | 70 75 74 20 74 68 65 20 |ty then |put the |
|000029f0| 74 6f 70 4c 65 66 74 20 | 6f 66 20 74 68 65 20 74 |topLeft |of the t|
|00002a00| 61 72 67 65 74 20 69 6e | 74 6f 20 70 6f 73 0d 69 |arget in|to pos.i|
|00002a10| 66 20 43 6f 72 72 65 63 | 74 69 6f 6e 20 69 73 20 |f Correc|tion is |
|00002a20| 6e 6f 74 20 65 6d 70 74 | 79 0d 74 68 65 6e 20 70 |not empt|y.then p|
|00002a30| 75 74 20 63 48 43 63 6f | 72 72 65 63 74 28 70 6f |ut cHCco|rrect(po|
|00002a40| 73 2c 43 6f 72 72 65 63 | 74 69 6f 6e 29 20 69 6e |s,Correc|tion) in|
|00002a50| 74 6f 20 70 6f 73 0d 63 | 6f 6c 6f 72 69 7a 65 48 |to pos.c|olorizeH|
|00002a60| 43 20 22 61 64 64 22 2c | 55 70 42 4d 61 70 2c 70 |C "add",|UpBMap,p|
|00002a70| 6f 73 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |os.if th|e result|
|00002a80| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 0d 74 68 | is not |empty.th|
|00002a90| 65 6e 20 73 65 6e 64 20 | 22 63 48 43 65 72 72 6f |en send |"cHCerro|
|00002aa0| 72 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 74 68 |r" && qu|ote & th|
|00002ab0| 65 20 72 65 73 75 6c 74 | 20 26 20 71 75 6f 74 65 |e result| & quote|
|00002ac0| 20 74 6f 20 63 61 72 64 | 0d 65 6e 64 20 69 66 0d | to card|.end if.|
|00002ad0| 73 68 6f 77 20 74 68 65 | 20 74 61 72 67 65 74 0d |show the| target.|
|00002ae0| 63 48 43 73 68 6f 77 43 | 6f 6c 6f 72 20 54 72 75 |cHCshowC|olor Tru|
|00002af0| 65 0d 65 6e 64 20 63 48 | 43 66 6f 72 63 65 42 75 |e.end cH|CforceBu|
|00002b00| 74 74 6f 6e 0d 00 20 74 | 68 65 20 74 61 72 67 65 |tton.. t|he targe|
|00002b10| 74 0d 65 6e 64 20 63 48 | 43 66 6f 72 63 65 42 75 |t.end cH|CforceBu|
|00002b20| 74 74 6f 6e 0d 00 63 6e | 0d 2d 2d 20 65 6c 73 65 |tton..cn|.-- else|
|00002b30| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|00002b40| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 65 | the tar|get to e|
|00002b50| 6d 70 74 79 0d 0d 2d 2d | 20 73 65 74 20 74 68 65 |mpty..--| set the|
|00002b60| 20 73 68 6f 77 4e 61 6d | 65 20 6f 66 20 74 68 65 | showNam|e of the|
|00002b70| 20 74 61 72 67 65 74 20 | 74 6f 20 63 68 61 72 20 | target |to char |
|00002b80| 32 20 6f 66 20 66 6c 61 | 67 73 20 69 73 20 22 41 |2 of fla|gs is "A|
|00002b90| 22 20 2d 2d 20 64 6f 4e | 61 6d 65 0d 2d 2d 20 73 |" -- doN|ame.-- s|
|00002ba0| 65 74 20 74 68 65 20 61 | 75 74 6f 48 69 6c 69 74 |et the a|utoHilit|
|00002bb0| 65 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |e of the| target |
|00002bc0| 74 6f 20 46 61 6c 73 65 | 0d 0d 2d 2d 20 2d 2d 20 |to False|..-- -- |
|00002bd0| 54 68 69 73 20 70 6c 61 | 63 65 73 20 74 68 65 20 |This pla|ces the |
|00002be0| 42 75 74 74 6f 6e 20 50 | 49 43 54 0d 2d 2d 20 69 |Button P|ICT.-- i|
|00002bf0| 66 20 70 6f 73 20 69 73 | 20 65 6d 70 74 79 20 74 |f pos is| empty t|
|00002c00| 68 65 6e 20 70 75 74 20 | 74 68 65 20 74 6f 70 4c |hen put |the topL|
|00002c10| 65 66 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |eft of t|he targe|
|00002c20| 74 20 69 6e 74 6f 20 70 | 6f 73 0d 2d 2d 20 69 66 |t into p|os.-- if|
|00002c30| 20 43 6f 72 72 65 63 74 | 69 6f 6e 20 69 73 20 6e | Correct|ion is n|
|00002c40| 6f 74 20 65 6d 70 74 79 | 0d 2d 2d 20 74 68 65 6e |ot empty|.-- then|
|00002c50| 20 70 75 74 20 63 48 43 | 63 6f 72 72 65 63 74 28 | put cHC|correct(|
|00002c60| 70 6f 73 2c 43 6f 72 72 | 65 63 74 69 6f 6e 29 20 |pos,Corr|ection) |
|00002c70| 69 6e 74 6f 20 70 6f 73 | 0d 2d 2d 20 63 6f 6c 6f |into pos|.-- colo|
|00002c80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 01 70 01 00 01 74 6c | 00 01 b4 61 00 01 b6 5a |..p...tl|...a...Z|
|00002cb0| 00 02 1c 56 00 02 1d e2 | 00 01 d0 61 00 00 00 00 |...V....|...a....|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e80| 00 00 00 80 4c 49 53 54 | 00 00 08 01 00 00 00 00 |....LIST|........|
|00002e90| 00 00 00 01 00 00 08 00 | 00 00 00 02 00 24 00 02 |........|.....$..|
|00002ea0| 00 08 00 03 80 00 01 2f | 00 00 00 02 00 00 00 00 |......./|........|
|00002eb0| 00 00 09 6c 00 02 00 00 | 00 00 00 00 00 00 00 00 |...l....|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 00 08 00 50 41 47 45 | 00 00 09 6c 00 00 00 00 |....PAGE|...l....|
|00002f10| 00 00 08 01 88 00 01 f9 | 00 00 0b 5a 60 04 b8 32 |........|...Z`..2|
|00002f20| 84 4b 49 08 30 e7 29 92 | 2a 02 83 24 c9 a3 24 6c |.KI.0.).|*..$..$l|
|00002f30| c2 30 f7 86 f5 a8 82 3b | 24 a7 25 80 00 00 0e 61 |.0.....;|$.%....a|
|00002f40| 20 40 e8 a0 04 28 20 74 | 00 33 25 98 c0 a4 14 e0 | @...( t|.3%.....|
|00002f50| c5 01 0c 08 c0 05 97 20 | 42 81 00 00 22 38 18 40 |....... |B..."8.@|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 40 42 4b 47 44 | 00 00 0a 61 00 00 00 00 |...@BKGD|...a....|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 02 00 00 0a 61 |........|.......a|
|00003720| 00 00 0a 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |...a....|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 03 40 43 41 52 44 | 00 00 0b 5a 00 00 00 00 |...@CARD|...Z....|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 09 6c 00 00 0a 61 | 00 04 00 04 00 00 02 2c |...l...a|.......,|
|00003770| 00 03 00 00 00 d8 00 22 | 00 01 02 05 00 15 00 1c |......."|........|
|00003780| 00 6a 00 e4 00 01 00 00 | 00 00 00 00 00 03 00 09 |.j......|........|
|00003790| 00 00 00 0c 00 00 00 00 | 00 72 00 02 01 00 00 6c |........|.r.....l|
|000037a0| 00 15 00 81 00 63 e0 05 | 00 00 00 00 00 01 00 03 |.....c..|........|
|000037b0| 00 0a 00 00 00 0d 55 73 | 65 20 54 65 78 74 6f 69 |......Us|e Textoi|
|000037c0| 64 00 00 6f 6e 20 6d 6f | 75 73 65 55 70 0d 67 6c |d..on mo|useUp.gl|
|000037d0| 6f 62 61 6c 20 67 48 43 | 64 65 62 75 67 49 6e 69 |obal gHC|debugIni|
|000037e0| 74 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |t.put em|pty into|
|000037f0| 20 67 48 43 64 65 62 75 | 67 49 6e 69 74 0d 65 6e | gHCdebu|gInit.en|
|00003800| 64 20 6d 6f 75 73 65 55 | 70 00 00 22 00 03 02 05 |d mouseU|p.."....|
|00003810| 00 7d 00 12 00 8c 00 55 | 00 00 00 00 00 00 ff ff |.}.....U|........|
|00003820| 00 03 00 0a 00 00 00 0d | 00 00 00 00 01 76 00 04 |........|.....v..|
|00003830| 02 04 00 7d 00 54 00 8c | 00 b7 00 02 00 00 00 00 |...}.T..|........|
|00003840| 00 00 00 03 00 0a 00 00 | 00 0d 54 65 78 74 6f 69 |........|..Textoi|
|00003850| 64 20 4c 6f 63 00 00 6f | 6e 20 63 6c 6f 73 65 46 |d Loc..o|n closeF|
|00003860| 69 65 6c 64 0d 2d 2d 20 | 69 66 20 61 6e 79 6f 6e |ield.-- |if anyon|
|00003870| 65 20 63 68 61 6e 67 65 | 73 20 74 68 69 73 21 0d |e change|s this!.|
|00003880| 67 6c 6f 62 61 6c 20 67 | 48 43 64 65 62 75 67 54 |global g|HCdebugT|
|00003890| 65 78 74 6f 69 64 4c 6f | 63 0d 70 75 74 20 74 61 |extoidLo|c.put ta|
|000038a0| 72 67 65 74 20 69 6e 74 | 6f 20 67 48 43 64 65 62 |rget int|o gHCdeb|
|000038b0| 75 67 54 65 78 74 6f 69 | 64 4c 6f 63 0d 65 6e 64 |ugTextoi|dLoc.end|
|000038c0| 20 63 6c 6f 73 65 46 69 | 65 6c 64 0d 0d 6f 6e 20 | closeFi|eld..on |
|000038d0| 6d 6f 75 73 65 44 6f 77 | 6e 0d 69 66 20 74 68 65 |mouseDow|n.if the|
|000038e0| 20 63 6f 6d 6d 61 6e 64 | 4b 65 79 20 69 73 20 64 | command|Key is d|
|000038f0| 6f 77 6e 20 74 68 65 6e | 0d 69 66 20 74 68 65 72 |own then|.if ther|
|00003900| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 63 |e is a w|indow "c|
|00003910| 6f 6c 6f 72 69 7a 65 48 | 43 20 77 61 74 63 68 65 |olorizeH|C watche|
|00003920| 72 22 0d 74 68 65 6e 0d | 67 65 74 20 74 68 65 20 |r".then.|get the |
|00003930| 67 6c 6f 62 61 6c 52 65 | 63 74 20 6f 66 20 77 69 |globalRe|ct of wi|
|00003940| 6e 64 6f 77 20 22 63 6f | 6c 6f 72 69 7a 65 48 43 |ndow "co|lorizeHC|
|00003950| 20 77 61 74 63 68 65 72 | 22 0d 67 65 74 20 63 48 | watcher|".get cH|
|00003960| 43 64 65 62 75 67 43 6f | 72 72 65 63 74 28 69 74 |CdebugCo|rrect(it|
|00003970| 29 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 74 61 |).put it| into ta|
|00003980| 72 67 65 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |rget.end| if.end |
|00003990| 69 66 0d 65 6e 64 20 6d | 6f 75 73 65 44 6f 77 6e |if.end m|ouseDown|
|000039a0| 0d 00 ff ff 00 b0 00 54 | 68 69 73 20 73 74 61 63 |.......T|his stac|
|000039b0| 6b 20 69 73 20 64 65 73 | 69 67 6e 65 64 20 74 6f |k is des|igned to|
|000039c0| 20 62 65 20 75 73 65 64 | 20 77 69 74 68 20 74 68 | be used| with th|
|000039d0| 65 20 64 62 43 6f 6c 6f | 72 69 7a 65 48 43 20 6f |e dbColo|rizeHC o|
|000039e0| 70 74 69 6f 6e 20 6f 66 | 20 43 6f 6c 6f 72 69 7a |ption of| Coloriz|
|000039f0| 69 6e 67 20 48 43 20 58 | 43 4d 44 2e 20 49 74 20 |ing HC X|CMD. It |
|00003a00| 69 73 20 63 61 6c 6c 65 | 64 20 61 75 74 6f 6d 61 |is calle|d automa|
|00003a10| 74 69 63 61 6c 6c 79 20 | 69 66 20 74 68 69 73 20 |tically |if this |
|00003a20| 6f 70 74 69 6f 6e 20 69 | 73 20 67 69 76 65 6e 2c |option i|s given,|
|00003a30| 20 61 6e 64 20 72 65 6d | 61 69 6e 73 20 69 6e 20 | and rem|ains in |
|00003a40| 75 73 65 20 75 6e 74 69 | 6c 20 69 74 20 69 73 20 |use unti|l it is |
|00003a50| 72 65 73 65 74 2e ff fd | 00 0d 00 54 65 78 74 6f |reset...|...Texto|
|00003a60| 69 64 20 50 6f 73 3a 00 | ff fc 00 0d 00 31 2c 33 |id Pos:.|.....1,3|
|00003a70| 31 2c 32 35 31 2c 31 34 | 31 00 00 00 00 00 00 00 |1,251,14|1.......|
|00003a80| 00 00 09 80 43 41 52 44 | 00 00 0e 61 00 00 00 00 |....CARD|...a....|
|00003a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003aa0| 00 00 09 6c 00 00 0a 61 | 00 03 00 03 00 00 08 a0 |...l...a|........|
|00003ab0| 00 02 00 00 00 96 00 22 | 00 01 02 05 00 08 00 04 |......."|........|
|00003ac0| 00 19 00 d1 00 00 00 00 | 00 00 00 00 00 03 00 0a |........|........|
|00003ad0| 00 00 00 0d 00 00 00 00 | 00 30 00 02 02 04 00 1b |........|.0......|
|00003ae0| 00 07 00 89 00 d1 00 07 | 00 00 00 00 00 00 00 03 |........|........|
|00003af0| 00 0a 00 00 00 0d 57 61 | 6e 74 65 64 20 43 6f 6d |......Wa|nted Com|
|00003b00| 6d 61 6e 64 73 00 00 00 | 08 4e 00 03 01 00 00 75 |mands...|.N.....u|
|00003b10| 00 d6 00 89 00 fd 80 03 | 00 00 00 00 00 01 00 03 |........|........|
|00003b20| 00 09 00 00 00 0c 52 65 | 6d 61 6b 65 00 00 6f 6e |......Re|make..on|
|00003b30| 20 6d 6f 75 73 65 55 70 | 0d 69 66 20 74 68 65 20 | mouseUp|.if the |
|00003b40| 63 61 6e 74 4d 6f 64 69 | 66 79 20 6f 66 20 74 68 |cantModi|fy of th|
|00003b50| 69 73 20 73 74 61 63 6b | 20 69 73 20 54 72 75 65 |is stack| is True|
|00003b60| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 43 61 | then.an|swer "Ca|
|00003b70| 6e d5 74 20 6d 6f 64 69 | 66 79 20 74 68 69 73 20 |n.t modi|fy this |
|00003b80| 73 74 61 63 6b 20 d0 20 | 61 62 6f 72 74 69 6e 67 |stack . |aborting|
|00003b90| 22 0d 65 78 69 74 20 6d | 6f 75 73 65 55 70 0d 65 |".exit m|ouseUp.e|
|00003ba0| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 72 65 20 69 |nd if.if| there i|
|00003bb0| 73 20 6e 6f 74 20 61 20 | 73 74 61 63 6b 20 22 43 |s not a |stack "C|
|00003bc0| 6f 6c 6f 72 69 7a 69 6e | 67 20 48 43 20 58 43 4d |olorizin|g HC XCM|
|00003bd0| 44 22 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |D" then.|answer "|
|00003be0| 43 61 6e d5 74 20 66 69 | 6e 64 20 43 6f 6c 6f 72 |Can.t fi|nd Color|
|00003bf0| 69 7a 69 6e 67 20 48 43 | 20 58 43 4d 44 20 d0 20 |izing HC| XCMD . |
|00003c00| 61 62 6f 72 74 69 6e 67 | 22 0d 65 78 69 74 20 6d |aborting|".exit m|
|00003c10| 6f 75 73 65 55 70 0d 65 | 6e 64 20 69 66 0d 73 65 |ouseUp.e|nd if.se|
|00003c20| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|00003c30| 77 61 74 63 68 0d 70 75 | 74 20 74 68 65 20 73 63 |watch.pu|t the sc|
|00003c40| 72 69 70 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |ript of |this sta|
|00003c50| 63 6b 20 69 6e 74 6f 20 | 6d 79 53 63 72 69 70 74 |ck into |myScript|
|00003c60| 0d 70 75 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |.put the| script |
|00003c70| 6f 66 20 73 74 61 63 6b | 20 22 43 6f 6c 6f 72 69 |of stack| "Colori|
|00003c80| 7a 69 6e 67 20 48 43 20 | 58 43 4d 44 22 20 69 6e |zing HC |XCMD" in|
|00003c90| 74 6f 20 6f 72 69 67 0d | 69 66 20 6f 72 69 67 20 |to orig.|if orig |
|00003ca0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 6e |is empty| then.an|
|00003cb0| 73 77 65 72 20 22 50 72 | 6f 62 6c 65 6d 73 20 77 |swer "Pr|oblems w|
|00003cc0| 69 74 68 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |ith the |script o|
|00003cd0| 66 20 43 6f 6c 6f 72 69 | 7a 69 6e 67 20 48 43 20 |f Colori|zing HC |
|00003ce0| 58 43 4d 44 20 2d 20 61 | 62 6f 72 74 69 6e 67 22 |XCMD - a|borting"|
|00003cf0| 0d 65 78 69 74 20 6d 6f | 75 73 65 55 70 0d 65 6e |.exit mo|useUp.en|
|00003d00| 64 20 69 66 0d 0d 2d 2d | 20 66 69 72 73 74 20 72 |d if..--| first r|
|00003d10| 65 6d 6f 76 65 20 70 72 | 65 76 69 6f 75 73 2c 20 |emove pr|evious, |
|00003d20| 69 66 20 77 61 73 20 74 | 68 65 72 65 0d 67 65 74 |if was t|here.get|
|00003d30| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00003d40| 20 6f 66 20 6d 79 53 63 | 72 69 70 74 0d 72 65 70 | of mySc|ript.rep|
|00003d50| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00003d60| 6f 20 69 74 0d 73 65 74 | 20 74 68 65 20 63 75 72 |o it.set| the cur|
|00003d70| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 69 66 20 6c |sor to b|usy.if l|
|00003d80| 69 6e 65 20 69 20 6f 66 | 20 6d 79 53 63 72 69 70 |ine i of| myScrip|
|00003d90| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 2d 20 44 6f |t contai|ns "- Do|
|00003da0| 6e d5 74 20 65 64 69 74 | 20 61 66 74 65 72 20 74 |n.t edit| after t|
|00003db0| 68 69 73 20 70 6f 69 6e | 74 22 20 74 68 65 6e 0d |his poin|t" then.|
|00003dc0| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 69 20 74 6f |delete l|ine i to|
|00003dd0| 20 69 74 20 6f 66 20 6d | 79 53 63 72 69 70 74 0d | it of m|yScript.|
|00003de0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00003df0| 74 0d 0d 2d 2d 20 61 64 | 64 20 6d 65 73 73 61 67 |t..-- ad|d messag|
|00003e00| 65 20 6f 6e 20 74 68 65 | 20 65 6e 64 0d 69 66 20 |e on the| end.if |
|00003e10| 74 68 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |the last| char of|
|00003e20| 20 6d 79 53 63 72 69 70 | 74 20 69 73 20 6e 6f 74 | myScrip|t is not|
|00003e30| 20 72 65 74 75 72 6e 0d | 74 68 65 6e 20 70 75 74 | return.|then put|
|00003e40| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 6d 79 | return |after my|
|00003e50| 53 63 72 69 70 74 0d 70 | 75 74 20 22 2d 22 20 26 |Script.p|ut "-" &|
|00003e60| 20 22 2d 20 44 6f 6e d5 | 74 20 65 64 69 74 20 61 | "- Don.|t edit a|
|00003e70| 66 74 65 72 20 74 68 69 | 73 20 70 6f 69 6e 74 20 |fter thi|s point |
|00003e80| 2d 20 63 6f 70 69 65 64 | 20 61 75 74 6f 6d 61 74 |- copied| automat|
|00003e90| 69 63 61 6c 6c 79 20 62 | 79 20 72 65 6d 61 6b 65 |ically b|y remake|
|00003ea0| 20 69 6e 20 63 61 72 64 | 20 32 22 c2 0d 61 66 74 | in card| 2"..aft|
|00003eb0| 65 72 20 6d 79 53 63 72 | 69 70 74 0d 0d 72 65 70 |er myScr|ipt..rep|
|00003ec0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00003ed0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00003ee0| 6c 69 6e 65 73 20 6f 66 | 20 63 64 20 66 6c 64 20 |lines of| cd fld |
|00003ef0| 22 57 61 6e 74 65 64 20 | 43 6f 6d 6d 61 6e 64 73 |"Wanted |Commands|
|00003f00| 22 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |".set th|e cursor|
|00003f10| 20 74 6f 20 63 72 6f 73 | 73 0d 70 75 74 20 6c 69 | to cros|s.put li|
|00003f20| 6e 65 20 69 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |ne i of |cd fld "|
|00003f30| 57 61 6e 74 65 64 20 43 | 6f 6d 6d 61 6e 64 73 22 |Wanted C|ommands"|
|00003f40| 20 69 6e 74 6f 20 77 61 | 6e 74 65 64 0d 70 75 74 | into wa|nted.put|
|00003f50| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 66 6f 75 6e | false i|nto foun|
|00003f60| 64 0d 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6a |d..repea|t with j|
|00003f70| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00003f80| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 6f |er of li|nes of o|
|00003f90| 72 69 67 0d 69 66 20 6c | 69 6e 65 20 6a 20 6f 66 |rig.if l|ine j of|
|00003fa0| 20 6f 72 69 67 20 63 6f | 6e 74 61 69 6e 73 20 77 | orig co|ntains w|
|00003fb0| 61 6e 74 65 64 20 74 68 | 65 6e 0d 70 75 74 20 74 |anted th|en.put t|
|00003fc0| 72 75 65 20 69 6e 74 6f | 20 66 6f 75 6e 64 0d 70 |rue into| found.p|
|00003fd0| 75 74 20 6a 20 69 6e 74 | 6f 20 73 74 61 72 74 0d |ut j int|o start.|
|00003fe0| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00003ff0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 69 |if.end r|epeat..i|
|00004000| 66 20 6e 6f 74 20 66 6f | 75 6e 64 20 74 68 65 6e |f not fo|und then|
|00004010| 0d 61 6e 73 77 65 72 20 | 22 43 6f 75 6c 64 20 6e |.answer |"Could n|
|00004020| 6f 74 20 66 69 6e 64 22 | 20 26 26 20 77 61 6e 74 |ot find"| && want|
|00004030| 65 64 20 77 69 74 68 20 | 22 43 6f 6e 74 69 6e 75 |ed with |"Continu|
|00004040| 65 22 20 6f 72 20 22 41 | 62 6f 72 74 22 0d 69 66 |e" or "A|bort".if|
|00004050| 20 69 74 20 69 73 20 6e | 6f 74 20 22 43 6f 6e 74 | it is n|ot "Cont|
|00004060| 69 6e 75 65 22 20 74 68 | 65 6e 20 65 78 69 74 20 |inue" th|en exit |
|00004070| 74 6f 20 68 79 70 65 72 | 63 61 72 64 0d 65 6e 64 |to hyper|card.end|
|00004080| 20 69 66 0d 0d 69 66 20 | 66 6f 75 6e 64 20 74 68 | if..if |found th|
|00004090| 65 6e 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |en.put f|alse int|
|000040a0| 6f 20 66 6f 75 6e 64 0d | 70 75 74 20 22 65 6e 64 |o found.|put "end|
|000040b0| 22 20 26 26 20 77 6f 72 | 64 20 32 20 6f 66 20 77 |" && wor|d 2 of w|
|000040c0| 61 6e 74 65 64 20 69 6e | 74 6f 20 77 61 6e 74 65 |anted in|to wante|
|000040d0| 64 20 2d 2d 20 6e 6f 77 | 20 6c 6f 6f 6b 20 66 6f |d -- now| look fo|
|000040e0| 72 20 65 6e 64 0d 0d 72 | 65 70 65 61 74 20 77 69 |r end..r|epeat wi|
|000040f0| 74 68 20 6a 20 3d 20 73 | 74 61 72 74 20 74 6f 20 |th j = s|tart to |
|00004100| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00004110| 6e 65 73 20 6f 66 20 6f | 72 69 67 0d 73 65 74 20 |nes of o|rig.set |
|00004120| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |the curs|or to bu|
|00004130| 73 79 0d 69 66 20 6c 69 | 6e 65 20 6a 20 6f 66 20 |sy.if li|ne j of |
|00004140| 6f 72 69 67 20 63 6f 6e | 74 61 69 6e 73 20 77 61 |orig con|tains wa|
|00004150| 6e 74 65 64 20 74 68 65 | 6e 0d 70 75 74 20 74 72 |nted the|n.put tr|
|00004160| 75 65 20 69 6e 74 6f 20 | 66 6f 75 6e 64 0d 70 75 |ue into |found.pu|
|00004170| 74 20 6a 20 69 6e 74 6f | 20 65 6e 64 6c 0d 65 78 |t j into| endl.ex|
|00004180| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|00004190| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 0d 69 66 20 |.end rep|eat..if |
|000041a0| 6e 6f 74 20 66 6f 75 6e | 64 20 74 68 65 6e 0d 61 |not foun|d then.a|
|000041b0| 6e 73 77 65 72 20 22 43 | 6f 75 6c 64 20 6e 6f 74 |nswer "C|ould not|
|000041c0| 20 66 69 6e 64 22 20 26 | 26 20 77 61 6e 74 65 64 | find" &|& wanted|
|000041d0| 20 77 69 74 68 20 22 43 | 6f 6e 74 69 6e 75 65 22 | with "C|ontinue"|
|000041e0| 20 6f 72 20 22 41 62 6f | 72 74 22 0d 69 66 20 69 | or "Abo|rt".if i|
|000041f0| 74 20 69 73 20 6e 6f 74 | 20 22 43 6f 6e 74 69 6e |t is not| "Contin|
|00004200| 75 65 22 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |ue" then| exit to|
|00004210| 20 68 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 69 | hyperca|rd.end i|
|00004220| 66 0d 0d 69 66 20 66 6f | 75 6e 64 20 74 68 65 6e |f..if fo|und then|
|00004230| 0d 73 65 74 20 74 68 65 | 20 63 75 72 73 6f 72 20 |.set the| cursor |
|00004240| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 72 65 74 |to watch|.put ret|
|00004250| 75 72 6e 20 61 66 74 65 | 72 20 6d 79 53 63 72 69 |urn afte|r myScri|
|00004260| 70 74 0d 70 75 74 20 6c | 69 6e 65 20 73 74 61 72 |pt.put l|ine star|
|00004270| 74 20 74 6f 20 65 6e 64 | 6c 20 6f 66 20 6f 72 69 |t to end|l of ori|
|00004280| 67 20 61 66 74 65 72 20 | 6d 79 53 63 72 69 70 74 |g after |myScript|
|00004290| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 61 66 74 65 |.put ret|urn afte|
|000042a0| 72 20 6d 79 53 63 72 69 | 70 74 0d 64 65 6c 65 74 |r myScri|pt.delet|
|000042b0| 65 20 6c 69 6e 65 20 73 | 74 61 72 74 20 74 6f 20 |e line s|tart to |
|000042c0| 65 6e 64 6c 20 6f 66 20 | 6f 72 69 67 20 2d 2d 20 |endl of |orig -- |
|000042d0| 73 6b 69 70 20 73 65 61 | 72 63 68 69 6e 67 20 61 |skip sea|rching a|
|000042e0| 67 61 69 6e 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |gain.end| if.end |
|000042f0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 2d |if.end r|epeat..-|
|00004300| 2d 20 69 66 20 77 65 20 | 67 65 74 20 74 68 69 73 |- if we |get this|
|00004310| 20 66 61 72 2c 20 74 68 | 65 6e 20 66 69 6e 65 0d | far, th|en fine.|
|00004320| 73 65 74 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |set the |script o|
|00004330| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 74 6f 20 |f this s|tack to |
|00004340| 6d 79 53 63 72 69 70 74 | 0d 65 6e 64 20 6d 6f 75 |myScript|.end mou|
|00004350| 73 65 55 70 0d 00 ff ff | 00 28 00 4c 69 73 74 20 |seUp....|.(.List |
|00004360| 6f 66 20 63 6f 6d 6d 61 | 6e 64 73 20 64 75 70 d5 |of comma|nds dup.|
|00004370| 64 20 66 72 6f 6d 20 6d | 61 69 6e 20 73 74 61 63 |d from m|ain stac|
|00004380| 6b 3a ff fe 00 65 00 6f | 6e 20 63 48 43 63 6f 6c |k:...e.o|n cHCcol|
|00004390| 6f 72 69 7a 65 0d 6f 6e | 20 48 43 63 6f 6c 6f 72 |orize.on| HCcolor|
|000043a0| 69 7a 65 0d 6f 6e 20 63 | 48 43 6d 6f 75 73 65 44 |ize.on c|HCmouseD|
|000043b0| 6f 77 6e 0d 66 75 6e 63 | 74 69 6f 6e 20 63 48 43 |own.func|tion cHC|
|000043c0| 6d 6f 75 73 65 55 70 0d | 6f 6e 20 63 48 43 69 6e |mouseUp.|on cHCin|
|000043d0| 69 74 42 75 74 74 6f 6e | 0d 6f 6e 20 63 48 43 66 |itButton|.on cHCf|
|000043e0| 6f 72 63 65 42 75 74 74 | 6f 6e 0d 00 00 00 00 00 |orceButt|on......|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 00 00 00 20 53 54 42 4c | 00 00 0c 56 00 00 00 00 |... STBL|...V....|
|00004410| 00 00 00 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00004420| 00 00 00 40 46 54 42 4c | 00 00 0d e2 00 00 00 00 |...@FTBL|........|
|00004430| 00 00 00 01 00 00 00 00 | 00 03 47 65 6e 65 76 61 |........|..Geneva|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 20 54 41 49 4c | ff ff ff ff 00 00 00 00 |... TAIL|........|
|00004470| 0f 4e 75 20 8a 72 20 64 | 65 74 20 73 6c 75 74 c9 |.Nu .r d|et slut.|
|00004480| 00 00 01 00 00 00 01 26 | 00 00 00 26 00 00 00 32 |.......&|...&...2|
|00004490| 3c 00 02 a9 f0 03 00 3f | 3c 00 02 a9 f0 03 42 3f |<......?|<.....B?|
|000044a0| 3c 00 02 a9 f0 06 44 3f | 3c 00 02 a9 f0 08 92 3f |<.....D?|<......?|
|000044b0| 13 43 6f 6c 6f 72 69 7a | 69 6e 67 20 48 43 20 44 |.Coloriz|ing HC D|
|000044c0| 65 62 75 67 02 00 00 00 | 00 00 00 00 00 00 00 00 |ebug....|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 a9 30 31 f8 00 00 | 44 00 00 00 01 58 06 3f |...01...|D....X.?|
|00004500| 3c 00 03 a9 f0 01 3a 3f | 3c 00 03 a9 f0 01 c8 3f |<.....:?|<......?|
|00004510| 3c 00 03 a9 f0 02 2a 3f | 3c 00 03 a9 f0 02 84 3f |<.....*?|<......?|
|00004520| 3c 00 03 a9 f0 02 ba 3f | 3c 00 03 a9 f0 02 c2 3f |<......?|<......?|
|00004530| 3c 00 03 a9 f0 07 ae 3f | 3c 00 03 a9 f0 08 64 3f |<......?|<.....d?|
|00004540| 3c 00 03 a9 f0 08 b8 3f | 3c 00 03 a9 f0 09 1a 3f |<......?|<......?|
|00004550| 3c 00 03 a9 f0 09 64 3f | 3c 00 03 a9 f0 0b 70 3f |<.....d?|<.....p?|
|00004560| 3c 00 03 a9 f0 11 80 3f | 3c 00 03 a9 f0 13 2e 3f |<......?|<......?|
|00004570| 3c 00 03 a9 f0 14 0c 3f | 3c 00 03 a9 f0 14 d0 3f |<......?|<......?|
|00004580| 00 00 00 22 01 00 60 01 | 00 02 02 76 31 18 43 6f |..."..`.|...v1.Co|
|00004590| 6c 6f 72 69 7a 69 6e 67 | 20 48 43 20 64 65 62 75 |lorizing| HC debu|
|000045a0| 67 20 76 31 2e 30 00 00 | 01 00 00 00 01 26 00 00 |g v1.0..|.....&..|
|000045b0| 00 26 00 00 00 32 00 2f | c0 e2 06 9e 00 00 00 1c |.&...2./|........|
|000045c0| 00 32 00 00 76 65 72 73 | 00 00 00 0a 00 80 ff ff |.2..vers|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+