home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Executable
(executable/macOSExecutable).
You can browse this item here: LabHelper 4.01
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MacOS Executable (executable/macOSExecutable)
| magic
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, bundle, Tue Aug 23 23:20:18 1994, modified Wed Aug 24 02:35:59 1994, creator 'TRJT', type application, 38528 bytes "LabHelper 4.01" , at 0x9700 1238158 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh Application (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [APPL] |
macFileCreator | [TRJT] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 4c 61 62 48 65 6c | 70 65 72 20 34 2e 30 31 |..LabHel|per 4.01|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 41 50 50 4c 54 52 4a | 54 21 00 00 00 00 00 00 |.APPLTRJ|T!......|
|00000050| 00 00 00 00 00 96 80 00 | 12 e4 8e aa 80 6c f2 aa |........|.....l..|
|00000060| 80 9a cf 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 37 b2 00 00 |........|....7...|
|00000080| 00 00 62 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..b.STAK|........|
|00000090| 00 00 00 0a 00 00 96 80 | 00 00 62 00 00 00 00 00 |........|..b.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a ae 00 00 00 01 |........|........|
|000000b0| 00 00 0b f7 00 00 08 9c | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 0f 37 00 00 00 00 | 00 05 00 00 50 00 00 00 |...7....|....P...|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |..... ..|. ... ..|
|000000f0| 9e 4b b3 77 00 00 00 00 | 00 28 00 40 01 7e 02 40 |.K.w....|.(.@.~.@|
|00000100| 00 00 00 00 01 90 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|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 c4 00 00 0c b1 | 01 56 02 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 73 74 61 72 74 | 55 70 0d 67 6c 6f 62 61 |on start|Up.globa|
|00000690| 6c 20 76 61 72 48 6f 6c | 64 65 72 2c 61 70 70 6c |l varHol|der,appl|
|000006a0| 4e 61 6d 65 2c 73 74 61 | 63 6b 73 2c 63 6f 6c 6f |Name,sta|cks,colo|
|000006b0| 72 50 72 65 66 2c 6d 65 | 6e 75 50 72 65 66 0d 73 |rPref,me|nuPref.s|
|000006c0| 65 74 20 74 68 65 20 63 | 61 6e 74 61 62 6f 72 74 |et the c|antabort|
|000006d0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 74 | of this| stack t|
|000006e0| 6f 20 74 72 75 65 0d 50 | 75 74 20 74 68 65 20 73 |o true.P|ut the s|
|000006f0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 48 79 70 |hort nam|e of Hyp|
|00000700| 65 72 43 61 72 64 20 69 | 6e 74 6f 20 61 70 70 6c |erCard i|nto appl|
|00000710| 4e 61 6d 65 0d 63 68 65 | 63 6b 46 6f 72 4d 69 73 |Name.che|ckForMis|
|00000720| 73 69 6e 67 46 6f 6e 74 | 73 0d 6c 6f 63 6b 20 73 |singFont|s.lock s|
|00000730| 63 72 65 65 6e 0d 70 75 | 74 20 74 68 65 20 6c 6f |creen.pu|t the lo|
|00000740| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |ng name |of this |
|00000750| 73 74 61 63 6b 20 69 6e | 74 6f 20 72 65 74 75 72 |stack in|to retur|
|00000760| 6e 53 74 61 63 6b 0d 67 | 6f 20 68 6f 6d 65 20 69 |nStack.g|o home i|
|00000770| 6e 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 70 75 74 |n new wi|ndow.put|
|00000780| 20 63 64 20 66 6c 64 20 | 22 70 61 74 68 73 22 20 | cd fld |"paths" |
|00000790| 69 6e 74 6f 20 73 74 61 | 63 6b 73 0d 70 75 74 20 |into sta|cks.put |
|000007a0| 66 6c 64 20 22 63 6f 6c | 6f 72 20 70 72 65 66 22 |fld "col|or pref"|
|000007b0| 20 69 6e 74 6f 20 63 6f | 6c 6f 72 50 72 65 66 0d | into co|lorPref.|
|000007c0| 70 75 74 20 66 6c 64 20 | 22 6d 65 6e 75 20 70 72 |put fld |"menu pr|
|000007d0| 65 66 22 20 69 6e 74 6f | 20 6d 65 6e 75 50 72 65 |ef" into| menuPre|
|000007e0| 66 0d 73 65 74 20 74 65 | 78 74 41 72 72 6f 77 73 |f.set te|xtArrows|
|000007f0| 20 74 6f 20 74 72 75 65 | 0d 63 68 6b 53 74 61 74 | to true|.chkStat|
|00000800| 75 73 0d 69 66 20 66 6c | 64 20 22 74 69 6d 65 20 |us.if fl|d "time |
|00000810| 68 6f 6c 64 65 72 22 20 | 69 73 20 65 6d 70 74 79 |holder" |is empty|
|00000820| 20 74 68 65 6e 20 70 75 | 74 20 74 68 65 20 73 65 | then pu|t the se|
|00000830| 63 6f 6e 64 73 20 69 6e | 74 6f 20 66 6c 64 20 22 |conds in|to fld "|
|00000840| 74 69 6d 65 20 68 6f 6c | 64 65 72 22 0d 69 66 20 |time hol|der".if |
|00000850| 6c 69 63 65 6e 73 65 43 | 68 65 63 6b 28 76 61 72 |licenseC|heck(var|
|00000860| 48 6f 6c 64 65 72 29 3d | 22 46 61 69 6c 22 20 74 |Holder)=|"Fail" t|
|00000870| 68 65 6e 0d 69 66 20 28 | 74 68 65 20 73 65 63 6f |hen.if (|the seco|
|00000880| 6e 64 73 20 2d 20 66 6c | 64 20 22 74 69 6d 65 20 |nds - fl|d "time |
|00000890| 68 6f 6c 64 65 72 22 29 | 2f 36 30 2f 36 30 2f 32 |holder")|/60/60/2|
|000008a0| 34 20 3e 20 32 31 20 74 | 68 65 6e 0d 61 6e 73 77 |4 > 21 t|hen.answ|
|000008b0| 65 72 20 22 54 68 65 20 | 64 65 6d 6f 20 70 65 72 |er "The |demo per|
|000008c0| 69 6f 64 20 68 61 73 20 | 65 6c 61 70 73 65 64 21 |iod has |elapsed!|
|000008d0| 22 26 72 65 74 75 72 6e | 26 c2 0d 22 50 6c 65 61 |"&return|&.."Plea|
|000008e0| 73 65 20 72 65 67 69 73 | 74 65 72 20 79 6f 75 72 |se regis|ter your|
|000008f0| 20 63 6f 70 79 20 6f 66 | 20 4c 61 62 48 65 6c 70 | copy of| LabHelp|
|00000900| 65 72 21 22 0d 73 65 6e | 64 20 22 64 6f 4d 65 6e |er!".sen|d "doMen|
|00000910| 75 20 51 75 69 74 20 48 | 79 70 65 72 43 61 72 64 |u Quit H|yperCard|
|00000920| 22 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |" to Hyp|erCard.e|
|00000930| 6c 73 65 0d 70 75 74 20 | 28 74 68 65 20 73 65 63 |lse.put |(the sec|
|00000940| 6f 6e 64 73 20 2d 20 66 | 6c 64 20 22 74 69 6d 65 |onds - f|ld "time|
|00000950| 20 68 6f 6c 64 65 72 22 | 29 2f 36 30 2f 36 30 2f | holder"|)/60/60/|
|00000960| 32 34 20 69 6e 74 6f 20 | 74 6d 70 0d 70 75 74 20 |24 into |tmp.put |
|00000970| 72 6f 75 6e 64 28 32 31 | 2d 74 6d 70 29 20 69 6e |round(21|-tmp) in|
|00000980| 74 6f 20 64 61 79 73 4c | 65 66 74 0d 61 6e 73 77 |to daysL|eft.answ|
|00000990| 65 72 20 64 61 79 73 4c | 65 66 74 26 26 22 64 61 |er daysL|eft&&"da|
|000009a0| 79 28 73 29 20 74 6f 20 | 73 65 6c 66 20 64 65 73 |y(s) to |self des|
|000009b0| 74 72 75 63 74 69 6f 6e | 21 22 0d 65 6e 64 20 69 |truction|!".end i|
|000009c0| 66 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 75 73 65 |f.end if|.set use|
|000009d0| 72 6c 65 76 65 6c 20 74 | 6f 20 34 0d 67 6f 20 72 |rlevel t|o 4.go r|
|000009e0| 65 74 75 72 6e 53 74 61 | 63 6b 20 69 6e 20 6e 65 |eturnSta|ck in ne|
|000009f0| 77 20 77 69 6e 64 6f 77 | 0d 73 65 74 20 74 68 65 |w window|.set the|
|00000a00| 20 63 61 6e 74 61 62 6f | 72 74 20 6f 66 20 74 68 | cantabo|rt of th|
|00000a10| 69 73 20 73 74 61 63 6b | 20 74 6f 20 66 61 6c 73 |is stack| to fals|
|00000a20| 65 0d 6f 70 65 6e 42 61 | 63 6b 67 72 6f 75 6e 64 |e.openBa|ckground|
|00000a30| 0d 70 61 73 73 20 73 74 | 61 72 74 55 70 0d 65 6e |.pass st|artUp.en|
|00000a40| 64 20 73 74 61 72 74 55 | 70 0d 0d 6f 6e 20 71 75 |d startU|p..on qu|
|00000a50| 69 74 0d 67 6c 6f 62 61 | 6c 20 73 74 61 63 6b 73 |it.globa|l stacks|
|00000a60| 2c 63 6f 6c 6f 72 50 72 | 65 66 2c 6d 65 6e 75 50 |,colorPr|ef,menuP|
|00000a70| 72 65 66 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 6b |ref.set |the lock|
|00000a80| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 74 72 75 65 |messages| to true|
|00000a90| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |.lock sc|reen.go |
|00000aa0| 68 6f 6d 65 0d 70 75 74 | 20 73 74 61 63 6b 73 20 |home.put| stacks |
|00000ab0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 70 61 74 |into cd |fld "pat|
|00000ac0| 68 73 22 0d 70 75 74 20 | 63 6f 6c 6f 72 50 72 65 |hs".put |colorPre|
|00000ad0| 66 20 69 6e 74 6f 20 66 | 6c 64 20 22 63 6f 6c 6f |f into f|ld "colo|
|00000ae0| 72 20 70 72 65 66 22 0d | 70 75 74 20 6d 65 6e 75 |r pref".|put menu|
|00000af0| 50 72 65 66 20 69 6e 74 | 6f 20 66 6c 64 20 22 6d |Pref int|o fld "m|
|00000b00| 65 6e 75 20 70 72 65 66 | 22 0d 67 65 74 20 77 69 |enu pref|".get wi|
|00000b10| 6e 64 6f 77 53 63 72 69 | 70 74 28 22 44 69 73 74 |ndowScri|pt("Dist|
|00000b20| 72 69 62 75 74 69 6f 6e | 20 53 70 6c 61 73 68 22 |ribution| Splash"|
|00000b30| 29 0d 77 61 69 74 20 34 | 20 73 65 63 6f 6e 64 73 |).wait 4| seconds|
|00000b40| 0d 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 44 |.close w|indow "D|
|00000b50| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 53 70 6c 61 |istribut|ion Spla|
|00000b60| 73 68 22 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 6b |sh".set |the lock|
|00000b70| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |messages| to fals|
|00000b80| 65 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |e.unlock| screen.|
|00000b90| 70 61 73 73 20 71 75 69 | 74 0d 65 6e 64 20 71 75 |pass qui|t.end qu|
|00000ba0| 69 74 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |it..on o|penStack|
|00000bb0| 0d 67 6c 6f 62 61 6c 20 | 73 74 61 63 6b 73 2c 76 |.global |stacks,v|
|00000bc0| 61 72 48 6f 6c 64 65 72 | 2c 61 70 70 6c 4e 61 6d |arHolder|,applNam|
|00000bd0| 65 2c 63 6f 6c 6f 72 50 | 72 65 66 2c 6d 65 6e 75 |e,colorP|ref,menu|
|00000be0| 50 72 65 66 2c 76 61 72 | 48 6f 6c 64 65 72 0d 73 |Pref,var|Holder.s|
|00000bf0| 65 74 20 74 68 65 20 63 | 61 6e 74 61 62 6f 72 74 |et the c|antabort|
|00000c00| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 74 | of this| stack t|
|00000c10| 6f 20 74 72 75 65 0d 69 | 66 20 6c 69 63 65 6e 73 |o true.i|f licens|
|00000c20| 65 43 68 65 63 6b 28 76 | 61 72 48 6f 6c 64 65 72 |eCheck(v|arHolder|
|00000c30| 29 3d 22 46 61 69 6c 22 | 20 61 6e 64 20 74 68 65 |)="Fail"| and the|
|00000c40| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 3e | number |of cds >|
|00000c50| 20 31 30 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 | 10 then|.answer |
|00000c60| 22 54 68 69 73 20 69 73 | 20 61 6e 20 75 6e 72 65 |"This is| an unre|
|00000c70| 67 69 73 74 65 72 65 64 | 20 63 6f 70 79 20 6f 66 |gistered| copy of|
|00000c80| 20 4c 61 62 48 65 6c 70 | 65 72 21 22 26 72 65 74 | LabHelp|er!"&ret|
|00000c90| 75 72 6e 26 c2 0d 22 54 | 68 65 20 6e 75 6d 62 65 |urn&.."T|he numbe|
|00000ca0| 72 20 6f 66 20 65 6e 74 | 72 69 65 73 20 69 73 20 |r of ent|ries is |
|00000cb0| 6c 69 6d 69 74 65 64 20 | 74 6f 20 31 30 2e 22 26 |limited |to 10."&|
|00000cc0| 72 65 74 75 72 6e 26 c2 | 0d 22 50 6c 65 61 73 65 |return&.|."Please|
|00000cd0| 20 72 65 67 69 73 74 65 | 72 20 74 6f 20 72 65 6d | registe|r to rem|
|00000ce0| 6f 76 65 20 74 68 69 73 | 20 6c 69 6d 69 74 2e 22 |ove this| limit."|
|00000cf0| 0d 73 65 6e 64 20 22 64 | 6f 4d 65 6e 75 20 51 75 |.send "d|oMenu Qu|
|00000d00| 69 74 20 48 79 70 65 72 | 43 61 72 64 22 20 74 6f |it Hyper|Card" to|
|00000d10| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6e 64 20 69 | HyperCa|rd.end i|
|00000d20| 66 0d 73 65 74 20 74 68 | 65 20 63 61 6e 74 61 62 |f.set th|e cantab|
|00000d30| 6f 72 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ort of t|his stac|
|00000d40| 6b 20 74 6f 20 66 61 6c | 73 65 0d 69 66 20 63 6f |k to fal|se.if co|
|00000d50| 6c 6f 72 50 72 65 66 20 | 69 73 20 74 72 75 65 20 |lorPref |is true |
|00000d60| 74 68 65 6e 0d 63 48 43 | 73 65 74 55 70 20 74 72 |then.cHC|setUp tr|
|00000d70| 75 65 2c 20 66 61 6c 73 | 65 2c 20 22 48 43 63 6f |ue, fals|e, "HCco|
|00000d80| 6c 6f 72 69 7a 65 22 0d | 48 43 63 6f 6c 6f 72 69 |lorize".|HCcolori|
|00000d90| 7a 65 0d 65 6e 64 20 69 | 66 0d 6c 6f 63 6b 20 73 |ze.end i|f.lock s|
|00000da0| 63 72 65 65 6e 0d 63 72 | 65 61 74 65 4d 65 6e 75 |creen.cr|eateMenu|
|00000db0| 28 6d 65 6e 75 50 72 65 | 66 29 0d 6f 70 65 6e 42 |(menuPre|f).openB|
|00000dc0| 61 63 6b 67 72 6f 75 6e | 64 0d 75 6e 6c 6f 63 6b |ackgroun|d.unlock|
|00000dd0| 20 73 63 72 65 65 6e 0d | 70 75 74 20 73 74 61 63 | screen.|put stac|
|00000de0| 6b 50 61 74 68 73 28 74 | 68 65 20 6c 6f 6e 67 20 |kPaths(t|he long |
|00000df0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00000e00| 63 6b 29 26 72 65 74 75 | 72 6e 20 62 65 66 6f 72 |ck)&retu|rn befor|
|00000e10| 65 20 73 74 61 63 6b 73 | 0d 70 75 74 20 73 74 72 |e stacks|.put str|
|00000e20| 69 70 44 75 70 28 73 74 | 61 63 6b 73 29 20 69 6e |ipDup(st|acks) in|
|00000e30| 74 6f 20 73 74 61 63 6b | 73 0d 70 75 74 20 66 75 |to stack|s.put fu|
|00000e40| 6c 6c 53 6f 72 74 28 73 | 74 61 63 6b 73 2c 22 74 |llSort(s|tacks,"t|
|00000e50| 3d 75 22 2c 22 64 3d 61 | 22 29 20 69 6e 74 6f 20 |=u","d=a|") into |
|00000e60| 73 74 61 63 6b 73 0d 70 | 61 73 73 20 6f 70 65 6e |stacks.p|ass open|
|00000e70| 53 74 61 63 6b 0d 65 6e | 64 20 6f 70 65 6e 53 74 |Stack.en|d openSt|
|00000e80| 61 63 6b 0d 0d 6f 6e 20 | 63 68 6b 53 74 61 74 75 |ack..on |chkStatu|
|00000e90| 73 0d 67 6c 6f 62 61 6c | 20 76 61 72 48 6f 6c 64 |s.global| varHold|
|00000ea0| 65 72 0d 70 75 74 20 66 | 6c 64 20 22 56 61 72 48 |er.put f|ld "VarH|
|00000eb0| 6f 6c 64 65 72 22 20 69 | 6e 74 6f 20 76 61 72 48 |older" i|nto varH|
|00000ec0| 6f 6c 64 65 72 0d 69 66 | 20 6c 69 63 65 6e 73 65 |older.if| license|
|00000ed0| 43 68 65 63 6b 28 76 61 | 72 48 6f 6c 64 65 72 29 |Check(va|rHolder)|
|00000ee0| 3d 22 46 61 69 6c 22 20 | 74 68 65 6e 0d 61 6e 73 |="Fail" |then.ans|
|00000ef0| 77 65 72 20 22 54 68 69 | 73 20 69 73 20 61 6e 20 |wer "Thi|s is an |
|00000f00| 75 6e 72 65 67 69 73 74 | 65 72 65 64 20 63 6f 70 |unregist|ered cop|
|00000f10| 79 20 6f 66 20 4c 61 62 | 48 65 6c 70 65 72 21 22 |y of Lab|Helper!"|
|00000f20| 26 72 65 74 75 72 6e 26 | c2 0d 22 54 68 65 20 6e |&return&|.."The n|
|00000f30| 75 6d 62 65 72 20 6f 66 | 20 65 6e 74 72 69 65 73 |umber of| entries|
|00000f40| 20 69 73 20 6c 69 6d 69 | 74 65 64 20 74 6f 20 31 | is limi|ted to 1|
|00000f50| 30 2e 22 26 72 65 74 75 | 72 6e 26 c2 0d 22 50 6c |0."&retu|rn&.."Pl|
|00000f60| 65 61 73 65 20 72 65 67 | 69 73 74 65 72 20 74 6f |ease reg|ister to|
|00000f70| 20 72 65 6d 6f 76 65 20 | 74 68 69 73 20 6c 69 6d | remove |this lim|
|00000f80| 69 74 2e 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |it." wit|h "OK" o|
|00000f90| 72 20 22 52 65 67 69 73 | 74 65 72 22 0d 69 66 20 |r "Regis|ter".if |
|00000fa0| 69 74 20 69 73 20 22 52 | 65 67 69 73 74 65 72 22 |it is "R|egister"|
|00000fb0| 20 74 68 65 6e 0d 72 65 | 67 69 73 74 65 72 0d 65 | then.re|gister.e|
|00000fc0| 6c 73 65 0d 61 6e 73 77 | 65 72 20 22 59 6f 75 20 |lse.answ|er "You |
|00000fd0| 68 61 76 65 20 32 31 20 | 64 61 79 73 20 74 6f 20 |have 21 |days to |
|00000fe0| 6d 61 6b 65 20 79 6f 75 | 72 20 64 65 63 69 73 69 |make you|r decisi|
|00000ff0| 6f 6e 21 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |on!" wit|h "OK" o|
|00001000| 72 20 22 4f 72 64 65 72 | 20 46 6f 72 6d 22 0d 69 |r "Order| Form".i|
|00001010| 66 20 69 74 20 69 73 20 | 22 4f 72 64 65 72 20 46 |f it is |"Order F|
|00001020| 6f 72 6d 22 20 74 68 65 | 6e 0d 70 72 6f 6d 70 74 |orm" the|n.prompt|
|00001030| 6f 69 64 20 22 50 72 69 | 6e 67 20 52 65 67 69 73 |oid "Pri|ng Regis|
|00001040| 74 72 61 74 69 6f 6e 20 | 46 6f 72 6d 2e 2e 2e 22 |tration |Form..."|
|00001050| 0d 70 72 69 6e 74 20 66 | 6c 64 20 22 52 65 67 69 |.print f|ld "Regi|
|00001060| 73 74 72 61 74 69 6f 6e | 20 46 6f 72 6d 22 0d 63 |stration| Form".c|
|00001070| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 70 72 6f 6d |lose win|dow prom|
|00001080| 70 74 6f 69 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ptoid.en|d if.end|
|00001090| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 | if.end |if.end c|
|000010a0| 68 6b 53 74 61 74 75 73 | 0d 0d 6f 6e 20 6f 70 65 |hkStatus|..on ope|
|000010b0| 6e 42 61 63 6b 67 72 6f | 75 6e 64 0d 67 6c 6f 62 |nBackgro|und.glob|
|000010c0| 61 6c 20 63 75 72 72 65 | 6e 74 42 6b 67 0d 68 69 |al curre|ntBkg.hi|
|000010d0| 64 65 20 6d 73 67 0d 69 | 66 20 74 68 65 72 65 20 |de msg.i|f there |
|000010e0| 69 73 20 61 20 66 6c 64 | 20 22 61 62 6f 75 74 2e |is a fld| "about.|
|000010f0| 2e 2e 22 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |.." then|.put the|
|00001100| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00001110| 68 69 73 20 62 67 20 69 | 6e 74 6f 20 63 75 72 72 |his bg i|nto curr|
|00001120| 65 6e 74 42 6b 67 0d 65 | 6c 73 65 0d 70 75 74 20 |entBkg.e|lse.put |
|00001130| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 75 72 72 65 |empty in|to curre|
|00001140| 6e 74 42 6b 67 0d 65 6e | 64 20 69 66 0d 73 70 65 |ntBkg.en|d if.spe|
|00001150| 63 69 61 6c 6d 65 6e 75 | 0d 69 66 20 74 68 65 72 |cialmenu|.if ther|
|00001160| 65 20 69 73 20 61 20 66 | 6c 64 20 22 6c 61 73 74 |e is a f|ld "last|
|00001170| 56 69 73 69 74 22 20 74 | 68 65 6e 0d 69 66 20 66 |Visit" t|hen.if f|
|00001180| 6c 64 20 22 6c 61 73 74 | 56 69 73 69 74 22 20 ad |ld "last|Visit" .|
|00001190| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 67 6f 20 66 | empty t|hen.go f|
|000011a0| 6c 64 20 22 6c 61 73 74 | 56 69 73 69 74 22 0d 65 |ld "last|Visit".e|
|000011b0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 70 61 73 |nd if.en|d if.pas|
|000011c0| 73 20 6f 70 65 6e 42 61 | 63 6b 67 72 6f 75 6e 64 |s openBa|ckground|
|000011d0| 0d 65 6e 64 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |.end ope|nBackgro|
|000011e0| 75 6e 64 0d 0d 6f 6e 20 | 63 6c 6f 73 65 42 61 63 |und..on |closeBac|
|000011f0| 6b 67 72 6f 75 6e 64 0d | 67 6c 6f 62 61 6c 20 63 |kground.|global c|
|00001200| 75 72 72 65 6e 74 42 6b | 67 0d 70 75 74 20 22 61 |urrentBk|g.put "a|
|00001210| 62 6f 75 74 22 26 26 63 | 75 72 72 65 6e 74 42 6b |bout"&&c|urrentBk|
|00001220| 67 20 69 6e 74 6f 20 61 | 62 6f 75 74 42 6f 78 0d |g into a|boutBox.|
|00001230| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00001240| 6e 64 6f 77 20 61 62 6f | 75 74 42 6f 78 20 74 68 |ndow abo|utBox th|
|00001250| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|00001260| 61 62 6f 75 74 42 6f 78 | 0d 69 66 20 74 68 65 72 |aboutBox|.if ther|
|00001270| 65 20 69 73 20 61 20 66 | 6c 64 20 22 6c 61 73 74 |e is a f|ld "last|
|00001280| 56 69 73 69 74 22 20 74 | 68 65 6e 20 70 75 74 20 |Visit" t|hen put |
|00001290| 69 64 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 6e |id of th|is cd in|
|000012a0| 74 6f 20 66 6c 64 20 22 | 6c 61 73 74 56 69 73 69 |to fld "|lastVisi|
|000012b0| 74 22 0d 70 61 73 73 20 | 63 6c 6f 73 65 42 61 63 |t".pass |closeBac|
|000012c0| 6b 67 72 6f 75 6e 64 0d | 65 6e 64 20 63 6c 6f 73 |kground.|end clos|
|000012d0| 65 42 61 63 6b 67 72 6f | 75 6e 64 0d 0d 6f 6e 20 |eBackgro|und..on |
|000012e0| 6f 70 65 6e 46 69 65 6c | 64 0d 46 75 6c 6c 42 61 |openFiel|d.FullBa|
|000012f0| 6c 6c 6f 6f 6e 73 20 22 | 72 65 6d 6f 76 65 22 0d |lloons "|remove".|
|00001300| 70 61 73 73 20 6f 70 65 | 6e 46 69 65 6c 64 0d 65 |pass ope|nField.e|
|00001310| 6e 64 20 6f 70 65 6e 46 | 69 65 6c 64 0d 0d 6f 6e |nd openF|ield..on|
|00001320| 20 6d 6f 75 73 65 57 69 | 74 68 69 6e 0d 67 65 74 | mouseWi|thin.get|
|00001330| 20 77 6f 72 64 20 31 20 | 74 6f 20 32 20 6f 66 20 | word 1 |to 2 of |
|00001340| 74 68 65 20 74 61 72 67 | 65 74 20 26 26 20 6e 75 |the targ|et && nu|
|00001350| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 74 61 72 67 |mber of |the targ|
|00001360| 65 74 0d 46 75 6c 6c 42 | 61 6c 6c 6f 6f 6e 73 20 |et.FullB|alloons |
|00001370| 22 49 73 53 68 6f 77 69 | 6e 67 22 0d 69 66 20 6e |"IsShowi|ng".if n|
|00001380| 6f 74 20 74 68 65 20 52 | 65 73 75 6c 74 20 61 6e |ot the R|esult an|
|00001390| 64 20 69 74 20 ad 20 74 | 68 65 20 73 65 6c 65 63 |d it . t|he selec|
|000013a0| 74 65 64 46 69 65 6c 64 | 0d 74 68 65 6e 20 73 65 |tedField|.then se|
|000013b0| 6e 64 20 6d 6f 75 73 65 | 45 6e 74 65 72 20 74 6f |nd mouse|Enter to|
|000013c0| 20 74 68 65 20 74 61 72 | 67 65 74 0d 70 61 73 73 | the tar|get.pass|
|000013d0| 20 6d 6f 75 73 65 57 69 | 74 68 69 6e 0d 65 6e 64 | mouseWi|thin.end|
|000013e0| 20 6d 6f 75 73 65 57 69 | 74 68 69 6e 0d 0d 6f 6e | mouseWi|thin..on|
|000013f0| 20 73 65 74 48 65 6c 70 | 65 72 4d 65 6e 75 0d 73 | setHelp|erMenu.s|
|00001400| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 6c |et the n|ame of l|
|00001410| 61 73 74 20 6d 65 6e 75 | 69 74 65 6d 20 6f 66 20 |ast menu|item of |
|00001420| 6d 65 6e 75 20 22 46 69 | 6c 65 22 20 74 6f 20 22 |menu "Fi|le" to "|
|00001430| 51 75 69 74 20 4c 61 62 | 48 65 6c 70 65 72 22 0d |Quit Lab|Helper".|
|00001440| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of |
|00001450| 66 69 72 73 74 20 6d 65 | 6e 75 69 74 65 6d 20 6f |first me|nuitem o|
|00001460| 66 20 6d 65 6e 75 20 22 | 41 70 70 6c 65 22 20 74 |f menu "|Apple" t|
|00001470| 6f 20 22 41 62 6f 75 74 | 20 4c 61 62 48 65 6c 70 |o "About| LabHelp|
|00001480| 65 72 2e 2e 2e 22 0d 70 | 75 74 20 22 2d 22 20 61 |er...".p|ut "-" a|
|00001490| 66 74 65 72 20 6d 65 6e | 75 20 22 45 64 69 74 22 |fter men|u "Edit"|
|000014a0| 0d 70 75 74 20 22 43 6f | 6c 6f 72 20 50 72 65 66 |.put "Co|lor Pref|
|000014b0| 65 72 65 6e 63 65 22 20 | 61 66 74 65 72 20 6d 65 |erence" |after me|
|000014c0| 6e 75 20 22 45 64 69 74 | 22 20 77 69 74 68 20 6d |nu "Edit|" with m|
|000014d0| 65 6e 75 6d 73 67 20 73 | 65 74 43 6f 6c 6f 72 50 |enumsg s|etColorP|
|000014e0| 72 65 66 0d 70 75 74 20 | 22 46 6f 6e 74 20 50 72 |ref.put |"Font Pr|
|000014f0| 65 66 65 72 65 6e 63 65 | 22 20 61 66 74 65 72 20 |eference|" after |
|00001500| 6d 65 6e 75 20 22 45 64 | 69 74 22 20 77 69 74 68 |menu "Ed|it" with|
|00001510| 20 6d 65 6e 75 6d 73 67 | 20 67 65 74 20 77 69 6e | menumsg| get win|
|00001520| 64 6f 77 53 63 72 69 70 | 74 28 22 6f 62 6a 65 63 |dowScrip|t("objec|
|00001530| 74 4d 61 73 74 65 72 22 | 29 0d 70 75 74 20 22 4d |tMaster"|).put "M|
|00001540| 65 6e 75 20 50 72 65 66 | 65 72 65 6e 63 65 22 20 |enu Pref|erence" |
|00001550| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 45 64 69 74 |after me|nu "Edit|
|00001560| 22 20 77 69 74 68 20 6d | 65 6e 75 6d 73 67 20 73 |" with m|enumsg s|
|00001570| 65 74 4d 65 6e 75 50 72 | 65 66 0d 65 6e 64 20 73 |etMenuPr|ef.end s|
|00001580| 65 74 48 65 6c 70 65 72 | 4d 65 6e 75 0d 0d 6f 6e |etHelper|Menu..on|
|00001590| 20 73 70 65 63 69 61 6c | 4d 65 6e 75 0d 67 6c 6f | special|Menu.glo|
|000015a0| 62 61 6c 20 63 75 72 72 | 65 6e 74 42 6b 67 0d 69 |bal curr|entBkg.i|
|000015b0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 6d 65 6e |f there |is a men|
|000015c0| 75 20 22 55 74 69 6c 22 | 20 74 68 65 6e 20 64 65 |u "Util"| then de|
|000015d0| 6c 65 74 65 20 6d 65 6e | 75 20 22 55 74 69 6c 22 |lete men|u "Util"|
|000015e0| 0d 63 72 65 61 74 65 20 | 6d 65 6e 75 20 22 55 74 |.create |menu "Ut|
|000015f0| 69 6c 22 0d 70 75 74 20 | 22 41 62 6f 75 74 20 22 |il".put |"About "|
|00001600| 26 63 75 72 72 65 6e 74 | 42 6b 67 20 61 66 74 65 |¤t|Bkg afte|
|00001610| 72 20 6d 65 6e 75 20 22 | 55 74 69 6c 22 20 77 69 |r menu "|Util" wi|
|00001620| 74 68 20 6d 65 6e 75 6d | 73 67 20 22 41 62 6f 75 |th menum|sg "Abou|
|00001630| 74 20 63 75 72 72 65 6e | 74 42 6b 67 22 0d 70 75 |t curren|tBkg".pu|
|00001640| 74 20 22 2d 22 20 61 66 | 74 65 72 20 6d 65 6e 75 |t "-" af|ter menu|
|00001650| 20 22 55 74 69 6c 22 0d | 70 75 74 20 22 43 68 61 | "Util".|put "Cha|
|00001660| 72 61 63 74 65 72 20 50 | 61 6c 65 74 74 65 22 20 |racter P|alette" |
|00001670| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 55 74 69 6c |after me|nu "Util|
|00001680| 22 20 77 69 74 68 20 6d | 65 6e 75 6d 73 67 20 70 |" with m|enumsg p|
|00001690| 61 6c 65 74 74 65 20 43 | 68 61 72 61 63 74 65 72 |alette C|haracter|
|000016a0| 0d 70 75 74 20 22 46 69 | 6e 64 22 20 61 66 74 65 |.put "Fi|nd" afte|
|000016b0| 72 20 6d 65 6e 75 20 22 | 55 74 69 6c 22 20 77 69 |r menu "|Util" wi|
|000016c0| 74 68 20 6d 65 6e 75 6d | 73 67 20 67 65 74 20 57 |th menum|sg get W|
|000016d0| 69 6e 64 6f 77 53 63 72 | 69 70 74 28 22 46 69 6e |indowScr|ipt("Fin|
|000016e0| 64 22 29 0d 70 75 74 20 | 22 46 69 6e 64 20 61 6e |d").put |"Find an|
|000016f0| 64 20 52 65 70 6c 61 63 | 65 22 20 61 66 74 65 72 |d Replac|e" after|
|00001700| 20 6d 65 6e 75 20 22 55 | 74 69 6c 22 20 77 69 74 | menu "U|til" wit|
|00001710| 68 20 6d 65 6e 75 6d 73 | 67 20 46 69 6e 64 52 65 |h menums|g FindRe|
|00001720| 70 6c 61 63 65 0d 70 75 | 74 20 22 53 63 61 6e 20 |place.pu|t "Scan |
|00001730| 41 6c 6c 20 52 65 63 6f | 72 64 73 22 20 61 66 74 |All Reco|rds" aft|
|00001740| 65 72 20 6d 65 6e 75 20 | 22 55 74 69 6c 22 20 77 |er menu |"Util" w|
|00001750| 69 74 68 20 6d 65 6e 75 | 6d 73 67 20 67 65 74 20 |ith menu|msg get |
|00001760| 57 69 6e 64 6f 77 53 63 | 72 69 70 74 28 22 41 6c |WindowSc|ript("Al|
|00001770| 6c 20 52 65 63 6f 72 64 | 73 22 29 0d 70 75 74 20 |l Record|s").put |
|00001780| 22 4c 6f 63 6b 2f 55 6e | 6c 6f 63 6b 20 52 65 63 |"Lock/Un|lock Rec|
|00001790| 6f 72 64 73 22 20 61 66 | 74 65 72 20 6d 65 6e 75 |ords" af|ter menu|
|000017a0| 20 22 55 74 69 6c 22 20 | 77 69 74 68 20 6d 65 6e | "Util" |with men|
|000017b0| 75 6d 73 67 20 6c 6f 63 | 6b 75 6e 6c 6f 63 6b 52 |umsg loc|kunlockR|
|000017c0| 65 63 6f 72 64 73 0d 70 | 75 74 20 22 52 65 76 65 |ecords.p|ut "Reve|
|000017d0| 72 73 65 20 4c 6f 63 6b | 2f 55 6e 6c 6f 63 6b 22 |rse Lock|/Unlock"|
|000017e0| 20 61 66 74 65 72 20 6d | 65 6e 75 20 22 55 74 69 | after m|enu "Uti|
|000017f0| 6c 22 20 77 69 74 68 20 | 6d 65 6e 75 6d 73 67 20 |l" with |menumsg |
|00001800| 72 65 76 4c 6f 63 4b 0d | 70 75 74 20 22 4c 69 73 |revLocK.|put "Lis|
|00001810| 74 20 4d 61 72 6b 65 64 | 20 52 65 63 6f 72 64 73 |t Marked| Records|
|00001820| 22 20 61 66 74 65 72 20 | 6d 65 6e 75 20 22 55 74 |" after |menu "Ut|
|00001830| 69 6c 22 20 77 69 74 68 | 20 6d 65 6e 75 6d 73 67 |il" with| menumsg|
|00001840| 20 67 65 74 20 57 69 6e | 64 6f 77 53 63 72 69 70 | get Win|dowScrip|
|00001850| 74 28 22 4d 61 72 6b 65 | 64 20 52 65 63 6f 72 64 |t("Marke|d Record|
|00001860| 73 22 29 0d 70 75 74 20 | 22 4d 61 72 6b 2f 55 6e |s").put |"Mark/Un|
|00001870| 6d 61 72 6b 20 52 65 63 | 6f 72 64 73 22 20 61 66 |mark Rec|ords" af|
|00001880| 74 65 72 20 6d 65 6e 75 | 20 22 55 74 69 6c 22 20 |ter menu| "Util" |
|00001890| 77 69 74 68 20 6d 65 6e | 75 6d 73 67 20 6d 61 72 |with men|umsg mar|
|000018a0| 6b 75 6e 6d 61 72 6b 52 | 65 63 6f 72 64 73 0d 70 |kunmarkR|ecords.p|
|000018b0| 75 74 20 22 52 65 76 65 | 72 73 65 20 4d 61 72 6b |ut "Reve|rse Mark|
|000018c0| 2f 55 6e 6d 61 72 6b 22 | 20 61 66 74 65 72 20 6d |/Unmark"| after m|
|000018d0| 65 6e 75 20 22 55 74 69 | 6c 22 20 77 69 74 68 20 |enu "Uti|l" with |
|000018e0| 6d 65 6e 75 6d 73 67 20 | 72 65 76 4d 61 72 6b 0d |menumsg |revMark.|
|000018f0| 70 75 74 20 22 2d 22 20 | 61 66 74 65 72 20 6d 65 |put "-" |after me|
|00001900| 6e 75 20 22 55 74 69 6c | 22 0d 70 75 74 20 22 43 |nu "Util|".put "C|
|00001910| 61 6c 65 6e 64 61 72 22 | 20 61 66 74 65 72 20 6d |alendar"| after m|
|00001920| 65 6e 75 20 22 55 74 69 | 6c 22 20 77 69 74 68 20 |enu "Uti|l" with |
|00001930| 6d 65 6e 75 6d 73 67 20 | 73 68 6f 77 43 61 6c 65 |menumsg |showCale|
|00001940| 6e 64 61 72 0d 70 75 74 | 20 22 54 69 6d 65 22 20 |ndar.put| "Time" |
|00001950| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 55 74 69 6c |after me|nu "Util|
|00001960| 22 20 77 69 74 68 20 6d | 65 6e 75 6d 73 67 20 67 |" with m|enumsg g|
|00001970| 65 74 20 77 69 6e 64 6f | 77 53 63 72 69 70 74 28 |et windo|wScript(|
|00001980| 22 6c 61 62 20 74 69 6d | 65 72 22 29 0d 73 65 74 |"lab tim|er").set|
|00001990| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|000019a0| 49 74 65 6d 20 34 20 6f | 66 20 6d 65 6e 75 20 22 |Item 4 o|f menu "|
|000019b0| 55 74 69 6c 22 20 74 6f | 20 22 46 22 0d 73 65 74 |Util" to| "F".set|
|000019c0| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|000019d0| 49 74 65 6d 20 35 20 6f | 66 20 6d 65 6e 75 20 22 |Item 5 o|f menu "|
|000019e0| 55 74 69 6c 22 20 74 6f | 20 22 52 22 0d 73 65 74 |Util" to| "R".set|
|000019f0| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|00001a00| 49 74 65 6d 20 36 20 6f | 66 20 6d 65 6e 75 20 22 |Item 6 o|f menu "|
|00001a10| 55 74 69 6c 22 20 74 6f | 20 22 53 22 0d 65 6e 64 |Util" to| "S".end|
|00001a20| 20 73 70 65 63 69 61 6c | 4d 65 6e 75 0d 0d 6f 6e | special|Menu..on|
|00001a30| 20 73 68 6f 77 43 61 6c | 65 6e 64 61 72 0d 69 66 | showCal|endar.if|
|00001a40| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00001a50| 6f 77 20 22 43 61 6c 65 | 6e 64 6f 69 64 22 20 74 |ow "Cale|ndoid" t|
|00001a60| 68 65 6e 20 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen clos|e window|
|00001a70| 20 22 43 61 6c 65 6e 64 | 6f 69 64 22 0d 63 61 6c | "Calend|oid".cal|
|00001a80| 65 6e 64 6f 69 64 0d 73 | 65 74 20 6c 6f 63 20 6f |endoid.s|et loc o|
|00001a90| 66 20 77 69 6e 64 6f 77 | 20 22 43 61 6c 65 6e 64 |f window| "Calend|
|00001aa0| 6f 69 64 22 20 74 6f 20 | 22 37 2c 33 35 22 0d 65 |oid" to |"7,35".e|
|00001ab0| 6e 64 20 73 68 6f 77 43 | 61 6c 65 6e 64 61 72 0d |nd showC|alendar.|
|00001ac0| 0d 6f 6e 20 63 72 65 61 | 74 65 4d 65 6e 75 20 74 |.on crea|teMenu t|
|00001ad0| 68 65 46 6f 72 6d 61 74 | 0d 70 75 74 20 74 68 65 |heFormat|.put the|
|00001ae0| 20 73 74 61 63 6b 73 20 | 69 6e 74 6f 20 74 68 65 | stacks |into the|
|00001af0| 53 74 61 63 6b 73 0d 69 | 66 20 74 68 65 72 65 20 |Stacks.i|f there |
|00001b00| 69 73 20 61 20 6d 65 6e | 75 20 22 57 44 73 22 20 |is a men|u "WDs" |
|00001b10| 74 68 65 6e 0d 64 65 6c | 65 74 65 20 6d 65 6e 75 |then.del|ete menu|
|00001b20| 20 22 57 44 73 22 0d 63 | 72 65 61 74 65 20 6d 65 | "WDs".c|reate me|
|00001b30| 6e 75 20 22 57 44 73 22 | 0d 67 65 74 20 43 72 65 |nu "WDs"|.get Cre|
|00001b40| 61 74 65 4e 65 77 4d 65 | 6e 75 49 49 28 74 68 65 |ateNewMe|nuII(the|
|00001b50| 53 74 61 63 6b 73 29 0d | 70 75 74 20 28 69 74 65 |Stacks).|put (ite|
|00001b60| 6d 20 31 20 6f 66 20 69 | 74 29 20 61 66 74 65 72 |m 1 of i|t) after|
|00001b70| 20 6d 65 6e 75 20 22 57 | 44 73 22 20 77 69 74 68 | menu "W|Ds" with|
|00001b80| 20 6d 65 6e 75 6d 73 67 | 20 28 49 74 65 6d 20 32 | menumsg| (Item 2|
|00001b90| 20 6f 66 20 69 74 29 0d | 65 78 69 74 20 63 72 65 | of it).|exit cre|
|00001ba0| 61 74 65 4d 65 6e 75 0d | 65 6e 64 20 69 66 0d 70 |ateMenu.|end if.p|
|00001bb0| 72 6f 6d 70 74 6f 69 64 | 20 22 55 70 64 61 74 69 |romptoid| "Updati|
|00001bc0| 6e 67 20 4d 65 6e 75 73 | 2e 2e 2e 22 0d 69 66 20 |ng Menus|...".if |
|00001bd0| 74 68 65 46 6f 72 6d 61 | 74 20 69 73 20 22 73 6d |theForma|t is "sm|
|00001be0| 61 6c 6c 22 20 74 68 65 | 6e 20 63 72 65 61 74 65 |all" the|n create|
|00001bf0| 20 6d 65 6e 75 20 22 4d | 44 73 22 0d 69 66 20 74 | menu "M|Ds".if t|
|00001c00| 68 65 46 6f 72 6d 61 74 | 20 69 73 20 65 6d 70 74 |heFormat| is empt|
|00001c10| 79 20 74 68 65 6e 20 70 | 75 74 20 22 62 69 67 22 |y then p|ut "big"|
|00001c20| 20 69 6e 74 6f 20 74 68 | 65 46 6f 72 6d 61 74 0d | into th|eFormat.|
|00001c30| 70 75 74 20 67 65 74 44 | 69 72 28 64 65 66 61 75 |put getD|ir(defau|
|00001c40| 6c 74 46 6f 6c 64 65 72 | 50 61 74 68 28 29 2c 22 |ltFolder|Path(),"|
|00001c50| 44 22 29 20 69 6e 74 6f | 20 4d 65 6e 75 54 69 74 |D") into| MenuTit|
|00001c60| 6c 65 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |les.repe|at with |
|00001c70| 78 3d 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |x=1 to t|he numbe|
|00001c80| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 4d 65 |r of lin|es in Me|
|00001c90| 6e 75 54 69 74 6c 65 73 | 0d 50 75 74 20 46 69 6c |nuTitles|.Put Fil|
|00001ca0| 65 73 28 64 65 66 61 75 | 6c 74 46 6f 6c 64 65 72 |es(defau|ltFolder|
|00001cb0| 50 61 74 68 28 29 26 22 | 3a 22 26 6c 69 6e 65 20 |Path()&"|:"&line |
|00001cc0| 78 20 6f 66 20 4d 65 6e | 75 54 69 74 6c 65 73 2c |x of Men|uTitles,|
|00001cd0| 22 53 54 41 4b 22 29 20 | 69 6e 74 6f 20 74 68 65 |"STAK") |into the|
|00001ce0| 4d 65 6e 75 49 74 65 6d | 73 0d 69 66 20 74 68 65 |MenuItem|s.if the|
|00001cf0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00001d00| 20 69 6e 20 74 68 65 4d | 65 6e 75 49 74 65 6d 73 | in theM|enuItems|
|00001d10| 20 3e 20 30 20 74 68 65 | 6e 0d 72 65 70 65 61 74 | > 0 the|n.repeat|
|00001d20| 20 77 69 74 68 20 79 20 | 3d 20 31 20 74 6f 20 74 | with y |= 1 to t|
|00001d30| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001d40| 65 73 20 69 6e 20 74 68 | 65 4d 65 6e 75 49 74 65 |es in th|eMenuIte|
|00001d50| 6d 73 0d 70 75 74 20 64 | 65 66 61 75 6c 74 46 6f |ms.put d|efaultFo|
|00001d60| 6c 64 65 72 50 61 74 68 | 28 29 26 22 3a 22 26 20 |lderPath|()&":"& |
|00001d70| 6c 69 6e 65 20 78 20 6f | 66 20 4d 65 6e 75 54 69 |line x o|f MenuTi|
|00001d80| 74 6c 65 73 20 62 65 66 | 6f 72 65 20 6c 69 6e 65 |tles bef|ore line|
|00001d90| 20 79 20 6f 66 20 74 68 | 65 4d 65 6e 75 49 74 65 | y of th|eMenuIte|
|00001da0| 6d 73 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |ms.end r|epeat.if|
|00001db0| 20 74 68 65 46 6f 72 6d | 61 74 20 69 73 20 22 62 | theForm|at is "b|
|00001dc0| 69 67 22 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |ig" then|.delete |
|00001dd0| 74 68 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |the last| char of|
|00001de0| 20 6c 69 6e 65 20 78 20 | 6f 66 20 4d 65 6e 75 54 | line x |of MenuT|
|00001df0| 69 74 6c 65 73 0d 70 75 | 74 20 6c 69 6e 65 20 78 |itles.pu|t line x|
|00001e00| 20 6f 66 20 4d 65 6e 75 | 54 69 74 6c 65 73 20 69 | of Menu|Titles i|
|00001e10| 6e 74 6f 20 74 68 65 4d | 65 6e 75 0d 63 72 65 61 |nto theM|enu.crea|
|00001e20| 74 65 20 6d 65 6e 75 20 | 74 68 65 4d 65 6e 75 0d |te menu |theMenu.|
|00001e30| 67 65 74 20 43 72 65 61 | 74 65 4e 65 77 4d 65 6e |get Crea|teNewMen|
|00001e40| 75 49 49 28 74 68 65 4d | 65 6e 75 49 74 65 6d 73 |uII(theM|enuItems|
|00001e50| 29 0d 70 75 74 20 28 69 | 74 65 6d 20 31 20 6f 66 |).put (i|tem 1 of|
|00001e60| 20 69 74 29 20 61 66 74 | 65 72 20 6d 65 6e 75 20 | it) aft|er menu |
|00001e70| 74 68 65 4d 65 6e 75 20 | 77 69 74 68 20 6d 65 6e |theMenu |with men|
|00001e80| 75 6d 73 67 20 28 49 74 | 65 6d 20 32 20 6f 66 20 |umsg (It|em 2 of |
|00001e90| 69 74 29 0d 65 6c 73 65 | 20 69 66 20 74 68 65 46 |it).else| if theF|
|00001ea0| 6f 72 6d 61 74 20 69 73 | 20 22 73 6d 61 6c 6c 22 |ormat is| "small"|
|00001eb0| 20 74 68 65 6e 0d 67 65 | 74 20 43 72 65 61 74 65 | then.ge|t Create|
|00001ec0| 4e 65 77 4d 65 6e 75 49 | 49 28 74 68 65 4d 65 6e |NewMenuI|I(theMen|
|00001ed0| 75 49 74 65 6d 73 29 0d | 70 75 74 20 28 69 74 65 |uItems).|put (ite|
|00001ee0| 6d 20 31 20 6f 66 20 69 | 74 29 20 61 66 74 65 72 |m 1 of i|t) after|
|00001ef0| 20 6d 65 6e 75 20 22 4d | 44 73 22 20 77 69 74 68 | menu "M|Ds" with|
|00001f00| 20 6d 65 6e 75 6d 73 67 | 20 28 49 74 65 6d 20 32 | menumsg| (Item 2|
|00001f10| 20 6f 66 20 69 74 29 0d | 69 66 20 78 20 3d 20 74 | of it).|if x = t|
|00001f20| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001f30| 65 73 20 69 6e 20 4d 65 | 6e 75 54 69 74 6c 65 73 |es in Me|nuTitles|
|00001f40| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|00001f50| 74 0d 70 75 74 20 22 2d | 22 20 61 66 74 65 72 20 |t.put "-|" after |
|00001f60| 6d 65 6e 75 20 22 4d 44 | 73 22 0d 65 6e 64 20 69 |menu "MD|s".end i|
|00001f70| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |f.end if|.end rep|
|00001f80| 65 61 74 0d 63 72 65 61 | 74 65 20 6d 65 6e 75 20 |eat.crea|te menu |
|00001f90| 22 57 44 73 22 0d 67 65 | 74 20 43 72 65 61 74 65 |"WDs".ge|t Create|
|00001fa0| 4e 65 77 4d 65 6e 75 49 | 49 28 74 68 65 53 74 61 |NewMenuI|I(theSta|
|00001fb0| 63 6b 73 29 0d 70 75 74 | 20 28 69 74 65 6d 20 31 |cks).put| (item 1|
|00001fc0| 20 6f 66 20 69 74 29 20 | 61 66 74 65 72 20 6d 65 | of it) |after me|
|00001fd0| 6e 75 20 22 57 44 73 22 | 20 77 69 74 68 20 6d 65 |nu "WDs"| with me|
|00001fe0| 6e 75 6d 73 67 20 28 49 | 74 65 6d 20 32 20 6f 66 |numsg (I|tem 2 of|
|00001ff0| 20 69 74 29 0d 73 65 74 | 48 65 6c 70 65 72 4d 65 | it).set|HelperMe|
|00002000| 6e 75 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |nu.close| window |
|00002010| 70 72 6f 6d 70 74 6f 69 | 64 0d 65 6e 64 20 63 72 |promptoi|d.end cr|
|00002020| 65 61 74 65 4d 65 6e 75 | 0d 0d 6f 6e 20 67 6f 4c |eateMenu|..on goL|
|00002030| 61 73 74 56 69 73 69 74 | 20 77 68 69 63 68 0d 67 |astVisit| which.g|
|00002040| 6f 20 73 74 61 63 6b 20 | 77 68 69 63 68 20 69 6e |o stack |which in|
|00002050| 20 6e 65 77 20 77 69 6e | 64 6f 77 0d 6c 6f 63 6b | new win|dow.lock|
|00002060| 20 73 63 72 65 65 6e 0d | 6f 70 65 6e 42 61 63 6b | screen.|openBack|
|00002070| 67 72 6f 75 6e 64 0d 75 | 6e 6c 6f 63 6b 20 73 63 |ground.u|nlock sc|
|00002080| 72 65 65 6e 0d 65 6e 64 | 20 67 6f 4c 61 73 74 56 |reen.end| goLastV|
|00002090| 69 73 69 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 73 |isit..fu|nction s|
|000020a0| 74 61 63 6b 50 61 74 68 | 73 20 73 74 61 63 6b 4e |tackPath|s stackN|
|000020b0| 61 6d 65 0d 67 65 74 20 | 74 68 65 20 76 61 6c 75 |ame.get |the valu|
|000020c0| 65 20 6f 66 20 77 6f 72 | 64 20 32 20 6f 66 20 73 |e of wor|d 2 of s|
|000020d0| 74 61 63 6b 4e 61 6d 65 | 0d 72 65 70 65 61 74 20 |tackName|.repeat |
|000020e0| 66 6f 72 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |for the |number o|
|000020f0| 66 20 63 68 61 72 73 20 | 69 6e 20 69 74 0d 69 66 |f chars |in it.if|
|00002100| 20 74 68 65 20 6c 61 73 | 74 20 63 68 61 72 20 6f | the las|t char o|
|00002110| 66 20 69 74 20 69 73 20 | 22 3a 22 20 74 68 65 6e |f it is |":" then|
|00002120| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 64 65 6c | exit re|peat.del|
|00002130| 65 74 65 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |ete the |last cha|
|00002140| 72 20 6f 66 20 69 74 0d | 65 6e 64 20 72 65 70 65 |r of it.|end repe|
|00002150| 61 74 0d 72 65 74 75 72 | 6e 20 69 74 0d 65 6e 64 |at.retur|n it.end|
|00002160| 20 73 74 61 63 6b 50 61 | 74 68 73 0d 0d 66 75 6e | stackPa|ths..fun|
|00002170| 63 74 69 6f 6e 20 64 65 | 66 61 75 6c 74 46 6f 6c |ction de|faultFol|
|00002180| 64 65 72 50 61 74 68 0d | 67 65 74 20 74 68 65 20 |derPath.|get the |
|00002190| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 48 79 70 |long nam|e of Hyp|
|000021a0| 65 72 43 61 72 64 0d 72 | 65 70 65 61 74 20 66 6f |erCard.r|epeat fo|
|000021b0| 72 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |r the nu|mber of |
|000021c0| 63 68 61 72 73 20 69 6e | 20 69 74 0d 69 66 20 74 |chars in| it.if t|
|000021d0| 68 65 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |he last |char of |
|000021e0| 69 74 20 69 73 20 22 3a | 22 20 74 68 65 6e 20 65 |it is ":|" then e|
|000021f0| 78 69 74 20 72 65 70 65 | 61 74 0d 64 65 6c 65 74 |xit repe|at.delet|
|00002200| 65 20 74 68 65 20 6c 61 | 73 74 20 63 68 61 72 20 |e the la|st char |
|00002210| 6f 66 20 69 74 0d 65 6e | 64 20 72 65 70 65 61 74 |of it.en|d repeat|
|00002220| 0d 72 65 74 75 72 6e 20 | 66 6f 6c 64 65 72 50 61 |.return |folderPa|
|00002230| 74 68 28 69 74 29 0d 65 | 6e 64 20 64 65 66 61 75 |th(it).e|nd defau|
|00002240| 6c 74 46 6f 6c 64 65 72 | 50 61 74 68 0d 0d 66 75 |ltFolder|Path..fu|
|00002250| 6e 63 74 69 6f 6e 20 46 | 6f 6c 64 65 72 50 61 74 |nction F|olderPat|
|00002260| 68 20 6e 61 6d 65 0d 72 | 65 70 65 61 74 20 77 69 |h name.r|epeat wi|
|00002270| 74 68 20 69 20 3d 20 74 | 68 65 20 6c 65 6e 67 74 |th i = t|he lengt|
|00002280| 68 20 6f 66 20 6e 61 6d | 65 20 64 6f 77 6e 20 74 |h of nam|e down t|
|00002290| 6f 20 31 0d 69 66 20 63 | 68 61 72 20 69 20 6f 66 |o 1.if c|har i of|
|000022a0| 20 6e 61 6d 65 20 69 73 | 20 22 3a 22 20 74 68 65 | name is| ":" the|
|000022b0| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n exit r|epeat.en|
|000022c0| 64 20 72 65 70 65 61 74 | 0d 73 75 62 74 72 61 63 |d repeat|.subtrac|
|000022d0| 74 20 31 20 66 72 6f 6d | 20 69 0d 70 75 74 20 65 |t 1 from| i.put e|
|000022e0| 6d 70 74 79 20 69 6e 74 | 6f 20 74 68 65 50 61 74 |mpty int|o thePat|
|000022f0| 68 0d 69 66 20 69 20 3e | 20 30 20 74 68 65 6e 20 |h.if i >| 0 then |
|00002300| 70 75 74 20 63 68 61 72 | 20 31 20 74 6f 20 69 20 |put char| 1 to i |
|00002310| 6f 66 20 6e 61 6d 65 20 | 69 6e 74 6f 20 74 68 65 |of name |into the|
|00002320| 50 61 74 68 0d 72 65 74 | 75 72 6e 20 74 68 65 50 |Path.ret|urn theP|
|00002330| 61 74 68 0d 65 6e 64 20 | 46 6f 6c 64 65 72 50 61 |ath.end |FolderPa|
|00002340| 74 68 0d 0d 6f 6e 20 63 | 68 65 63 6b 46 6f 72 4d |th..on c|heckForM|
|00002350| 69 73 73 69 6e 67 46 6f | 6e 74 73 0d 67 65 74 20 |issingFo|nts.get |
|00002360| 63 68 65 63 6b 46 6f 6e | 74 28 22 4c 61 62 48 65 |checkFon|t("LabHe|
|00002370| 6c 70 65 72 22 2c 22 39 | 22 29 0d 69 66 20 69 74 |lper","9|").if it|
|00002380| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00002390| 78 69 74 20 63 68 65 63 | 6b 46 6f 72 4d 69 73 73 |xit chec|kForMiss|
|000023a0| 69 6e 67 46 6f 6e 74 73 | 0d 65 6c 73 65 20 70 75 |ingFonts|.else pu|
|000023b0| 74 20 69 74 20 69 6e 74 | 6f 20 6d 69 73 73 69 6e |t it int|o missin|
|000023c0| 67 46 6f 6e 74 73 0d 62 | 65 65 70 0d 61 6e 73 77 |gFonts.b|eep.answ|
|000023d0| 65 72 20 22 54 68 69 73 | 20 66 6f 6e 74 20 69 73 |er "This| font is|
|000023e0| 20 6d 69 73 73 69 6e 67 | 20 66 72 6f 6d 20 79 6f | missing| from yo|
|000023f0| 75 72 20 73 79 73 74 65 | 6d 3a 22 20 26 20 c2 0d |ur syste|m:" & ..|
|00002400| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00002410| 26 20 6d 69 73 73 69 6e | 67 46 6f 6e 74 73 20 26 |& missin|gFonts &|
|00002420| 20 72 65 74 75 72 6e 20 | 26 20 c2 0d 22 46 6f 72 | return |& .."For|
|00002430| 20 74 65 78 74 20 74 6f | 20 64 69 73 70 6c 61 79 | text to| display|
|00002440| 20 63 6f 72 72 65 63 74 | 6c 79 20 69 6e 20 74 68 | correct|ly in th|
|00002450| 69 73 20 73 74 61 63 6b | 2c 20 6d 61 6b 65 20 73 |is stack|, make s|
|00002460| 75 72 65 20 79 6f 75 20 | 68 61 76 65 22 20 c2 0d |ure you |have" ..|
|00002470| 26 26 20 22 69 6e 73 74 | 61 6c 6c 65 64 20 74 68 |&& "inst|alled th|
|00002480| 65 20 4c 61 62 48 65 6c | 70 65 72 20 39 20 66 6f |e LabHel|per 9 fo|
|00002490| 6e 74 2e 22 0d 65 6e 64 | 20 63 68 65 63 6b 46 6f |nt.".end| checkFo|
|000024a0| 72 4d 69 73 73 69 6e 67 | 46 6f 6e 74 73 0d 0d 6f |rMissing|Fonts..o|
|000024b0| 6e 20 61 62 6f 75 74 20 | 77 68 61 74 0d 67 6c 6f |n about |what.glo|
|000024c0| 62 61 6c 20 63 75 72 72 | 65 6e 74 42 6b 67 0d 69 |bal curr|entBkg.i|
|000024d0| 66 20 63 75 72 72 65 6e | 74 42 6b 67 20 ad 20 65 |f curren|tBkg . e|
|000024e0| 6d 70 74 79 20 74 68 65 | 6e 0d 67 65 74 20 77 69 |mpty the|n.get wi|
|000024f0| 6e 64 6f 77 53 63 72 69 | 70 74 28 22 52 54 46 20 |ndowScri|pt("RTF |
|00002500| 54 65 78 74 22 2c 22 41 | 62 6f 75 74 22 26 26 63 |Text","A|bout"&&c|
|00002510| 75 72 72 65 6e 74 42 6b | 67 2c 22 41 62 6f 75 74 |urrentBk|g,"About|
|00002520| 2e 2e 2e 22 2c 22 41 62 | 6f 75 74 2e 2e 2e 22 29 |...","Ab|out...")|
|00002530| 0d 65 6c 73 65 0d 61 6e | 73 77 65 72 20 22 48 75 |.else.an|swer "Hu|
|00002540| 68 3f 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 61 |h?".end |if.end a|
|00002550| 62 6f 75 74 0d 0d 6f 6e | 20 63 6c 6f 73 65 53 74 |bout..on| closeSt|
|00002560| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 61 70 70 6c 4e |ack.glob|al applN|
|00002570| 61 6d 65 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ame.lock| screen.|
|00002580| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00002590| 6e 75 20 22 55 74 69 6c | 22 20 74 68 65 6e 20 64 |nu "Util|" then d|
|000025a0| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 55 74 69 6c |elete me|nu "Util|
|000025b0| 22 0d 63 48 43 63 6c 6f | 73 65 0d 69 66 20 66 72 |".cHCclo|se.if fr|
|000025c0| 65 65 53 69 7a 65 20 6f | 66 20 74 68 69 73 20 73 |eeSize o|f this s|
|000025d0| 74 61 63 6b 3e 31 30 30 | 2a 31 30 32 34 20 74 68 |tack>100|*1024 th|
|000025e0| 65 6e 0d 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |en.if th|e short |
|000025f0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00002600| 63 6b 20 ad 20 61 70 70 | 6c 4e 61 6d 65 20 74 68 |ck . app|lName th|
|00002610| 65 6e 0d 70 72 6f 6d 70 | 74 6f 69 64 20 22 43 6f |en.promp|toid "Co|
|00002620| 6d 70 61 63 74 69 6e 67 | 20 53 74 61 63 6b 2e 2e |mpacting| Stack..|
|00002630| 2e 22 0d 64 6f 4d 65 6e | 75 20 22 43 6f 6d 70 61 |.".doMen|u "Compa|
|00002640| 63 74 20 53 74 61 63 6b | 22 0d 63 6c 6f 73 65 20 |ct Stack|".close |
|00002650| 77 69 6e 64 6f 77 20 70 | 72 6f 6d 70 74 6f 69 64 |window p|romptoid|
|00002660| 0d 65 6c 73 65 0d 73 74 | 6f 70 20 75 73 69 6e 67 |.else.st|op using|
|00002670| 20 74 68 69 73 20 73 74 | 61 63 6b 0d 64 6f 4d 65 | this st|ack.doMe|
|00002680| 6e 75 20 22 43 6f 6d 70 | 61 63 74 20 53 74 61 63 |nu "Comp|act Stac|
|00002690| 6b 22 0d 73 74 61 72 74 | 20 75 73 69 6e 67 20 74 |k".start| using t|
|000026a0| 68 69 73 20 73 74 61 63 | 6b 0d 65 6e 64 20 69 66 |his stac|k.end if|
|000026b0| 0d 65 6e 64 20 69 66 0d | 70 61 73 73 20 63 6c 6f |.end if.|pass clo|
|000026c0| 73 65 53 74 61 63 6b 0d | 65 6e 64 20 63 6c 6f 73 |seStack.|end clos|
|000026d0| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 64 6f 4d 65 6e |eStack..|on doMen|
|000026e0| 75 20 77 68 69 63 68 0d | 67 6c 6f 62 61 6c 20 76 |u which.|global v|
|000026f0| 61 72 48 6f 6c 64 65 72 | 0d 69 66 20 77 68 69 63 |arHolder|.if whic|
|00002700| 68 20 69 73 20 22 51 75 | 69 74 20 4c 61 62 48 65 |h is "Qu|it LabHe|
|00002710| 6c 70 65 72 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |lper" th|en.answe|
|00002720| 72 20 22 41 72 65 20 79 | 6f 75 20 73 75 72 65 20 |r "Are y|ou sure |
|00002730| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 71 75 69 74 |you want| to quit|
|00002740| 20 4c 61 62 48 65 6c 70 | 65 72 3f 22 20 77 69 74 | LabHelp|er?" wit|
|00002750| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 51 |h "Cance|l" or "Q|
|00002760| 75 69 74 22 0d 69 66 20 | 69 74 20 69 73 20 22 43 |uit".if |it is "C|
|00002770| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00002780| 20 64 6f 4d 65 6e 75 0d | 73 65 6e 64 20 22 64 6f | doMenu.|send "do|
|00002790| 4d 65 6e 75 20 51 75 69 | 74 20 48 79 70 65 72 43 |Menu Qui|t HyperC|
|000027a0| 61 72 64 22 20 74 6f 20 | 48 79 70 65 72 43 61 72 |ard" to |HyperCar|
|000027b0| 64 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 20 |d.else i|f which |
|000027c0| 69 73 20 22 4e 65 77 20 | 43 61 72 64 22 20 74 68 |is "New |Card" th|
|000027d0| 65 6e 0d 69 66 20 6c 69 | 63 65 6e 73 65 43 68 65 |en.if li|censeChe|
|000027e0| 63 6b 28 76 61 72 48 6f | 6c 64 65 72 29 20 69 73 |ck(varHo|lder) is|
|000027f0| 20 22 46 61 69 6c 22 20 | 74 68 65 6e 0d 69 66 20 | "Fail" |then.if |
|00002800| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|00002810| 73 20 b3 20 31 30 20 74 | 68 65 6e 0d 66 6c 61 73 |s . 10 t|hen.flas|
|00002820| 68 0d 61 6e 73 77 65 72 | 20 22 54 68 69 73 20 69 |h.answer| "This i|
|00002830| 73 20 61 6e 20 75 6e 72 | 65 67 69 73 74 65 72 65 |s an unr|egistere|
|00002840| 64 20 63 6f 70 79 20 6f | 66 20 4c 61 62 48 65 6c |d copy o|f LabHel|
|00002850| 70 65 72 21 22 26 72 65 | 74 75 72 6e 26 c2 0d 22 |per!"&re|turn&.."|
|00002860| 54 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 65 6e |The numb|er of en|
|00002870| 74 72 69 65 73 20 69 73 | 20 6c 69 6d 69 74 65 64 |tries is| limited|
|00002880| 20 74 6f 20 31 30 2e 22 | 26 72 65 74 75 72 6e 26 | to 10."|&return&|
|00002890| c2 0d 22 50 6c 65 61 73 | 65 20 72 65 67 69 73 74 |.."Pleas|e regist|
|000028a0| 65 72 20 74 6f 20 72 65 | 6d 6f 76 65 20 74 68 69 |er to re|move thi|
|000028b0| 73 20 6c 69 6d 69 74 2e | 22 0d 65 78 69 74 20 74 |s limit.|".exit t|
|000028c0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|000028d0| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |if.end i|f.end if|
|000028e0| 0d 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6e 64 |.pass do|Menu.end|
|000028f0| 20 64 6f 4d 65 6e 75 0d | 0d 6f 6e 20 73 65 74 43 | doMenu.|.on setC|
|00002900| 6f 6c 6f 72 50 72 65 66 | 0d 67 6c 6f 62 61 6c 20 |olorPref|.global |
|00002910| 63 6f 6c 6f 72 50 72 65 | 66 0d 61 6e 73 77 65 72 |colorPre|f.answer|
|00002920| 20 22 57 68 69 63 68 20 | 65 6e 76 69 72 6f 6e 6d | "Which |environm|
|00002930| 65 6e 74 20 64 6f 20 79 | 6f 75 20 70 72 65 66 65 |ent do y|ou prefe|
|00002940| 72 3f 22 20 77 69 74 68 | 20 22 42 26 57 22 20 6f |r?" with| "B&W" o|
|00002950| 72 20 22 43 6f 6c 6f 72 | 22 0d 69 66 20 69 74 20 |r "Color|".if it |
|00002960| 69 73 20 22 42 26 57 22 | 20 74 68 65 6e 20 70 75 |is "B&W"| then pu|
|00002970| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 63 6f 6c |t false |into col|
|00002980| 6f 72 50 72 65 66 20 65 | 6c 73 65 20 70 75 74 20 |orPref e|lse put |
|00002990| 74 72 75 65 20 69 6e 74 | 6f 20 63 6f 6c 6f 72 50 |true int|o colorP|
|000029a0| 72 65 66 0d 63 48 43 72 | 65 73 74 61 72 74 20 63 |ref.cHCr|estart c|
|000029b0| 6f 6c 6f 72 50 72 65 66 | 2c 20 22 48 43 63 6f 6c |olorPref|, "HCcol|
|000029c0| 6f 72 69 7a 65 22 0d 65 | 6e 64 20 73 65 74 43 6f |orize".e|nd setCo|
|000029d0| 6c 6f 72 50 72 65 66 0d | 0d 6f 6e 20 73 65 74 4d |lorPref.|.on setM|
|000029e0| 65 6e 75 50 72 65 66 0d | 67 6c 6f 62 61 6c 20 6d |enuPref.|global m|
|000029f0| 65 6e 75 50 72 65 66 0d | 61 6e 73 77 65 72 20 22 |enuPref.|answer "|
|00002a00| 57 68 69 63 68 20 6d 65 | 6e 75 20 66 6f 72 6d 61 |Which me|nu forma|
|00002a10| 74 20 64 6f 20 79 6f 75 | 20 70 72 65 66 65 72 3f |t do you| prefer?|
|00002a20| 22 26 72 65 74 75 72 6e | 26 c2 0d 22 d2 53 69 6e |"&return|&..".Sin|
|00002a30| 67 6c 65 20 4d 44 73 d3 | 20 66 6f 72 20 63 6f 6d |gle MDs.| for com|
|00002a40| 70 75 74 65 72 20 77 69 | 74 68 20 73 6d 61 6c 6c |puter wi|th small|
|00002a50| 20 73 63 72 65 65 6e 2e | 22 20 77 69 74 68 20 22 | screen.|" with "|
|00002a60| 43 61 6e 63 65 6c 22 20 | 6f 72 20 22 53 69 6e 67 |Cancel" |or "Sing|
|00002a70| 6c 65 20 4d 44 73 22 20 | 6f 72 20 22 53 65 70 61 |le MDs" |or "Sepa|
|00002a80| 72 61 74 65 22 0d 69 66 | 20 69 74 20 69 73 20 22 |rate".if| it is "|
|00002a90| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 65 78 69 |Cancel" |then.exi|
|00002aa0| 74 20 73 65 74 4d 65 6e | 75 50 72 65 66 0d 65 6c |t setMen|uPref.el|
|00002ab0| 73 65 20 69 66 20 69 74 | 20 69 73 20 22 53 69 6e |se if it| is "Sin|
|00002ac0| 67 6c 65 20 4d 44 73 22 | 20 74 68 65 6e 0d 70 75 |gle MDs"| then.pu|
|00002ad0| 74 20 22 73 6d 61 6c 6c | 22 20 69 6e 74 6f 20 6d |t "small|" into m|
|00002ae0| 65 6e 75 50 72 65 66 0d | 72 65 73 65 74 20 6d 65 |enuPref.|reset me|
|00002af0| 6e 75 62 61 72 0d 6c 6f | 63 6b 20 73 63 72 65 65 |nubar.lo|ck scree|
|00002b00| 6e 0d 63 72 65 61 74 65 | 4d 65 6e 75 28 22 73 6d |n.create|Menu("sm|
|00002b10| 61 6c 6c 22 29 0d 6f 70 | 65 6e 42 61 63 6b 67 72 |all").op|enBackgr|
|00002b20| 6f 75 6e 64 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |ound.unl|ock scre|
|00002b30| 65 6e 0d 65 6c 73 65 20 | 69 66 20 69 74 20 69 73 |en.else |if it is|
|00002b40| 20 22 53 65 70 61 72 61 | 74 65 22 20 74 68 65 6e | "Separa|te" then|
|00002b50| 0d 70 75 74 20 22 62 69 | 67 22 20 69 6e 74 6f 20 |.put "bi|g" into |
|00002b60| 6d 65 6e 75 50 72 65 66 | 0d 72 65 73 65 74 20 6d |menuPref|.reset m|
|00002b70| 65 6e 75 62 61 72 0d 6c | 6f 63 6b 20 73 63 72 65 |enubar.l|ock scre|
|00002b80| 65 6e 0d 63 72 65 61 74 | 65 4d 65 6e 75 28 22 62 |en.creat|eMenu("b|
|00002b90| 69 67 22 29 0d 6f 70 65 | 6e 42 61 63 6b 67 72 6f |ig").ope|nBackgro|
|00002ba0| 75 6e 64 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |und.unlo|ck scree|
|00002bb0| 6e 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 73 65 74 |n.end if|.end set|
|00002bc0| 4d 65 6e 75 50 72 65 66 | 0d 0d 6f 6e 20 72 65 73 |MenuPref|..on res|
|00002bd0| 75 6d 65 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |umeStack|.global |
|00002be0| 63 6f 6c 6f 72 50 72 65 | 66 2c 6d 65 6e 75 50 72 |colorPre|f,menuPr|
|00002bf0| 65 66 0d 63 48 43 72 65 | 73 74 61 72 74 20 63 6f |ef.cHCre|start co|
|00002c00| 6c 6f 72 50 72 65 66 2c | 20 22 48 43 63 6f 6c 6f |lorPref,| "HCcolo|
|00002c10| 72 69 7a 65 22 0d 63 72 | 65 61 74 65 4d 65 6e 75 |rize".cr|eateMenu|
|00002c20| 28 6d 65 6e 75 50 72 65 | 66 29 0d 6f 70 65 6e 42 |(menuPre|f).openB|
|00002c30| 61 63 6b 67 72 6f 75 6e | 64 0d 70 61 73 73 20 72 |ackgroun|d.pass r|
|00002c40| 65 73 75 6d 65 53 74 61 | 63 6b 0d 65 6e 64 20 72 |esumeSta|ck.end r|
|00002c50| 65 73 75 6d 65 53 74 61 | 63 6b 0d 0d 6f 6e 20 73 |esumeSta|ck..on s|
|00002c60| 75 73 70 65 6e 64 53 74 | 61 63 6b 0d 63 48 43 6c |uspendSt|ack.cHCl|
|00002c70| 65 61 76 65 0d 63 6c 6f | 73 65 42 61 63 6b 67 72 |eave.clo|seBackgr|
|00002c80| 6f 75 6e 64 0d 70 61 73 | 73 20 73 75 73 70 65 6e |ound.pas|s suspen|
|00002c90| 64 53 74 61 63 6b 0d 65 | 6e 64 20 73 75 73 70 65 |dStack.e|nd suspe|
|00002ca0| 6e 64 53 74 61 63 6b 0d | 0d 6f 6e 20 69 64 6c 65 |ndStack.|.on idle|
|00002cb0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00002cc0| 69 6e 64 6f 77 20 22 4c | 61 62 20 54 69 6d 65 72 |indow "L|ab Timer|
|00002cd0| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 6c |" then.p|ut the l|
|00002ce0| 6f 6e 67 20 74 69 6d 65 | 20 69 6e 74 6f 20 74 6d |ong time| into tm|
|00002cf0| 70 0d 64 65 6c 65 74 65 | 20 74 68 65 20 6c 61 73 |p.delete| the las|
|00002d00| 74 20 63 68 61 72 20 6f | 66 20 74 6d 70 0d 64 65 |t char o|f tmp.de|
|00002d10| 6c 65 74 65 20 74 68 65 | 20 6c 61 73 74 20 63 68 |lete the| last ch|
|00002d20| 61 72 20 6f 66 20 74 6d | 70 0d 69 66 20 69 31 5f |ar of tm|p.if i1_|
|00002d30| 74 65 78 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |text of |window "|
|00002d40| 6c 61 62 20 74 69 6d 65 | 72 22 20 ad 20 74 6d 70 |lab time|r" . tmp|
|00002d50| 20 74 68 65 6e 0d 73 65 | 74 20 69 31 5f 74 65 78 | then.se|t i1_tex|
|00002d60| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 22 6c 61 62 |t of win|dow "lab|
|00002d70| 20 74 69 6d 65 72 22 20 | 74 6f 20 74 6d 70 0d 65 | timer" |to tmp.e|
|00002d80| 6e 64 20 69 66 0d 69 66 | 20 69 31 38 5f 74 65 78 |nd if.if| i18_tex|
|00002d90| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 22 6c 61 62 |t of win|dow "lab|
|00002da0| 20 74 69 6d 65 72 22 20 | ad 20 74 68 65 20 64 61 | timer" |. the da|
|00002db0| 74 65 20 74 68 65 6e 0d | 73 65 74 20 69 31 38 5f |te then.|set i18_|
|00002dc0| 74 65 78 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |text of |window "|
|00002dd0| 6c 61 62 20 74 69 6d 65 | 72 22 20 74 6f 20 74 68 |lab time|r" to th|
|00002de0| 65 20 64 61 74 65 0d 65 | 6e 64 20 69 66 0d 65 6e |e date.e|nd if.en|
|00002df0| 64 20 69 66 0d 69 66 20 | 74 68 65 72 65 20 69 73 |d if.if |there is|
|00002e00| 20 61 20 77 69 6e 64 6f | 77 20 22 70 72 6f 6d 70 | a windo|w "promp|
|00002e10| 74 6f 69 64 22 20 74 68 | 65 6e 20 63 6c 6f 73 65 |toid" th|en close|
|00002e20| 20 77 69 6e 64 6f 77 20 | 22 70 72 6f 6d 70 74 6f | window |"prompto|
|00002e30| 69 64 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |id".if t|here is |
|00002e40| 61 20 77 69 6e 64 6f 77 | 20 22 70 72 6f 67 72 65 |a window| "progre|
|00002e50| 73 73 22 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |ss" then| close w|
|00002e60| 69 6e 64 6f 77 20 22 70 | 72 6f 67 72 65 73 73 22 |indow "p|rogress"|
|00002e70| 0d 70 61 73 73 20 69 64 | 6c 65 0d 65 6e 64 20 69 |.pass id|le.end i|
|00002e80| 64 6c 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 6c 69 |dle..fun|ction li|
|00002e90| 63 65 6e 73 65 43 68 65 | 63 6b 20 72 65 67 69 73 |censeChe|ck regis|
|00002ea0| 74 65 72 46 6c 61 67 0d | 69 66 20 72 65 67 69 73 |terFlag.|if regis|
|00002eb0| 74 65 72 46 6c 61 67 20 | 69 73 20 22 72 65 67 69 |terFlag |is "regi|
|00002ec0| 73 74 65 72 65 64 20 63 | 6f 70 79 22 20 74 68 65 |stered c|opy" the|
|00002ed0| 6e 20 72 65 74 75 72 6e | 20 22 50 61 73 73 22 20 |n return| "Pass" |
|00002ee0| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 22 46 61 69 |else ret|urn "Fai|
|00002ef0| 6c 22 0d 65 6e 64 20 6c | 69 63 65 6e 73 65 43 68 |l".end l|icenseCh|
|00002f00| 65 63 6b 0d 0d 6f 6e 20 | 72 65 67 69 73 74 65 72 |eck..on |register|
|00002f10| 0d 67 6c 6f 62 61 6c 20 | 76 61 72 48 6f 6c 64 65 |.global |varHolde|
|00002f20| 72 0d 70 75 74 20 70 72 | 6f 6d 70 74 28 22 50 6c |r.put pr|ompt("Pl|
|00002f30| 65 61 73 65 20 74 79 70 | 65 20 69 6e 20 74 68 65 |ease typ|e in the|
|00002f40| 20 72 65 67 69 73 74 72 | 61 74 69 6f 6e 20 63 6f | registr|ation co|
|00002f50| 64 65 3a 22 2c 74 72 75 | 65 29 20 69 6e 74 6f 20 |de:",tru|e) into |
|00002f60| 72 65 67 43 6f 64 65 0d | 69 66 20 72 65 67 43 6f |regCode.|if regCo|
|00002f70| 64 65 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |de is "C|ancel" t|
|00002f80| 68 65 6e 20 65 78 69 74 | 20 72 65 67 69 73 74 65 |hen exit| registe|
|00002f90| 72 0d 69 66 20 72 65 67 | 43 6f 64 65 20 3d 20 22 |r.if reg|Code = "|
|00002fa0| 32 31 36 36 34 22 20 74 | 68 65 6e 0d 70 72 6f 6d |21664" t|hen.prom|
|00002fb0| 70 74 6f 69 64 20 22 44 | 65 63 6f 64 69 6e 67 2e |ptoid "D|ecoding.|
|00002fc0| 2e 2e 22 0d 70 75 74 20 | 22 72 65 67 69 73 74 65 |..".put |"registe|
|00002fd0| 72 65 64 20 63 6f 70 79 | 22 20 69 6e 74 6f 20 66 |red copy|" into f|
|00002fe0| 6c 64 20 22 56 61 72 48 | 6f 6c 64 65 72 22 0d 70 |ld "VarH|older".p|
|00002ff0| 75 74 20 22 72 65 67 69 | 73 74 65 72 65 64 20 63 |ut "regi|stered c|
|00003000| 6f 70 79 22 20 69 6e 74 | 6f 20 76 61 72 48 6f 6c |opy" int|o varHol|
|00003010| 64 65 72 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |der.clos|e window|
|00003020| 20 70 72 6f 6d 70 74 6f | 69 64 0d 61 6e 73 77 65 | prompto|id.answe|
|00003030| 72 20 22 52 65 67 69 73 | 74 72 61 74 69 6f 6e 20 |r "Regis|tration |
|00003040| 77 61 73 20 73 75 63 63 | 65 73 73 66 75 6c 21 22 |was succ|essful!"|
|00003050| 26 72 65 74 75 72 6e 26 | 22 54 68 61 6e 6b 20 79 |&return&|"Thank y|
|00003060| 6f 75 20 66 6f 72 20 73 | 75 70 70 6f 72 74 69 6e |ou for s|upportin|
|00003070| 67 20 4c 61 62 48 65 6c | 70 65 72 2e 22 0d 73 65 |g LabHel|per.".se|
|00003080| 74 20 75 73 65 72 6c 65 | 76 65 6c 20 74 6f 20 34 |t userle|vel to 4|
|00003090| 0d 65 6c 73 65 0d 61 6e | 73 77 65 72 20 22 49 6e |.else.an|swer "In|
|000030a0| 63 6f 72 72 65 63 74 20 | 63 6f 64 65 21 20 50 6c |correct |code! Pl|
|000030b0| 65 61 73 65 20 74 72 79 | 20 61 67 61 69 6e 2e 22 |ease try| again."|
|000030c0| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 20 6f | with "C|ancel" o|
|000030d0| 72 20 22 4f 4b 22 0d 69 | 66 20 69 74 20 69 73 20 |r "OK".i|f it is |
|000030e0| 22 4f 4b 22 20 74 68 65 | 6e 20 72 65 67 69 73 74 |"OK" the|n regist|
|000030f0| 65 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |er.end i|f.end re|
|00003100| 67 69 73 74 65 72 0d 0d | 6f 6e 20 6c 6f 63 6b 75 |gister..|on locku|
|00003110| 6e 6c 6f 63 6b 52 65 63 | 6f 72 64 73 0d 61 6e 73 |nlockRec|ords.ans|
|00003120| 77 65 72 20 22 4c 6f 63 | 6b 20 6f 72 20 75 6e 6c |wer "Loc|k or unl|
|00003130| 6f 63 6b 20 72 65 63 6f | 72 64 73 3f 22 20 77 69 |ock reco|rds?" wi|
|00003140| 74 68 20 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 22 |th "Canc|el" or "|
|00003150| 55 6e 6c 6f 63 6b 22 20 | 6f 72 20 22 4c 6f 63 6b |Unlock" |or "Lock|
|00003160| 22 0d 69 66 20 69 74 20 | 69 73 20 22 43 61 6e 63 |".if it |is "Canc|
|00003170| 65 6c 22 20 74 68 65 6e | 0d 65 78 69 74 20 6c 6f |el" then|.exit lo|
|00003180| 63 6b 75 6e 6c 6f 63 6b | 52 65 63 6f 72 64 73 0d |ckunlock|Records.|
|00003190| 65 6c 73 65 20 69 66 20 | 69 74 20 69 73 20 22 75 |else if |it is "u|
|000031a0| 6e 6c 6f 63 6b 22 20 74 | 68 65 6e 0d 75 6e 6c 6f |nlock" t|hen.unlo|
|000031b0| 63 6b 52 65 63 6f 72 64 | 73 0d 65 6c 73 65 20 69 |ckRecord|s.else i|
|000031c0| 66 20 69 74 20 69 73 20 | 22 6c 6f 63 6b 22 20 74 |f it is |"lock" t|
|000031d0| 68 65 6e 0d 6c 6f 63 6b | 52 65 63 6f 72 64 73 0d |hen.lock|Records.|
|000031e0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6c 6f 63 6b 75 |end if.e|nd locku|
|000031f0| 6e 6c 6f 63 6b 52 65 63 | 6f 72 64 73 0d 0d 6f 6e |nlockRec|ords..on|
|00003200| 20 6c 6f 63 6b 52 65 63 | 6f 72 64 73 0d 61 6e 73 | lockRec|ords.ans|
|00003210| 77 65 72 20 22 4c 6f 63 | 6b 20 77 68 69 63 68 20 |wer "Loc|k which |
|00003220| 72 65 63 6f 72 64 73 3f | 22 20 77 69 74 68 20 22 |records?|" with "|
|00003230| 43 61 6e 63 65 6c 22 20 | 6f 72 20 22 4d 61 72 6b |Cancel" |or "Mark|
|00003240| 65 64 22 20 6f 72 20 22 | 41 6c 6c 22 0d 69 66 20 |ed" or "|All".if |
|00003250| 69 74 20 69 73 20 22 63 | 61 6e 63 65 6c 22 20 74 |it is "c|ancel" t|
|00003260| 68 65 6e 0d 65 78 69 74 | 20 6c 6f 63 6b 52 65 63 |hen.exit| lockRec|
|00003270| 6f 72 64 73 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |ords.els|e if it |
|00003280| 69 73 20 22 61 6c 6c 22 | 20 74 68 65 6e 0d 67 65 |is "all"| then.ge|
|00003290| 74 20 77 69 6e 64 6f 77 | 53 63 72 69 70 74 28 22 |t window|Script("|
|000032a0| 70 72 6f 67 72 65 73 73 | 22 2c 22 4c 6f 63 6b 69 |progress|","Locki|
|000032b0| 6e 67 20 41 6c 6c 20 52 | 65 63 6f 72 64 73 2e 2e |ng All R|ecords..|
|000032c0| 2e 22 2c 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 73 |.",numbe|r of cds|
|000032d0| 29 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 3d |).repeat| with x=|
|000032e0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|000032f0| 6f 66 20 63 64 73 0d 73 | 65 74 20 63 75 72 73 6f |of cds.s|et curso|
|00003300| 72 20 74 6f 20 62 75 73 | 79 0d 73 65 74 20 69 31 |r to bus|y.set i1|
|00003310| 5f 76 61 6c 75 65 20 6f | 66 20 77 69 6e 64 6f 77 |_value o|f window|
|00003320| 20 22 70 72 6f 67 72 65 | 73 73 22 20 74 6f 20 78 | "progre|ss" to x|
|00003330| 0d 73 65 74 20 63 61 6e | 74 64 65 6c 65 74 65 20 |.set can|tdelete |
|00003340| 6f 66 20 63 64 20 78 20 | 74 6f 20 74 72 75 65 0d |of cd x |to true.|
|00003350| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6c 73 65 20 |end repe|at.else |
|00003360| 69 66 20 69 74 20 69 73 | 20 22 6d 61 72 6b 65 64 |if it is| "marked|
|00003370| 22 20 74 68 65 6e 0d 67 | 65 74 20 77 69 6e 64 6f |" then.g|et windo|
|00003380| 77 53 63 72 69 70 74 28 | 22 70 72 6f 67 72 65 73 |wScript(|"progres|
|00003390| 73 22 2c 22 4c 6f 63 6b | 69 6e 67 20 4d 61 72 6b |s","Lock|ing Mark|
|000033a0| 65 64 20 52 65 63 6f 72 | 64 73 2e 2e 2e 22 2c 6e |ed Recor|ds...",n|
|000033b0| 75 6d 62 65 72 20 6f 66 | 20 6d 61 72 6b 65 64 20 |umber of| marked |
|000033c0| 63 64 73 29 0d 72 65 70 | 65 61 74 20 77 69 74 68 |cds).rep|eat with|
|000033d0| 20 78 3d 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | x=1 to |the numb|
|000033e0| 65 72 20 6f 66 20 6d 61 | 72 6b 65 64 20 63 64 73 |er of ma|rked cds|
|000033f0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00003400| 75 73 79 0d 73 65 74 20 | 69 31 5f 76 61 6c 75 65 |usy.set |i1_value|
|00003410| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 70 72 6f 67 | of wind|ow "prog|
|00003420| 72 65 73 73 22 20 74 6f | 20 78 0d 73 65 74 20 63 |ress" to| x.set c|
|00003430| 61 6e 74 64 65 6c 65 74 | 65 20 6f 66 20 6d 61 72 |antdelet|e of mar|
|00003440| 6b 65 64 20 63 64 20 78 | 20 74 6f 20 74 72 75 65 |ked cd x| to true|
|00003450| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003460| 69 66 0d 6f 70 65 6e 43 | 61 72 64 0d 63 6c 6f 73 |if.openC|ard.clos|
|00003470| 65 20 77 69 6e 64 6f 77 | 20 22 70 72 6f 67 72 65 |e window| "progre|
|00003480| 73 73 22 0d 65 6e 64 20 | 6c 6f 63 6b 52 65 63 6f |ss".end |lockReco|
|00003490| 72 64 73 0d 0d 6f 6e 20 | 75 6e 6c 6f 63 6b 52 65 |rds..on |unlockRe|
|000034a0| 63 6f 72 64 73 0d 61 6e | 73 77 65 72 20 22 55 6e |cords.an|swer "Un|
|000034b0| 6c 6f 63 6b 20 77 68 69 | 63 68 20 72 65 63 6f 72 |lock whi|ch recor|
|000034c0| 64 73 3f 22 20 77 69 74 | 68 20 22 43 61 6e 63 65 |ds?" wit|h "Cance|
|000034d0| 6c 22 20 6f 72 20 22 4d | 61 72 6b 65 64 22 20 6f |l" or "M|arked" o|
|000034e0| 72 20 22 41 6c 6c 22 0d | 69 66 20 69 74 20 69 73 |r "All".|if it is|
|000034f0| 20 22 63 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 65 | "cancel|" then.e|
|00003500| 78 69 74 20 75 6e 6c 6f | 63 6b 52 65 63 6f 72 64 |xit unlo|ckRecord|
|00003510| 73 0d 65 6c 73 65 20 69 | 66 20 69 74 20 69 73 20 |s.else i|f it is |
|00003520| 22 61 6c 6c 22 20 74 68 | 65 6e 0d 67 65 74 20 77 |"all" th|en.get w|
|00003530| 69 6e 64 6f 77 53 63 72 | 69 70 74 28 22 70 72 6f |indowScr|ipt("pro|
|00003540| 67 72 65 73 73 22 2c 22 | 55 6e 6c 6f 63 6b 69 6e |gress","|Unlockin|
|00003550| 67 20 41 6c 6c 20 52 65 | 63 6f 72 64 73 2e 2e 2e |g All Re|cords...|
|00003560| 22 2c 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 29 |",number| of cds)|
|00003570| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 3d 31 |.repeat |with x=1|
|00003580| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00003590| 66 20 63 64 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |f cds.se|t cursor|
|000035a0| 20 74 6f 20 62 75 73 79 | 0d 73 65 74 20 69 31 5f | to busy|.set i1_|
|000035b0| 76 61 6c 75 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |value of| window |
|000035c0| 22 70 72 6f 67 72 65 73 | 73 22 20 74 6f 20 78 0d |"progres|s" to x.|
|000035d0| 73 65 74 20 63 61 6e 74 | 64 65 6c 65 74 65 20 6f |set cant|delete o|
|000035e0| 66 20 63 64 20 78 20 74 | 6f 20 66 61 6c 73 65 0d |f cd x t|o false.|
|000035f0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6c 73 65 20 |end repe|at.else |
|00003600| 69 66 20 69 74 20 69 73 | 20 22 6d 61 72 6b 65 64 |if it is| "marked|
|00003610| 22 20 74 68 65 6e 0d 67 | 65 74 20 77 69 6e 64 6f |" then.g|et windo|
|00003620| 77 53 63 72 69 70 74 28 | 22 70 72 6f 67 72 65 73 |wScript(|"progres|
|00003630| 73 22 2c 22 55 6e 6c 6f | 63 6b 69 6e 67 20 4d 61 |s","Unlo|cking Ma|
|00003640| 72 6b 65 64 20 52 65 63 | 6f 72 64 73 2e 2e 2e 22 |rked Rec|ords..."|
|00003650| 2c 6e 75 6d 62 65 72 20 | 6f 66 20 6d 61 72 6b 65 |,number |of marke|
|00003660| 64 20 63 64 73 29 0d 72 | 65 70 65 61 74 20 77 69 |d cds).r|epeat wi|
|00003670| 74 68 20 78 3d 31 20 74 | 6f 20 74 68 65 20 6e 75 |th x=1 t|o the nu|
|00003680| 6d 62 65 72 20 6f 66 20 | 6d 61 72 6b 65 64 20 63 |mber of |marked c|
|00003690| 64 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ds.set c|ursor to|
|000036a0| 20 62 75 73 79 0d 73 65 | 74 20 69 31 5f 76 61 6c | busy.se|t i1_val|
|000036b0| 75 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 70 72 |ue of wi|ndow "pr|
|000036c0| 6f 67 72 65 73 73 22 20 | 74 6f 20 78 0d 73 65 74 |ogress" |to x.set|
|000036d0| 20 63 61 6e 74 64 65 6c | 65 74 65 20 6f 66 20 6d | cantdel|ete of m|
|000036e0| 61 72 6b 65 64 20 63 64 | 20 78 20 74 6f 20 66 61 |arked cd| x to fa|
|000036f0| 6c 73 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |lse.end |repeat.e|
|00003700| 6e 64 20 69 66 0d 6f 70 | 65 6e 43 61 72 64 0d 63 |nd if.op|enCard.c|
|00003710| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 22 70 72 6f |lose win|dow "pro|
|00003720| 67 72 65 73 73 22 0d 65 | 6e 64 20 75 6e 6c 6f 63 |gress".e|nd unloc|
|00003730| 6b 52 65 63 6f 72 64 73 | 0d 0d 6f 6e 20 72 65 76 |kRecords|..on rev|
|00003740| 4c 6f 63 6b 0d 61 6e 73 | 77 65 72 20 22 52 65 76 |Lock.ans|wer "Rev|
|00003750| 65 72 73 65 20 74 68 65 | 20 6c 6f 63 6b 65 64 2f |erse the| locked/|
|00003760| 75 6e 6c 6f 63 6b 65 64 | 20 73 74 61 74 75 73 20 |unlocked| status |
|00003770| 6f 66 20 72 65 63 6f 72 | 64 73 3f 22 20 77 69 74 |of recor|ds?" wit|
|00003780| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 4d |h "Cance|l" or "M|
|00003790| 61 72 6b 65 64 22 20 6f | 72 20 22 41 6c 6c 22 0d |arked" o|r "All".|
|000037a0| 69 66 20 69 74 20 69 73 | 20 22 43 61 6e 63 65 6c |if it is| "Cancel|
|000037b0| 22 20 74 68 65 6e 0d 65 | 78 69 74 20 72 65 76 4c |" then.e|xit revL|
|000037c0| 6f 63 6b 0d 65 6c 73 65 | 20 69 66 20 69 74 20 69 |ock.else| if it i|
|000037d0| 73 20 22 4d 61 72 6b 65 | 64 22 20 74 68 65 6e 0d |s "Marke|d" then.|
|000037e0| 67 65 74 20 77 69 6e 64 | 6f 77 53 63 72 69 70 74 |get wind|owScript|
|000037f0| 28 22 70 72 6f 67 72 65 | 73 73 22 2c 22 52 65 76 |("progre|ss","Rev|
|00003800| 65 72 73 69 6e 67 20 4c | 6f 63 6b 65 64 20 53 74 |ersing L|ocked St|
|00003810| 61 74 75 73 2e 2e 2e 22 | 2c 6e 75 6d 62 65 72 20 |atus..."|,number |
|00003820| 6f 66 20 6d 61 72 6b 65 | 64 20 63 64 73 29 0d 72 |of marke|d cds).r|
|00003830| 65 70 65 61 74 20 77 69 | 74 68 20 78 3d 31 20 74 |epeat wi|th x=1 t|
|00003840| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00003850| 6d 61 72 6b 65 64 20 63 | 64 73 0d 73 65 74 20 63 |marked c|ds.set c|
|00003860| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 73 65 |ursor to| busy.se|
|00003870| 74 20 69 31 5f 76 61 6c | 75 65 20 6f 66 20 77 69 |t i1_val|ue of wi|
|00003880| 6e 64 6f 77 20 22 70 72 | 6f 67 72 65 73 73 22 20 |ndow "pr|ogress" |
|00003890| 74 6f 20 78 0d 73 65 74 | 20 63 61 6e 74 44 65 6c |to x.set| cantDel|
|000038a0| 65 74 65 20 6f 66 20 6d | 61 72 6b 65 64 20 63 64 |ete of m|arked cd|
|000038b0| 20 78 20 74 6f 20 6e 6f | 74 20 63 61 6e 74 44 65 | x to no|t cantDe|
|000038c0| 6c 65 74 65 20 6f 66 20 | 6d 61 72 6b 65 64 20 63 |lete of |marked c|
|000038d0| 64 20 78 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |d x.end |repeat.e|
|000038e0| 6c 73 65 20 69 66 20 69 | 74 20 69 73 20 22 41 6c |lse if i|t is "Al|
|000038f0| 6c 22 20 74 68 65 6e 0d | 67 65 74 20 77 69 6e 64 |l" then.|get wind|
|00003900| 6f 77 53 63 72 69 70 74 | 28 22 70 72 6f 67 72 65 |owScript|("progre|
|00003910| 73 73 22 2c 22 52 65 76 | 65 72 73 69 6e 67 20 4c |ss","Rev|ersing L|
|00003920| 6f 63 6b 65 64 20 53 74 | 61 74 75 73 2e 2e 2e 22 |ocked St|atus..."|
|00003930| 2c 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 29 0d |,number |of cds).|
|00003940| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 3d 31 20 |repeat w|ith x=1 |
|00003950| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00003960| 20 63 64 73 0d 73 65 74 | 20 63 75 72 73 6f 72 20 | cds.set| cursor |
|00003970| 74 6f 20 62 75 73 79 0d | 73 65 74 20 69 31 5f 76 |to busy.|set i1_v|
|00003980| 61 6c 75 65 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |alue of |window "|
|00003990| 70 72 6f 67 72 65 73 73 | 22 20 74 6f 20 78 0d 73 |progress|" to x.s|
|000039a0| 65 74 20 63 61 6e 74 44 | 65 6c 65 74 65 20 6f 66 |et cantD|elete of|
|000039b0| 20 63 64 20 78 20 74 6f | 20 6e 6f 74 20 63 61 6e | cd x to| not can|
|000039c0| 74 44 65 6c 65 74 65 20 | 6f 66 20 63 64 20 78 0d |tDelete |of cd x.|
|000039d0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|000039e0| 66 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 22 |f.close |window "|
|000039f0| 70 72 6f 67 72 65 73 73 | 22 0d 6f 70 65 6e 43 61 |progress|".openCa|
|00003a00| 72 64 0d 65 6e 64 20 72 | 65 76 4c 6f 63 6b 0d 0d |rd.end r|evLock..|
|00003a10| 6f 6e 20 6d 61 72 6b 75 | 6e 6d 61 72 6b 52 65 63 |on marku|nmarkRec|
|00003a20| 6f 72 64 73 0d 61 6e 73 | 77 65 72 20 22 4d 61 72 |ords.ans|wer "Mar|
|00003a30| 6b 20 6f 72 20 75 6e 6d | 61 72 6b 20 61 6c 6c 20 |k or unm|ark all |
|00003a40| 72 65 63 6f 72 64 73 3f | 22 20 77 69 74 68 20 22 |records?|" with "|
|00003a50| 43 61 6e 63 65 6c 22 20 | 6f 72 20 22 55 6e 6d 61 |Cancel" |or "Unma|
|00003a60| 72 6b 22 20 6f 72 20 22 | 4d 61 72 6b 22 0d 69 66 |rk" or "|Mark".if|
|00003a70| 20 69 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 | it is "|Cancel" |
|00003a80| 74 68 65 6e 0d 65 78 69 | 74 20 6d 61 72 6b 75 6e |then.exi|t markun|
|00003a90| 6d 61 72 6b 52 65 63 6f | 72 64 73 0d 65 6c 73 65 |markReco|rds.else|
|00003aa0| 20 69 66 20 69 74 20 69 | 73 20 22 75 6e 6d 61 72 | if it i|s "unmar|
|00003ab0| 6b 22 20 74 68 65 6e 0d | 75 6e 6d 61 72 6b 20 61 |k" then.|unmark a|
|00003ac0| 6c 6c 20 63 64 73 0d 6f | 70 65 6e 43 61 72 64 0d |ll cds.o|penCard.|
|00003ad0| 65 6c 73 65 20 69 66 20 | 69 74 20 69 73 20 22 6d |else if |it is "m|
|00003ae0| 61 72 6b 22 20 74 68 65 | 6e 0d 6d 61 72 6b 20 61 |ark" the|n.mark a|
|00003af0| 6c 6c 20 63 64 73 0d 6f | 70 65 6e 43 61 72 64 0d |ll cds.o|penCard.|
|00003b00| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 61 72 6b 75 |end if.e|nd marku|
|00003b10| 6e 6d 61 72 6b 52 65 63 | 6f 72 64 73 0d 0d 6f 6e |nmarkRec|ords..on|
|00003b20| 20 72 65 76 4d 61 72 6b | 0d 61 6e 73 77 65 72 20 | revMark|.answer |
|00003b30| 22 52 65 76 65 72 73 65 | 20 74 68 65 20 6d 61 72 |"Reverse| the mar|
|00003b40| 6b 65 64 2f 75 6e 6d 61 | 72 6b 65 64 20 73 74 61 |ked/unma|rked sta|
|00003b50| 74 75 73 20 6f 66 20 61 | 6c 6c 20 72 65 63 6f 72 |tus of a|ll recor|
|00003b60| 64 73 3f 22 20 77 69 74 | 68 20 22 43 61 6e 63 65 |ds?" wit|h "Cance|
|00003b70| 6c 22 20 6f 72 20 22 52 | 65 76 65 72 73 65 22 0d |l" or "R|everse".|
|00003b80| 69 66 20 69 74 20 69 73 | 20 22 43 61 6e 63 65 6c |if it is| "Cancel|
|00003b90| 22 20 74 68 65 6e 0d 65 | 78 69 74 20 72 65 76 4d |" then.e|xit revM|
|00003ba0| 61 72 6b 0d 65 6c 73 65 | 20 69 66 20 69 74 20 69 |ark.else| if it i|
|00003bb0| 73 20 22 52 65 76 65 72 | 73 65 22 20 74 68 65 6e |s "Rever|se" then|
|00003bc0| 0d 67 65 74 20 77 69 6e | 64 6f 77 53 63 72 69 70 |.get win|dowScrip|
|00003bd0| 74 28 22 70 72 6f 67 72 | 65 73 73 22 2c 22 52 65 |t("progr|ess","Re|
|00003be0| 76 65 72 73 69 6e 67 20 | 4d 61 72 6b 65 64 20 53 |versing |Marked S|
|00003bf0| 74 61 74 75 73 2e 2e 2e | 22 2c 6e 75 6d 62 65 72 |tatus...|",number|
|00003c00| 20 6f 66 20 63 64 73 29 | 0d 72 65 70 65 61 74 20 | of cds)|.repeat |
|00003c10| 77 69 74 68 20 78 3d 31 | 20 74 6f 20 74 68 65 20 |with x=1| to the |
|00003c20| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 73 0d 73 65 |number o|f cds.se|
|00003c30| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00003c40| 0d 73 65 74 20 69 31 5f | 76 61 6c 75 65 20 6f 66 |.set i1_|value of|
|00003c50| 20 77 69 6e 64 6f 77 20 | 22 70 72 6f 67 72 65 73 | window |"progres|
|00003c60| 73 22 20 74 6f 20 78 0d | 73 65 74 20 74 68 65 20 |s" to x.|set the |
|00003c70| 6d 61 72 6b 65 64 20 6f | 66 20 63 64 20 78 20 74 |marked o|f cd x t|
|00003c80| 6f 20 6e 6f 74 20 74 68 | 65 20 6d 61 72 6b 65 64 |o not th|e marked|
|00003c90| 20 6f 66 20 63 64 20 78 | 0d 65 6e 64 20 72 65 70 | of cd x|.end rep|
|00003ca0| 65 61 74 0d 65 6e 64 20 | 69 66 0d 63 6c 6f 73 65 |eat.end |if.close|
|00003cb0| 20 77 69 6e 64 6f 77 20 | 22 70 72 6f 67 72 65 73 | window |"progres|
|00003cc0| 73 22 0d 6f 70 65 6e 43 | 61 72 64 0d 65 6e 64 20 |s".openC|ard.end |
|00003cd0| 72 65 76 4d 61 72 6b 0d | 0d 6f 6e 20 70 72 69 6e |revMark.|.on prin|
|00003ce0| 74 49 74 0d 67 6c 6f 62 | 61 6c 20 63 75 72 72 65 |tIt.glob|al curre|
|00003cf0| 6e 74 42 6b 67 0d 61 6e | 73 77 65 72 20 22 50 72 |ntBkg.an|swer "Pr|
|00003d00| 69 6e 74 20 77 68 69 63 | 68 20 72 65 63 6f 72 64 |int whic|h record|
|00003d10| 28 73 29 3f 22 20 77 69 | 74 68 20 22 43 61 6e 63 |(s)?" wi|th "Canc|
|00003d20| 65 6c 22 20 6f 72 20 22 | 4d 61 72 6b 65 64 22 20 |el" or "|Marked" |
|00003d30| 6f 72 20 22 54 68 69 73 | 20 52 65 63 6f 72 64 22 |or "This| Record"|
|00003d40| 0d 69 66 20 69 74 20 69 | 73 20 22 43 61 6e 63 65 |.if it i|s "Cance|
|00003d50| 6c 22 20 74 68 65 6e 0d | 65 78 69 74 20 70 72 69 |l" then.|exit pri|
|00003d60| 6e 74 49 74 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |ntIt.els|e if it |
|00003d70| 69 73 20 22 4d 61 72 6b | 65 64 22 20 74 68 65 6e |is "Mark|ed" then|
|00003d80| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00003d90| 66 20 6d 61 72 6b 65 64 | 20 63 64 73 20 3d 20 30 |f marked| cds = 0|
|00003da0| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 4e 6f | then.an|swer "No|
|00003db0| 20 72 65 63 6f 72 64 20 | 6d 61 72 6b 65 64 21 22 | record |marked!"|
|00003dc0| 0d 65 78 69 74 20 70 72 | 69 6e 74 49 74 0d 65 6e |.exit pr|intIt.en|
|00003dd0| 64 20 69 66 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |d if.loc|k screen|
|00003de0| 0d 6f 70 65 6e 20 72 65 | 70 6f 72 74 20 70 72 69 |.open re|port pri|
|00003df0| 6e 74 69 6e 67 20 77 69 | 74 68 20 74 65 6d 70 6c |nting wi|th templ|
|00003e00| 61 74 65 20 63 75 72 72 | 65 6e 74 42 6b 67 26 26 |ate curr|entBkg&&|
|00003e10| 22 72 65 70 6f 72 74 22 | 0d 69 66 20 74 68 65 20 |"report"|.if the |
|00003e20| 72 65 73 75 6c 74 20 69 | 73 20 65 6d 70 74 79 20 |result i|s empty |
|00003e30| 74 68 65 6e 20 70 72 69 | 6e 74 20 6d 61 72 6b 65 |then pri|nt marke|
|00003e40| 64 20 63 64 73 0d 63 6c | 6f 73 65 20 70 72 69 6e |d cds.cl|ose prin|
|00003e50| 74 69 6e 67 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |ting.els|e if it |
|00003e60| 69 73 20 22 54 68 69 73 | 20 52 65 63 6f 72 64 22 |is "This| Record"|
|00003e70| 20 74 68 65 6e 0d 6f 70 | 65 6e 20 72 65 70 6f 72 | then.op|en repor|
|00003e80| 74 20 70 72 69 6e 74 69 | 6e 67 20 77 69 74 68 20 |t printi|ng with |
|00003e90| 74 65 6d 70 6c 61 74 65 | 20 63 75 72 72 65 6e 74 |template| current|
|00003ea0| 42 6b 67 26 26 22 72 65 | 70 6f 72 74 22 0d 69 66 |Bkg&&"re|port".if|
|00003eb0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 65 | the res|ult is e|
|00003ec0| 6d 70 74 79 20 74 68 65 | 6e 20 70 72 69 6e 74 20 |mpty the|n print |
|00003ed0| 74 68 69 73 20 63 64 0d | 63 6c 6f 73 65 20 70 72 |this cd.|close pr|
|00003ee0| 69 6e 74 69 6e 67 0d 65 | 6e 64 20 69 66 0d 65 6e |inting.e|nd if.en|
|00003ef0| 64 20 70 72 69 6e 74 49 | 74 0d 0d 6f 6e 20 63 6f |d printI|t..on co|
|00003f00| 6d 6d 61 6e 64 6b 65 79 | 64 6f 77 6e 20 77 68 69 |mmandkey|down whi|
|00003f10| 63 68 4b 65 79 0d 69 66 | 20 77 68 69 63 68 4b 65 |chKey.if| whichKe|
|00003f20| 79 20 69 73 20 22 51 22 | 20 74 68 65 6e 0d 61 6e |y is "Q"| then.an|
|00003f30| 73 77 65 72 20 22 41 72 | 65 20 79 6f 75 20 73 75 |swer "Ar|e you su|
|00003f40| 72 65 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 71 |re you w|ant to q|
|00003f50| 75 69 74 20 4c 61 62 48 | 65 6c 70 65 72 3f 22 20 |uit LabH|elper?" |
|00003f60| 77 69 74 68 20 22 43 61 | 6e 63 65 6c 22 20 6f 72 |with "Ca|ncel" or|
|00003f70| 20 22 51 75 69 74 22 0d | 69 66 20 69 74 20 69 73 | "Quit".|if it is|
|00003f80| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 20 65 | "Cancel|" then e|
|00003f90| 78 69 74 20 63 6f 6d 6d | 61 6e 64 6b 65 79 64 6f |xit comm|andkeydo|
|00003fa0| 77 6e 0d 65 6e 64 20 69 | 66 0d 70 61 73 73 20 63 |wn.end i|f.pass c|
|00003fb0| 6f 6d 6d 61 6e 64 4b 65 | 79 64 6f 77 6e 0d 65 6e |ommandKe|ydown.en|
|00003fc0| 64 20 63 6f 6d 6d 61 6e | 64 6b 65 79 64 6f 77 6e |d comman|dkeydown|
|00003fd0| 0d 0d 6f 6e 20 61 72 72 | 6f 77 4b 65 79 20 77 68 |..on arr|owKey wh|
|00003fe0| 69 63 68 4b 65 79 0d 69 | 66 20 74 68 65 20 73 68 |ichKey.i|f the sh|
|00003ff0| 69 66 74 4b 65 79 20 69 | 73 20 64 6f 77 6e 20 74 |iftKey i|s down t|
|00004000| 68 65 6e 0d 69 66 20 77 | 68 69 63 68 4b 65 79 20 |hen.if w|hichKey |
|00004010| 3d 20 22 6c 65 66 74 22 | 20 74 68 65 6e 0d 67 6f |= "left"| then.go|
|00004020| 20 70 72 65 76 20 6d 61 | 72 6b 65 64 20 63 64 0d | prev ma|rked cd.|
|00004030| 65 6c 73 65 20 69 66 20 | 77 68 69 63 68 4b 65 79 |else if |whichKey|
|00004040| 20 3d 20 22 72 69 67 68 | 74 22 20 74 68 65 6e 0d | = "righ|t" then.|
|00004050| 67 6f 20 6e 65 78 74 20 | 6d 61 72 6b 65 64 20 63 |go next |marked c|
|00004060| 64 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 70 61 |d.end if|.else.pa|
|00004070| 73 73 20 61 72 72 6f 77 | 4b 65 79 0d 65 6e 64 20 |ss arrow|Key.end |
|00004080| 69 66 0d 65 6e 64 20 61 | 72 72 6f 77 4b 65 79 0d |if.end a|rrowKey.|
|00004090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000040a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000040b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000040c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000040d0| 2a 2a 2a 2a 2a 2a 2a 0d | 2a 2a 2a 2a 2a 2a 2a 2a |*******.|********|
|000040e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|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 0d |********|*******.|
|00004120| 6f 6e 20 63 48 43 69 6e | 73 74 61 6c 6c 20 64 65 |on cHCin|stall de|
|00004130| 70 74 68 0d 67 6c 6f 62 | 61 6c 20 63 6f 6c 6f 72 |pth.glob|al color|
|00004140| 50 72 65 66 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |Pref.set| cursor |
|00004150| 74 6f 20 62 75 73 79 0d | 69 66 20 63 68 65 63 6b |to busy.|if check|
|00004160| 45 6e 76 69 72 6f 6e 28 | 64 65 70 74 68 29 20 69 |Environ(|depth) i|
|00004170| 73 20 6e 6f 74 20 22 4f | 4b 22 20 74 68 65 6e 0d |s not "O|K" then.|
|00004180| 61 6e 73 77 65 72 20 22 | 50 6c 65 61 73 65 20 61 |answer "|Please a|
|00004190| 6c 6c 6f 63 61 74 65 20 | 6d 6f 72 65 20 6d 65 6d |llocate |more mem|
|000041a0| 6f 72 79 20 74 6f 20 4c | 61 62 48 65 6c 70 65 72 |ory to L|abHelper|
|000041b0| 21 22 26 72 65 74 75 72 | 6e 26 c2 0d 22 53 65 6c |!"&retur|n&.."Sel|
|000041c0| 65 63 74 20 d2 43 6f 6e | 74 69 6e 75 65 d3 20 74 |ect .Con|tinue. t|
|000041d0| 6f 20 72 75 6e 20 69 6e | 20 42 26 57 20 6d 6f 64 |o run in| B&W mod|
|000041e0| 65 20 6f 72 22 26 72 65 | 74 75 72 6e 26 c2 0d 22 |e or"&re|turn&.."|
|000041f0| 73 65 6c 65 63 74 20 d2 | 51 75 69 74 d3 20 74 6f |select .|Quit. to|
|00004200| 20 72 65 74 75 72 6e 20 | 74 6f 20 46 69 6e 64 65 | return |to Finde|
|00004210| 72 2e 22 20 77 69 74 68 | 20 22 51 75 69 74 22 20 |r." with| "Quit" |
|00004220| 6f 72 20 22 43 6f 6e 74 | 69 6e 75 65 22 0d 69 66 |or "Cont|inue".if|
|00004230| 20 69 74 20 69 73 20 22 | 43 6f 6e 74 69 6e 75 65 | it is "|Continue|
|00004240| 22 20 74 68 65 6e 0d 70 | 75 74 20 66 61 6c 73 65 |" then.p|ut false|
|00004250| 20 69 6e 74 6f 20 63 6f | 6c 6f 72 50 72 65 66 0d | into co|lorPref.|
|00004260| 63 48 43 64 69 73 70 6f | 73 65 0d 65 6c 73 65 20 |cHCdispo|se.else |
|00004270| 69 66 20 69 74 20 69 73 | 20 22 51 75 69 74 22 20 |if it is| "Quit" |
|00004280| 74 68 65 6e 0d 64 6f 4d | 65 6e 75 20 22 51 75 69 |then.doM|enu "Qui|
|00004290| 74 20 4c 61 62 48 65 6c | 70 65 72 22 0d 65 6e 64 |t LabHel|per".end|
|000042a0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 | if.end |if.end c|
|000042b0| 48 43 69 6e 73 74 61 6c | 6c 0d 0d 66 75 6e 63 74 |HCinstal|l..funct|
|000042c0| 69 6f 6e 20 63 68 65 63 | 6b 45 6e 76 69 72 6f 6e |ion chec|kEnviron|
|000042d0| 20 54 68 65 44 65 70 74 | 68 0d 70 75 74 20 4d 61 | TheDept|h.put Ma|
|000042e0| 78 44 65 70 74 68 28 29 | 20 69 6e 74 6f 20 4d 78 |xDepth()| into Mx|
|000042f0| 44 65 70 74 68 0d 69 66 | 20 54 68 65 44 65 70 74 |Depth.if| TheDept|
|00004300| 68 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |h is emp|ty then |
|00004310| 70 75 74 20 38 20 69 6e | 74 6f 20 54 68 65 44 65 |put 8 in|to TheDe|
|00004320| 70 74 68 0d 70 75 74 20 | 4d 69 6e 20 28 4d 78 44 |pth.put |Min (MxD|
|00004330| 65 70 74 68 2c 54 68 65 | 44 65 70 74 68 29 20 69 |epth,The|Depth) i|
|00004340| 6e 74 6f 20 54 68 65 44 | 65 70 74 68 0d 70 75 74 |nto TheD|epth.put|
|00004350| 20 74 68 65 20 68 65 61 | 70 53 70 61 63 65 20 69 | the hea|pSpace i|
|00004360| 6e 74 6f 20 54 68 65 48 | 65 61 70 53 70 61 63 65 |nto TheH|eapSpace|
|00004370| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00004380| 6f 6e 63 65 0d 72 65 70 | 65 61 74 20 77 68 69 6c |once.rep|eat whil|
|00004390| 65 20 54 68 65 44 65 70 | 74 68 20 b3 20 34 20 6f |e TheDep|th . 4 o|
|000043a0| 72 20 6f 6e 63 65 20 69 | 73 20 65 6d 70 74 79 0d |r once i|s empty.|
|000043b0| 70 75 74 20 32 2a 54 68 | 65 44 65 70 74 68 2a 28 |put 2*Th|eDepth*(|
|000043c0| 77 69 64 74 68 20 6f 66 | 20 74 68 69 73 20 63 64 |width of| this cd|
|000043d0| 20 2a 20 68 65 69 67 68 | 74 20 6f 66 20 74 68 69 | * heigh|t of thi|
|000043e0| 73 20 63 64 29 20 44 49 | 56 20 38 c2 0d 2b 20 33 |s cd) DI|V 8..+ 3|
|000043f0| 35 30 30 30 20 69 6e 74 | 6f 20 52 65 71 53 69 7a |5000 int|o ReqSiz|
|00004400| 65 0d 69 66 20 54 68 65 | 48 65 61 70 53 70 61 63 |e.if The|HeapSpac|
|00004410| 65 20 3c 20 52 65 71 53 | 69 7a 65 20 74 68 65 6e |e < ReqS|ize then|
|00004420| 0d 69 66 20 6f 6e 63 65 | 20 69 73 20 65 6d 70 74 |.if once| is empt|
|00004430| 79 20 74 68 65 6e 0d 65 | 72 72 4d 65 6d 6f 72 79 |y then.e|rrMemory|
|00004440| 20 54 68 65 44 65 70 74 | 68 2c 52 65 71 53 69 7a | TheDept|h,ReqSiz|
|00004450| 65 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 69 66 |e.end if|.else.if|
|00004460| 20 6f 6e 63 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 | once is| not emp|
|00004470| 74 79 0d 74 68 65 6e 20 | 69 66 20 6e 6f 74 20 77 |ty.then |if not w|
|00004480| 61 72 6e 44 65 70 74 68 | 28 54 68 65 44 65 70 74 |arnDepth|(TheDept|
|00004490| 68 29 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 65 |h) then |return e|
|000044a0| 6d 70 74 79 0d 69 66 20 | 54 68 65 44 65 70 74 68 |mpty.if |TheDepth|
|000044b0| 20 3c 20 34 20 74 68 65 | 6e 20 65 72 72 42 69 74 | < 4 the|n errBit|
|000044c0| 44 65 70 74 68 0d 69 66 | 20 54 68 65 48 65 61 70 |Depth.if| TheHeap|
|000044d0| 53 70 61 63 65 20 3c 20 | 52 65 71 53 69 7a 65 2b |Space < |ReqSize+|
|000044e0| 39 32 31 36 30 0d 74 68 | 65 6e 20 65 72 72 4d 65 |92160.th|en errMe|
|000044f0| 6d 6f 72 79 20 54 68 65 | 44 65 70 74 68 2c 52 65 |mory The|Depth,Re|
|00004500| 71 53 69 7a 65 2c 54 72 | 75 65 0d 69 66 20 73 74 |qSize,Tr|ue.if st|
|00004510| 61 63 6b 41 63 74 69 76 | 61 74 65 28 54 68 65 44 |ackActiv|ate(TheD|
|00004520| 65 70 74 68 29 20 69 73 | 20 6e 6f 74 20 65 6d 70 |epth) is| not emp|
|00004530| 74 79 0d 74 68 65 6e 20 | 65 72 72 43 6f 6c 6f 72 |ty.then |errColor|
|00004540| 0d 72 65 74 75 72 6e 20 | 22 4f 4b 22 0d 65 6e 64 |.return |"OK".end|
|00004550| 20 69 66 0d 70 75 74 20 | 54 72 75 65 20 69 6e 74 | if.put |True int|
|00004560| 6f 20 6f 6e 63 65 0d 70 | 75 74 20 70 72 65 76 44 |o once.p|ut prevD|
|00004570| 65 70 74 68 28 54 68 65 | 44 65 70 74 68 29 20 69 |epth(The|Depth) i|
|00004580| 6e 74 6f 20 54 68 65 44 | 65 70 74 68 0d 65 6e 64 |nto TheD|epth.end|
|00004590| 20 72 65 70 65 61 74 0d | 65 6e 64 20 63 68 65 63 | repeat.|end chec|
|000045a0| 6b 45 6e 76 69 72 6f 6e | 0d 0d 66 75 6e 63 74 69 |kEnviron|..functi|
|000045b0| 6f 6e 20 70 72 65 76 44 | 65 70 74 68 20 64 65 70 |on prevD|epth dep|
|000045c0| 74 68 0d 69 66 20 64 65 | 70 74 68 20 3e 20 32 34 |th.if de|pth > 24|
|000045d0| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 32 34 0d | then re|turn 24.|
|000045e0| 69 66 20 64 65 70 74 68 | 20 3e 20 31 36 20 74 68 |if depth| > 16 th|
|000045f0| 65 6e 20 72 65 74 75 72 | 6e 20 31 36 0d 69 66 20 |en retur|n 16.if |
|00004600| 64 65 70 74 68 20 3e 20 | 38 20 74 68 65 6e 20 72 |depth > |8 then r|
|00004610| 65 74 75 72 6e 20 38 0d | 69 66 20 64 65 70 74 68 |eturn 8.|if depth|
|00004620| 20 3e 20 34 20 74 68 65 | 6e 20 72 65 74 75 72 6e | > 4 the|n return|
|00004630| 20 34 0d 72 65 74 75 72 | 6e 20 31 0d 65 6e 64 20 | 4.retur|n 1.end |
|00004640| 70 72 65 76 44 65 70 74 | 68 0d 0d 6f 6e 20 65 72 |prevDept|h..on er|
|00004650| 72 4d 65 6d 6f 72 79 20 | 54 68 65 44 65 70 74 68 |rMemory |TheDepth|
|00004660| 2c 50 61 72 74 69 74 69 | 6f 6e 53 69 7a 65 2c 53 |,Partiti|onSize,S|
|00004670| 6f 66 74 0d 67 6c 6f 62 | 61 6c 20 63 6f 6c 6f 72 |oft.glob|al color|
|00004680| 50 72 65 66 0d 69 66 20 | 73 6f 66 74 20 69 73 20 |Pref.if |soft is |
|00004690| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 61 |not empt|y then.a|
|000046a0| 6e 73 77 65 72 20 22 4d | 65 6d 6f 72 79 20 69 73 |nswer "M|emory is|
|000046b0| 20 6c 6f 77 2e 20 53 6f | 6d 65 20 6f 70 65 72 61 | low. So|me opera|
|000046c0| 74 69 6f 6e 73 20 6d 61 | 79 20 6e 6f 74 20 77 6f |tions ma|y not wo|
|000046d0| 72 6b 2e 22 20 26 26 c2 | 0d 22 59 6f 75 20 73 68 |rk." &&.|."You sh|
|000046e0| 6f 75 6c 64 20 69 6e 63 | 72 65 61 73 65 20 74 68 |ould inc|rease th|
|000046f0| 65 20 6d 65 6d 6f 72 79 | 20 73 69 7a 65 20 6f 66 |e memory| size of|
|00004700| 20 4c 61 62 48 65 6c 70 | 65 72 20 62 79 20 61 74 | LabHelp|er by at|
|00004710| 20 6c 65 61 73 74 20 39 | 30 4b 2e 22 26 72 65 74 | least 9|0K."&ret|
|00004720| 75 72 6e 26 c2 0d 22 53 | 65 6c 65 63 74 20 d2 43 |urn&.."S|elect .C|
|00004730| 6f 6e 74 69 6e 75 65 d3 | 20 74 6f 20 72 75 6e 20 |ontinue.| to run |
|00004740| 69 6e 20 42 26 57 20 6d | 6f 64 65 20 6f 72 22 26 |in B&W m|ode or"&|
|00004750| 72 65 74 75 72 6e 26 c2 | 0d 22 73 65 6c 65 63 74 |return&.|."select|
|00004760| 20 d2 51 75 69 74 d3 20 | 74 6f 20 72 65 74 75 72 | .Quit. |to retur|
|00004770| 6e 20 74 6f 20 46 69 6e | 64 65 72 2e 22 20 77 69 |n to Fin|der." wi|
|00004780| 74 68 20 22 51 75 69 74 | 22 20 6f 72 20 22 43 6f |th "Quit|" or "Co|
|00004790| 6e 74 69 6e 75 65 22 0d | 69 66 20 69 74 20 69 73 |ntinue".|if it is|
|000047a0| 20 22 43 6f 6e 74 69 6e | 75 65 22 20 74 68 65 6e | "Contin|ue" then|
|000047b0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|000047c0| 63 6f 6c 6f 72 50 72 65 | 66 0d 63 48 43 64 69 73 |colorPre|f.cHCdis|
|000047d0| 70 6f 73 65 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |pose.els|e if it |
|000047e0| 69 73 20 22 51 75 69 74 | 22 20 74 68 65 6e 0d 64 |is "Quit|" then.d|
|000047f0| 6f 4d 65 6e 75 20 22 51 | 75 69 74 20 4c 61 62 48 |oMenu "Q|uit LabH|
|00004800| 65 6c 70 65 72 22 0d 65 | 6e 64 20 69 66 0d 65 78 |elper".e|nd if.ex|
|00004810| 69 74 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |it to Hy|perCard.|
|00004820| 65 6c 73 65 0d 70 75 74 | 20 28 50 61 72 74 69 74 |else.put| (Partit|
|00004830| 69 6f 6e 53 69 7a 65 20 | 44 49 56 20 31 30 32 34 |ionSize |DIV 1024|
|00004840| 29 20 26 20 22 4b 22 20 | 69 6e 74 6f 20 50 61 72 |) & "K" |into Par|
|00004850| 74 69 74 69 6f 6e 53 69 | 7a 65 0d 70 75 74 20 28 |titionSi|ze.put (|
|00004860| 74 68 65 20 68 65 61 70 | 53 70 61 63 65 20 44 49 |the heap|Space DI|
|00004870| 56 20 31 30 32 34 29 20 | 26 20 22 4b 22 20 69 6e |V 1024) |& "K" in|
|00004880| 74 6f 20 68 65 61 70 53 | 69 7a 65 0d 61 6e 73 77 |to heapS|ize.answ|
|00004890| 65 72 20 50 61 72 74 69 | 74 69 6f 6e 53 69 7a 65 |er Parti|tionSize|
|000048a0| 20 26 26 20 22 65 78 74 | 72 61 20 6d 65 6d 6f 72 | && "ext|ra memor|
|000048b0| 79 20 69 73 20 72 65 71 | 75 69 72 65 64 20 74 6f |y is req|uired to|
|000048c0| 20 72 75 6e 20 d2 22 20 | 26 c2 0d 74 68 65 20 73 | run ." |&..the s|
|000048d0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000048e0| 73 20 73 74 61 63 6b 20 | 26 20 22 d3 20 69 6e 22 |s stack |& ". in"|
|000048f0| 20 26 26 20 54 68 65 44 | 65 70 74 68 20 26 20 c2 | && TheD|epth & .|
|00004900| 0d 22 2d 62 69 74 20 6d | 6f 64 65 2c 20 62 75 74 |."-bit m|ode, but|
|00004910| 20 6f 6e 6c 79 22 20 26 | 26 20 68 65 61 70 53 69 | only" &|& heapSi|
|00004920| 7a 65 20 26 26 20 22 69 | 73 20 63 75 72 72 65 6e |ze && "i|s curren|
|00004930| 74 6c 79 20 73 70 61 72 | 65 2e 22 20 26 26 c2 0d |tly spar|e." &&..|
|00004940| 22 49 6e 63 72 65 61 73 | 65 20 74 68 65 20 6d 65 |"Increas|e the me|
|00004950| 6d 6f 72 79 20 73 69 7a | 65 20 6f 66 20 4c 61 62 |mory siz|e of Lab|
|00004960| 48 65 6c 70 65 72 2e 22 | 0d 65 6e 64 20 69 66 0d |Helper."|.end if.|
|00004970| 65 6e 64 20 65 72 72 4d | 65 6d 6f 72 79 0d 0d 66 |end errM|emory..f|
|00004980| 75 6e 63 74 69 6f 6e 20 | 77 61 72 6e 44 65 70 74 |unction |warnDept|
|00004990| 68 20 64 65 70 74 68 0d | 61 6e 73 77 65 72 20 22 |h depth.|answer "|
|000049a0| 44 6f 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 63 |Do you w|ant to c|
|000049b0| 6f 6e 74 69 6e 75 65 20 | 69 6e 22 20 26 26 20 64 |ontinue |in" && d|
|000049c0| 65 70 74 68 20 26 20 22 | 2d 62 69 74 20 6d 6f 64 |epth & "|-bit mod|
|000049d0| 65 3f 22 c2 0d 77 69 74 | 68 20 22 4e 6f 22 20 6f |e?"..wit|h "No" o|
|000049e0| 72 20 22 59 65 73 22 0d | 72 65 74 75 72 6e 20 69 |r "Yes".|return i|
|000049f0| 74 20 69 73 20 22 59 65 | 73 22 0d 65 6e 64 20 77 |t is "Ye|s".end w|
|00004a00| 61 72 6e 44 65 70 74 68 | 0d 0d 66 75 6e 63 74 69 |arnDepth|..functi|
|00004a10| 6f 6e 20 6c 61 73 74 49 | 74 65 6d 20 54 68 65 44 |on lastI|tem TheD|
|00004a20| 65 6c 69 6d 69 74 65 72 | 2c 53 74 72 69 6e 67 0d |elimiter|,String.|
|00004a30| 69 66 20 54 68 65 44 65 | 6c 69 6d 69 74 65 72 20 |if TheDe|limiter |
|00004a40| 69 73 20 69 6e 20 53 74 | 72 69 6e 67 0d 74 68 65 |is in St|ring.the|
|00004a50| 6e 20 70 75 74 20 6c 61 | 73 74 49 74 65 6d 28 54 |n put la|stItem(T|
|00004a60| 68 65 44 65 6c 69 6d 69 | 74 65 72 2c 63 68 61 72 |heDelimi|ter,char|
|00004a70| 20 6f 66 66 73 65 74 28 | 54 68 65 44 65 6c 69 6d | offset(|TheDelim|
|00004a80| 69 74 65 72 2c 53 74 72 | 69 6e 67 29 20 2b 20 31 |iter,Str|ing) + 1|
|00004a90| 20 74 6f 20 6c 65 6e 67 | 74 68 28 53 74 72 69 6e | to leng|th(Strin|
|00004aa0| 67 29 20 6f 66 20 53 74 | 72 69 6e 67 29 20 69 6e |g) of St|ring) in|
|00004ab0| 74 6f 20 53 74 72 69 6e | 67 0d 72 65 74 75 72 6e |to Strin|g.return|
|00004ac0| 20 53 74 72 69 6e 67 0d | 65 6e 64 20 6c 61 73 74 | String.|end last|
|00004ad0| 49 74 65 6d 0d 0d 6f 6e | 20 65 72 72 42 69 74 44 |Item..on| errBitD|
|00004ae0| 65 70 74 68 0d 61 6e 73 | 77 65 72 20 22 54 68 69 |epth.ans|wer "Thi|
|00004af0| 73 20 73 74 61 63 6b 20 | 72 65 71 75 69 72 65 73 |s stack |requires|
|00004b00| 20 61 20 63 6f 6c 6f 72 | 20 73 79 73 74 65 6d 20 | a color| system |
|00004b10| 73 65 74 20 74 6f 20 61 | 74 20 6c 65 61 73 74 20 |set to a|t least |
|00004b20| 31 36 20 63 6f 6c 6f 72 | 73 22 20 26 26 20 c2 0d |16 color|s" && ..|
|00004b30| 22 28 34 20 62 69 74 2d | 64 65 70 74 68 29 20 74 |"(4 bit-|depth) t|
|00004b40| 6f 20 64 69 73 70 6c 61 | 79 20 63 6f 6c 6f 72 2e |o displa|y color.|
|00004b50| 22 0d 65 6e 64 20 65 72 | 72 42 69 74 44 65 70 74 |".end er|rBitDept|
|00004b60| 68 0d 0d 6f 6e 20 63 6f | 6c 6f 72 69 7a 65 48 43 |h..on co|lorizeHC|
|00004b70| 0d 67 6c 6f 62 61 6c 20 | 67 4f 4b 54 6f 43 6f 6c |.global |gOKToCol|
|00004b80| 6f 72 69 7a 65 2c 67 48 | 43 6f 70 74 69 6f 6e 73 |orize,gH|Coptions|
|00004b90| 0d 69 66 20 67 4f 4b 54 | 6f 43 6f 6c 6f 72 69 7a |.if gOKT|oColoriz|
|00004ba0| 65 20 69 73 20 65 6d 70 | 74 79 20 61 6e 64 20 67 |e is emp|ty and g|
|00004bb0| 48 43 6f 70 74 69 6f 6e | 73 20 69 73 20 6e 6f 74 |HCoption|s is not|
|00004bc0| 20 65 6d 70 74 79 0d 74 | 68 65 6e 20 70 61 73 73 | empty.t|hen pass|
|00004bd0| 20 63 6f 6c 6f 72 69 7a | 65 48 43 0d 65 6e 64 20 | coloriz|eHC.end |
|00004be0| 63 6f 6c 6f 72 69 7a 65 | 48 43 0d 0d 66 75 6e 63 |colorize|HC..func|
|00004bf0| 74 69 6f 6e 20 73 74 61 | 63 6b 41 63 74 69 76 61 |tion sta|ckActiva|
|00004c00| 74 65 20 64 65 70 74 68 | 0d 67 6c 6f 62 61 6c 20 |te depth|.global |
|00004c10| 67 4f 4b 54 6f 43 6f 6c | 6f 72 69 7a 65 2c 67 48 |gOKToCol|orize,gH|
|00004c20| 43 64 65 70 74 68 0d 70 | 75 74 20 65 6d 70 74 79 |Cdepth.p|ut empty|
|00004c30| 20 69 6e 74 6f 20 67 4f | 4b 54 6f 43 6f 6c 6f 72 | into gO|KToColor|
|00004c40| 69 7a 65 0d 63 6f 6c 6f | 72 69 7a 65 48 43 20 22 |ize.colo|rizeHC "|
|00004c50| 69 6e 73 74 61 6c 6c 22 | 2c 64 65 70 74 68 0d 69 |install"|,depth.i|
|00004c60| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00004c70| 65 6d 70 74 79 0d 74 68 | 65 6e 20 63 6f 6c 6f 72 |empty.th|en color|
|00004c80| 69 7a 65 48 43 20 22 61 | 73 73 69 67 6e 54 6f 46 |izeHC "a|ssignToF|
|00004c90| 72 6f 6e 74 22 0d 70 75 | 74 20 74 68 65 20 72 65 |ront".pu|t the re|
|00004ca0| 73 75 6c 74 20 69 6e 74 | 6f 20 67 4f 4b 54 6f 43 |sult int|o gOKToC|
|00004cb0| 6f 6c 6f 72 69 7a 65 0d | 70 75 74 20 64 65 70 74 |olorize.|put dept|
|00004cc0| 68 20 69 6e 74 6f 20 67 | 48 43 64 65 70 74 68 0d |h into g|HCdepth.|
|00004cd0| 72 65 74 75 72 6e 20 67 | 4f 4b 54 6f 43 6f 6c 6f |return g|OKToColo|
|00004ce0| 72 69 7a 65 0d 65 6e 64 | 20 73 74 61 63 6b 41 63 |rize.end| stackAc|
|00004cf0| 74 69 76 61 74 65 0d 0d | 6f 6e 20 65 72 72 43 6f |tivate..|on errCo|
|00004d00| 6c 6f 72 0d 67 6c 6f 62 | 61 6c 20 63 6f 6c 6f 72 |lor.glob|al color|
|00004d10| 50 72 65 66 0d 67 6c 6f | 62 61 6c 20 67 4f 4b 54 |Pref.glo|bal gOKT|
|00004d20| 6f 43 6f 6c 6f 72 69 7a | 65 0d 61 6e 73 77 65 72 |oColoriz|e.answer|
|00004d30| 20 22 57 61 72 6e 69 6e | 67 3a 20 54 68 65 20 65 | "Warnin|g: The e|
|00004d40| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 74 68 69 73 20 |nvironme|nt this |
|00004d50| 73 74 61 63 6b 20 69 73 | 20 63 75 72 72 65 6e 74 |stack is| current|
|00004d60| 6c 79 20 72 75 6e 6e 69 | 6e 67 20 69 6e 22 20 26 |ly runni|ng in" &|
|00004d70| 26 20 c2 0d 22 69 73 20 | 75 6e 61 62 6c 65 20 74 |& .."is |unable t|
|00004d80| 6f 20 73 75 70 70 6f 72 | 74 20 63 6f 6c 6f 72 2e |o suppor|t color.|
|00004d90| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 22 52 65 |" & retu|rn & "Re|
|00004da0| 61 73 6f 6e 3a 22 20 26 | 26 20 67 4f 4b 54 6f 43 |ason:" &|& gOKToC|
|00004db0| 6f 6c 6f 72 69 7a 65 26 | 72 65 74 75 72 6e 26 c2 |olorize&|return&.|
|00004dc0| 0d 22 50 6c 65 61 73 65 | 20 61 6c 6c 6f 63 61 74 |."Please| allocat|
|00004dd0| 65 20 6d 6f 72 65 20 6d | 65 6d 6f 72 79 20 74 6f |e more m|emory to|
|00004de0| 20 4c 61 62 48 65 6c 70 | 65 72 21 22 26 72 65 74 | LabHelp|er!"&ret|
|00004df0| 75 72 6e 26 c2 0d 22 53 | 65 6c 65 63 74 20 d2 43 |urn&.."S|elect .C|
|00004e00| 6f 6e 74 69 6e 75 65 d3 | 20 74 6f 20 72 75 6e 20 |ontinue.| to run |
|00004e10| 69 6e 20 42 26 57 20 6d | 6f 64 65 20 6f 72 22 26 |in B&W m|ode or"&|
|00004e20| 72 65 74 75 72 6e 26 c2 | 0d 22 73 65 6c 65 63 74 |return&.|."select|
|00004e30| 20 d2 51 75 69 74 d3 20 | 74 6f 20 72 65 74 75 72 | .Quit. |to retur|
|00004e40| 6e 20 74 6f 20 46 69 6e | 64 65 72 2e 22 20 77 69 |n to Fin|der." wi|
|00004e50| 74 68 20 22 51 75 69 74 | 22 20 6f 72 20 22 43 6f |th "Quit|" or "Co|
|00004e60| 6e 74 69 6e 75 65 22 0d | 69 66 20 69 74 20 69 73 |ntinue".|if it is|
|00004e70| 20 22 43 6f 6e 74 69 6e | 75 65 22 20 74 68 65 6e | "Contin|ue" then|
|00004e80| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00004e90| 63 6f 6c 6f 72 50 72 65 | 66 0d 63 48 43 64 69 73 |colorPre|f.cHCdis|
|00004ea0| 70 6f 73 65 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |pose.els|e if it |
|00004eb0| 69 73 20 22 51 75 69 74 | 22 20 74 68 65 6e 0d 64 |is "Quit|" then.d|
|00004ec0| 6f 4d 65 6e 75 20 22 51 | 75 69 74 20 4c 61 62 48 |oMenu "Q|uit LabH|
|00004ed0| 65 6c 70 65 72 22 0d 65 | 6e 64 20 69 66 0d 65 6e |elper".e|nd if.en|
|00004ee0| 64 20 65 72 72 43 6f 6c | 6f 72 0d 0d 6f 6e 20 63 |d errCol|or..on c|
|00004ef0| 48 43 64 69 73 70 6f 73 | 65 0d 67 6c 6f 62 61 6c |HCdispos|e.global|
|00004f00| 20 67 4f 4b 54 6f 43 6f | 6c 6f 72 69 7a 65 2c 67 | gOKToCo|lorize,g|
|00004f10| 48 43 64 65 70 74 68 0d | 69 66 20 6e 6f 74 20 74 |HCdepth.|if not t|
|00004f20| 68 65 20 6c 6f 63 6b 53 | 63 72 65 65 6e 20 74 68 |he lockS|creen th|
|00004f30| 65 6e 20 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 43 |en lock |screen.C|
|00004f40| 6f 6c 6f 72 69 7a 65 48 | 43 20 22 44 69 73 70 6f |olorizeH|C "Dispo|
|00004f50| 73 65 22 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |se".if t|he resul|
|00004f60| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00004f70| 68 65 6e 20 61 6e 73 77 | 65 72 20 74 68 65 20 72 |hen answ|er the r|
|00004f80| 65 73 75 6c 74 0d 70 75 | 74 20 22 44 69 73 61 62 |esult.pu|t "Disab|
|00004f90| 6c 65 64 22 20 69 6e 74 | 6f 20 67 4f 4b 54 6f 43 |led" int|o gOKToC|
|00004fa0| 6f 6c 6f 72 69 7a 65 0d | 70 75 74 20 31 20 69 6e |olorize.|put 1 in|
|00004fb0| 74 6f 20 67 48 43 64 65 | 70 74 68 0d 65 6e 64 20 |to gHCde|pth.end |
|00004fc0| 63 48 43 64 69 73 70 6f | 73 65 0d 0d 66 75 6e 63 |cHCdispo|se..func|
|00004fd0| 74 69 6f 6e 20 63 48 43 | 4f 70 74 69 6f 6e 73 0d |tion cHC|Options.|
|00004fe0| 72 65 74 75 72 6e 20 22 | 48 43 63 6f 6c 6f 72 69 |return "|HCcolori|
|00004ff0| 7a 65 2c 48 43 75 6e 43 | 6f 6c 6f 72 69 7a 65 2c |ze,HCunC|olorize,|
|00005000| 48 43 62 57 68 69 74 65 | 2c 48 43 75 6e 42 57 68 |HCbWhite|,HCunBWh|
|00005010| 69 74 65 2c 48 43 67 72 | 61 70 68 69 63 2c 22 20 |ite,HCgr|aphic," |
|00005020| 26 c2 0d 22 48 43 75 6e | 47 72 61 70 68 69 63 2c |&.."HCun|Graphic,|
|00005030| 6e 6f 45 72 72 6f 72 73 | 2c 66 6f 72 63 65 43 6f |noErrors|,forceCo|
|00005040| 6c 6f 72 2c 66 6f 72 63 | 65 42 57 2c 57 69 6e 64 |lor,forc|eBW,Wind|
|00005050| 6f 77 73 2c 6c 65 61 76 | 65 43 75 72 73 6f 72 2c |ows,leav|eCursor,|
|00005060| 22 20 26 c2 0d 22 6e 6f | 56 69 73 75 61 6c 73 2c |" &.."no|Visuals,|
|00005070| 6e 6f 56 69 73 75 61 6c | 73 49 6e 43 6f 6c 6f 72 |noVisual|sInColor|
|00005080| 2c 64 62 43 6f 6c 6f 72 | 69 7a 65 48 43 2c 48 43 |,dbColor|izeHC,HC|
|00005090| 70 72 65 47 72 61 70 68 | 69 63 2c 48 43 69 6e 69 |preGraph|ic,HCini|
|000050a0| 74 22 0d 65 6e 64 20 63 | 48 43 4f 70 74 69 6f 6e |t".end c|HCOption|
|000050b0| 73 0d 0d 6f 6e 20 73 65 | 74 4f 70 74 69 6f 6e 73 |s..on se|tOptions|
|000050c0| 20 6f 70 74 69 6f 6e 73 | 0d 67 6c 6f 62 61 6c 20 | options|.global |
|000050d0| 67 48 43 4f 70 74 69 6f | 6e 73 0d 70 75 74 20 22 |gHCOptio|ns.put "|
|000050e0| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |00000000|00000000|
|000050f0| 22 20 69 6e 74 6f 20 67 | 48 43 4f 70 74 69 6f 6e |" into g|HCOption|
|00005100| 73 0d 69 66 20 6f 70 74 | 69 6f 6e 73 20 69 73 20 |s.if opt|ions is |
|00005110| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 22 |empty th|en.put "|
|00005120| 31 31 22 20 69 6e 74 6f | 20 63 68 61 72 20 31 20 |11" into| char 1 |
|00005130| 74 6f 20 32 20 6f 66 20 | 67 48 43 4f 70 74 69 6f |to 2 of |gHCOptio|
|00005140| 6e 73 0d 65 78 69 74 20 | 73 65 74 4f 70 74 69 6f |ns.exit |setOptio|
|00005150| 6e 73 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 63 48 |ns.end i|f.put cH|
|00005160| 43 4f 70 74 69 6f 6e 73 | 28 29 20 69 6e 74 6f 20 |COptions|() into |
|00005170| 6b 6e 6f 77 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |known.re|peat wit|
|00005180| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00005190| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|000051a0| 66 20 6f 70 74 69 6f 6e | 73 0d 67 65 74 20 69 74 |f option|s.get it|
|000051b0| 65 6d 20 69 20 6f 66 20 | 6f 70 74 69 6f 6e 73 0d |em i of |options.|
|000051c0| 69 66 20 69 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |if it is| not emp|
|000051d0| 74 79 20 74 68 65 6e 0d | 70 75 74 20 46 61 6c 73 |ty then.|put Fals|
|000051e0| 65 20 69 6e 74 6f 20 66 | 6f 75 6e 64 0d 72 65 70 |e into f|ound.rep|
|000051f0| 65 61 74 20 77 69 74 68 | 20 6b 20 3d 20 31 20 74 |eat with| k = 1 t|
|00005200| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005210| 69 74 65 6d 73 20 6f 66 | 20 6b 6e 6f 77 6e 0d 69 |items of| known.i|
|00005220| 66 20 69 74 20 69 73 20 | 69 74 65 6d 20 6b 20 6f |f it is |item k o|
|00005230| 66 20 6b 6e 6f 77 6e 20 | 74 68 65 6e 0d 70 75 74 |f known |then.put|
|00005240| 20 31 20 69 6e 74 6f 20 | 63 68 61 72 20 6b 20 6f | 1 into |char k o|
|00005250| 66 20 67 48 43 4f 70 74 | 69 6f 6e 73 0d 70 75 74 |f gHCOpt|ions.put|
|00005260| 20 54 72 75 65 20 69 6e | 74 6f 20 66 6f 75 6e 64 | True in|to found|
|00005270| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00005280| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 | if.end |repeat.i|
|00005290| 66 20 6e 6f 74 20 66 6f | 75 6e 64 20 74 68 65 6e |f not fo|und then|
|000052a0| 20 61 6e 73 77 65 72 20 | 22 55 6e 6b 6e 6f 77 6e | answer |"Unknown|
|000052b0| 20 6f 70 74 69 6f 6e 2e | 20 49 67 6e 6f 72 69 6e | option.| Ignorin|
|000052c0| 67 3a 22 20 26 26 20 69 | 74 0d 65 6e 64 20 69 66 |g:" && i|t.end if|
|000052d0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 69 66 20 63 |.end rep|eat.if c|
|000052e0| 68 61 72 20 38 20 74 6f | 20 39 20 6f 66 20 67 48 |har 8 to| 9 of gH|
|000052f0| 43 4f 70 74 69 6f 6e 73 | 20 69 73 20 22 31 31 22 |COptions| is "11"|
|00005300| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 59 6f | then.an|swer "Yo|
|00005310| 75 20 63 61 6e 6e 6f 74 | 20 73 65 74 20 62 6f 74 |u cannot| set bot|
|00005320| 68 20 66 6f 72 63 65 43 | 6f 6c 6f 72 20 61 6e 64 |h forceC|olor and|
|00005330| 20 66 6f 72 63 65 42 57 | 2e 20 49 67 6e 6f 72 69 | forceBW|. Ignori|
|00005340| 6e 67 20 62 6f 74 68 21 | 22 0d 70 75 74 20 22 30 |ng both!|".put "0|
|00005350| 30 22 20 69 6e 74 6f 20 | 63 68 61 72 20 38 20 74 |0" into |char 8 t|
|00005360| 6f 20 39 20 6f 66 20 67 | 48 43 4f 70 74 69 6f 6e |o 9 of g|HCOption|
|00005370| 73 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 73 65 74 |s.end if|.end set|
|00005380| 4f 70 74 69 6f 6e 73 0d | 0d 6f 6e 20 73 74 6f 72 |Options.|.on stor|
|00005390| 65 53 74 61 74 65 0d 67 | 6c 6f 62 61 6c 20 67 48 |eState.g|lobal gH|
|000053a0| 43 6f 70 74 69 6f 6e 73 | 2c 67 48 43 75 73 65 72 |Coptions|,gHCuser|
|000053b0| 2c 67 48 43 6b 65 70 74 | 4e 61 6d 65 73 0d 67 65 |,gHCkept|Names.ge|
|000053c0| 74 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 77 |t the va|lue of w|
|000053d0| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 20 6c 6f 6e |ord 2 of| the lon|
|000053e0| 67 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |g name o|f this s|
|000053f0| 74 61 63 6b 0d 72 65 70 | 65 61 74 20 77 69 74 68 |tack.rep|eat with|
|00005400| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00005410| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00005420| 20 67 48 43 6b 65 70 74 | 4e 61 6d 65 73 0d 69 66 | gHCkept|Names.if|
|00005430| 20 6c 69 6e 65 20 69 20 | 6f 66 20 67 48 43 6b 65 | line i |of gHCke|
|00005440| 70 74 4e 61 6d 65 73 20 | 69 73 20 69 74 20 74 68 |ptNames |is it th|
|00005450| 65 6e 0d 67 65 74 20 22 | 67 48 43 6b 70 75 22 20 |en.get "|gHCkpu" |
|00005460| 26 20 69 0d 64 6f 20 22 | 67 6c 6f 62 61 6c 22 20 |& i.do "|global" |
|00005470| 26 26 20 69 74 20 26 20 | 72 65 74 75 72 6e 20 26 |&& it & |return &|
|00005480| 20 22 70 75 74 20 67 48 | 43 75 73 65 72 20 69 6e | "put gH|Cuser in|
|00005490| 74 6f 22 20 26 26 20 69 | 74 0d 67 65 74 20 22 67 |to" && i|t.get "g|
|000054a0| 48 43 6b 70 6f 22 20 26 | 20 69 0d 64 6f 20 22 67 |HCkpo" &| i.do "g|
|000054b0| 6c 6f 62 61 6c 22 20 26 | 26 20 69 74 20 26 20 72 |lobal" &|& it & r|
|000054c0| 65 74 75 72 6e 20 26 20 | 22 70 75 74 20 67 48 43 |eturn & |"put gHC|
|000054d0| 6f 70 74 69 6f 6e 73 20 | 69 6e 74 6f 22 20 26 26 |options |into" &&|
|000054e0| 20 69 74 0d 65 78 69 74 | 20 73 74 6f 72 65 53 74 | it.exit| storeSt|
|000054f0| 61 74 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |ate.end |if.end r|
|00005500| 65 70 65 61 74 0d 70 75 | 74 20 69 74 20 26 20 72 |epeat.pu|t it & r|
|00005510| 65 74 75 72 6e 20 61 66 | 74 65 72 20 67 48 43 6b |eturn af|ter gHCk|
|00005520| 65 70 74 4e 61 6d 65 73 | 0d 67 65 74 20 22 67 48 |eptNames|.get "gH|
|00005530| 43 6b 70 75 22 20 26 20 | 74 68 65 20 6e 75 6d 62 |Ckpu" & |the numb|
|00005540| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 67 |er of li|nes of g|
|00005550| 48 43 6b 65 70 74 4e 61 | 6d 65 73 0d 64 6f 20 22 |HCkeptNa|mes.do "|
|00005560| 67 6c 6f 62 61 6c 22 20 | 26 26 20 69 74 20 26 20 |global" |&& it & |
|00005570| 72 65 74 75 72 6e 20 26 | 20 22 70 75 74 20 67 48 |return &| "put gH|
|00005580| 43 75 73 65 72 20 69 6e | 74 6f 22 20 26 26 20 69 |Cuser in|to" && i|
|00005590| 74 0d 67 65 74 20 22 67 | 48 43 6b 70 6f 22 20 26 |t.get "g|HCkpo" &|
|000055a0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|000055b0| 69 6e 65 73 20 6f 66 20 | 67 48 43 6b 65 70 74 4e |ines of |gHCkeptN|
|000055c0| 61 6d 65 73 0d 64 6f 20 | 22 67 6c 6f 62 61 6c 22 |ames.do |"global"|
|000055d0| 20 26 26 20 69 74 20 26 | 20 72 65 74 75 72 6e 20 | && it &| return |
|000055e0| 26 20 22 70 75 74 20 67 | 48 43 6f 70 74 69 6f 6e |& "put g|HCoption|
|000055f0| 73 20 69 6e 74 6f 22 20 | 26 26 20 69 74 0d 65 6e |s into" |&& it.en|
|00005600| 64 20 73 74 6f 72 65 53 | 74 61 74 65 0d 0d 6f 6e |d storeS|tate..on|
|00005610| 20 72 65 73 74 6f 72 65 | 53 74 61 74 65 20 55 73 | restore|State Us|
|00005620| 65 72 4f 6e 6c 79 0d 67 | 6c 6f 62 61 6c 20 67 48 |erOnly.g|lobal gH|
|00005630| 43 6f 70 74 69 6f 6e 73 | 2c 67 48 43 75 73 65 72 |Coptions|,gHCuser|
|00005640| 2c 67 48 43 6b 65 70 74 | 4e 61 6d 65 73 0d 70 75 |,gHCkept|Names.pu|
|00005650| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 48 43 |t empty |into gHC|
|00005660| 75 73 65 72 0d 69 66 20 | 55 73 65 72 4f 6e 6c 79 |user.if |UserOnly|
|00005670| 20 69 73 20 6e 6f 74 20 | 54 72 75 65 20 74 68 65 | is not |True the|
|00005680| 6e 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n put em|pty into|
|00005690| 20 67 48 43 6f 70 74 69 | 6f 6e 73 0d 67 65 74 20 | gHCopti|ons.get |
|000056a0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 77 6f 72 |the valu|e of wor|
|000056b0| 64 20 32 20 6f 66 20 74 | 68 65 20 6c 6f 6e 67 20 |d 2 of t|he long |
|000056c0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|000056d0| 63 6b 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |ck.repea|t with i|
|000056e0| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|000056f0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 67 |er of li|nes of g|
|00005700| 48 43 6b 65 70 74 4e 61 | 6d 65 73 0d 69 66 20 6c |HCkeptNa|mes.if l|
|00005710| 69 6e 65 20 69 20 6f 66 | 20 67 48 43 6b 65 70 74 |ine i of| gHCkept|
|00005720| 4e 61 6d 65 73 20 69 73 | 20 69 74 20 74 68 65 6e |Names is| it then|
|00005730| 0d 67 65 74 20 22 67 48 | 43 6b 70 75 22 20 26 20 |.get "gH|Ckpu" & |
|00005740| 69 0d 64 6f 20 22 67 6c | 6f 62 61 6c 22 20 26 26 |i.do "gl|obal" &&|
|00005750| 20 69 74 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 | it & re|turn & "|
|00005760| 70 75 74 22 20 26 26 20 | 69 74 20 26 26 20 22 69 |put" && |it && "i|
|00005770| 6e 74 6f 20 67 48 43 75 | 73 65 72 22 0d 69 66 20 |nto gHCu|ser".if |
|00005780| 55 73 65 72 4f 6e 6c 79 | 20 69 73 20 6e 6f 74 20 |UserOnly| is not |
|00005790| 54 72 75 65 20 74 68 65 | 6e 0d 67 65 74 20 22 67 |True the|n.get "g|
|000057a0| 48 43 6b 70 6f 22 20 26 | 20 69 0d 64 6f 20 22 67 |HCkpo" &| i.do "g|
|000057b0| 6c 6f 62 61 6c 22 20 26 | 26 20 69 74 20 26 20 72 |lobal" &|& it & r|
|000057c0| 65 74 75 72 6e 20 26 20 | 22 70 75 74 22 20 26 26 |eturn & |"put" &&|
|000057d0| 20 69 74 20 26 26 20 22 | 69 6e 74 6f 20 67 48 43 | it && "|into gHC|
|000057e0| 6f 70 74 69 6f 6e 73 22 | 0d 65 6e 64 20 69 66 0d |options"|.end if.|
|000057f0| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00005800| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |if.end r|epeat.en|
|00005810| 64 20 72 65 73 74 6f 72 | 65 53 74 61 74 65 0d 0d |d restor|eState..|
|00005820| 6f 6e 20 63 48 43 73 65 | 74 55 70 20 55 73 65 43 |on cHCse|tUp UseC|
|00005830| 6f 6c 6f 72 2c 20 73 69 | 6c 65 6e 74 2c 20 6f 70 |olor, si|lent, op|
|00005840| 74 69 6f 6e 73 2c 20 64 | 65 70 74 68 2c 20 49 6e |tions, d|epth, In|
|00005850| 53 74 61 72 74 0d 67 6c | 6f 62 61 6c 20 67 4f 4b |Start.gl|obal gOK|
|00005860| 74 6f 43 6f 6c 6f 72 69 | 7a 65 2c 67 48 43 6f 70 |toColori|ze,gHCop|
|00005870| 74 69 6f 6e 73 2c 67 48 | 43 75 73 65 72 0d 69 66 |tions,gH|Cuser.if|
|00005880| 20 69 6e 53 74 61 72 74 | 20 69 73 20 54 72 75 65 | inStart| is True|
|00005890| 20 74 68 65 6e 20 73 65 | 74 4f 70 74 69 6f 6e 73 | then se|tOptions|
|000058a0| 20 6f 70 74 69 6f 6e 73 | 0d 65 6c 73 65 0d 72 65 | options|.else.re|
|000058b0| 73 74 6f 72 65 53 74 61 | 74 65 0d 69 66 20 67 48 |storeSta|te.if gH|
|000058c0| 43 6f 70 74 69 6f 6e 73 | 20 69 73 20 65 6d 70 74 |Coptions| is empt|
|000058d0| 79 20 74 68 65 6e 20 73 | 65 74 4f 70 74 69 6f 6e |y then s|etOption|
|000058e0| 73 20 6f 70 74 69 6f 6e | 73 0d 65 6c 73 65 20 69 |s option|s.else i|
|000058f0| 66 20 73 69 6c 65 6e 74 | 20 69 73 20 6e 6f 74 20 |f silent| is not |
|00005900| 4e 6f 20 74 68 65 6e 20 | 70 75 74 20 54 72 75 65 |No then |put True|
|00005910| 20 69 6e 74 6f 20 53 69 | 6c 65 6e 74 0d 65 6e 64 | into Si|lent.end|
|00005920| 20 69 66 0d 69 66 20 55 | 73 65 43 6f 6c 6f 72 20 | if.if U|seColor |
|00005930| 69 73 20 6e 6f 74 20 46 | 61 6c 73 65 20 74 68 65 |is not F|alse the|
|00005940| 6e 0d 69 66 20 6d 61 78 | 44 65 70 74 68 28 29 3d |n.if max|Depth()=|
|00005950| 31 20 61 6e 64 20 63 68 | 61 72 20 38 20 6f 66 20 |1 and ch|ar 8 of |
|00005960| 67 48 43 6f 70 74 69 6f | 6e 73 20 69 73 20 6e 6f |gHCoptio|ns is no|
|00005970| 74 20 31 20 6f 72 c2 0d | 63 68 61 72 20 39 20 6f |t 1 or..|char 9 o|
|00005980| 66 20 67 48 43 6f 70 74 | 69 6f 6e 73 20 69 73 20 |f gHCopt|ions is |
|00005990| 31 20 74 68 65 6e 0d 63 | 48 43 64 69 73 70 6f 73 |1 then.c|HCdispos|
|000059a0| 65 0d 65 6c 73 65 0d 63 | 48 43 69 6e 73 74 61 6c |e.else.c|HCinstal|
|000059b0| 6c 20 64 65 70 74 68 0d | 69 66 20 63 68 61 72 20 |l depth.|if char |
|000059c0| 38 20 6f 66 20 67 48 43 | 6f 70 74 69 6f 6e 73 20 |8 of gHC|options |
|000059d0| 69 73 20 31 20 74 68 65 | 6e 20 70 75 74 20 65 6d |is 1 the|n put em|
|000059e0| 70 74 79 20 69 6e 74 6f | 20 67 4f 6b 54 6f 43 6f |pty into| gOkToCo|
|000059f0| 6c 6f 72 69 7a 65 0d 69 | 66 20 67 4f 6b 54 6f 43 |lorize.i|f gOkToC|
|00005a00| 6f 6c 6f 72 69 7a 65 20 | 69 73 20 6e 6f 74 20 65 |olorize |is not e|
|00005a10| 6d 70 74 79 20 74 68 65 | 6e 20 63 48 43 64 69 73 |mpty the|n cHCdis|
|00005a20| 70 6f 73 65 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |pose.end| if.else|
|00005a30| 0d 63 48 43 64 69 73 70 | 6f 73 65 0d 65 6e 64 20 |.cHCdisp|ose.end |
|00005a40| 69 66 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |if.put e|mpty int|
|00005a50| 6f 20 67 48 43 75 73 65 | 72 0d 65 6e 64 20 63 48 |o gHCuse|r.end cH|
|00005a60| 43 73 65 74 55 70 0d 0d | 6f 6e 20 63 48 43 72 65 |CsetUp..|on cHCre|
|00005a70| 73 74 61 72 74 20 55 73 | 65 43 6f 6c 6f 72 2c 20 |start Us|eColor, |
|00005a80| 6f 70 74 69 6f 6e 73 2c | 20 64 65 70 74 68 0d 67 |options,| depth.g|
|00005a90| 6c 6f 62 61 6c 20 67 48 | 43 6f 70 74 69 6f 6e 73 |lobal gH|Coptions|
|00005aa0| 2c 67 4f 6b 54 6f 43 6f | 6c 6f 72 69 7a 65 0d 72 |,gOkToCo|lorize.r|
|00005ab0| 65 73 74 6f 72 65 53 74 | 61 74 65 0d 69 66 20 67 |estoreSt|ate.if g|
|00005ac0| 48 43 6f 70 74 69 6f 6e | 73 20 69 73 20 65 6d 70 |HCoption|s is emp|
|00005ad0| 74 79 20 74 68 65 6e 20 | 73 65 74 4f 70 74 69 6f |ty then |setOptio|
|00005ae0| 6e 73 20 6f 70 74 69 6f | 6e 73 0d 69 66 20 55 73 |ns optio|ns.if Us|
|00005af0| 65 43 6f 6c 6f 72 20 69 | 73 20 6e 6f 74 20 46 61 |eColor i|s not Fa|
|00005b00| 6c 73 65 20 74 68 65 6e | 0d 69 66 20 6d 61 78 44 |lse then|.if maxD|
|00005b10| 65 70 74 68 28 29 3d 31 | 20 61 6e 64 20 63 68 61 |epth()=1| and cha|
|00005b20| 72 20 38 20 6f 66 20 67 | 48 43 6f 70 74 69 6f 6e |r 8 of g|HCoption|
|00005b30| 73 20 69 73 20 6e 6f 74 | 20 31 20 6f 72 c2 0d 63 |s is not| 1 or..c|
|00005b40| 68 61 72 20 39 20 6f 66 | 20 67 48 43 6f 70 74 69 |har 9 of| gHCopti|
|00005b50| 6f 6e 73 20 69 73 20 31 | 20 74 68 65 6e 0d 63 48 |ons is 1| then.cH|
|00005b60| 43 64 69 73 70 6f 73 65 | 0d 65 6c 73 65 0d 63 48 |Cdispose|.else.cH|
|00005b70| 43 69 6e 73 74 61 6c 6c | 20 64 65 70 74 68 0d 69 |Cinstall| depth.i|
|00005b80| 66 20 63 68 61 72 20 38 | 20 6f 66 20 67 48 43 6f |f char 8| of gHCo|
|00005b90| 70 74 69 6f 6e 73 20 69 | 73 20 31 20 74 68 65 6e |ptions i|s 1 then|
|00005ba0| 20 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 | put emp|ty into |
|00005bb0| 67 4f 6b 54 6f 43 6f 6c | 6f 72 69 7a 65 0d 69 66 |gOkToCol|orize.if|
|00005bc0| 20 67 4f 6b 54 6f 43 6f | 6c 6f 72 69 7a 65 20 69 | gOkToCo|lorize i|
|00005bd0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00005be0| 20 63 48 43 64 69 73 70 | 6f 73 65 0d 65 6e 64 20 | cHCdisp|ose.end |
|00005bf0| 69 66 0d 65 6c 73 65 0d | 63 48 43 64 69 73 70 6f |if.else.|cHCdispo|
|00005c00| 73 65 0d 65 6e 64 20 69 | 66 0d 69 66 20 6e 6f 74 |se.end i|f.if not|
|00005c10| 20 74 68 65 20 6c 6f 63 | 6b 53 63 72 65 65 6e 20 | the loc|kScreen |
|00005c20| 74 68 65 6e 20 6c 6f 63 | 6b 20 73 63 72 65 65 6e |then loc|k screen|
|00005c30| 0d 63 48 43 63 6f 6c 6f | 72 69 7a 65 0d 69 66 20 |.cHCcolo|rize.if |
|00005c40| 6e 6f 74 20 74 68 65 20 | 6c 6f 63 6b 53 63 72 65 |not the |lockScre|
|00005c50| 65 6e 20 74 68 65 6e 20 | 6c 6f 63 6b 20 73 63 72 |en then |lock scr|
|00005c60| 65 65 6e 0d 65 6e 64 20 | 63 48 43 72 65 73 74 61 |een.end |cHCresta|
|00005c70| 72 74 0d 0d 6f 6e 20 63 | 6c 6f 73 65 44 6f 77 6e |rt..on c|loseDown|
|00005c80| 43 48 43 0d 67 6c 6f 62 | 61 6c 20 67 48 43 4f 70 |CHC.glob|al gHCOp|
|00005c90| 74 69 6f 6e 73 2c 67 48 | 43 75 73 65 72 0d 63 48 |tions,gH|Cuser.cH|
|00005ca0| 43 75 6e 43 6f 6c 6f 72 | 69 7a 65 0d 63 48 43 64 |CunColor|ize.cHCd|
|00005cb0| 69 73 70 6f 73 65 0d 73 | 74 6f 72 65 53 74 61 74 |ispose.s|toreStat|
|00005cc0| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|00005cd0| 20 67 48 43 4f 70 74 69 | 6f 6e 73 0d 70 75 74 20 | gHCOpti|ons.put |
|00005ce0| 65 6d 70 74 79 20 69 6e | 74 6f 20 67 48 43 75 73 |empty in|to gHCus|
|00005cf0| 65 72 0d 65 6e 64 20 63 | 6c 6f 73 65 44 6f 77 6e |er.end c|loseDown|
|00005d00| 43 48 43 0d 0d 6f 6e 20 | 63 48 43 63 6c 6f 73 65 |CHC..on |cHCclose|
|00005d10| 0d 67 6c 6f 62 61 6c 20 | 67 48 43 75 73 65 72 2c |.global |gHCuser,|
|00005d20| 67 48 43 6f 70 74 69 6f | 6e 73 0d 0d 69 66 20 67 |gHCoptio|ns..if g|
|00005d30| 48 43 6f 70 74 69 6f 6e | 73 20 69 73 20 65 6d 70 |HCoption|s is emp|
|00005d40| 74 79 20 74 68 65 6e 20 | 65 78 69 74 20 63 48 43 |ty then |exit cHC|
|00005d50| 63 6c 6f 73 65 0d 70 75 | 74 20 65 6d 70 74 79 20 |close.pu|t empty |
|00005d60| 69 6e 74 6f 20 67 48 43 | 75 73 65 72 0d 63 6c 6f |into gHC|user.clo|
|00005d70| 73 65 64 6f 77 6e 43 48 | 43 0d 65 6e 64 20 63 48 |sedownCH|C.end cH|
|00005d80| 43 63 6c 6f 73 65 0d 0d | 6f 6e 20 63 48 43 6c 65 |Cclose..|on cHCle|
|00005d90| 61 76 65 0d 67 6c 6f 62 | 61 6c 20 67 48 43 6f 70 |ave.glob|al gHCop|
|00005da0| 74 69 6f 6e 73 0d 69 66 | 20 67 48 43 6f 70 74 69 |tions.if| gHCopti|
|00005db0| 6f 6e 73 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ons is e|mpty the|
|00005dc0| 6e 20 65 78 69 74 20 63 | 48 43 6c 65 61 76 65 0d |n exit c|HCleave.|
|00005dd0| 63 6c 6f 73 65 64 6f 77 | 6e 43 48 43 0d 65 6e 64 |closedow|nCHC.end|
|00005de0| 20 63 48 43 6c 65 61 76 | 65 0d 0d 6f 6e 20 63 48 | cHCleav|e..on cH|
|00005df0| 43 63 6f 6c 6f 72 69 7a | 65 0d 67 6c 6f 62 61 6c |Ccoloriz|e.global|
|00005e00| 20 67 4f 4b 54 6f 43 6f | 6c 6f 72 69 7a 65 2c 67 | gOKToCo|lorize,g|
|00005e10| 48 43 6f 70 74 69 6f 6e | 73 2c 67 48 43 77 69 6e |HCoption|s,gHCwin|
|00005e20| 64 6f 77 73 2c 67 48 43 | 65 66 66 65 63 74 73 0d |dows,gHC|effects.|
|00005e30| 69 66 20 67 48 43 6f 70 | 74 69 6f 6e 73 20 69 73 |if gHCop|tions is|
|00005e40| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00005e50| 20 63 48 43 63 6f 6c 6f | 72 69 7a 65 0d 69 66 20 | cHCcolo|rize.if |
|00005e60| 6e 6f 74 20 74 68 65 20 | 6c 6f 63 6b 53 63 72 65 |not the |lockScre|
|00005e70| 65 6e 20 74 68 65 6e 20 | 6c 6f 63 6b 20 73 63 72 |en then |lock scr|
|00005e80| 65 65 6e 0d 69 66 20 67 | 4f 4b 54 6f 43 6f 6c 6f |een.if g|OKToColo|
|00005e90| 72 69 7a 65 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |rize is |not empt|
|00005ea0| 79 20 74 68 65 6e 0d 65 | 6c 73 65 0d 69 66 20 63 |y then.e|lse.if c|
|00005eb0| 68 61 72 20 31 20 6f 66 | 20 67 48 43 6f 70 74 69 |har 1 of| gHCopti|
|00005ec0| 6f 6e 73 20 69 73 20 31 | 20 74 68 65 6e 20 73 65 |ons is 1| then se|
|00005ed0| 6e 64 20 48 43 63 6f 6c | 6f 72 69 7a 65 20 74 6f |nd HCcol|orize to|
|00005ee0| 20 63 64 0d 65 6c 73 65 | 20 63 6f 6c 6f 72 69 7a | cd.else| coloriz|
|00005ef0| 65 48 43 20 22 45 72 61 | 73 65 22 0d 65 6e 64 20 |eHC "Era|se".end |
|00005f00| 69 66 0d 69 66 20 63 68 | 61 72 20 35 20 6f 66 20 |if.if ch|ar 5 of |
|00005f10| 67 48 43 6f 70 74 69 6f | 6e 73 20 69 73 20 31 20 |gHCoptio|ns is 1 |
|00005f20| 74 68 65 6e 20 73 65 6e | 64 20 48 43 67 72 61 70 |then sen|d HCgrap|
|00005f30| 68 69 63 20 74 6f 20 63 | 64 0d 67 65 74 20 67 48 |hic to c|d.get gH|
|00005f40| 43 65 66 66 65 63 74 73 | 0d 70 75 74 20 65 6d 70 |Ceffects|.put emp|
|00005f50| 74 79 20 69 6e 74 6f 20 | 67 48 43 65 66 66 65 63 |ty into |gHCeffec|
|00005f60| 74 73 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |ts.if it| is empt|
|00005f70| 79 20 74 68 65 6e 20 75 | 6e 6c 6f 63 6b 20 73 63 |y then u|nlock sc|
|00005f80| 72 65 65 6e 0d 65 6c 73 | 65 20 64 6f 20 22 75 6e |reen.els|e do "un|
|00005f90| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00005fa0| 22 20 26 26 20 69 74 0d | 65 6e 64 20 63 48 43 63 |" && it.|end cHCc|
|00005fb0| 6f 6c 6f 72 69 7a 65 0d | 0d 6f 6e 20 63 48 43 75 |olorize.|.on cHCu|
|00005fc0| 6e 43 6f 6c 6f 72 69 7a | 65 0d 67 6c 6f 62 61 6c |nColoriz|e.global|
|00005fd0| 20 67 4f 4b 54 6f 43 6f | 6c 6f 72 69 7a 65 2c 67 | gOKToCo|lorize,g|
|00005fe0| 48 43 6f 70 74 69 6f 6e | 73 2c 67 48 43 77 69 6e |HCoption|s,gHCwin|
|00005ff0| 64 6f 77 73 0d 69 66 20 | 67 48 43 6f 70 74 69 6f |dows.if |gHCoptio|
|00006000| 6e 73 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ns is em|pty then|
|00006010| 20 65 78 69 74 20 63 48 | 43 75 6e 43 6f 6c 6f 72 | exit cH|CunColor|
|00006020| 69 7a 65 0d 69 66 20 67 | 4f 4b 54 6f 43 6f 6c 6f |ize.if g|OKToColo|
|00006030| 72 69 7a 65 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |rize is |not empt|
|00006040| 79 20 74 68 65 6e 0d 69 | 66 20 63 68 61 72 20 31 |y then.i|f char 1|
|00006050| 31 20 6f 66 20 67 48 43 | 6f 70 74 69 6f 6e 73 20 |1 of gHC|options |
|00006060| 69 73 20 6e 6f 74 20 31 | 20 74 68 65 6e 20 73 65 |is not 1| then se|
|00006070| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|00006080| 62 75 73 79 0d 69 66 20 | 6e 6f 74 20 74 68 65 20 |busy.if |not the |
|00006090| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 68 65 6e 0d |lockScre|en then.|
|000060a0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|000060b0| 69 66 0d 65 6c 73 65 0d | 69 66 20 63 68 61 72 20 |if.else.|if char |
|000060c0| 32 20 6f 66 20 67 48 43 | 6f 70 74 69 6f 6e 73 20 |2 of gHC|options |
|000060d0| 69 73 20 31 20 74 68 65 | 6e 20 73 65 6e 64 20 48 |is 1 the|n send H|
|000060e0| 43 75 6e 43 6f 6c 6f 72 | 69 7a 65 20 74 6f 20 63 |CunColor|ize to c|
|000060f0| 64 0d 65 6c 73 65 0d 69 | 66 20 63 68 61 72 20 31 |d.else.i|f char 1|
|00006100| 31 20 6f 66 20 67 48 43 | 6f 70 74 69 6f 6e 73 20 |1 of gHC|options |
|00006110| 69 73 20 6e 6f 74 20 31 | 20 74 68 65 6e 20 73 65 |is not 1| then se|
|00006120| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|00006130| 62 75 73 79 0d 69 66 20 | 6e 6f 74 20 74 68 65 20 |busy.if |not the |
|00006140| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 68 65 6e 20 |lockScre|en then |
|00006150| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|00006160| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 63 48 |if.end i|f.end cH|
|00006170| 43 75 6e 43 6f 6c 6f 72 | 69 7a 65 0d 0d 6f 6e 20 |CunColor|ize..on |
|00006180| 48 43 63 6f 6c 6f 72 69 | 7a 65 0d 43 6f 6c 6f 72 |HCcolori|ze.Color|
|00006190| 69 7a 65 48 43 20 22 45 | 72 61 73 65 22 0d 63 6f |izeHC "E|rase".co|
|000061a0| 6c 6f 72 69 7a 65 48 43 | 20 22 6e 65 77 22 2c 22 |lorizeHC| "new","|
|000061b0| 62 61 63 6b 64 72 6f 70 | 22 2c 22 30 2c 30 22 0d |backdrop|","0,0".|
|000061c0| 65 6e 64 20 48 43 63 6f | 6c 6f 72 69 7a 65 0d 0d |end HCco|lorize..|
|000061d0| 6f 6e 20 48 43 75 6e 43 | 6f 6c 6f 72 69 7a 65 0d |on HCunC|olorize.|
|000061e0| 67 6c 6f 62 61 6c 20 67 | 48 43 4f 70 74 69 6f 6e |global g|HCOption|
|000061f0| 73 0d 69 66 20 63 68 61 | 72 20 31 31 20 6f 66 20 |s.if cha|r 11 of |
|00006200| 67 48 43 6f 70 74 69 6f | 6e 73 20 69 73 20 6e 6f |gHCoptio|ns is no|
|00006210| 74 20 31 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |t 1 then| set the|
|00006220| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00006230| 69 66 20 6e 6f 74 20 74 | 68 65 20 6c 6f 63 6b 53 |if not t|he lockS|
|00006240| 63 72 65 65 6e 20 74 68 | 65 6e 20 6c 6f 63 6b 20 |creen th|en lock |
|00006250| 73 63 72 65 65 6e 0d 65 | 6e 64 20 48 43 75 6e 43 |screen.e|nd HCunC|
|00006260| 6f 6c 6f 72 69 7a 65 00 | 00 00 00 00 00 00 00 00 |olorize.|........|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 03 20 9c 00 03 24 45 | 00 03 64 ae 00 04 8b f7 |.. ...$E|..d.....|
|000062b0| 00 04 9c b1 00 04 a2 c4 | 00 04 89 e6 00 04 a4 37 |........|.......7|
|000062c0| 00 04 ae aa 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.