home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Science / LabHelper 4.02 Folder / LabHelper 4.02 next >
MacOS Executable  |  1994-12-13  |  1.2 MB  |  [APPL/TRJT]

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.02

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Executable (executable/macOSExecutable) magic Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, bundle, Fri Oct 14 14:02:13 1994, modified Tue Dec 13 04:59:19 1994, creator 'TRJT', type application, 49152 bytes "LabHelper 4.02" , at 0xc080 1241922 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
keyvalue
macFileType[APPL]
macFileCreator[TRJT]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 4c 61 62 48 65 6c | 70 65 72 20 34 2e 30 32 |..LabHel|per 4.02|
|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 c0 00 00 | 12 f3 42 aa c4 78 25 ab |........|..B..x%.|
|00000060| 13 20 f7 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 57 78 00 00 |........|....Wx..|
|00000080| 00 00 68 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..h.STAK|........|
|00000090| 00 00 00 0a 00 00 c0 00 | 00 00 68 00 00 00 00 00 |........|..h.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a ae 00 00 00 01 |........|........|
|000000b0| 00 00 0b f7 00 00 11 7e | 00 00 00 02 00 00 1a c0 |.......~|........|
|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 04 02 80 00 |..... ..|. ......|
|000000f0| 9c 67 fc 93 00 00 00 00 | 00 28 00 40 01 7e 02 40 |.g......|.(.@.~.@|
|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 9b 00 00 00 02 e0 | 00 00 a8 00 00 00 17 e0 |........|........|
|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 70 75 74 20 66 6c 64 | to true|.put fld|
|00000800| 20 22 56 61 72 48 6f 6c | 64 65 72 22 20 69 6e 74 | "VarHol|der" int|
|00000810| 6f 20 76 61 72 48 6f 6c | 64 65 72 20 2d 2d 2d 2d |o varHol|der ----|
|00000820| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000830| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000840| 2d 2d 2d 2d 2d 20 6f 6e | 20 63 68 6b 53 74 61 74 |----- on| chkStat|
|00000850| 75 73 0d 69 66 20 6c 69 | 63 65 6e 73 65 43 68 65 |us.if li|censeChe|
|00000860| 63 6b 28 76 61 72 48 6f | 6c 64 65 72 29 3d 22 46 |ck(varHo|lder)="F|
|00000870| 61 69 6c 22 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |ail" the|n.answer|
|00000880| 20 22 54 68 69 73 20 69 | 73 20 61 6e 20 75 6e 72 | "This i|s an unr|
|00000890| 65 67 69 73 74 65 72 65 | 64 20 63 6f 70 79 20 6f |egistere|d copy o|
|000008a0| 66 20 4c 61 62 48 65 6c | 70 65 72 21 22 26 72 65 |f LabHel|per!"&re|
|000008b0| 74 75 72 6e 26 c2 0d 22 | 54 68 65 20 6e 75 6d 62 |turn&.."|The numb|
|000008c0| 65 72 20 6f 66 20 65 6e | 74 72 69 65 73 20 69 73 |er of en|tries is|
|000008d0| 20 6c 69 6d 69 74 65 64 | 20 74 6f 20 31 30 2e 22 | limited| to 10."|
|000008e0| 26 72 65 74 75 72 6e 26 | c2 0d 22 50 6c 65 61 73 |&return&|.."Pleas|
|000008f0| 65 20 72 65 67 69 73 74 | 65 72 20 74 6f 20 72 65 |e regist|er to re|
|00000900| 6d 6f 76 65 20 74 68 69 | 73 20 6c 69 6d 69 74 2e |move thi|s limit.|
|00000910| 22 26 72 65 74 75 72 6e | 26 c2 0d 22 59 6f 75 20 |"&return|&.."You |
|00000920| 68 61 76 65 20 32 31 20 | 64 61 79 73 20 74 6f 20 |have 21 |days to |
|00000930| 6d 61 6b 65 20 79 6f 75 | 72 20 64 65 63 69 73 69 |make you|r decisi|
|00000940| 6f 6e 21 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |on!" wit|h "OK" o|
|00000950| 72 20 22 52 65 67 69 73 | 74 72 61 74 69 6f 6e 22 |r "Regis|tration"|
|00000960| 0d 69 66 20 69 74 20 69 | 73 20 22 52 65 67 69 73 |.if it i|s "Regis|
|00000970| 74 72 61 74 69 6f 6e 22 | 20 74 68 65 6e 0d 73 65 |tration"| then.se|
|00000980| 6e 64 20 6d 6f 75 73 65 | 55 70 20 74 6f 20 63 64 |nd mouse|Up to cd|
|00000990| 20 62 74 6e 20 31 0d 70 | 75 74 20 74 68 65 20 6c | btn 1.p|ut the l|
|000009a0| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|000009b0| 20 73 74 61 63 6b 20 69 | 6e 74 6f 20 72 65 74 75 | stack i|nto retu|
|000009c0| 72 6e 53 74 61 63 6b 0d | 65 6e 64 20 69 66 0d 65 |rnStack.|end if.e|
|000009d0| 6e 64 20 69 66 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nd if --|--------|
|000009e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 65 6e 64 20 |--------|--- end |
|00000a20| 63 68 6b 53 74 61 74 75 | 73 0d 69 66 20 66 6c 64 |chkStatu|s.if fld|
|00000a30| 20 22 74 69 6d 65 20 68 | 6f 6c 64 65 72 22 20 69 | "time h|older" i|
|00000a40| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|00000a50| 20 74 68 65 20 73 65 63 | 6f 6e 64 73 20 69 6e 74 | the sec|onds int|
|00000a60| 6f 20 66 6c 64 20 22 74 | 69 6d 65 20 68 6f 6c 64 |o fld "t|ime hold|
|00000a70| 65 72 22 0d 69 66 20 6c | 69 63 65 6e 73 65 43 68 |er".if l|icenseCh|
|00000a80| 65 63 6b 28 76 61 72 48 | 6f 6c 64 65 72 29 3d 22 |eck(varH|older)="|
|00000a90| 46 61 69 6c 22 20 74 68 | 65 6e 0d 69 66 20 28 74 |Fail" th|en.if (t|
|00000aa0| 68 65 20 73 65 63 6f 6e | 64 73 20 2d 20 66 6c 64 |he secon|ds - fld|
|00000ab0| 20 22 74 69 6d 65 20 68 | 6f 6c 64 65 72 22 29 2f | "time h|older")/|
|00000ac0| 36 30 2f 36 30 2f 32 34 | 20 3e 20 32 31 20 74 68 |60/60/24| > 21 th|
|00000ad0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 54 68 65 20 64 |en.answe|r "The d|
|00000ae0| 65 6d 6f 20 70 65 72 69 | 6f 64 20 68 61 73 20 65 |emo peri|od has e|
|00000af0| 6c 61 70 73 65 64 21 22 | 26 72 65 74 75 72 6e 26 |lapsed!"|&return&|
|00000b00| c2 0d 22 50 6c 65 61 73 | 65 20 72 65 67 69 73 74 |.."Pleas|e regist|
|00000b10| 65 72 20 79 6f 75 72 20 | 63 6f 70 79 20 6f 66 20 |er your |copy of |
|00000b20| 4c 61 62 48 65 6c 70 65 | 72 21 22 0d 73 65 6e 64 |LabHelpe|r!".send|
|00000b30| 20 22 64 6f 4d 65 6e 75 | 20 51 75 69 74 20 48 79 | "doMenu| Quit Hy|
|00000b40| 70 65 72 43 61 72 64 22 | 20 74 6f 20 48 79 70 65 |perCard"| to Hype|
|00000b50| 72 43 61 72 64 0d 65 6c | 73 65 0d 70 75 74 20 28 |rCard.el|se.put (|
|00000b60| 74 68 65 20 73 65 63 6f | 6e 64 73 20 2d 20 66 6c |the seco|nds - fl|
|00000b70| 64 20 22 74 69 6d 65 20 | 68 6f 6c 64 65 72 22 29 |d "time |holder")|
|00000b80| 2f 36 30 2f 36 30 2f 32 | 34 20 69 6e 74 6f 20 74 |/60/60/2|4 into t|
|00000b90| 6d 70 0d 70 75 74 20 72 | 6f 75 6e 64 28 32 31 2d |mp.put r|ound(21-|
|00000ba0| 74 6d 70 29 20 69 6e 74 | 6f 20 64 61 79 73 4c 65 |tmp) int|o daysLe|
|00000bb0| 66 74 0d 61 6e 73 77 65 | 72 20 64 61 79 73 4c 65 |ft.answe|r daysLe|
|00000bc0| 66 74 26 26 22 64 61 79 | 28 73 29 20 74 6f 20 73 |ft&&"day|(s) to s|
|00000bd0| 65 6c 66 20 64 65 73 74 | 72 75 63 74 69 6f 6e 21 |elf dest|ruction!|
|00000be0| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |".end if|.end if.|
|00000bf0| 73 65 74 20 75 73 65 72 | 6c 65 76 65 6c 20 74 6f |set user|level to|
|00000c00| 20 34 0d 67 6f 20 72 65 | 74 75 72 6e 53 74 61 63 | 4.go re|turnStac|
|00000c10| 6b 20 69 6e 20 6e 65 77 | 20 77 69 6e 64 6f 77 0d |k in new| window.|
|00000c20| 73 65 74 20 74 68 65 20 | 63 61 6e 74 61 62 6f 72 |set the |cantabor|
|00000c30| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |t of thi|s stack |
|00000c40| 74 6f 20 66 61 6c 73 65 | 0d 6f 70 65 6e 42 61 63 |to false|.openBac|
|00000c50| 6b 67 72 6f 75 6e 64 0d | 70 61 73 73 20 73 74 61 |kground.|pass sta|
|00000c60| 72 74 55 70 0d 65 6e 64 | 20 73 74 61 72 74 55 70 |rtUp.end| startUp|
|00000c70| 0d 0d 6f 6e 20 71 75 69 | 74 0d 67 6c 6f 62 61 6c |..on qui|t.global|
|00000c80| 20 73 74 61 63 6b 73 2c | 63 6f 6c 6f 72 50 72 65 | stacks,|colorPre|
|00000c90| 66 2c 6d 65 6e 75 50 72 | 65 66 0d 73 65 74 20 74 |f,menuPr|ef.set t|
|00000ca0| 68 65 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |he lockm|essages |
|00000cb0| 74 6f 20 74 72 75 65 0d | 6c 6f 63 6b 20 73 63 72 |to true.|lock scr|
|00000cc0| 65 65 6e 0d 67 6f 20 68 | 6f 6d 65 0d 70 75 74 20 |een.go h|ome.put |
|00000cd0| 73 74 61 63 6b 73 20 69 | 6e 74 6f 20 63 64 20 66 |stacks i|nto cd f|
|00000ce0| 6c 64 20 22 70 61 74 68 | 73 22 0d 70 75 74 20 63 |ld "path|s".put c|
|00000cf0| 6f 6c 6f 72 50 72 65 66 | 20 69 6e 74 6f 20 66 6c |olorPref| into fl|
|00000d00| 64 20 22 63 6f 6c 6f 72 | 20 70 72 65 66 22 0d 70 |d "color| pref".p|
|00000d10| 75 74 20 6d 65 6e 75 50 | 72 65 66 20 69 6e 74 6f |ut menuP|ref into|
|00000d20| 20 66 6c 64 20 22 6d 65 | 6e 75 20 70 72 65 66 22 | fld "me|nu pref"|
|00000d30| 0d 67 65 74 20 77 69 6e | 64 6f 77 53 63 72 69 70 |.get win|dowScrip|
|00000d40| 74 28 22 44 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |t("Distr|ibution |
|00000d50| 53 70 6c 61 73 68 22 29 | 0d 77 61 69 74 20 34 20 |Splash")|.wait 4 |
|00000d60| 73 65 63 6f 6e 64 73 0d | 63 6c 6f 73 65 20 77 69 |seconds.|close wi|
|00000d70| 6e 64 6f 77 20 22 44 69 | 73 74 72 69 62 75 74 69 |ndow "Di|stributi|
|00000d80| 6f 6e 20 53 70 6c 61 73 | 68 22 0d 73 65 74 20 74 |on Splas|h".set t|
|00000d90| 68 65 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |he lockm|essages |
|00000da0| 74 6f 20 66 61 6c 73 65 | 0d 75 6e 6c 6f 63 6b 20 |to false|.unlock |
|00000db0| 73 63 72 65 65 6e 0d 70 | 61 73 73 20 71 75 69 74 |screen.p|ass quit|
|00000dc0| 0d 65 6e 64 20 71 75 69 | 74 0d 0d 6f 6e 20 6f 70 |.end qui|t..on op|
|00000dd0| 65 6e 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 73 |enStack.|global s|
|00000de0| 74 61 63 6b 73 2c 76 61 | 72 48 6f 6c 64 65 72 2c |tacks,va|rHolder,|
|00000df0| 61 70 70 6c 4e 61 6d 65 | 2c 63 6f 6c 6f 72 50 72 |applName|,colorPr|
|00000e00| 65 66 2c 6d 65 6e 75 50 | 72 65 66 0d 73 65 74 20 |ef,menuP|ref.set |
|00000e10| 74 68 65 20 63 61 6e 74 | 61 62 6f 72 74 20 6f 66 |the cant|abort of|
|00000e20| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 74 | this st|ack to t|
|00000e30| 72 75 65 0d 69 66 20 6c | 69 63 65 6e 73 65 43 68 |rue.if l|icenseCh|
|00000e40| 65 63 6b 28 76 61 72 48 | 6f 6c 64 65 72 29 3d 22 |eck(varH|older)="|
|00000e50| 46 61 69 6c 22 20 61 6e | 64 20 74 68 65 20 6e 75 |Fail" an|d the nu|
|00000e60| 6d 62 65 72 20 6f 66 20 | 63 64 73 20 3e 20 31 30 |mber of |cds > 10|
|00000e70| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 54 68 | then.an|swer "Th|
|00000e80| 69 73 20 69 73 20 61 6e | 20 75 6e 72 65 67 69 73 |is is an| unregis|
|00000e90| 74 65 72 65 64 20 63 6f | 70 79 20 6f 66 20 4c 61 |tered co|py of La|
|00000ea0| 62 48 65 6c 70 65 72 21 | 22 26 72 65 74 75 72 6e |bHelper!|"&return|
|00000eb0| 26 c2 0d 22 54 68 65 20 | 6e 75 6d 62 65 72 20 6f |&.."The |number o|
|00000ec0| 66 20 65 6e 74 72 69 65 | 73 20 69 73 20 6c 69 6d |f entrie|s is lim|
|00000ed0| 69 74 65 64 20 74 6f 20 | 31 30 2e 22 26 72 65 74 |ited to |10."&ret|
|00000ee0| 75 72 6e 26 c2 0d 22 50 | 6c 65 61 73 65 20 72 65 |urn&.."P|lease re|
|00000ef0| 67 69 73 74 65 72 20 74 | 6f 20 72 65 6d 6f 76 65 |gister t|o remove|
|00000f00| 20 74 68 69 73 20 6c 69 | 6d 69 74 2e 22 0d 73 65 | this li|mit.".se|
|00000f10| 6e 64 20 22 64 6f 4d 65 | 6e 75 20 51 75 69 74 20 |nd "doMe|nu Quit |
|00000f20| 48 79 70 65 72 43 61 72 | 64 22 20 74 6f 20 48 79 |HyperCar|d" to Hy|
|00000f30| 70 65 72 43 61 72 64 0d | 65 6e 64 20 69 66 0d 73 |perCard.|end if.s|
|00000f40| 65 74 20 74 68 65 20 63 | 61 6e 74 61 62 6f 72 74 |et the c|antabort|
|00000f50| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 74 | of this| stack t|
|00000f60| 6f 20 66 61 6c 73 65 0d | 69 66 20 63 6f 6c 6f 72 |o false.|if color|
|00000f70| 50 72 65 66 20 69 73 20 | 74 72 75 65 20 74 68 65 |Pref is |true the|
|00000f80| 6e 0d 63 48 43 73 65 74 | 55 70 20 74 72 75 65 2c |n.cHCset|Up true,|
|00000f90| 20 66 61 6c 73 65 2c 20 | 22 48 43 63 6f 6c 6f 72 | false, |"HCcolor|
|00000fa0| 69 7a 65 22 0d 48 43 63 | 6f 6c 6f 72 69 7a 65 0d |ize".HCc|olorize.|
|00000fb0| 65 6e 64 20 69 66 0d 6c | 6f 63 6b 20 73 63 72 65 |end if.l|ock scre|
|00000fc0| 65 6e 0d 63 72 65 61 74 | 65 4d 65 6e 75 28 6d 65 |en.creat|eMenu(me|
|00000fd0| 6e 75 50 72 65 66 29 0d | 6f 70 65 6e 42 61 63 6b |nuPref).|openBack|
|00000fe0| 67 72 6f 75 6e 64 0d 75 | 6e 6c 6f 63 6b 20 73 63 |ground.u|nlock sc|
|00000ff0| 72 65 65 6e 0d 70 75 74 | 20 73 74 61 63 6b 50 61 |reen.put| stackPa|
|00001000| 74 68 73 28 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d |ths(the |long nam|
|00001010| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 29 |e of thi|s stack)|
|00001020| 26 72 65 74 75 72 6e 20 | 62 65 66 6f 72 65 20 73 |&return |before s|
|00001030| 74 61 63 6b 73 0d 70 75 | 74 20 73 74 72 69 70 44 |tacks.pu|t stripD|
|00001040| 75 70 28 73 74 61 63 6b | 73 29 20 69 6e 74 6f 20 |up(stack|s) into |
|00001050| 73 74 61 63 6b 73 0d 70 | 75 74 20 66 75 6c 6c 53 |stacks.p|ut fullS|
|00001060| 6f 72 74 28 73 74 61 63 | 6b 73 2c 22 74 3d 75 22 |ort(stac|ks,"t=u"|
|00001070| 2c 22 64 3d 61 22 29 20 | 69 6e 74 6f 20 73 74 61 |,"d=a") |into sta|
|00001080| 63 6b 73 0d 70 61 73 73 | 20 6f 70 65 6e 53 74 61 |cks.pass| openSta|
|00001090| 63 6b 0d 65 6e 64 20 6f | 70 65 6e 53 74 61 63 6b |ck.end o|penStack|
|000010a0| 0d 0d 6f 6e 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |..on ope|nBackgro|
|000010b0| 75 6e 64 0d 67 6c 6f 62 | 61 6c 20 63 75 72 72 65 |und.glob|al curre|
|000010c0| 6e 74 42 6b 67 0d 68 69 | 64 65 20 6d 73 67 0d 69 |ntBkg.hi|de msg.i|
|000010d0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 66 6c 64 |f there |is a fld|
|000010e0| 20 22 61 62 6f 75 74 2e | 2e 2e 22 20 74 68 65 6e | "about.|.." then|
|000010f0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00001100| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 |ame of t|his bg i|
|00001110| 6e 74 6f 20 63 75 72 72 | 65 6e 74 42 6b 67 0d 65 |nto curr|entBkg.e|
|00001120| 6c 73 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |lse.put |empty in|
|00001130| 74 6f 20 63 75 72 72 65 | 6e 74 42 6b 67 0d 65 6e |to curre|ntBkg.en|
|00001140| 64 20 69 66 0d 73 70 65 | 63 69 61 6c 6d 65 6e 75 |d if.spe|cialmenu|
|00001150| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |.if ther|e is a f|
|00001160| 6c 64 20 22 6c 61 73 74 | 56 69 73 69 74 22 20 74 |ld "last|Visit" t|
|00001170| 68 65 6e 0d 69 66 20 66 | 6c 64 20 22 6c 61 73 74 |hen.if f|ld "last|
|00001180| 56 69 73 69 74 22 20 ad | 20 65 6d 70 74 79 20 74 |Visit" .| empty t|
|00001190| 68 65 6e 0d 67 6f 20 66 | 6c 64 20 22 6c 61 73 74 |hen.go f|ld "last|
|000011a0| 56 69 73 69 74 22 0d 65 | 6e 64 20 69 66 0d 65 6e |Visit".e|nd if.en|
|000011b0| 64 20 69 66 0d 70 61 73 | 73 20 6f 70 65 6e 42 61 |d if.pas|s openBa|
|000011c0| 63 6b 67 72 6f 75 6e 64 | 0d 65 6e 64 20 6f 70 65 |ckground|.end ope|
|000011d0| 6e 42 61 63 6b 67 72 6f | 75 6e 64 0d 0d 6f 6e 20 |nBackgro|und..on |
|000011e0| 63 6c 6f 73 65 42 61 63 | 6b 67 72 6f 75 6e 64 0d |closeBac|kground.|
|000011f0| 67 6c 6f 62 61 6c 20 63 | 75 72 72 65 6e 74 42 6b |global c|urrentBk|
|00001200| 67 0d 70 75 74 20 22 61 | 62 6f 75 74 22 26 26 63 |g.put "a|bout"&&c|
|00001210| 75 72 72 65 6e 74 42 6b | 67 20 69 6e 74 6f 20 61 |urrentBk|g into a|
|00001220| 62 6f 75 74 42 6f 78 0d | 69 66 20 74 68 65 72 65 |boutBox.|if there|
|00001230| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 61 62 6f | is a wi|ndow abo|
|00001240| 75 74 42 6f 78 20 74 68 | 65 6e 20 63 6c 6f 73 65 |utBox th|en close|
|00001250| 20 77 69 6e 64 6f 77 20 | 61 62 6f 75 74 42 6f 78 | window |aboutBox|
|00001260| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |.if ther|e is a f|
|00001270| 6c 64 20 22 6c 61 73 74 | 56 69 73 69 74 22 20 74 |ld "last|Visit" t|
|00001280| 68 65 6e 20 70 75 74 20 | 69 64 20 6f 66 20 74 68 |hen put |id of th|
|00001290| 69 73 20 63 64 20 69 6e | 74 6f 20 66 6c 64 20 22 |is cd in|to fld "|
|000012a0| 6c 61 73 74 56 69 73 69 | 74 22 0d 70 61 73 73 20 |lastVisi|t".pass |
|000012b0| 63 6c 6f 73 65 42 61 63 | 6b 67 72 6f 75 6e 64 0d |closeBac|kground.|
|000012c0| 65 6e 64 20 63 6c 6f 73 | 65 42 61 63 6b 67 72 6f |end clos|eBackgro|
|000012d0| 75 6e 64 0d 0d 6f 6e 20 | 6f 70 65 6e 46 69 65 6c |und..on |openFiel|
|000012e0| 64 0d 46 75 6c 6c 42 61 | 6c 6c 6f 6f 6e 73 20 22 |d.FullBa|lloons "|
|000012f0| 72 65 6d 6f 76 65 22 0d | 70 61 73 73 20 6f 70 65 |remove".|pass ope|
|00001300| 6e 46 69 65 6c 64 0d 65 | 6e 64 20 6f 70 65 6e 46 |nField.e|nd openF|
|00001310| 69 65 6c 64 0d 0d 6f 6e | 20 6d 6f 75 73 65 57 69 |ield..on| mouseWi|
|00001320| 74 68 69 6e 0d 67 65 74 | 20 77 6f 72 64 20 31 20 |thin.get| word 1 |
|00001330| 74 6f 20 32 20 6f 66 20 | 74 68 65 20 74 61 72 67 |to 2 of |the targ|
|00001340| 65 74 20 26 26 20 6e 75 | 6d 62 65 72 20 6f 66 20 |et && nu|mber of |
|00001350| 74 68 65 20 74 61 72 67 | 65 74 0d 46 75 6c 6c 42 |the targ|et.FullB|
|00001360| 61 6c 6c 6f 6f 6e 73 20 | 22 49 73 53 68 6f 77 69 |alloons |"IsShowi|
|00001370| 6e 67 22 0d 69 66 20 6e | 6f 74 20 74 68 65 20 52 |ng".if n|ot the R|
|00001380| 65 73 75 6c 74 20 61 6e | 64 20 69 74 20 ad 20 74 |esult an|d it . t|
|00001390| 68 65 20 73 65 6c 65 63 | 74 65 64 46 69 65 6c 64 |he selec|tedField|
|000013a0| 0d 74 68 65 6e 20 73 65 | 6e 64 20 6d 6f 75 73 65 |.then se|nd mouse|
|000013b0| 45 6e 74 65 72 20 74 6f | 20 74 68 65 20 74 61 72 |Enter to| the tar|
|000013c0| 67 65 74 0d 70 61 73 73 | 20 6d 6f 75 73 65 57 69 |get.pass| mouseWi|
|000013d0| 74 68 69 6e 0d 65 6e 64 | 20 6d 6f 75 73 65 57 69 |thin.end| mouseWi|
|000013e0| 74 68 69 6e 0d 0d 6f 6e | 20 73 65 74 48 65 6c 70 |thin..on| setHelp|
|000013f0| 65 72 4d 65 6e 75 0d 73 | 65 74 20 74 68 65 20 6e |erMenu.s|et the n|
|00001400| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 6d 65 6e 75 |ame of l|ast menu|
|00001410| 69 74 65 6d 20 6f 66 20 | 6d 65 6e 75 20 22 46 69 |item of |menu "Fi|
|00001420| 6c 65 22 20 74 6f 20 22 | 51 75 69 74 20 4c 61 62 |le" to "|Quit Lab|
|00001430| 48 65 6c 70 65 72 22 0d | 73 65 74 20 74 68 65 20 |Helper".|set the |
|00001440| 6e 61 6d 65 20 6f 66 20 | 66 69 72 73 74 20 6d 65 |name of |first me|
|00001450| 6e 75 69 74 65 6d 20 6f | 66 20 6d 65 6e 75 20 22 |nuitem o|f menu "|
|00001460| 41 70 70 6c 65 22 20 74 | 6f 20 22 41 62 6f 75 74 |Apple" t|o "About|
|00001470| 20 4c 61 62 48 65 6c 70 | 65 72 2e 2e 2e 22 0d 70 | LabHelp|er...".p|
|00001480| 75 74 20 22 2d 22 20 61 | 66 74 65 72 20 6d 65 6e |ut "-" a|fter men|
|00001490| 75 20 22 45 64 69 74 22 | 0d 70 75 74 20 22 43 6f |u "Edit"|.put "Co|
|000014a0| 6c 6f 72 20 50 72 65 66 | 65 72 65 6e 63 65 22 20 |lor Pref|erence" |
|000014b0| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 45 64 69 74 |after me|nu "Edit|
|000014c0| 22 20 77 69 74 68 20 6d | 65 6e 75 6d 73 67 20 73 |" with m|enumsg s|
|000014d0| 65 74 43 6f 6c 6f 72 50 | 72 65 66 0d 70 75 74 20 |etColorP|ref.put |
|000014e0| 22 46 6f 6e 74 20 50 72 | 65 66 65 72 65 6e 63 65 |"Font Pr|eference|
|000014f0| 22 20 61 66 74 65 72 20 | 6d 65 6e 75 20 22 45 64 |" after |menu "Ed|
|00001500| 69 74 22 20 77 69 74 68 | 20 6d 65 6e 75 6d 73 67 |it" with| menumsg|
|00001510| 20 67 65 74 20 77 69 6e | 64 6f 77 53 63 72 69 70 | get win|dowScrip|
|00001520| 74 28 22 6f 62 6a 65 63 | 74 4d 61 73 74 65 72 22 |t("objec|tMaster"|
|00001530| 29 0d 70 75 74 20 22 4d | 65 6e 75 20 50 72 65 66 |).put "M|enu Pref|
|00001540| 65 72 65 6e 63 65 22 20 | 61 66 74 65 72 20 6d 65 |erence" |after me|
|00001550| 6e 75 20 22 45 64 69 74 | 22 20 77 69 74 68 20 6d |nu "Edit|" with m|
|00001560| 65 6e 75 6d 73 67 20 73 | 65 74 4d 65 6e 75 50 72 |enumsg s|etMenuPr|
|00001570| 65 66 0d 65 6e 64 20 73 | 65 74 48 65 6c 70 65 72 |ef.end s|etHelper|
|00001580| 4d 65 6e 75 0d 0d 6f 6e | 20 73 70 65 63 69 61 6c |Menu..on| special|
|00001590| 4d 65 6e 75 0d 67 6c 6f | 62 61 6c 20 63 75 72 72 |Menu.glo|bal curr|
|000015a0| 65 6e 74 42 6b 67 0d 69 | 66 20 74 68 65 72 65 20 |entBkg.i|f there |
|000015b0| 69 73 20 61 20 6d 65 6e | 75 20 22 55 74 69 6c 22 |is a men|u "Util"|
|000015c0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|000015d0| 75 20 22 55 74 69 6c 22 | 0d 63 72 65 61 74 65 20 |u "Util"|.create |
|000015e0| 6d 65 6e 75 20 22 55 74 | 69 6c 22 0d 70 75 74 20 |menu "Ut|il".put |
|000015f0| 22 41 62 6f 75 74 20 22 | 26 63 75 72 72 65 6e 74 |"About "|&current|
|00001600| 42 6b 67 20 61 66 74 65 | 72 20 6d 65 6e 75 20 22 |Bkg afte|r menu "|
|00001610| 55 74 69 6c 22 20 77 69 | 74 68 20 6d 65 6e 75 6d |Util" wi|th menum|
|00001620| 73 67 20 22 41 62 6f 75 | 74 20 63 75 72 72 65 6e |sg "Abou|t curren|
|00001630| 74 42 6b 67 22 0d 70 75 | 74 20 22 2d 22 20 61 66 |tBkg".pu|t "-" af|
|00001640| 74 65 72 20 6d 65 6e 75 | 20 22 55 74 69 6c 22 0d |ter menu| "Util".|
|00001650| 70 75 74 20 22 43 68 61 | 72 61 63 74 65 72 20 50 |put "Cha|racter P|
|00001660| 61 6c 65 74 74 65 22 20 | 61 66 74 65 72 20 6d 65 |alette" |after me|
|00001670| 6e 75 20 22 55 74 69 6c | 22 20 77 69 74 68 20 6d |nu "Util|" with m|
|00001680| 65 6e 75 6d 73 67 20 70 | 61 6c 65 74 74 65 20 43 |enumsg p|alette C|
|00001690| 68 61 72 61 63 74 65 72 | 0d 70 75 74 20 22 46 69 |haracter|.put "Fi|
|000016a0| 6e 64 22 20 61 66 74 65 | 72 20 6d 65 6e 75 20 22 |nd" afte|r menu "|
|000016b0| 55 74 69 6c 22 20 77 69 | 74 68 20 6d 65 6e 75 6d |Util" wi|th menum|
|000016c0| 73 67 20 67 65 74 20 57 | 69 6e 64 6f 77 53 63 72 |sg get W|indowScr|
|000016d0| 69 70 74 28 22 46 69 6e | 64 22 29 0d 70 75 74 20 |ipt("Fin|d").put |
|000016e0| 22 46 69 6e 64 20 61 6e | 64 20 52 65 70 6c 61 63 |"Find an|d Replac|
|000016f0| 65 22 20 61 66 74 65 72 | 20 6d 65 6e 75 20 22 55 |e" after| menu "U|
|00001700| 74 69 6c 22 20 77 69 74 | 68 20 6d 65 6e 75 6d 73 |til" wit|h menums|
|00001710| 67 20 46 69 6e 64 52 65 | 70 6c 61 63 65 0d 70 75 |g FindRe|place.pu|
|00001720| 74 20 22 53 63 61 6e 20 | 41 6c 6c 20 52 65 63 6f |t "Scan |All Reco|
|00001730| 72 64 73 22 20 61 66 74 | 65 72 20 6d 65 6e 75 20 |rds" aft|er menu |
|00001740| 22 55 74 69 6c 22 20 77 | 69 74 68 20 6d 65 6e 75 |"Util" w|ith menu|
|00001750| 6d 73 67 20 67 65 74 20 | 57 69 6e 64 6f 77 53 63 |msg get |WindowSc|
|00001760| 72 69 70 74 28 22 41 6c | 6c 20 52 65 63 6f 72 64 |ript("Al|l Record|
|00001770| 73 22 29 0d 70 75 74 20 | 22 4c 6f 63 6b 2f 55 6e |s").put |"Lock/Un|
|00001780| 6c 6f 63 6b 20 52 65 63 | 6f 72 64 73 22 20 61 66 |lock Rec|ords" af|
|00001790| 74 65 72 20 6d 65 6e 75 | 20 22 55 74 69 6c 22 20 |ter menu| "Util" |
|000017a0| 77 69 74 68 20 6d 65 6e | 75 6d 73 67 20 6c 6f 63 |with men|umsg loc|
|000017b0| 6b 75 6e 6c 6f 63 6b 52 | 65 63 6f 72 64 73 0d 70 |kunlockR|ecords.p|
|000017c0| 75 74 20 22 52 65 76 65 | 72 73 65 20 4c 6f 63 6b |ut "Reve|rse Lock|
|000017d0| 2f 55 6e 6c 6f 63 6b 22 | 20 61 66 74 65 72 20 6d |/Unlock"| after m|
|000017e0| 65 6e 75 20 22 55 74 69 | 6c 22 20 77 69 74 68 20 |enu "Uti|l" with |
|000017f0| 6d 65 6e 75 6d 73 67 20 | 72 65 76 4c 6f 63 4b 0d |menumsg |revLocK.|
|00001800| 70 75 74 20 22 4c 69 73 | 74 20 4d 61 72 6b 65 64 |put "Lis|t Marked|
|00001810| 20 52 65 63 6f 72 64 73 | 22 20 61 66 74 65 72 20 | Records|" after |
|00001820| 6d 65 6e 75 20 22 55 74 | 69 6c 22 20 77 69 74 68 |menu "Ut|il" with|
|00001830| 20 6d 65 6e 75 6d 73 67 | 20 67 65 74 20 57 69 6e | menumsg| get Win|
|00001840| 64 6f 77 53 63 72 69 70 | 74 28 22 4d 61 72 6b 65 |dowScrip|t("Marke|
|00001850| 64 20 52 65 63 6f 72 64 | 73 22 29 0d 70 75 74 20 |d Record|s").put |
|00001860| 22 4d 61 72 6b 2f 55 6e | 6d 61 72 6b 20 52 65 63 |"Mark/Un|mark Rec|
|00001870| 6f 72 64 73 22 20 61 66 | 74 65 72 20 6d 65 6e 75 |ords" af|ter menu|
|00001880| 20 22 55 74 69 6c 22 20 | 77 69 74 68 20 6d 65 6e | "Util" |with men|
|00001890| 75 6d 73 67 20 6d 61 72 | 6b 75 6e 6d 61 72 6b 52 |umsg mar|kunmarkR|
|000018a0| 65 63 6f 72 64 73 0d 70 | 75 74 20 22 52 65 76 65 |ecords.p|ut "Reve|
|000018b0| 72 73 65 20 4d 61 72 6b | 2f 55 6e 6d 61 72 6b 22 |rse Mark|/Unmark"|
|000018c0| 20 61 66 74 65 72 20 6d | 65 6e 75 20 22 55 74 69 | after m|enu "Uti|
|000018d0| 6c 22 20 77 69 74 68 20 | 6d 65 6e 75 6d 73 67 20 |l" with |menumsg |
|000018e0| 72 65 76 4d 61 72 6b 0d | 70 75 74 20 22 2d 22 20 |revMark.|put "-" |
|000018f0| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 55 74 69 6c |after me|nu "Util|
|00001900| 22 0d 70 75 74 20 22 43 | 61 6c 65 6e 64 61 72 22 |".put "C|alendar"|
|00001910| 20 61 66 74 65 72 20 6d | 65 6e 75 20 22 55 74 69 | after m|enu "Uti|
|00001920| 6c 22 20 77 69 74 68 20 | 6d 65 6e 75 6d 73 67 20 |l" with |menumsg |
|00001930| 73 68 6f 77 43 61 6c 65 | 6e 64 61 72 0d 70 75 74 |showCale|ndar.put|
|00001940| 20 22 54 69 6d 65 22 20 | 61 66 74 65 72 20 6d 65 | "Time" |after me|
|00001950| 6e 75 20 22 55 74 69 6c | 22 20 77 69 74 68 20 6d |nu "Util|" with m|
|00001960| 65 6e 75 6d 73 67 20 67 | 65 74 20 77 69 6e 64 6f |enumsg g|et windo|
|00001970| 77 53 63 72 69 70 74 28 | 22 6c 61 62 20 74 69 6d |wScript(|"lab tim|
|00001980| 65 72 22 29 0d 73 65 74 | 20 63 6d 64 43 68 61 72 |er").set| cmdChar|
|00001990| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 34 20 6f | of menu|Item 4 o|
|000019a0| 66 20 6d 65 6e 75 20 22 | 55 74 69 6c 22 20 74 6f |f menu "|Util" to|
|000019b0| 20 22 46 22 0d 73 65 74 | 20 63 6d 64 43 68 61 72 | "F".set| cmdChar|
|000019c0| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 35 20 6f | of menu|Item 5 o|
|000019d0| 66 20 6d 65 6e 75 20 22 | 55 74 69 6c 22 20 74 6f |f menu "|Util" to|
|000019e0| 20 22 52 22 0d 73 65 74 | 20 63 6d 64 43 68 61 72 | "R".set| cmdChar|
|000019f0| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 36 20 6f | of menu|Item 6 o|
|00001a00| 66 20 6d 65 6e 75 20 22 | 55 74 69 6c 22 20 74 6f |f menu "|Util" to|
|00001a10| 20 22 53 22 0d 65 6e 64 | 20 73 70 65 63 69 61 6c | "S".end| special|
|00001a20| 4d 65 6e 75 0d 0d 6f 6e | 20 73 68 6f 77 43 61 6c |Menu..on| showCal|
|00001a30| 65 6e 64 61 72 0d 69 66 | 20 74 68 65 72 65 20 69 |endar.if| there i|
|00001a40| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 43 61 6c 65 |s a wind|ow "Cale|
|00001a50| 6e 64 6f 69 64 22 20 74 | 68 65 6e 20 63 6c 6f 73 |ndoid" t|hen clos|
|00001a60| 65 20 77 69 6e 64 6f 77 | 20 22 43 61 6c 65 6e 64 |e window| "Calend|
|00001a70| 6f 69 64 22 0d 63 61 6c | 65 6e 64 6f 69 64 0d 73 |oid".cal|endoid.s|
|00001a80| 65 74 20 6c 6f 63 20 6f | 66 20 77 69 6e 64 6f 77 |et loc o|f window|
|00001a90| 20 22 43 61 6c 65 6e 64 | 6f 69 64 22 20 74 6f 20 | "Calend|oid" to |
|00001aa0| 22 37 2c 33 35 22 0d 65 | 6e 64 20 73 68 6f 77 43 |"7,35".e|nd showC|
|00001ab0| 61 6c 65 6e 64 61 72 0d | 0d 6f 6e 20 63 72 65 61 |alendar.|.on crea|
|00001ac0| 74 65 4d 65 6e 75 20 74 | 68 65 46 6f 72 6d 61 74 |teMenu t|heFormat|
|00001ad0| 0d 70 75 74 20 74 68 65 | 20 73 74 61 63 6b 73 20 |.put the| stacks |
|00001ae0| 69 6e 74 6f 20 74 68 65 | 53 74 61 63 6b 73 0d 69 |into the|Stacks.i|
|00001af0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 6d 65 6e |f there |is a men|
|00001b00| 75 20 22 57 44 73 22 20 | 74 68 65 6e 0d 64 65 6c |u "WDs" |then.del|
|00001b10| 65 74 65 20 6d 65 6e 75 | 20 22 57 44 73 22 0d 63 |ete menu| "WDs".c|
|00001b20| 72 65 61 74 65 20 6d 65 | 6e 75 20 22 57 44 73 22 |reate me|nu "WDs"|
|00001b30| 0d 67 65 74 20 43 72 65 | 61 74 65 4e 65 77 4d 65 |.get Cre|ateNewMe|
|00001b40| 6e 75 49 49 28 74 68 65 | 53 74 61 63 6b 73 29 0d |nuII(the|Stacks).|
|00001b50| 70 75 74 20 28 69 74 65 | 6d 20 31 20 6f 66 20 69 |put (ite|m 1 of i|
|00001b60| 74 29 20 61 66 74 65 72 | 20 6d 65 6e 75 20 22 57 |t) after| menu "W|
|00001b70| 44 73 22 20 77 69 74 68 | 20 6d 65 6e 75 6d 73 67 |Ds" with| menumsg|
|00001b80| 20 28 49 74 65 6d 20 32 | 20 6f 66 20 69 74 29 0d | (Item 2| of it).|
|00001b90| 65 78 69 74 20 63 72 65 | 61 74 65 4d 65 6e 75 0d |exit cre|ateMenu.|
|00001ba0| 65 6e 64 20 69 66 0d 70 | 72 6f 6d 70 74 6f 69 64 |end if.p|romptoid|
|00001bb0| 20 22 55 70 64 61 74 69 | 6e 67 20 4d 65 6e 75 73 | "Updati|ng Menus|
|00001bc0| 2e 2e 2e 22 0d 69 66 20 | 74 68 65 46 6f 72 6d 61 |...".if |theForma|
|00001bd0| 74 20 69 73 20 22 73 6d | 61 6c 6c 22 20 74 68 65 |t is "sm|all" the|
|00001be0| 6e 20 63 72 65 61 74 65 | 20 6d 65 6e 75 20 22 4d |n create| menu "M|
|00001bf0| 44 73 22 0d 69 66 20 74 | 68 65 46 6f 72 6d 61 74 |Ds".if t|heFormat|
|00001c00| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00001c10| 75 74 20 22 62 69 67 22 | 20 69 6e 74 6f 20 74 68 |ut "big"| into th|
|00001c20| 65 46 6f 72 6d 61 74 0d | 70 75 74 20 67 65 74 44 |eFormat.|put getD|
|00001c30| 69 72 28 64 65 66 61 75 | 6c 74 46 6f 6c 64 65 72 |ir(defau|ltFolder|
|00001c40| 50 61 74 68 28 29 2c 22 | 44 22 29 20 69 6e 74 6f |Path(),"|D") into|
|00001c50| 20 4d 65 6e 75 54 69 74 | 6c 65 73 0d 72 65 70 65 | MenuTit|les.repe|
|00001c60| 61 74 20 77 69 74 68 20 | 78 3d 31 20 74 6f 20 74 |at with |x=1 to t|
|00001c70| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001c80| 65 73 20 69 6e 20 4d 65 | 6e 75 54 69 74 6c 65 73 |es in Me|nuTitles|
|00001c90| 0d 50 75 74 20 46 69 6c | 65 73 28 64 65 66 61 75 |.Put Fil|es(defau|
|00001ca0| 6c 74 46 6f 6c 64 65 72 | 50 61 74 68 28 29 26 22 |ltFolder|Path()&"|
|00001cb0| 3a 22 26 6c 69 6e 65 20 | 78 20 6f 66 20 4d 65 6e |:"&line |x of Men|
|00001cc0| 75 54 69 74 6c 65 73 2c | 22 53 54 41 4b 22 29 20 |uTitles,|"STAK") |
|00001cd0| 69 6e 74 6f 20 74 68 65 | 4d 65 6e 75 49 74 65 6d |into the|MenuItem|
|00001ce0| 73 0d 69 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |s.if the| number |
|00001cf0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 74 68 65 4d |of lines| in theM|
|00001d00| 65 6e 75 49 74 65 6d 73 | 20 3e 20 30 20 74 68 65 |enuItems| > 0 the|
|00001d10| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 79 20 |n.repeat| with y |
|00001d20| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00001d30| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 74 68 |r of lin|es in th|
|00001d40| 65 4d 65 6e 75 49 74 65 | 6d 73 0d 70 75 74 20 64 |eMenuIte|ms.put d|
|00001d50| 65 66 61 75 6c 74 46 6f | 6c 64 65 72 50 61 74 68 |efaultFo|lderPath|
|00001d60| 28 29 26 22 3a 22 26 20 | 6c 69 6e 65 20 78 20 6f |()&":"& |line x o|
|00001d70| 66 20 4d 65 6e 75 54 69 | 74 6c 65 73 20 62 65 66 |f MenuTi|tles bef|
|00001d80| 6f 72 65 20 6c 69 6e 65 | 20 79 20 6f 66 20 74 68 |ore line| y of th|
|00001d90| 65 4d 65 6e 75 49 74 65 | 6d 73 0d 65 6e 64 20 72 |eMenuIte|ms.end r|
|00001da0| 65 70 65 61 74 0d 69 66 | 20 74 68 65 46 6f 72 6d |epeat.if| theForm|
|00001db0| 61 74 20 69 73 20 22 62 | 69 67 22 20 74 68 65 6e |at is "b|ig" then|
|00001dc0| 0d 64 65 6c 65 74 65 20 | 74 68 65 20 6c 61 73 74 |.delete |the last|
|00001dd0| 20 63 68 61 72 20 6f 66 | 20 6c 69 6e 65 20 78 20 | char of| line x |
|00001de0| 6f 66 20 4d 65 6e 75 54 | 69 74 6c 65 73 0d 70 75 |of MenuT|itles.pu|
|00001df0| 74 20 6c 69 6e 65 20 78 | 20 6f 66 20 4d 65 6e 75 |t line x| of Menu|
|00001e00| 54 69 74 6c 65 73 20 69 | 6e 74 6f 20 74 68 65 4d |Titles i|nto theM|
|00001e10| 65 6e 75 0d 63 72 65 61 | 74 65 20 6d 65 6e 75 20 |enu.crea|te menu |
|00001e20| 74 68 65 4d 65 6e 75 0d | 67 65 74 20 43 72 65 61 |theMenu.|get Crea|
|00001e30| 74 65 4e 65 77 4d 65 6e | 75 49 49 28 74 68 65 4d |teNewMen|uII(theM|
|00001e40| 65 6e 75 49 74 65 6d 73 | 29 0d 70 75 74 20 28 69 |enuItems|).put (i|
|00001e50| 74 65 6d 20 31 20 6f 66 | 20 69 74 29 20 61 66 74 |tem 1 of| it) aft|
|00001e60| 65 72 20 6d 65 6e 75 20 | 74 68 65 4d 65 6e 75 20 |er menu |theMenu |
|00001e70| 77 69 74 68 20 6d 65 6e | 75 6d 73 67 20 28 49 74 |with men|umsg (It|
|00001e80| 65 6d 20 32 20 6f 66 20 | 69 74 29 0d 65 6c 73 65 |em 2 of |it).else|
|00001e90| 20 69 66 20 74 68 65 46 | 6f 72 6d 61 74 20 69 73 | if theF|ormat is|
|00001ea0| 20 22 73 6d 61 6c 6c 22 | 20 74 68 65 6e 0d 67 65 | "small"| then.ge|
|00001eb0| 74 20 43 72 65 61 74 65 | 4e 65 77 4d 65 6e 75 49 |t Create|NewMenuI|
|00001ec0| 49 28 74 68 65 4d 65 6e | 75 49 74 65 6d 73 29 0d |I(theMen|uItems).|
|00001ed0| 70 75 74 20 28 69 74 65 | 6d 20 31 20 6f 66 20 69 |put (ite|m 1 of i|
|00001ee0| 74 29 20 61 66 74 65 72 | 20 6d 65 6e 75 20 22 4d |t) after| menu "M|
|00001ef0| 44 73 22 20 77 69 74 68 | 20 6d 65 6e 75 6d 73 67 |Ds" with| menumsg|
|00001f00| 20 28 49 74 65 6d 20 32 | 20 6f 66 20 69 74 29 0d | (Item 2| of it).|
|00001f10| 69 66 20 78 20 3d 20 74 | 68 65 20 6e 75 6d 62 65 |if x = t|he numbe|
|00001f20| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 4d 65 |r of lin|es in Me|
|00001f30| 6e 75 54 69 74 6c 65 73 | 20 74 68 65 6e 20 65 78 |nuTitles| then ex|
|00001f40| 69 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 22 2d |it repea|t.put "-|
|00001f50| 22 20 61 66 74 65 72 20 | 6d 65 6e 75 20 22 4d 44 |" after |menu "MD|
|00001f60| 73 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |s".end i|f.end if|
|00001f70| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 63 72 65 61 |.end rep|eat.crea|
|00001f80| 74 65 20 6d 65 6e 75 20 | 22 57 44 73 22 0d 67 65 |te menu |"WDs".ge|
|00001f90| 74 20 43 72 65 61 74 65 | 4e 65 77 4d 65 6e 75 49 |t Create|NewMenuI|
|00001fa0| 49 28 74 68 65 53 74 61 | 63 6b 73 29 0d 70 75 74 |I(theSta|cks).put|
|00001fb0| 20 28 69 74 65 6d 20 31 | 20 6f 66 20 69 74 29 20 | (item 1| of it) |
|00001fc0| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 57 44 73 22 |after me|nu "WDs"|
|00001fd0| 20 77 69 74 68 20 6d 65 | 6e 75 6d 73 67 20 28 49 | with me|numsg (I|
|00001fe0| 74 65 6d 20 32 20 6f 66 | 20 69 74 29 0d 73 65 74 |tem 2 of| it).set|
|00001ff0| 48 65 6c 70 65 72 4d 65 | 6e 75 0d 63 6c 6f 73 65 |HelperMe|nu.close|
|00002000| 20 77 69 6e 64 6f 77 20 | 70 72 6f 6d 70 74 6f 69 | window |promptoi|
|00002010| 64 0d 65 6e 64 20 63 72 | 65 61 74 65 4d 65 6e 75 |d.end cr|eateMenu|
|00002020| 0d 0d 6f 6e 20 67 6f 4c | 61 73 74 56 69 73 69 74 |..on goL|astVisit|
|00002030| 20 77 68 69 63 68 0d 67 | 6f 20 73 74 61 63 6b 20 | which.g|o stack |
|00002040| 77 68 69 63 68 20 69 6e | 20 6e 65 77 20 77 69 6e |which in| new win|
|00002050| 64 6f 77 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |dow.lock| screen.|
|00002060| 6f 70 65 6e 42 61 63 6b | 67 72 6f 75 6e 64 0d 75 |openBack|ground.u|
|00002070| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00002080| 20 67 6f 4c 61 73 74 56 | 69 73 69 74 0d 0d 66 75 | goLastV|isit..fu|
|00002090| 6e 63 74 69 6f 6e 20 73 | 74 61 63 6b 50 61 74 68 |nction s|tackPath|
|000020a0| 73 20 73 74 61 63 6b 4e | 61 6d 65 0d 67 65 74 20 |s stackN|ame.get |
|000020b0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 77 6f 72 |the valu|e of wor|
|000020c0| 64 20 32 20 6f 66 20 73 | 74 61 63 6b 4e 61 6d 65 |d 2 of s|tackName|
|000020d0| 0d 72 65 70 65 61 74 20 | 66 6f 72 20 74 68 65 20 |.repeat |for the |
|000020e0| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 73 20 |number o|f chars |
|000020f0| 69 6e 20 69 74 0d 69 66 | 20 74 68 65 20 6c 61 73 |in it.if| the las|
|00002100| 74 20 63 68 61 72 20 6f | 66 20 69 74 20 69 73 20 |t char o|f it is |
|00002110| 22 3a 22 20 74 68 65 6e | 20 65 78 69 74 20 72 65 |":" then| exit re|
|00002120| 70 65 61 74 0d 64 65 6c | 65 74 65 20 74 68 65 20 |peat.del|ete the |
|00002130| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 69 74 0d |last cha|r of it.|
|00002140| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 74 75 72 |end repe|at.retur|
|00002150| 6e 20 69 74 0d 65 6e 64 | 20 73 74 61 63 6b 50 61 |n it.end| stackPa|
|00002160| 74 68 73 0d 0d 66 75 6e | 63 74 69 6f 6e 20 64 65 |ths..fun|ction de|
|00002170| 66 61 75 6c 74 46 6f 6c | 64 65 72 50 61 74 68 0d |faultFol|derPath.|
|00002180| 67 65 74 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d |get the |long nam|
|00002190| 65 20 6f 66 20 48 79 70 | 65 72 43 61 72 64 0d 72 |e of Hyp|erCard.r|
|000021a0| 65 70 65 61 74 20 66 6f | 72 20 74 68 65 20 6e 75 |epeat fo|r the nu|
|000021b0| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 73 20 69 6e |mber of |chars in|
|000021c0| 20 69 74 0d 69 66 20 74 | 68 65 20 6c 61 73 74 20 | it.if t|he last |
|000021d0| 63 68 61 72 20 6f 66 20 | 69 74 20 69 73 20 22 3a |char of |it is ":|
|000021e0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |" then e|xit repe|
|000021f0| 61 74 0d 64 65 6c 65 74 | 65 20 74 68 65 20 6c 61 |at.delet|e the la|
|00002200| 73 74 20 63 68 61 72 20 | 6f 66 20 69 74 0d 65 6e |st char |of it.en|
|00002210| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00002220| 66 6f 6c 64 65 72 50 61 | 74 68 28 69 74 29 0d 65 |folderPa|th(it).e|
|00002230| 6e 64 20 64 65 66 61 75 | 6c 74 46 6f 6c 64 65 72 |nd defau|ltFolder|
|00002240| 50 61 74 68 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 46 |Path..fu|nction F|
|00002250| 6f 6c 64 65 72 50 61 74 | 68 20 6e 61 6d 65 0d 72 |olderPat|h name.r|
|00002260| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 74 |epeat wi|th i = t|
|00002270| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 6e 61 6d |he lengt|h of nam|
|00002280| 65 20 64 6f 77 6e 20 74 | 6f 20 31 0d 69 66 20 63 |e down t|o 1.if c|
|00002290| 68 61 72 20 69 20 6f 66 | 20 6e 61 6d 65 20 69 73 |har i of| name is|
|000022a0| 20 22 3a 22 20 74 68 65 | 6e 20 65 78 69 74 20 72 | ":" the|n exit r|
|000022b0| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|000022c0| 0d 73 75 62 74 72 61 63 | 74 20 31 20 66 72 6f 6d |.subtrac|t 1 from|
|000022d0| 20 69 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 | i.put e|mpty int|
|000022e0| 6f 20 74 68 65 50 61 74 | 68 0d 69 66 20 69 20 3e |o thePat|h.if i >|
|000022f0| 20 30 20 74 68 65 6e 20 | 70 75 74 20 63 68 61 72 | 0 then |put char|
|00002300| 20 31 20 74 6f 20 69 20 | 6f 66 20 6e 61 6d 65 20 | 1 to i |of name |
|00002310| 69 6e 74 6f 20 74 68 65 | 50 61 74 68 0d 72 65 74 |into the|Path.ret|
|00002320| 75 72 6e 20 74 68 65 50 | 61 74 68 0d 65 6e 64 20 |urn theP|ath.end |
|00002330| 46 6f 6c 64 65 72 50 61 | 74 68 0d 0d 6f 6e 20 63 |FolderPa|th..on c|
|00002340| 68 65 63 6b 46 6f 72 4d | 69 73 73 69 6e 67 46 6f |heckForM|issingFo|
|00002350| 6e 74 73 0d 67 65 74 20 | 63 68 65 63 6b 46 6f 6e |nts.get |checkFon|
|00002360| 74 28 22 4c 61 62 48 65 | 6c 70 65 72 22 2c 22 39 |t("LabHe|lper","9|
|00002370| 22 29 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |").if it| is empt|
|00002380| 79 20 74 68 65 6e 20 65 | 78 69 74 20 63 68 65 63 |y then e|xit chec|
|00002390| 6b 46 6f 72 4d 69 73 73 | 69 6e 67 46 6f 6e 74 73 |kForMiss|ingFonts|
|000023a0| 0d 65 6c 73 65 20 70 75 | 74 20 69 74 20 69 6e 74 |.else pu|t it int|
|000023b0| 6f 20 6d 69 73 73 69 6e | 67 46 6f 6e 74 73 0d 62 |o missin|gFonts.b|
|000023c0| 65 65 70 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |eep.answ|er "This|
|000023d0| 20 66 6f 6e 74 20 69 73 | 20 6d 69 73 73 69 6e 67 | font is| missing|
|000023e0| 20 66 72 6f 6d 20 79 6f | 75 72 20 73 79 73 74 65 | from yo|ur syste|
|000023f0| 6d 3a 22 20 26 20 c2 0d | 72 65 74 75 72 6e 20 26 |m:" & ..|return &|
|00002400| 20 72 65 74 75 72 6e 20 | 26 20 6d 69 73 73 69 6e | return |& missin|
|00002410| 67 46 6f 6e 74 73 20 26 | 20 72 65 74 75 72 6e 20 |gFonts &| return |
|00002420| 26 20 c2 0d 22 46 6f 72 | 20 74 65 78 74 20 74 6f |& .."For| text to|
|00002430| 20 64 69 73 70 6c 61 79 | 20 63 6f 72 72 65 63 74 | display| correct|
|00002440| 6c 79 20 69 6e 20 74 68 | 69 73 20 73 74 61 63 6b |ly in th|is stack|
|00002450| 2c 20 6d 61 6b 65 20 73 | 75 72 65 20 79 6f 75 20 |, make s|ure you |
|00002460| 68 61 76 65 22 20 c2 0d | 26 26 20 22 69 6e 73 74 |have" ..|&& "inst|
|00002470| 61 6c 6c 65 64 20 74 68 | 65 20 4c 61 62 48 65 6c |alled th|e LabHel|
|00002480| 70 65 72 20 39 20 66 6f | 6e 74 2e 22 0d 65 6e 64 |per 9 fo|nt.".end|
|00002490| 20 63 68 65 63 6b 46 6f | 72 4d 69 73 73 69 6e 67 | checkFo|rMissing|
|000024a0| 46 6f 6e 74 73 0d 0d 6f | 6e 20 61 62 6f 75 74 20 |Fonts..o|n about |
|000024b0| 77 68 61 74 0d 67 6c 6f | 62 61 6c 20 63 75 72 72 |what.glo|bal curr|
|000024c0| 65 6e 74 42 6b 67 0d 69 | 66 20 63 75 72 72 65 6e |entBkg.i|f curren|
|000024d0| 74 42 6b 67 20 ad 20 65 | 6d 70 74 79 20 74 68 65 |tBkg . e|mpty the|
|000024e0| 6e 0d 67 65 74 20 77 69 | 6e 64 6f 77 53 63 72 69 |n.get wi|ndowScri|
|000024f0| 70 74 28 22 52 54 46 20 | 54 65 78 74 22 2c 22 41 |pt("RTF |Text","A|
|00002500| 62 6f 75 74 22 26 26 63 | 75 72 72 65 6e 74 42 6b |bout"&&c|urrentBk|
|00002510| 67 2c 22 41 62 6f 75 74 | 2e 2e 2e 22 2c 22 41 62 |g,"About|...","Ab|
|00002520| 6f 75 74 2e 2e 2e 22 29 | 0d 65 6c 73 65 0d 61 6e |out...")|.else.an|
|00002530| 73 77 65 72 20 22 48 75 | 68 3f 22 0d 65 6e 64 20 |swer "Hu|h?".end |
|00002540| 69 66 0d 65 6e 64 20 61 | 62 6f 75 74 0d 0d 6f 6e |if.end a|bout..on|
|00002550| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 67 6c 6f 62 | closeSt|ack.glob|
|00002560| 61 6c 20 61 70 70 6c 4e | 61 6d 65 0d 6c 6f 63 6b |al applN|ame.lock|
|00002570| 20 73 63 72 65 65 6e 0d | 69 66 20 74 68 65 72 65 | screen.|if there|
|00002580| 20 69 73 20 61 20 6d 65 | 6e 75 20 22 55 74 69 6c | is a me|nu "Util|
|00002590| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |" then d|elete me|
|000025a0| 6e 75 20 22 55 74 69 6c | 22 0d 63 48 43 63 6c 6f |nu "Util|".cHCclo|
|000025b0| 73 65 0d 69 66 20 66 72 | 65 65 53 69 7a 65 20 6f |se.if fr|eeSize o|
|000025c0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 3e 31 30 30 |f this s|tack>100|
|000025d0| 2a 31 30 32 34 20 74 68 | 65 6e 0d 69 66 20 74 68 |*1024 th|en.if th|
|000025e0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000025f0| 74 68 69 73 20 73 74 61 | 63 6b 20 ad 20 61 70 70 |this sta|ck . app|
|00002600| 6c 4e 61 6d 65 20 74 68 | 65 6e 0d 70 72 6f 6d 70 |lName th|en.promp|
|00002610| 74 6f 69 64 20 22 43 6f | 6d 70 61 63 74 69 6e 67 |toid "Co|mpacting|
|00002620| 20 53 74 61 63 6b 2e 2e | 2e 22 0d 64 6f 4d 65 6e | Stack..|.".doMen|
|00002630| 75 20 22 43 6f 6d 70 61 | 63 74 20 53 74 61 63 6b |u "Compa|ct Stack|
|00002640| 22 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 70 |".close |window p|
|00002650| 72 6f 6d 70 74 6f 69 64 | 0d 65 6c 73 65 0d 73 74 |romptoid|.else.st|
|00002660| 6f 70 20 75 73 69 6e 67 | 20 74 68 69 73 20 73 74 |op using| this st|
|00002670| 61 63 6b 0d 64 6f 4d 65 | 6e 75 20 22 43 6f 6d 70 |ack.doMe|nu "Comp|
|00002680| 61 63 74 20 53 74 61 63 | 6b 22 0d 73 74 61 72 74 |act Stac|k".start|
|00002690| 20 75 73 69 6e 67 20 74 | 68 69 73 20 73 74 61 63 | using t|his stac|
|000026a0| 6b 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |k.end if|.end if.|
|000026b0| 70 61 73 73 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |pass clo|seStack.|
|000026c0| 65 6e 64 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |end clos|eStack..|
|000026d0| 6f 6e 20 64 6f 4d 65 6e | 75 20 77 68 69 63 68 0d |on doMen|u which.|
|000026e0| 67 6c 6f 62 61 6c 20 76 | 61 72 48 6f 6c 64 65 72 |global v|arHolder|
|000026f0| 0d 69 66 20 77 68 69 63 | 68 20 69 73 20 22 51 75 |.if whic|h is "Qu|
|00002700| 69 74 20 4c 61 62 48 65 | 6c 70 65 72 22 20 74 68 |it LabHe|lper" th|
|00002710| 65 6e 0d 61 6e 73 77 65 | 72 20 22 41 72 65 20 79 |en.answe|r "Are y|
|00002720| 6f 75 20 73 75 72 65 20 | 79 6f 75 20 77 61 6e 74 |ou sure |you want|
|00002730| 20 74 6f 20 71 75 69 74 | 20 4c 61 62 48 65 6c 70 | to quit| LabHelp|
|00002740| 65 72 3f 22 20 77 69 74 | 68 20 22 43 61 6e 63 65 |er?" wit|h "Cance|
|00002750| 6c 22 20 6f 72 20 22 51 | 75 69 74 22 0d 69 66 20 |l" or "Q|uit".if |
|00002760| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00002770| 68 65 6e 20 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |hen exit| doMenu.|
|00002780| 73 65 6e 64 20 22 64 6f | 4d 65 6e 75 20 51 75 69 |send "do|Menu Qui|
|00002790| 74 20 48 79 70 65 72 43 | 61 72 64 22 20 74 6f 20 |t HyperC|ard" to |
|000027a0| 48 79 70 65 72 43 61 72 | 64 0d 65 6c 73 65 20 69 |HyperCar|d.else i|
|000027b0| 66 20 77 68 69 63 68 20 | 69 73 20 22 4e 65 77 20 |f which |is "New |
|000027c0| 43 61 72 64 22 20 74 68 | 65 6e 0d 69 66 20 6c 69 |Card" th|en.if li|
|000027d0| 63 65 6e 73 65 43 68 65 | 63 6b 28 76 61 72 48 6f |censeChe|ck(varHo|
|000027e0| 6c 64 65 72 29 20 69 73 | 20 22 46 61 69 6c 22 20 |lder) is| "Fail" |
|000027f0| 74 68 65 6e 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |then.if |the numb|
|00002800| 65 72 20 6f 66 20 63 64 | 73 20 b3 20 31 30 20 74 |er of cd|s . 10 t|
|00002810| 68 65 6e 0d 66 6c 61 73 | 68 0d 61 6e 73 77 65 72 |hen.flas|h.answer|
|00002820| 20 22 54 68 69 73 20 69 | 73 20 61 6e 20 75 6e 72 | "This i|s an unr|
|00002830| 65 67 69 73 74 65 72 65 | 64 20 63 6f 70 79 20 6f |egistere|d copy o|
|00002840| 66 20 4c 61 62 48 65 6c | 70 65 72 21 22 26 72 65 |f LabHel|per!"&re|
|00002850| 74 75 72 6e 26 c2 0d 22 | 54 68 65 20 6e 75 6d 62 |turn&.."|The numb|
|00002860| 65 72 20 6f 66 20 65 6e | 74 72 69 65 73 20 69 73 |er of en|tries is|
|00002870| 20 6c 69 6d 69 74 65 64 | 20 74 6f 20 31 30 2e 22 | limited| to 10."|
|00002880| 26 72 65 74 75 72 6e 26 | c2 0d 22 50 6c 65 61 73 |&return&|.."Pleas|
|00002890| 65 20 72 65 67 69 73 74 | 65 72 20 74 6f 20 72 65 |e regist|er to re|
|000028a0| 6d 6f 76 65 20 74 68 69 | 73 20 6c 69 6d 69 74 2e |move thi|s limit.|
|000028b0| 22 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 43 |".exit t|o HyperC|
|000028c0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ard.end |if.end i|
|000028d0| 66 0d 65 6e 64 20 69 66 | 0d 70 61 73 73 20 64 6f |f.end if|.pass do|
|000028e0| 4d 65 6e 75 0d 65 6e 64 | 20 64 6f 4d 65 6e 75 0d |Menu.end| doMenu.|
|000028f0| 0d 6f 6e 20 73 65 74 43 | 6f 6c 6f 72 50 72 65 66 |.on setC|olorPref|
|00002900| 0d 67 6c 6f 62 61 6c 20 | 63 6f 6c 6f 72 50 72 65 |.global |colorPre|
|00002910| 66 0d 61 6e 73 77 65 72 | 20 22 57 68 69 63 68 20 |f.answer| "Which |
|00002920| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 64 6f 20 79 |environm|ent do y|
|00002930| 6f 75 20 70 72 65 66 65 | 72 3f 22 20 77 69 74 68 |ou prefe|r?" with|
|00002940| 20 22 42 26 57 22 20 6f | 72 20 22 43 6f 6c 6f 72 | "B&W" o|r "Color|
|00002950| 22 0d 69 66 20 69 74 20 | 69 73 20 22 42 26 57 22 |".if it |is "B&W"|
|00002960| 20 74 68 65 6e 20 70 75 | 74 20 66 61 6c 73 65 20 | then pu|t false |
|00002970| 69 6e 74 6f 20 63 6f 6c | 6f 72 50 72 65 66 20 65 |into col|orPref e|
|00002980| 6c 73 65 20 70 75 74 20 | 74 72 75 65 20 69 6e 74 |lse put |true int|
|00002990| 6f 20 63 6f 6c 6f 72 50 | 72 65 66 0d 63 48 43 72 |o colorP|ref.cHCr|
|000029a0| 65 73 74 61 72 74 20 63 | 6f 6c 6f 72 50 72 65 66 |estart c|olorPref|
|000029b0| 2c 20 22 48 43 63 6f 6c | 6f 72 69 7a 65 22 0d 65 |, "HCcol|orize".e|
|000029c0| 6e 64 20 73 65 74 43 6f | 6c 6f 72 50 72 65 66 0d |nd setCo|lorPref.|
|000029d0| 0d 6f 6e 20 73 65 74 4d | 65 6e 75 50 72 65 66 0d |.on setM|enuPref.|
|000029e0| 67 6c 6f 62 61 6c 20 6d | 65 6e 75 50 72 65 66 0d |global m|enuPref.|
|000029f0| 61 6e 73 77 65 72 20 22 | 57 68 69 63 68 20 6d 65 |answer "|Which me|
|00002a00| 6e 75 20 66 6f 72 6d 61 | 74 20 64 6f 20 79 6f 75 |nu forma|t do you|
|00002a10| 20 70 72 65 66 65 72 3f | 22 26 72 65 74 75 72 6e | prefer?|"&return|
|00002a20| 26 c2 0d 22 d2 53 69 6e | 67 6c 65 20 4d 44 73 d3 |&..".Sin|gle MDs.|
|00002a30| 20 66 6f 72 20 63 6f 6d | 70 75 74 65 72 20 77 69 | for com|puter wi|
|00002a40| 74 68 20 73 6d 61 6c 6c | 20 73 63 72 65 65 6e 2e |th small| screen.|
|00002a50| 22 20 77 69 74 68 20 22 | 43 61 6e 63 65 6c 22 20 |" with "|Cancel" |
|00002a60| 6f 72 20 22 53 69 6e 67 | 6c 65 20 4d 44 73 22 20 |or "Sing|le MDs" |
|00002a70| 6f 72 20 22 53 65 70 61 | 72 61 74 65 22 0d 69 66 |or "Sepa|rate".if|
|00002a80| 20 69 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 | it is "|Cancel" |
|00002a90| 74 68 65 6e 0d 65 78 69 | 74 20 73 65 74 4d 65 6e |then.exi|t setMen|
|00002aa0| 75 50 72 65 66 0d 65 6c | 73 65 20 69 66 20 69 74 |uPref.el|se if it|
|00002ab0| 20 69 73 20 22 53 69 6e | 67 6c 65 20 4d 44 73 22 | is "Sin|gle MDs"|
|00002ac0| 20 74 68 65 6e 0d 70 75 | 74 20 22 73 6d 61 6c 6c | then.pu|t "small|
|00002ad0| 22 20 69 6e 74 6f 20 6d | 65 6e 75 50 72 65 66 0d |" into m|enuPref.|
|00002ae0| 72 65 73 65 74 20 6d 65 | 6e 75 62 61 72 0d 6c 6f |reset me|nubar.lo|
|00002af0| 63 6b 20 73 63 72 65 65 | 6e 0d 63 72 65 61 74 65 |ck scree|n.create|
|00002b00| 4d 65 6e 75 28 22 73 6d | 61 6c 6c 22 29 0d 6f 70 |Menu("sm|all").op|
|00002b10| 65 6e 42 61 63 6b 67 72 | 6f 75 6e 64 0d 75 6e 6c |enBackgr|ound.unl|
|00002b20| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6c 73 65 20 |ock scre|en.else |
|00002b30| 69 66 20 69 74 20 69 73 | 20 22 53 65 70 61 72 61 |if it is| "Separa|
|00002b40| 74 65 22 20 74 68 65 6e | 0d 70 75 74 20 22 62 69 |te" then|.put "bi|
|00002b50| 67 22 20 69 6e 74 6f 20 | 6d 65 6e 75 50 72 65 66 |g" into |menuPref|
|00002b60| 0d 72 65 73 65 74 20 6d | 65 6e 75 62 61 72 0d 6c |.reset m|enubar.l|
|00002b70| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 63 72 65 61 74 |ock scre|en.creat|
|00002b80| 65 4d 65 6e 75 28 22 62 | 69 67 22 29 0d 6f 70 65 |eMenu("b|ig").ope|
|00002b90| 6e 42 61 63 6b 67 72 6f | 75 6e 64 0d 75 6e 6c 6f |nBackgro|und.unlo|
|00002ba0| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 69 66 |ck scree|n.end if|
|00002bb0| 0d 65 6e 64 20 73 65 74 | 4d 65 6e 75 50 72 65 66 |.end set|MenuPref|
|00002bc0| 0d 0d 6f 6e 20 72 65 73 | 75 6d 65 53 74 61 63 6b |..on res|umeStack|
|00002bd0| 0d 67 6c 6f 62 61 6c 20 | 63 6f 6c 6f 72 50 72 65 |.global |colorPre|
|00002be0| 66 2c 6d 65 6e 75 50 72 | 65 66 0d 63 48 43 72 65 |f,menuPr|ef.cHCre|
|00002bf0| 73 74 61 72 74 20 63 6f | 6c 6f 72 50 72 65 66 2c |start co|lorPref,|
|00002c00| 20 22 48 43 63 6f 6c 6f | 72 69 7a 65 22 0d 63 72 | "HCcolo|rize".cr|
|00002c10| 65 61 74 65 4d 65 6e 75 | 28 6d 65 6e 75 50 72 65 |eateMenu|(menuPre|
|00002c20| 66 29 0d 6f 70 65 6e 42 | 61 63 6b 67 72 6f 75 6e |f).openB|ackgroun|
|00002c30| 64 0d 70 61 73 73 20 72 | 65 73 75 6d 65 53 74 61 |d.pass r|esumeSta|
|00002c40| 63 6b 0d 65 6e 64 20 72 | 65 73 75 6d 65 53 74 61 |ck.end r|esumeSta|
|00002c50| 63 6b 0d 0d 6f 6e 20 73 | 75 73 70 65 6e 64 53 74 |ck..on s|uspendSt|
|00002c60| 61 63 6b 0d 63 48 43 6c | 65 61 76 65 0d 63 6c 6f |ack.cHCl|eave.clo|
|00002c70| 73 65 42 61 63 6b 67 72 | 6f 75 6e 64 0d 70 61 73 |seBackgr|ound.pas|
|00002c80| 73 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 65 |s suspen|dStack.e|
|00002c90| 6e 64 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |nd suspe|ndStack.|
|00002ca0| 0d 6f 6e 20 69 64 6c 65 | 0d 69 66 20 74 68 65 72 |.on idle|.if ther|
|00002cb0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 4c |e is a w|indow "L|
|00002cc0| 61 62 20 54 69 6d 65 72 | 22 20 74 68 65 6e 0d 70 |ab Timer|" then.p|
|00002cd0| 75 74 20 74 68 65 20 6c | 6f 6e 67 20 74 69 6d 65 |ut the l|ong time|
|00002ce0| 20 69 6e 74 6f 20 74 6d | 70 0d 64 65 6c 65 74 65 | into tm|p.delete|
|00002cf0| 20 74 68 65 20 6c 61 73 | 74 20 63 68 61 72 20 6f | the las|t char o|
|00002d00| 66 20 74 6d 70 0d 64 65 | 6c 65 74 65 20 74 68 65 |f tmp.de|lete the|
|00002d10| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 74 6d | last ch|ar of tm|
|00002d20| 70 0d 69 66 20 69 31 5f | 74 65 78 74 20 6f 66 20 |p.if i1_|text of |
|00002d30| 77 69 6e 64 6f 77 20 22 | 6c 61 62 20 74 69 6d 65 |window "|lab time|
|00002d40| 72 22 20 ad 20 74 6d 70 | 20 74 68 65 6e 0d 73 65 |r" . tmp| then.se|
|00002d50| 74 20 69 31 5f 74 65 78 | 74 20 6f 66 20 77 69 6e |t i1_tex|t of win|
|00002d60| 64 6f 77 20 22 6c 61 62 | 20 74 69 6d 65 72 22 20 |dow "lab| timer" |
|00002d70| 74 6f 20 74 6d 70 0d 65 | 6e 64 20 69 66 0d 69 66 |to tmp.e|nd if.if|
|00002d80| 20 69 31 38 5f 74 65 78 | 74 20 6f 66 20 77 69 6e | i18_tex|t of win|
|00002d90| 64 6f 77 20 22 6c 61 62 | 20 74 69 6d 65 72 22 20 |dow "lab| timer" |
|00002da0| ad 20 74 68 65 20 64 61 | 74 65 20 74 68 65 6e 0d |. the da|te then.|
|00002db0| 73 65 74 20 69 31 38 5f | 74 65 78 74 20 6f 66 20 |set i18_|text of |
|00002dc0| 77 69 6e 64 6f 77 20 22 | 6c 61 62 20 74 69 6d 65 |window "|lab time|
|00002dd0| 72 22 20 74 6f 20 74 68 | 65 20 64 61 74 65 0d 65 |r" to th|e date.e|
|00002de0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 69 66 20 |nd if.en|d if.if |
|00002df0| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00002e00| 77 20 22 70 72 6f 6d 70 | 74 6f 69 64 22 20 74 68 |w "promp|toid" th|
|00002e10| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|00002e20| 22 70 72 6f 6d 70 74 6f | 69 64 22 0d 69 66 20 74 |"prompto|id".if t|
|00002e30| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00002e40| 20 22 70 72 6f 67 72 65 | 73 73 22 20 74 68 65 6e | "progre|ss" then|
|00002e50| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 70 | close w|indow "p|
|00002e60| 72 6f 67 72 65 73 73 22 | 0d 70 61 73 73 20 69 64 |rogress"|.pass id|
|00002e70| 6c 65 0d 65 6e 64 20 69 | 64 6c 65 0d 0d 66 75 6e |le.end i|dle..fun|
|00002e80| 63 74 69 6f 6e 20 6c 69 | 63 65 6e 73 65 43 68 65 |ction li|censeChe|
|00002e90| 63 6b 20 72 65 67 69 73 | 74 65 72 46 6c 61 67 0d |ck regis|terFlag.|
|00002ea0| 69 66 20 72 65 67 69 73 | 74 65 72 46 6c 61 67 20 |if regis|terFlag |
|00002eb0| 69 73 20 22 72 65 67 69 | 73 74 65 72 65 64 20 63 |is "regi|stered c|
|00002ec0| 6f 70 79 22 20 74 68 65 | 6e 20 72 65 74 75 72 6e |opy" the|n return|
|00002ed0| 20 22 50 61 73 73 22 20 | 65 6c 73 65 20 72 65 74 | "Pass" |else ret|
|00002ee0| 75 72 6e 20 22 46 61 69 | 6c 22 0d 65 6e 64 20 6c |urn "Fai|l".end l|
|00002ef0| 69 63 65 6e 73 65 43 68 | 65 63 6b 0d 0d 6f 6e 20 |icenseCh|eck..on |
|00002f00| 72 65 67 69 73 74 65 72 | 0d 67 6c 6f 62 61 6c 20 |register|.global |
|00002f10| 76 61 72 48 6f 6c 64 65 | 72 0d 70 75 74 20 70 72 |varHolde|r.put pr|
|00002f20| 6f 6d 70 74 28 22 50 6c | 65 61 73 65 20 74 79 70 |ompt("Pl|ease typ|
|00002f30| 65 20 69 6e 20 74 68 65 | 20 72 65 67 69 73 74 72 |e in the| registr|
|00002f40| 61 74 69 6f 6e 20 63 6f | 64 65 3a 22 2c 74 72 75 |ation co|de:",tru|
|00002f50| 65 29 20 69 6e 74 6f 20 | 72 65 67 43 6f 64 65 0d |e) into |regCode.|
|00002f60| 69 66 20 72 65 67 43 6f | 64 65 20 69 73 20 22 43 |if regCo|de is "C|
|00002f70| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00002f80| 20 72 65 67 69 73 74 65 | 72 0d 69 66 20 72 65 67 | registe|r.if reg|
|00002f90| 43 6f 64 65 20 3d 20 22 | 32 31 36 36 34 22 20 74 |Code = "|21664" t|
|00002fa0| 68 65 6e 0d 70 72 6f 6d | 70 74 6f 69 64 20 22 44 |hen.prom|ptoid "D|
|00002fb0| 65 63 6f 64 69 6e 67 2e | 2e 2e 22 0d 70 75 74 20 |ecoding.|..".put |
|00002fc0| 22 72 65 67 69 73 74 65 | 72 65 64 20 63 6f 70 79 |"registe|red copy|
|00002fd0| 22 20 69 6e 74 6f 20 66 | 6c 64 20 22 56 61 72 48 |" into f|ld "VarH|
|00002fe0| 6f 6c 64 65 72 22 0d 70 | 75 74 20 22 72 65 67 69 |older".p|ut "regi|
|00002ff0| 73 74 65 72 65 64 20 63 | 6f 70 79 22 20 69 6e 74 |stered c|opy" int|
|00003000| 6f 20 76 61 72 48 6f 6c | 64 65 72 0d 63 6c 6f 73 |o varHol|der.clos|
|00003010| 65 20 77 69 6e 64 6f 77 | 20 70 72 6f 6d 70 74 6f |e window| prompto|
|00003020| 69 64 0d 61 6e 73 77 65 | 72 20 22 52 65 67 69 73 |id.answe|r "Regis|
|00003030| 74 72 61 74 69 6f 6e 20 | 77 61 73 20 73 75 63 63 |tration |was succ|
|00003040| 65 73 73 66 75 6c 21 22 | 26 72 65 74 75 72 6e 26 |essful!"|&return&|
|00003050| 22 54 68 61 6e 6b 20 79 | 6f 75 20 66 6f 72 20 73 |"Thank y|ou for s|
|00003060| 75 70 70 6f 72 74 69 6e | 67 20 4c 61 62 48 65 6c |upportin|g LabHel|
|00003070| 70 65 72 2e 22 0d 73 65 | 74 20 75 73 65 72 6c 65 |per.".se|t userle|
|00003080| 76 65 6c 20 74 6f 20 34 | 0d 65 6c 73 65 0d 61 6e |vel to 4|.else.an|
|00003090| 73 77 65 72 20 22 49 6e | 63 6f 72 72 65 63 74 20 |swer "In|correct |
|000030a0| 63 6f 64 65 21 20 50 6c | 65 61 73 65 20 74 72 79 |code! Pl|ease try|
|000030b0| 20 61 67 61 69 6e 2e 22 | 20 77 69 74 68 20 22 43 | again."| with "C|
|000030c0| 61 6e 63 65 6c 22 20 6f | 72 20 22 4f 4b 22 0d 69 |ancel" o|r "OK".i|
|000030d0| 66 20 69 74 20 69 73 20 | 22 4f 4b 22 20 74 68 65 |f it is |"OK" the|
|000030e0| 6e 20 72 65 67 69 73 74 | 65 72 0d 65 6e 64 20 69 |n regist|er.end i|
|000030f0| 66 0d 65 6e 64 20 72 65 | 67 69 73 74 65 72 0d 0d |f.end re|gister..|
|00003100| 6f 6e 20 6c 6f 63 6b 75 | 6e 6c 6f 63 6b 52 65 63 |on locku|nlockRec|
|00003110| 6f 72 64 73 0d 61 6e 73 | 77 65 72 20 22 4c 6f 63 |ords.ans|wer "Loc|
|00003120| 6b 20 6f 72 20 75 6e 6c | 6f 63 6b 20 72 65 63 6f |k or unl|ock reco|
|00003130| 72 64 73 3f 22 20 77 69 | 74 68 20 22 43 61 6e 63 |rds?" wi|th "Canc|
|00003140| 65 6c 22 20 6f 72 20 22 | 55 6e 6c 6f 63 6b 22 20 |el" or "|Unlock" |
|00003150| 6f 72 20 22 4c 6f 63 6b | 22 0d 69 66 20 69 74 20 |or "Lock|".if it |
|00003160| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|00003170| 0d 65 78 69 74 20 6c 6f | 63 6b 75 6e 6c 6f 63 6b |.exit lo|ckunlock|
|00003180| 52 65 63 6f 72 64 73 0d | 65 6c 73 65 20 69 66 20 |Records.|else if |
|00003190| 69 74 20 69 73 20 22 75 | 6e 6c 6f 63 6b 22 20 74 |it is "u|nlock" t|
|000031a0| 68 65 6e 0d 75 6e 6c 6f | 63 6b 52 65 63 6f 72 64 |hen.unlo|ckRecord|
|000031b0| 73 0d 65 6c 73 65 20 69 | 66 20 69 74 20 69 73 20 |s.else i|f it is |
|000031c0| 22 6c 6f 63 6b 22 20 74 | 68 65 6e 0d 6c 6f 63 6b |"lock" t|hen.lock|
|000031d0| 52 65 63 6f 72 64 73 0d | 65 6e 64 20 69 66 0d 65 |Records.|end if.e|
|000031e0| 6e 64 20 6c 6f 63 6b 75 | 6e 6c 6f 63 6b 52 65 63 |nd locku|nlockRec|
|000031f0| 6f 72 64 73 0d 0d 6f 6e | 20 6c 6f 63 6b 52 65 63 |ords..on| lockRec|
|00003200| 6f 72 64 73 0d 61 6e 73 | 77 65 72 20 22 4c 6f 63 |ords.ans|wer "Loc|
|00003210| 6b 20 77 68 69 63 68 20 | 72 65 63 6f 72 64 73 3f |k which |records?|
|00003220| 22 20 77 69 74 68 20 22 | 43 61 6e 63 65 6c 22 20 |" with "|Cancel" |
|00003230| 6f 72 20 22 4d 61 72 6b | 65 64 22 20 6f 72 20 22 |or "Mark|ed" or "|
|00003240| 41 6c 6c 22 0d 69 66 20 | 69 74 20 69 73 20 22 63 |All".if |it is "c|
|00003250| 61 6e 63 65 6c 22 20 74 | 68 65 6e 0d 65 78 69 74 |ancel" t|hen.exit|
|00003260| 20 6c 6f 63 6b 52 65 63 | 6f 72 64 73 0d 65 6c 73 | lockRec|ords.els|
|00003270| 65 20 69 66 20 69 74 20 | 69 73 20 22 61 6c 6c 22 |e if it |is "all"|
|00003280| 20 74 68 65 6e 0d 67 65 | 74 20 77 69 6e 64 6f 77 | then.ge|t window|
|00003290| 53 63 72 69 70 74 28 22 | 70 72 6f 67 72 65 73 73 |Script("|progress|
|000032a0| 22 2c 22 4c 6f 63 6b 69 | 6e 67 20 41 6c 6c 20 52 |","Locki|ng All R|
|000032b0| 65 63 6f 72 64 73 2e 2e | 2e 22 2c 6e 75 6d 62 65 |ecords..|.",numbe|
|000032c0| 72 20 6f 66 20 63 64 73 | 29 0d 72 65 70 65 61 74 |r of cds|).repeat|
|000032d0| 20 77 69 74 68 20 78 3d | 31 20 74 6f 20 74 68 65 | with x=|1 to the|
|000032e0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 0d 73 | number |of cds.s|
|000032f0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00003300| 79 0d 73 65 74 20 69 31 | 5f 76 61 6c 75 65 20 6f |y.set i1|_value o|
|00003310| 66 20 77 69 6e 64 6f 77 | 20 22 70 72 6f 67 72 65 |f window| "progre|
|00003320| 73 73 22 20 74 6f 20 78 | 0d 73 65 74 20 63 61 6e |ss" to x|.set can|
|00003330| 74 64 65 6c 65 74 65 20 | 6f 66 20 63 64 20 78 20 |tdelete |of cd x |
|00003340| 74 6f 20 74 72 75 65 0d | 65 6e 64 20 72 65 70 65 |to true.|end repe|
|00003350| 61 74 0d 65 6c 73 65 20 | 69 66 20 69 74 20 69 73 |at.else |if it is|
|00003360| 20 22 6d 61 72 6b 65 64 | 22 20 74 68 65 6e 0d 67 | "marked|" then.g|
|00003370| 65 74 20 77 69 6e 64 6f | 77 53 63 72 69 70 74 28 |et windo|wScript(|
|00003380| 22 70 72 6f 67 72 65 73 | 73 22 2c 22 4c 6f 63 6b |"progres|s","Lock|
|00003390| 69 6e 67 20 4d 61 72 6b | 65 64 20 52 65 63 6f 72 |ing Mark|ed Recor|
|000033a0| 64 73 2e 2e 2e 22 2c 6e | 75 6d 62 65 72 20 6f 66 |ds...",n|umber of|
|000033b0| 20 6d 61 72 6b 65 64 20 | 63 64 73 29 0d 72 65 70 | marked |cds).rep|
|000033c0| 65 61 74 20 77 69 74 68 | 20 78 3d 31 20 74 6f 20 |eat with| x=1 to |
|000033d0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6d 61 |the numb|er of ma|
|000033e0| 72 6b 65 64 20 63 64 73 | 0d 73 65 74 20 63 75 72 |rked cds|.set cur|
|000033f0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 73 65 74 20 |sor to b|usy.set |
|00003400| 69 31 5f 76 61 6c 75 65 | 20 6f 66 20 77 69 6e 64 |i1_value| of wind|
|00003410| 6f 77 20 22 70 72 6f 67 | 72 65 73 73 22 20 74 6f |ow "prog|ress" to|
|00003420| 20 78 0d 73 65 74 20 63 | 61 6e 74 64 65 6c 65 74 | x.set c|antdelet|
|00003430| 65 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 64 20 78 |e of mar|ked cd x|
|00003440| 20 74 6f 20 74 72 75 65 | 0d 65 6e 64 20 72 65 70 | to true|.end rep|
|00003450| 65 61 74 0d 65 6e 64 20 | 69 66 0d 6f 70 65 6e 43 |eat.end |if.openC|
|00003460| 61 72 64 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |ard.clos|e window|
|00003470| 20 22 70 72 6f 67 72 65 | 73 73 22 0d 65 6e 64 20 | "progre|ss".end |
|00003480| 6c 6f 63 6b 52 65 63 6f | 72 64 73 0d 0d 6f 6e 20 |lockReco|rds..on |
|00003490| 75 6e 6c 6f 63 6b 52 65 | 63 6f 72 64 73 0d 61 6e |unlockRe|cords.an|
|000034a0| 73 77 65 72 20 22 55 6e | 6c 6f 63 6b 20 77 68 69 |swer "Un|lock whi|
|000034b0| 63 68 20 72 65 63 6f 72 | 64 73 3f 22 20 77 69 74 |ch recor|ds?" wit|
|000034c0| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 4d |h "Cance|l" or "M|
|000034d0| 61 72 6b 65 64 22 20 6f | 72 20 22 41 6c 6c 22 0d |arked" o|r "All".|
|000034e0| 69 66 20 69 74 20 69 73 | 20 22 63 61 6e 63 65 6c |if it is| "cancel|
|000034f0| 22 20 74 68 65 6e 0d 65 | 78 69 74 20 75 6e 6c 6f |" then.e|xit unlo|
|00003500| 63 6b 52 65 63 6f 72 64 | 73 0d 65 6c 73 65 20 69 |ckRecord|s.else i|
|00003510| 66 20 69 74 20 69 73 20 | 22 61 6c 6c 22 20 74 68 |f it is |"all" th|
|00003520| 65 6e 0d 67 65 74 20 77 | 69 6e 64 6f 77 53 63 72 |en.get w|indowScr|
|00003530| 69 70 74 28 22 70 72 6f | 67 72 65 73 73 22 2c 22 |ipt("pro|gress","|
|00003540| 55 6e 6c 6f 63 6b 69 6e | 67 20 41 6c 6c 20 52 65 |Unlockin|g All Re|
|00003550| 63 6f 72 64 73 2e 2e 2e | 22 2c 6e 75 6d 62 65 72 |cords...|",number|
|00003560| 20 6f 66 20 63 64 73 29 | 0d 72 65 70 65 61 74 20 | of cds)|.repeat |
|00003570| 77 69 74 68 20 78 3d 31 | 20 74 6f 20 74 68 65 20 |with x=1| to the |
|00003580| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 73 0d 73 65 |number o|f cds.se|
|00003590| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|000035a0| 0d 73 65 74 20 69 31 5f | 76 61 6c 75 65 20 6f 66 |.set i1_|value of|
|000035b0| 20 77 69 6e 64 6f 77 20 | 22 70 72 6f 67 72 65 73 | window |"progres|
|000035c0| 73 22 20 74 6f 20 78 0d | 73 65 74 20 63 61 6e 74 |s" to x.|set cant|
|000035d0| 64 65 6c 65 74 65 20 6f | 66 20 63 64 20 78 20 74 |delete o|f cd x t|
|000035e0| 6f 20 66 61 6c 73 65 0d | 65 6e 64 20 72 65 70 65 |o false.|end repe|
|000035f0| 61 74 0d 65 6c 73 65 20 | 69 66 20 69 74 20 69 73 |at.else |if it is|
|00003600| 20 22 6d 61 72 6b 65 64 | 22 20 74 68 65 6e 0d 67 | "marked|" then.g|
|00003610| 65 74 20 77 69 6e 64 6f | 77 53 63 72 69 70 74 28 |et windo|wScript(|
|00003620| 22 70 72 6f 67 72 65 73 | 73 22 2c 22 55 6e 6c 6f |"progres|s","Unlo|
|00003630| 63 6b 69 6e 67 20 4d 61 | 72 6b 65 64 20 52 65 63 |cking Ma|rked Rec|
|00003640| 6f 72 64 73 2e 2e 2e 22 | 2c 6e 75 6d 62 65 72 20 |ords..."|,number |
|00003650| 6f 66 20 6d 61 72 6b 65 | 64 20 63 64 73 29 0d 72 |of marke|d cds).r|
|00003660| 65 70 65 61 74 20 77 69 | 74 68 20 78 3d 31 20 74 |epeat wi|th x=1 t|
|00003670| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00003680| 6d 61 72 6b 65 64 20 63 | 64 73 0d 73 65 74 20 63 |marked c|ds.set c|
|00003690| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 73 65 |ursor to| busy.se|
|000036a0| 74 20 69 31 5f 76 61 6c | 75 65 20 6f 66 20 77 69 |t i1_val|ue of wi|
|000036b0| 6e 64 6f 77 20 22 70 72 | 6f 67 72 65 73 73 22 20 |ndow "pr|ogress" |
|000036c0| 74 6f 20 78 0d 73 65 74 | 20 63 61 6e 74 64 65 6c |to x.set| cantdel|
|000036d0| 65 74 65 20 6f 66 20 6d | 61 72 6b 65 64 20 63 64 |ete of m|arked cd|
|000036e0| 20 78 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 | x to fa|lse.end |
|000036f0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 6f 70 |repeat.e|nd if.op|
|00003700| 65 6e 43 61 72 64 0d 63 | 6c 6f 73 65 20 77 69 6e |enCard.c|lose win|
|00003710| 64 6f 77 20 22 70 72 6f | 67 72 65 73 73 22 0d 65 |dow "pro|gress".e|
|00003720| 6e 64 20 75 6e 6c 6f 63 | 6b 52 65 63 6f 72 64 73 |nd unloc|kRecords|
|00003730| 0d 0d 6f 6e 20 72 65 76 | 4c 6f 63 6b 0d 61 6e 73 |..on rev|Lock.ans|
|00003740| 77 65 72 20 22 52 65 76 | 65 72 73 65 20 74 68 65 |wer "Rev|erse the|
|00003750| 20 6c 6f 63 6b 65 64 2f | 75 6e 6c 6f 63 6b 65 64 | locked/|unlocked|
|00003760| 20 73 74 61 74 75 73 20 | 6f 66 20 72 65 63 6f 72 | status |of recor|
|00003770| 64 73 3f 22 20 77 69 74 | 68 20 22 43 61 6e 63 65 |ds?" wit|h "Cance|
|00003780| 6c 22 20 6f 72 20 22 4d | 61 72 6b 65 64 22 20 6f |l" or "M|arked" o|
|00003790| 72 20 22 41 6c 6c 22 0d | 69 66 20 69 74 20 69 73 |r "All".|if it is|
|000037a0| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 65 | "Cancel|" then.e|
|000037b0| 78 69 74 20 72 65 76 4c | 6f 63 6b 0d 65 6c 73 65 |xit revL|ock.else|
|000037c0| 20 69 66 20 69 74 20 69 | 73 20 22 4d 61 72 6b 65 | if it i|s "Marke|
|000037d0| 64 22 20 74 68 65 6e 0d | 67 65 74 20 77 69 6e 64 |d" then.|get wind|
|000037e0| 6f 77 53 63 72 69 70 74 | 28 22 70 72 6f 67 72 65 |owScript|("progre|
|000037f0| 73 73 22 2c 22 52 65 76 | 65 72 73 69 6e 67 20 4c |ss","Rev|ersing L|
|00003800| 6f 63 6b 65 64 20 53 74 | 61 74 75 73 2e 2e 2e 22 |ocked St|atus..."|
|00003810| 2c 6e 75 6d 62 65 72 20 | 6f 66 20 6d 61 72 6b 65 |,number |of marke|
|00003820| 64 20 63 64 73 29 0d 72 | 65 70 65 61 74 20 77 69 |d cds).r|epeat wi|
|00003830| 74 68 20 78 3d 31 20 74 | 6f 20 74 68 65 20 6e 75 |th x=1 t|o the nu|
|00003840| 6d 62 65 72 20 6f 66 20 | 6d 61 72 6b 65 64 20 63 |mber of |marked c|
|00003850| 64 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ds.set c|ursor to|
|00003860| 20 62 75 73 79 0d 73 65 | 74 20 69 31 5f 76 61 6c | busy.se|t i1_val|
|00003870| 75 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 70 72 |ue of wi|ndow "pr|
|00003880| 6f 67 72 65 73 73 22 20 | 74 6f 20 78 0d 73 65 74 |ogress" |to x.set|
|00003890| 20 63 61 6e 74 44 65 6c | 65 74 65 20 6f 66 20 6d | cantDel|ete of m|
|000038a0| 61 72 6b 65 64 20 63 64 | 20 78 20 74 6f 20 6e 6f |arked cd| x to no|
|000038b0| 74 20 63 61 6e 74 44 65 | 6c 65 74 65 20 6f 66 20 |t cantDe|lete of |
|000038c0| 6d 61 72 6b 65 64 20 63 | 64 20 78 0d 65 6e 64 20 |marked c|d x.end |
|000038d0| 72 65 70 65 61 74 0d 65 | 6c 73 65 20 69 66 20 69 |repeat.e|lse if i|
|000038e0| 74 20 69 73 20 22 41 6c | 6c 22 20 74 68 65 6e 0d |t is "Al|l" then.|
|000038f0| 67 65 74 20 77 69 6e 64 | 6f 77 53 63 72 69 70 74 |get wind|owScript|
|00003900| 28 22 70 72 6f 67 72 65 | 73 73 22 2c 22 52 65 76 |("progre|ss","Rev|
|00003910| 65 72 73 69 6e 67 20 4c | 6f 63 6b 65 64 20 53 74 |ersing L|ocked St|
|00003920| 61 74 75 73 2e 2e 2e 22 | 2c 6e 75 6d 62 65 72 20 |atus..."|,number |
|00003930| 6f 66 20 63 64 73 29 0d | 72 65 70 65 61 74 20 77 |of cds).|repeat w|
|00003940| 69 74 68 20 78 3d 31 20 | 74 6f 20 74 68 65 20 6e |ith x=1 |to the n|
|00003950| 75 6d 62 65 72 20 6f 66 | 20 63 64 73 0d 73 65 74 |umber of| cds.set|
|00003960| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00003970| 73 65 74 20 69 31 5f 76 | 61 6c 75 65 20 6f 66 20 |set i1_v|alue of |
|00003980| 77 69 6e 64 6f 77 20 22 | 70 72 6f 67 72 65 73 73 |window "|progress|
|00003990| 22 20 74 6f 20 78 0d 73 | 65 74 20 63 61 6e 74 44 |" to x.s|et cantD|
|000039a0| 65 6c 65 74 65 20 6f 66 | 20 63 64 20 78 20 74 6f |elete of| cd x to|
|000039b0| 20 6e 6f 74 20 63 61 6e | 74 44 65 6c 65 74 65 20 | not can|tDelete |
|000039c0| 6f 66 20 63 64 20 78 0d | 65 6e 64 20 72 65 70 65 |of cd x.|end repe|
|000039d0| 61 74 0d 65 6e 64 20 69 | 66 0d 63 6c 6f 73 65 20 |at.end i|f.close |
|000039e0| 77 69 6e 64 6f 77 20 22 | 70 72 6f 67 72 65 73 73 |window "|progress|
|000039f0| 22 0d 6f 70 65 6e 43 61 | 72 64 0d 65 6e 64 20 72 |".openCa|rd.end r|
|00003a00| 65 76 4c 6f 63 6b 0d 0d | 6f 6e 20 6d 61 72 6b 75 |evLock..|on marku|
|00003a10| 6e 6d 61 72 6b 52 65 63 | 6f 72 64 73 0d 61 6e 73 |nmarkRec|ords.ans|
|00003a20| 77 65 72 20 22 4d 61 72 | 6b 20 6f 72 20 75 6e 6d |wer "Mar|k or unm|
|00003a30| 61 72 6b 20 61 6c 6c 20 | 72 65 63 6f 72 64 73 3f |ark all |records?|
|00003a40| 22 20 77 69 74 68 20 22 | 43 61 6e 63 65 6c 22 20 |" with "|Cancel" |
|00003a50| 6f 72 20 22 55 6e 6d 61 | 72 6b 22 20 6f 72 20 22 |or "Unma|rk" or "|
|00003a60| 4d 61 72 6b 22 0d 69 66 | 20 69 74 20 69 73 20 22 |Mark".if| it is "|
|00003a70| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 65 78 69 |Cancel" |then.exi|
|00003a80| 74 20 6d 61 72 6b 75 6e | 6d 61 72 6b 52 65 63 6f |t markun|markReco|
|00003a90| 72 64 73 0d 65 6c 73 65 | 20 69 66 20 69 74 20 69 |rds.else| if it i|
|00003aa0| 73 20 22 75 6e 6d 61 72 | 6b 22 20 74 68 65 6e 0d |s "unmar|k" then.|
|00003ab0| 75 6e 6d 61 72 6b 20 61 | 6c 6c 20 63 64 73 0d 6f |unmark a|ll cds.o|
|00003ac0| 70 65 6e 43 61 72 64 0d | 65 6c 73 65 20 69 66 20 |penCard.|else if |
|00003ad0| 69 74 20 69 73 20 22 6d | 61 72 6b 22 20 74 68 65 |it is "m|ark" the|
|00003ae0| 6e 0d 6d 61 72 6b 20 61 | 6c 6c 20 63 64 73 0d 6f |n.mark a|ll cds.o|
|00003af0| 70 65 6e 43 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |penCard.|end if.e|
|00003b00| 6e 64 20 6d 61 72 6b 75 | 6e 6d 61 72 6b 52 65 63 |nd marku|nmarkRec|
|00003b10| 6f 72 64 73 0d 0d 6f 6e | 20 72 65 76 4d 61 72 6b |ords..on| revMark|
|00003b20| 0d 61 6e 73 77 65 72 20 | 22 52 65 76 65 72 73 65 |.answer |"Reverse|
|00003b30| 20 74 68 65 20 6d 61 72 | 6b 65 64 2f 75 6e 6d 61 | the mar|ked/unma|
|00003b40| 72 6b 65 64 20 73 74 61 | 74 75 73 20 6f 66 20 61 |rked sta|tus of a|
|00003b50| 6c 6c 20 72 65 63 6f 72 | 64 73 3f 22 20 77 69 74 |ll recor|ds?" wit|
|00003b60| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 52 |h "Cance|l" or "R|
|00003b70| 65 76 65 72 73 65 22 0d | 69 66 20 69 74 20 69 73 |everse".|if it is|
|00003b80| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 65 | "Cancel|" then.e|
|00003b90| 78 69 74 20 72 65 76 4d | 61 72 6b 0d 65 6c 73 65 |xit revM|ark.else|
|00003ba0| 20 69 66 20 69 74 20 69 | 73 20 22 52 65 76 65 72 | if it i|s "Rever|
|00003bb0| 73 65 22 20 74 68 65 6e | 0d 67 65 74 20 77 69 6e |se" then|.get win|
|00003bc0| 64 6f 77 53 63 72 69 70 | 74 28 22 70 72 6f 67 72 |dowScrip|t("progr|
|00003bd0| 65 73 73 22 2c 22 52 65 | 76 65 72 73 69 6e 67 20 |ess","Re|versing |
|00003be0| 4d 61 72 6b 65 64 20 53 | 74 61 74 75 73 2e 2e 2e |Marked S|tatus...|
|00003bf0| 22 2c 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 29 |",number| of cds)|
|00003c00| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 3d 31 |.repeat |with x=1|
|00003c10| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00003c20| 66 20 63 64 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |f cds.se|t cursor|
|00003c30| 20 74 6f 20 62 75 73 79 | 0d 73 65 74 20 69 31 5f | to busy|.set i1_|
|00003c40| 76 61 6c 75 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |value of| window |
|00003c50| 22 70 72 6f 67 72 65 73 | 73 22 20 74 6f 20 78 0d |"progres|s" to x.|
|00003c60| 73 65 74 20 74 68 65 20 | 6d 61 72 6b 65 64 20 6f |set the |marked o|
|00003c70| 66 20 63 64 20 78 20 74 | 6f 20 6e 6f 74 20 74 68 |f cd x t|o not th|
|00003c80| 65 20 6d 61 72 6b 65 64 | 20 6f 66 20 63 64 20 78 |e marked| of cd x|
|00003c90| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003ca0| 69 66 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |if.close| window |
|00003cb0| 22 70 72 6f 67 72 65 73 | 73 22 0d 6f 70 65 6e 43 |"progres|s".openC|
|00003cc0| 61 72 64 0d 65 6e 64 20 | 72 65 76 4d 61 72 6b 0d |ard.end |revMark.|
|00003cd0| 0d 6f 6e 20 70 72 69 6e | 74 49 74 0d 67 6c 6f 62 |.on prin|tIt.glob|
|00003ce0| 61 6c 20 63 75 72 72 65 | 6e 74 42 6b 67 0d 61 6e |al curre|ntBkg.an|
|00003cf0| 73 77 65 72 20 22 50 72 | 69 6e 74 20 77 68 69 63 |swer "Pr|int whic|
|00003d00| 68 20 72 65 63 6f 72 64 | 28 73 29 3f 22 20 77 69 |h record|(s)?" wi|
|00003d10| 74 68 20 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 22 |th "Canc|el" or "|
|00003d20| 4d 61 72 6b 65 64 22 20 | 6f 72 20 22 54 68 69 73 |Marked" |or "This|
|00003d30| 20 52 65 63 6f 72 64 22 | 0d 69 66 20 69 74 20 69 | Record"|.if it i|
|00003d40| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 0d |s "Cance|l" then.|
|00003d50| 65 78 69 74 20 70 72 69 | 6e 74 49 74 0d 65 6c 73 |exit pri|ntIt.els|
|00003d60| 65 20 69 66 20 69 74 20 | 69 73 20 22 4d 61 72 6b |e if it |is "Mark|
|00003d70| 65 64 22 20 74 68 65 6e | 0d 69 66 20 74 68 65 20 |ed" then|.if the |
|00003d80| 6e 75 6d 62 65 72 20 6f | 66 20 6d 61 72 6b 65 64 |number o|f marked|
|00003d90| 20 63 64 73 20 3d 20 30 | 20 74 68 65 6e 0d 61 6e | cds = 0| then.an|
|00003da0| 73 77 65 72 20 22 4e 6f | 20 72 65 63 6f 72 64 20 |swer "No| record |
|00003db0| 6d 61 72 6b 65 64 21 22 | 0d 65 78 69 74 20 70 72 |marked!"|.exit pr|
|00003dc0| 69 6e 74 49 74 0d 65 6e | 64 20 69 66 0d 6c 6f 63 |intIt.en|d if.loc|
|00003dd0| 6b 20 73 63 72 65 65 6e | 0d 6f 70 65 6e 20 72 65 |k screen|.open re|
|00003de0| 70 6f 72 74 20 70 72 69 | 6e 74 69 6e 67 20 77 69 |port pri|nting wi|
|00003df0| 74 68 20 74 65 6d 70 6c | 61 74 65 20 63 75 72 72 |th templ|ate curr|
|00003e00| 65 6e 74 42 6b 67 26 26 | 22 72 65 70 6f 72 74 22 |entBkg&&|"report"|
|00003e10| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00003e20| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 72 69 |s empty |then pri|
|00003e30| 6e 74 20 6d 61 72 6b 65 | 64 20 63 64 73 0d 63 6c |nt marke|d cds.cl|
|00003e40| 6f 73 65 20 70 72 69 6e | 74 69 6e 67 0d 65 6c 73 |ose prin|ting.els|
|00003e50| 65 20 69 66 20 69 74 20 | 69 73 20 22 54 68 69 73 |e if it |is "This|
|00003e60| 20 52 65 63 6f 72 64 22 | 20 74 68 65 6e 0d 6f 70 | Record"| then.op|
|00003e70| 65 6e 20 72 65 70 6f 72 | 74 20 70 72 69 6e 74 69 |en repor|t printi|
|00003e80| 6e 67 20 77 69 74 68 20 | 74 65 6d 70 6c 61 74 65 |ng with |template|
|00003e90| 20 63 75 72 72 65 6e 74 | 42 6b 67 26 26 22 72 65 | current|Bkg&&"re|
|00003ea0| 70 6f 72 74 22 0d 69 66 | 20 74 68 65 20 72 65 73 |port".if| the res|
|00003eb0| 75 6c 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ult is e|mpty the|
|00003ec0| 6e 20 70 72 69 6e 74 20 | 74 68 69 73 20 63 64 0d |n print |this cd.|
|00003ed0| 63 6c 6f 73 65 20 70 72 | 69 6e 74 69 6e 67 0d 65 |close pr|inting.e|
|00003ee0| 6e 64 20 69 66 0d 65 6e | 64 20 70 72 69 6e 74 49 |nd if.en|d printI|
|00003ef0| 74 0d 0d 6f 6e 20 70 72 | 69 6e 74 4c 69 73 74 20 |t..on pr|intList |
|00003f00| 74 68 65 4c 69 73 74 0d | 70 75 74 20 74 68 65 20 |theList.|put the |
|00003f10| 72 65 63 74 20 6f 66 20 | 66 6c 64 20 74 68 65 4c |rect of |fld theL|
|00003f20| 69 73 74 20 69 6e 74 6f | 20 74 6d 70 0d 73 65 74 |ist into| tmp.set|
|00003f30| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 66 6c 64 | the rec|t of fld|
|00003f40| 20 74 68 65 4c 69 73 74 | 20 74 6f 20 30 2c 30 2c | theList| to 0,0,|
|00003f50| 35 31 32 2c 33 34 32 0d | 70 72 69 6e 74 20 66 6c |512,342.|print fl|
|00003f60| 64 20 74 68 65 4c 69 73 | 74 0d 73 65 74 20 74 68 |d theLis|t.set th|
|00003f70| 65 20 72 65 63 74 20 6f | 66 20 66 6c 64 20 74 68 |e rect o|f fld th|
|00003f80| 65 4c 69 73 74 20 74 6f | 20 74 6d 70 0d 65 6e 64 |eList to| tmp.end|
|00003f90| 20 70 72 69 6e 74 4c 69 | 73 74 0d 0d 6f 6e 20 63 | printLi|st..on c|
|00003fa0| 6f 6d 6d 61 6e 64 6b 65 | 79 64 6f 77 6e 20 77 68 |ommandke|ydown wh|
|00003fb0| 69 63 68 4b 65 79 0d 69 | 66 20 77 68 69 63 68 4b |ichKey.i|f whichK|
|00003fc0| 65 79 20 69 73 20 22 51 | 22 20 74 68 65 6e 0d 61 |ey is "Q|" then.a|
|00003fd0| 6e 73 77 65 72 20 22 41 | 72 65 20 79 6f 75 20 73 |nswer "A|re you s|
|00003fe0| 75 72 65 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |ure you |want to |
|00003ff0| 71 75 69 74 20 4c 61 62 | 48 65 6c 70 65 72 3f 22 |quit Lab|Helper?"|
|00004000| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 20 6f | with "C|ancel" o|
|00004010| 72 20 22 51 75 69 74 22 | 0d 69 66 20 69 74 20 69 |r "Quit"|.if it i|
|00004020| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "Cance|l" then |
|00004030| 65 78 69 74 20 63 6f 6d | 6d 61 6e 64 6b 65 79 64 |exit com|mandkeyd|
|00004040| 6f 77 6e 0d 65 6e 64 20 | 69 66 0d 70 61 73 73 20 |own.end |if.pass |
|00004050| 63 6f 6d 6d 61 6e 64 4b | 65 79 64 6f 77 6e 0d 65 |commandK|eydown.e|
|00004060| 6e 64 20 63 6f 6d 6d 61 | 6e 64 6b 65 79 64 6f 77 |nd comma|ndkeydow|
|00004070| 6e 0d 0d 6f 6e 20 61 72 | 72 6f 77 4b 65 79 20 77 |n..on ar|rowKey w|
|00004080| 68 69 63 68 4b 65 79 0d | 69 66 20 74 68 65 20 73 |hichKey.|if the s|
|00004090| 68 69 66 74 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |hiftKey |is down |
|000040a0| 74 68 65 6e 0d 69 66 20 | 77 68 69 63 68 4b 65 79 |then.if |whichKey|
|000040b0| 20 3d 20 22 6c 65 66 74 | 22 20 74 68 65 6e 0d 67 | = "left|" then.g|
|000040c0| 6f 20 70 72 65 76 20 6d | 61 72 6b 65 64 20 63 64 |o prev m|arked cd|
|000040d0| 0d 65 6c 73 65 20 69 66 | 20 77 68 69 63 68 4b 65 |.else if| whichKe|
|000040e0| 79 20 3d 20 22 72 69 67 | 68 74 22 20 74 68 65 6e |y = "rig|ht" then|
|000040f0| 0d 67 6f 20 6e 65 78 74 | 20 6d 61 72 6b 65 64 20 |.go next| marked |
|00004100| 63 64 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 70 |cd.end i|f.else.p|
|00004110| 61 73 73 20 61 72 72 6f | 77 4b 65 79 0d 65 6e 64 |ass arro|wKey.end|
|00004120| 20 69 66 0d 65 6e 64 20 | 61 72 72 6f 77 4b 65 79 | if.end |arrowKey|
|00004130| 0d 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*******|********|
|00004140| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004170| 2a 2a 2a 2a 2a 2a 2a 2a | 0d 2a 2a 2a 2a 2a 2a 2a |********|.*******|
|00004180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041c0| 0d 6f 6e 20 63 48 43 69 | 6e 73 74 61 6c 6c 20 64 |.on cHCi|nstall d|
|000041d0| 65 70 74 68 0d 67 6c 6f | 62 61 6c 20 63 6f 6c 6f |epth.glo|bal colo|
|000041e0| 72 50 72 65 66 0d 73 65 | 74 20 63 75 72 73 6f 72 |rPref.se|t cursor|
|000041f0| 20 74 6f 20 62 75 73 79 | 0d 69 66 20 63 68 65 63 | to busy|.if chec|
|00004200| 6b 45 6e 76 69 72 6f 6e | 28 64 65 70 74 68 29 20 |kEnviron|(depth) |
|00004210| 69 73 20 6e 6f 74 20 22 | 4f 4b 22 20 74 68 65 6e |is not "|OK" then|
|00004220| 0d 61 6e 73 77 65 72 20 | 22 50 6c 65 61 73 65 20 |.answer |"Please |
|00004230| 61 6c 6c 6f 63 61 74 65 | 20 6d 6f 72 65 20 6d 65 |allocate| more me|
|00004240| 6d 6f 72 79 20 74 6f 20 | 4c 61 62 48 65 6c 70 65 |mory to |LabHelpe|
|00004250| 72 21 22 26 72 65 74 75 | 72 6e 26 c2 0d 22 53 65 |r!"&retu|rn&.."Se|
|00004260| 6c 65 63 74 20 d2 43 6f | 6e 74 69 6e 75 65 d3 20 |lect .Co|ntinue. |
|00004270| 74 6f 20 72 75 6e 20 69 | 6e 20 42 26 57 20 6d 6f |to run i|n B&W mo|
|00004280| 64 65 20 6f 72 22 26 72 | 65 74 75 72 6e 26 c2 0d |de or"&r|eturn&..|
|00004290| 22 73 65 6c 65 63 74 20 | d2 51 75 69 74 d3 20 74 |"select |.Quit. t|
|000042a0| 6f 20 72 65 74 75 72 6e | 20 74 6f 20 46 69 6e 64 |o return| to Find|
|000042b0| 65 72 2e 22 20 77 69 74 | 68 20 22 51 75 69 74 22 |er." wit|h "Quit"|
|000042c0| 20 6f 72 20 22 43 6f 6e | 74 69 6e 75 65 22 0d 69 | or "Con|tinue".i|
|000042d0| 66 20 69 74 20 69 73 20 | 22 43 6f 6e 74 69 6e 75 |f it is |"Continu|
|000042e0| 65 22 20 74 68 65 6e 0d | 70 75 74 20 66 61 6c 73 |e" then.|put fals|
|000042f0| 65 20 69 6e 74 6f 20 63 | 6f 6c 6f 72 50 72 65 66 |e into c|olorPref|
|00004300| 0d 63 48 43 64 69 73 70 | 6f 73 65 0d 65 6c 73 65 |.cHCdisp|ose.else|
|00004310| 20 69 66 20 69 74 20 69 | 73 20 22 51 75 69 74 22 | if it i|s "Quit"|
|00004320| 20 74 68 65 6e 0d 64 6f | 4d 65 6e 75 20 22 51 75 | then.do|Menu "Qu|
|00004330| 69 74 20 4c 61 62 48 65 | 6c 70 65 72 22 0d 65 6e |it LabHe|lper".en|
|00004340| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00004350| 63 48 43 69 6e 73 74 61 | 6c 6c 0d 0d 66 75 6e 63 |cHCinsta|ll..func|
|00004360| 74 69 6f 6e 20 63 68 65 | 63 6b 45 6e 76 69 72 6f |tion che|ckEnviro|
|00004370| 6e 20 54 68 65 44 65 70 | 74 68 0d 70 75 74 20 4d |n TheDep|th.put M|
|00004380| 61 78 44 65 70 74 68 28 | 29 20 69 6e 74 6f 20 4d |axDepth(|) into M|
|00004390| 78 44 65 70 74 68 0d 69 | 66 20 54 68 65 44 65 70 |xDepth.i|f TheDep|
|000043a0| 74 68 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |th is em|pty then|
|000043b0| 20 70 75 74 20 38 20 69 | 6e 74 6f 20 54 68 65 44 | put 8 i|nto TheD|
|000043c0| 65 70 74 68 0d 70 75 74 | 20 4d 69 6e 20 28 4d 78 |epth.put| Min (Mx|
|000043d0| 44 65 70 74 68 2c 54 68 | 65 44 65 70 74 68 29 20 |Depth,Th|eDepth) |
|000043e0| 69 6e 74 6f 20 54 68 65 | 44 65 70 74 68 0d 70 75 |into The|Depth.pu|
|000043f0| 74 20 74 68 65 20 68 65 | 61 70 53 70 61 63 65 20 |t the he|apSpace |
|00004400| 69 6e 74 6f 20 54 68 65 | 48 65 61 70 53 70 61 63 |into The|HeapSpac|
|00004410| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|00004420| 20 6f 6e 63 65 0d 72 65 | 70 65 61 74 20 77 68 69 | once.re|peat whi|
|00004430| 6c 65 20 54 68 65 44 65 | 70 74 68 20 b3 20 34 20 |le TheDe|pth . 4 |
|00004440| 6f 72 20 6f 6e 63 65 20 | 69 73 20 65 6d 70 74 79 |or once |is empty|
|00004450| 0d 70 75 74 20 32 2a 54 | 68 65 44 65 70 74 68 2a |.put 2*T|heDepth*|
|00004460| 28 77 69 64 74 68 20 6f | 66 20 74 68 69 73 20 63 |(width o|f this c|
|00004470| 64 20 2a 20 68 65 69 67 | 68 74 20 6f 66 20 74 68 |d * heig|ht of th|
|00004480| 69 73 20 63 64 29 20 44 | 49 56 20 38 c2 0d 2b 20 |is cd) D|IV 8..+ |
|00004490| 33 35 30 30 30 20 69 6e | 74 6f 20 52 65 71 53 69 |35000 in|to ReqSi|
|000044a0| 7a 65 0d 69 66 20 54 68 | 65 48 65 61 70 53 70 61 |ze.if Th|eHeapSpa|
|000044b0| 63 65 20 3c 20 52 65 71 | 53 69 7a 65 20 74 68 65 |ce < Req|Size the|
|000044c0| 6e 0d 69 66 20 6f 6e 63 | 65 20 69 73 20 65 6d 70 |n.if onc|e is emp|
|000044d0| 74 79 20 74 68 65 6e 0d | 65 72 72 4d 65 6d 6f 72 |ty then.|errMemor|
|000044e0| 79 20 54 68 65 44 65 70 | 74 68 2c 52 65 71 53 69 |y TheDep|th,ReqSi|
|000044f0| 7a 65 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 69 |ze.end i|f.else.i|
|00004500| 66 20 6f 6e 63 65 20 69 | 73 20 6e 6f 74 20 65 6d |f once i|s not em|
|00004510| 70 74 79 0d 74 68 65 6e | 20 69 66 20 6e 6f 74 20 |pty.then| if not |
|00004520| 77 61 72 6e 44 65 70 74 | 68 28 54 68 65 44 65 70 |warnDept|h(TheDep|
|00004530| 74 68 29 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |th) then| return |
|00004540| 65 6d 70 74 79 0d 69 66 | 20 54 68 65 44 65 70 74 |empty.if| TheDept|
|00004550| 68 20 3c 20 34 20 74 68 | 65 6e 20 65 72 72 42 69 |h < 4 th|en errBi|
|00004560| 74 44 65 70 74 68 0d 69 | 66 20 54 68 65 48 65 61 |tDepth.i|f TheHea|
|00004570| 70 53 70 61 63 65 20 3c | 20 52 65 71 53 69 7a 65 |pSpace <| ReqSize|
|00004580| 2b 39 32 31 36 30 0d 74 | 68 65 6e 20 65 72 72 4d |+92160.t|hen errM|
|00004590| 65 6d 6f 72 79 20 54 68 | 65 44 65 70 74 68 2c 52 |emory Th|eDepth,R|
|000045a0| 65 71 53 69 7a 65 2c 54 | 72 75 65 0d 69 66 20 73 |eqSize,T|rue.if s|
|000045b0| 74 61 63 6b 41 63 74 69 | 76 61 74 65 28 54 68 65 |tackActi|vate(The|
|000045c0| 44 65 70 74 68 29 20 69 | 73 20 6e 6f 74 20 65 6d |Depth) i|s not em|
|000045d0| 70 74 79 0d 74 68 65 6e | 20 65 72 72 43 6f 6c 6f |pty.then| errColo|
|000045e0| 72 0d 72 65 74 75 72 6e | 20 22 4f 4b 22 0d 65 6e |r.return| "OK".en|
|000045f0| 64 20 69 66 0d 70 75 74 | 20 54 72 75 65 20 69 6e |d if.put| True in|
|00004600| 74 6f 20 6f 6e 63 65 0d | 70 75 74 20 70 72 65 76 |to once.|put prev|
|00004610| 44 65 70 74 68 28 54 68 | 65 44 65 70 74 68 29 20 |Depth(Th|eDepth) |
|00004620| 69 6e 74 6f 20 54 68 65 | 44 65 70 74 68 0d 65 6e |into The|Depth.en|
|00004630| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 63 68 65 |d repeat|.end che|
|00004640| 63 6b 45 6e 76 69 72 6f | 6e 0d 0d 66 75 6e 63 74 |ckEnviro|n..funct|
|00004650| 69 6f 6e 20 70 72 65 76 | 44 65 70 74 68 20 64 65 |ion prev|Depth de|
|00004660| 70 74 68 0d 69 66 20 64 | 65 70 74 68 20 3e 20 32 |pth.if d|epth > 2|
|00004670| 34 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 32 34 |4 then r|eturn 24|
|00004680| 0d 69 66 20 64 65 70 74 | 68 20 3e 20 31 36 20 74 |.if dept|h > 16 t|
|00004690| 68 65 6e 20 72 65 74 75 | 72 6e 20 31 36 0d 69 66 |hen retu|rn 16.if|
|000046a0| 20 64 65 70 74 68 20 3e | 20 38 20 74 68 65 6e 20 | depth >| 8 then |
|000046b0| 72 65 74 75 72 6e 20 38 | 0d 69 66 20 64 65 70 74 |return 8|.if dept|
|000046c0| 68 20 3e 20 34 20 74 68 | 65 6e 20 72 65 74 75 72 |h > 4 th|en retur|
|000046d0| 6e 20 34 0d 72 65 74 75 | 72 6e 20 31 0d 65 6e 64 |n 4.retu|rn 1.end|
|000046e0| 20 70 72 65 76 44 65 70 | 74 68 0d 0d 6f 6e 20 65 | prevDep|th..on e|
|000046f0| 72 72 4d 65 6d 6f 72 79 | 20 54 68 65 44 65 70 74 |rrMemory| TheDept|
|00004700| 68 2c 50 61 72 74 69 74 | 69 6f 6e 53 69 7a 65 2c |h,Partit|ionSize,|
|00004710| 53 6f 66 74 0d 67 6c 6f | 62 61 6c 20 63 6f 6c 6f |Soft.glo|bal colo|
|00004720| 72 50 72 65 66 0d 69 66 | 20 73 6f 66 74 20 69 73 |rPref.if| soft is|
|00004730| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00004740| 61 6e 73 77 65 72 20 22 | 4d 65 6d 6f 72 79 20 69 |answer "|Memory i|
|00004750| 73 20 6c 6f 77 2e 20 53 | 6f 6d 65 20 6f 70 65 72 |s low. S|ome oper|
|00004760| 61 74 69 6f 6e 73 20 6d | 61 79 20 6e 6f 74 20 77 |ations m|ay not w|
|00004770| 6f 72 6b 2e 22 20 26 26 | c2 0d 22 59 6f 75 20 73 |ork." &&|.."You s|
|00004780| 68 6f 75 6c 64 20 69 6e | 63 72 65 61 73 65 20 74 |hould in|crease t|
|00004790| 68 65 20 6d 65 6d 6f 72 | 79 20 73 69 7a 65 20 6f |he memor|y size o|
|000047a0| 66 20 4c 61 62 48 65 6c | 70 65 72 20 62 79 20 61 |f LabHel|per by a|
|000047b0| 74 20 6c 65 61 73 74 20 | 39 30 4b 2e 22 26 72 65 |t least |90K."&re|
|000047c0| 74 75 72 6e 26 c2 0d 22 | 53 65 6c 65 63 74 20 d2 |turn&.."|Select .|
|000047d0| 43 6f 6e 74 69 6e 75 65 | d3 20 74 6f 20 72 75 6e |Continue|. to run|
|000047e0| 20 69 6e 20 42 26 57 20 | 6d 6f 64 65 20 6f 72 22 | in B&W |mode or"|
|000047f0| 26 72 65 74 75 72 6e 26 | c2 0d 22 73 65 6c 65 63 |&return&|.."selec|
|00004800| 74 20 d2 51 75 69 74 d3 | 20 74 6f 20 72 65 74 75 |t .Quit.| to retu|
|00004810| 72 6e 20 74 6f 20 46 69 | 6e 64 65 72 2e 22 20 77 |rn to Fi|nder." w|
|00004820| 69 74 68 20 22 51 75 69 | 74 22 20 6f 72 20 22 43 |ith "Qui|t" or "C|
|00004830| 6f 6e 74 69 6e 75 65 22 | 0d 69 66 20 69 74 20 69 |ontinue"|.if it i|
|00004840| 73 20 22 43 6f 6e 74 69 | 6e 75 65 22 20 74 68 65 |s "Conti|nue" the|
|00004850| 6e 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |n.put fa|lse into|
|00004860| 20 63 6f 6c 6f 72 50 72 | 65 66 0d 63 48 43 64 69 | colorPr|ef.cHCdi|
|00004870| 73 70 6f 73 65 0d 65 6c | 73 65 20 69 66 20 69 74 |spose.el|se if it|
|00004880| 20 69 73 20 22 51 75 69 | 74 22 20 74 68 65 6e 0d | is "Qui|t" then.|
|00004890| 64 6f 4d 65 6e 75 20 22 | 51 75 69 74 20 4c 61 62 |doMenu "|Quit Lab|
|000048a0| 48 65 6c 70 65 72 22 0d | 65 6e 64 20 69 66 0d 65 |Helper".|end if.e|
|000048b0| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|000048c0| 0d 65 6c 73 65 0d 70 75 | 74 20 28 50 61 72 74 69 |.else.pu|t (Parti|
|000048d0| 74 69 6f 6e 53 69 7a 65 | 20 44 49 56 20 31 30 32 |tionSize| DIV 102|
|000048e0| 34 29 20 26 20 22 4b 22 | 20 69 6e 74 6f 20 50 61 |4) & "K"| into Pa|
|000048f0| 72 74 69 74 69 6f 6e 53 | 69 7a 65 0d 70 75 74 20 |rtitionS|ize.put |
|00004900| 28 74 68 65 20 68 65 61 | 70 53 70 61 63 65 20 44 |(the hea|pSpace D|
|00004910| 49 56 20 31 30 32 34 29 | 20 26 20 22 4b 22 20 69 |IV 1024)| & "K" i|
|00004920| 6e 74 6f 20 68 65 61 70 | 53 69 7a 65 0d 61 6e 73 |nto heap|Size.ans|
|00004930| 77 65 72 20 50 61 72 74 | 69 74 69 6f 6e 53 69 7a |wer Part|itionSiz|
|00004940| 65 20 26 26 20 22 65 78 | 74 72 61 20 6d 65 6d 6f |e && "ex|tra memo|
|00004950| 72 79 20 69 73 20 72 65 | 71 75 69 72 65 64 20 74 |ry is re|quired t|
|00004960| 6f 20 72 75 6e 20 d2 22 | 20 26 c2 0d 74 68 65 20 |o run ."| &..the |
|00004970| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00004980| 69 73 20 73 74 61 63 6b | 20 26 20 22 d3 20 69 6e |is stack| & ". in|
|00004990| 22 20 26 26 20 54 68 65 | 44 65 70 74 68 20 26 20 |" && The|Depth & |
|000049a0| c2 0d 22 2d 62 69 74 20 | 6d 6f 64 65 2c 20 62 75 |.."-bit |mode, bu|
|000049b0| 74 20 6f 6e 6c 79 22 20 | 26 26 20 68 65 61 70 53 |t only" |&& heapS|
|000049c0| 69 7a 65 20 26 26 20 22 | 69 73 20 63 75 72 72 65 |ize && "|is curre|
|000049d0| 6e 74 6c 79 20 73 70 61 | 72 65 2e 22 20 26 26 c2 |ntly spa|re." &&.|
|000049e0| 0d 22 49 6e 63 72 65 61 | 73 65 20 74 68 65 20 6d |."Increa|se the m|
|000049f0| 65 6d 6f 72 79 20 73 69 | 7a 65 20 6f 66 20 4c 61 |emory si|ze of La|
|00004a00| 62 48 65 6c 70 65 72 2e | 22 0d 65 6e 64 20 69 66 |bHelper.|".end if|
|00004a10| 0d 65 6e 64 20 65 72 72 | 4d 65 6d 6f 72 79 0d 0d |.end err|Memory..|
|00004a20| 66 75 6e 63 74 69 6f 6e | 20 77 61 72 6e 44 65 70 |function| warnDep|
|00004a30| 74 68 20 64 65 70 74 68 | 0d 61 6e 73 77 65 72 20 |th depth|.answer |
|00004a40| 22 44 6f 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |"Do you |want to |
|00004a50| 63 6f 6e 74 69 6e 75 65 | 20 69 6e 22 20 26 26 20 |continue| in" && |
|00004a60| 64 65 70 74 68 20 26 20 | 22 2d 62 69 74 20 6d 6f |depth & |"-bit mo|
|00004a70| 64 65 3f 22 c2 0d 77 69 | 74 68 20 22 4e 6f 22 20 |de?"..wi|th "No" |
|00004a80| 6f 72 20 22 59 65 73 22 | 0d 72 65 74 75 72 6e 20 |or "Yes"|.return |
|00004a90| 69 74 20 69 73 20 22 59 | 65 73 22 0d 65 6e 64 20 |it is "Y|es".end |
|00004aa0| 77 61 72 6e 44 65 70 74 | 68 0d 0d 66 75 6e 63 74 |warnDept|h..funct|
|00004ab0| 69 6f 6e 20 6c 61 73 74 | 49 74 65 6d 20 54 68 65 |ion last|Item The|
|00004ac0| 44 65 6c 69 6d 69 74 65 | 72 2c 53 74 72 69 6e 67 |Delimite|r,String|
|00004ad0| 0d 69 66 20 54 68 65 44 | 65 6c 69 6d 69 74 65 72 |.if TheD|elimiter|
|00004ae0| 20 69 73 20 69 6e 20 53 | 74 72 69 6e 67 0d 74 68 | is in S|tring.th|
|00004af0| 65 6e 20 70 75 74 20 6c | 61 73 74 49 74 65 6d 28 |en put l|astItem(|
|00004b00| 54 68 65 44 65 6c 69 6d | 69 74 65 72 2c 63 68 61 |TheDelim|iter,cha|
|00004b10| 72 20 6f 66 66 73 65 74 | 28 54 68 65 44 65 6c 69 |r offset|(TheDeli|
|00004b20| 6d 69 74 65 72 2c 53 74 | 72 69 6e 67 29 20 2b 20 |miter,St|ring) + |
|00004b30| 31 20 74 6f 20 6c 65 6e | 67 74 68 28 53 74 72 69 |1 to len|gth(Stri|
|00004b40| 6e 67 29 20 6f 66 20 53 | 74 72 69 6e 67 29 20 69 |ng) of S|tring) i|
|00004b50| 6e 74 6f 20 53 74 72 69 | 6e 67 0d 72 65 74 75 72 |nto Stri|ng.retur|
|00004b60| 6e 20 53 74 72 69 6e 67 | 0d 65 6e 64 20 6c 61 73 |n String|.end las|
|00004b70| 74 49 74 65 6d 0d 0d 6f | 6e 20 65 72 72 42 69 74 |tItem..o|n errBit|
|00004b80| 44 65 70 74 68 0d 61 6e | 73 77 65 72 20 22 54 68 |Depth.an|swer "Th|
|00004b90| 69 73 20 73 74 61 63 6b | 20 72 65 71 75 69 72 65 |is stack| require|
|00004ba0| 73 20 61 20 63 6f 6c 6f | 72 20 73 79 73 74 65 6d |s a colo|r system|
|00004bb0| 20 73 65 74 20 74 6f 20 | 61 74 20 6c 65 61 73 74 | set to |at least|
|00004bc0| 20 31 36 20 63 6f 6c 6f | 72 73 22 20 26 26 20 c2 | 16 colo|rs" && .|
|00004bd0| 0d 22 28 34 20 62 69 74 | 2d 64 65 70 74 68 29 20 |."(4 bit|-depth) |
|00004be0| 74 6f 20 64 69 73 70 6c | 61 79 20 63 6f 6c 6f 72 |to displ|ay color|
|00004bf0| 2e 22 0d 65 6e 64 20 65 | 72 72 42 69 74 44 65 70 |.".end e|rrBitDep|
|00004c00| 74 68 0d 0d 6f 6e 20 63 | 6f 6c 6f 72 69 7a 65 48 |th..on c|olorizeH|
|00004c10| 43 0d 67 6c 6f 62 61 6c | 20 67 4f 4b 54 6f 43 6f |C.global| gOKToCo|
|00004c20| 6c 6f 72 69 7a 65 2c 67 | 48 43 6f 70 74 69 6f 6e |lorize,g|HCoption|
|00004c30| 73 0d 69 66 20 67 4f 4b | 54 6f 43 6f 6c 6f 72 69 |s.if gOK|ToColori|
|00004c40| 7a 65 20 69 73 20 65 6d | 70 74 79 20 61 6e 64 20 |ze is em|pty and |
|00004c50| 67 48 43 6f 70 74 69 6f | 6e 73 20 69 73 20 6e 6f |gHCoptio|ns is no|
|00004c60| 74 20 65 6d 70 74 79 0d | 74 68 65 6e 20 70 61 73 |t empty.|then pas|
|00004c70| 73 20 63 6f 6c 6f 72 69 | 7a 65 48 43 0d 65 6e 64 |s colori|zeHC.end|
|00004c80| 20 63 6f 6c 6f 72 69 7a | 65 48 43 0d 0d 66 75 6e | coloriz|eHC..fun|
|00004c90| 63 74 69 6f 6e 20 73 74 | 61 63 6b 41 63 74 69 76 |ction st|ackActiv|
|00004ca0| 61 74 65 20 64 65 70 74 | 68 0d 67 6c 6f 62 61 6c |ate dept|h.global|
|00004cb0| 20 67 4f 4b 54 6f 43 6f | 6c 6f 72 69 7a 65 2c 67 | gOKToCo|lorize,g|
|00004cc0| 48 43 64 65 70 74 68 0d | 70 75 74 20 65 6d 70 74 |HCdepth.|put empt|
|00004cd0| 79 20 69 6e 74 6f 20 67 | 4f 4b 54 6f 43 6f 6c 6f |y into g|OKToColo|
|00004ce0| 72 69 7a 65 0d 63 6f 6c | 6f 72 69 7a 65 48 43 20 |rize.col|orizeHC |
|00004cf0| 22 69 6e 73 74 61 6c 6c | 22 2c 64 65 70 74 68 0d |"install|",depth.|
|00004d00| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00004d10| 20 65 6d 70 74 79 0d 74 | 68 65 6e 20 63 6f 6c 6f | empty.t|hen colo|
|00004d20| 72 69 7a 65 48 43 20 22 | 61 73 73 69 67 6e 54 6f |rizeHC "|assignTo|
|00004d30| 46 72 6f 6e 74 22 0d 70 | 75 74 20 74 68 65 20 72 |Front".p|ut the r|
|00004d40| 65 73 75 6c 74 20 69 6e | 74 6f 20 67 4f 4b 54 6f |esult in|to gOKTo|
|00004d50| 43 6f 6c 6f 72 69 7a 65 | 0d 70 75 74 20 64 65 70 |Colorize|.put dep|
|00004d60| 74 68 20 69 6e 74 6f 20 | 67 48 43 64 65 70 74 68 |th into |gHCdepth|
|00004d70| 0d 72 65 74 75 72 6e 20 | 67 4f 4b 54 6f 43 6f 6c |.return |gOKToCol|
|00004d80| 6f 72 69 7a 65 0d 65 6e | 64 20 73 74 61 63 6b 41 |orize.en|d stackA|
|00004d90| 63 74 69 76 61 74 65 0d | 0d 6f 6e 20 65 72 72 43 |ctivate.|.on errC|
|00004da0| 6f 6c 6f 72 0d 67 6c 6f | 62 61 6c 20 63 6f 6c 6f |olor.glo|bal colo|
|00004db0| 72 50 72 65 66 0d 67 6c | 6f 62 61 6c 20 67 4f 4b |rPref.gl|obal gOK|
|00004dc0| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 61 6e 73 77 65 |ToColori|ze.answe|
|00004dd0| 72 20 22 57 61 72 6e 69 | 6e 67 3a 20 54 68 65 20 |r "Warni|ng: The |
|00004de0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 74 68 69 73 |environm|ent this|
|00004df0| 20 73 74 61 63 6b 20 69 | 73 20 63 75 72 72 65 6e | stack i|s curren|
|00004e00| 74 6c 79 20 72 75 6e 6e | 69 6e 67 20 69 6e 22 20 |tly runn|ing in" |
|00004e10| 26 26 20 c2 0d 22 69 73 | 20 75 6e 61 62 6c 65 20 |&& .."is| unable |
|00004e20| 74 6f 20 73 75 70 70 6f | 72 74 20 63 6f 6c 6f 72 |to suppo|rt color|
|00004e30| 2e 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 52 |." & ret|urn & "R|
|00004e40| 65 61 73 6f 6e 3a 22 20 | 26 26 20 67 4f 4b 54 6f |eason:" |&& gOKTo|
|00004e50| 43 6f 6c 6f 72 69 7a 65 | 26 72 65 74 75 72 6e 26 |Colorize|&return&|
|00004e60| c2 0d 22 50 6c 65 61 73 | 65 20 61 6c 6c 6f 63 61 |.."Pleas|e alloca|
|00004e70| 74 65 20 6d 6f 72 65 20 | 6d 65 6d 6f 72 79 20 74 |te more |memory t|
|00004e80| 6f 20 4c 61 62 48 65 6c | 70 65 72 21 22 26 72 65 |o LabHel|per!"&re|
|00004e90| 74 75 72 6e 26 c2 0d 22 | 53 65 6c 65 63 74 20 d2 |turn&.."|Select .|
|00004ea0| 43 6f 6e 74 69 6e 75 65 | d3 20 74 6f 20 72 75 6e |Continue|. to run|
|00004eb0| 20 69 6e 20 42 26 57 20 | 6d 6f 64 65 20 6f 72 22 | in B&W |mode or"|
|00004ec0| 26 72 65 74 75 72 6e 26 | c2 0d 22 73 65 6c 65 63 |&return&|.."selec|
|00004ed0| 74 20 d2 51 75 69 74 d3 | 20 74 6f 20 72 65 74 75 |t .Quit.| to retu|
|00004ee0| 72 6e 20 74 6f 20 46 69 | 6e 64 65 72 2e 22 20 77 |rn to Fi|nder." w|
|00004ef0| 69 74 68 20 22 51 75 69 | 74 22 20 6f 72 20 22 43 |ith "Qui|t" or "C|
|00004f00| 6f 6e 74 69 6e 75 65 22 | 0d 69 66 20 69 74 20 69 |ontinue"|.if it i|
|00004f10| 73 20 22 43 6f 6e 74 69 | 6e 75 65 22 20 74 68 65 |s "Conti|nue" the|
|00004f20| 6e 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |n.put fa|lse into|
|00004f30| 20 63 6f 6c 6f 72 50 72 | 65 66 0d 63 48 43 64 69 | colorPr|ef.cHCdi|
|00004f40| 73 70 6f 73 65 0d 65 6c | 73 65 20 69 66 20 69 74 |spose.el|se if it|
|00004f50| 20 69 73 20 22 51 75 69 | 74 22 20 74 68 65 6e 0d | is "Qui|t" then.|
|00004f60| 64 6f 4d 65 6e 75 20 22 | 51 75 69 74 20 4c 61 62 |doMenu "|Quit Lab|
|00004f70| 48 65 6c 70 65 72 22 0d | 65 6e 64 20 69 66 0d 65 |Helper".|end if.e|
|00004f80| 6e 64 20 65 72 72 43 6f | 6c 6f 72 0d 0d 6f 6e 20 |nd errCo|lor..on |
|00004f90| 63 48 43 64 69 73 70 6f | 73 65 0d 67 6c 6f 62 61 |cHCdispo|se.globa|
|00004fa0| 6c 20 67 4f 4b 54 6f 43 | 6f 6c 6f 72 69 7a 65 2c |l gOKToC|olorize,|
|00004fb0| 67 48 43 64 65 70 74 68 | 0d 69 66 20 6e 6f 74 20 |gHCdepth|.if not |
|00004fc0| 74 68 65 20 6c 6f 63 6b | 53 63 72 65 65 6e 20 74 |the lock|Screen t|
|00004fd0| 68 65 6e 20 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |hen lock| screen.|
|00004fe0| 43 6f 6c 6f 72 69 7a 65 | 48 43 20 22 44 69 73 70 |Colorize|HC "Disp|
|00004ff0| 6f 73 65 22 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ose".if |the resu|
|00005000| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |lt is no|t empty |
|00005010| 74 68 65 6e 20 61 6e 73 | 77 65 72 20 74 68 65 20 |then ans|wer the |
|00005020| 72 65 73 75 6c 74 0d 70 | 75 74 20 22 44 69 73 61 |result.p|ut "Disa|
|00005030| 62 6c 65 64 22 20 69 6e | 74 6f 20 67 4f 4b 54 6f |bled" in|to gOKTo|
|00005040| 43 6f 6c 6f 72 69 7a 65 | 0d 70 75 74 20 31 20 69 |Colorize|.put 1 i|
|00005050| 6e 74 6f 20 67 48 43 64 | 65 70 74 68 0d 65 6e 64 |nto gHCd|epth.end|
|00005060| 20 63 48 43 64 69 73 70 | 6f 73 65 0d 0d 66 75 6e | cHCdisp|ose..fun|
|00005070| 63 74 69 6f 6e 20 63 48 | 43 4f 70 74 69 6f 6e 73 |ction cH|COptions|
|00005080| 0d 72 65 74 75 72 6e 20 | 22 48 43 63 6f 6c 6f 72 |.return |"HCcolor|
|00005090| 69 7a 65 2c 48 43 75 6e | 43 6f 6c 6f 72 69 7a 65 |ize,HCun|Colorize|
|000050a0| 2c 48 43 62 57 68 69 74 | 65 2c 48 43 75 6e 42 57 |,HCbWhit|e,HCunBW|
|000050b0| 68 69 74 65 2c 48 43 67 | 72 61 70 68 69 63 2c 22 |hite,HCg|raphic,"|
|000050c0| 20 26 c2 0d 22 48 43 75 | 6e 47 72 61 70 68 69 63 | &.."HCu|nGraphic|
|000050d0| 2c 6e 6f 45 72 72 6f 72 | 73 2c 66 6f 72 63 65 43 |,noError|s,forceC|
|000050e0| 6f 6c 6f 72 2c 66 6f 72 | 63 65 42 57 2c 57 69 6e |olor,for|ceBW,Win|
|000050f0| 64 6f 77 73 2c 6c 65 61 | 76 65 43 75 72 73 6f 72 |dows,lea|veCursor|
|00005100| 2c 22 20 26 c2 0d 22 6e | 6f 56 69 73 75 61 6c 73 |," &.."n|oVisuals|
|00005110| 2c 6e 6f 56 69 73 75 61 | 6c 73 49 6e 43 6f 6c 6f |,noVisua|lsInColo|
|00005120| 72 2c 64 62 43 6f 6c 6f | 72 69 7a 65 48 43 2c 48 |r,dbColo|rizeHC,H|
|00005130| 43 70 72 65 47 72 61 70 | 68 69 63 2c 48 43 69 6e |CpreGrap|hic,HCin|
|00005140| 69 74 22 0d 65 6e 64 20 | 63 48 43 4f 70 74 69 6f |it".end |cHCOptio|
|00005150| 6e 73 0d 0d 6f 6e 20 73 | 65 74 4f 70 74 69 6f 6e |ns..on s|etOption|
|00005160| 73 20 6f 70 74 69 6f 6e | 73 0d 67 6c 6f 62 61 6c |s option|s.global|
|00005170| 20 67 48 43 4f 70 74 69 | 6f 6e 73 0d 70 75 74 20 | gHCOpti|ons.put |
|00005180| 22 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |"0000000|00000000|
|00005190| 30 22 20 69 6e 74 6f 20 | 67 48 43 4f 70 74 69 6f |0" into |gHCOptio|
|000051a0| 6e 73 0d 69 66 20 6f 70 | 74 69 6f 6e 73 20 69 73 |ns.if op|tions is|
|000051b0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|000051c0| 22 31 31 22 20 69 6e 74 | 6f 20 63 68 61 72 20 31 |"11" int|o char 1|
|000051d0| 20 74 6f 20 32 20 6f 66 | 20 67 48 43 4f 70 74 69 | to 2 of| gHCOpti|
|000051e0| 6f 6e 73 0d 65 78 69 74 | 20 73 65 74 4f 70 74 69 |ons.exit| setOpti|
|000051f0| 6f 6e 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 63 |ons.end |if.put c|
|00005200| 48 43 4f 70 74 69 6f 6e | 73 28 29 20 69 6e 74 6f |HCOption|s() into|
|00005210| 20 6b 6e 6f 77 6e 0d 72 | 65 70 65 61 74 20 77 69 | known.r|epeat wi|
|00005220| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th i = 1| to the |
|00005230| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00005240| 6f 66 20 6f 70 74 69 6f | 6e 73 0d 67 65 74 20 69 |of optio|ns.get i|
|00005250| 74 65 6d 20 69 20 6f 66 | 20 6f 70 74 69 6f 6e 73 |tem i of| options|
|00005260| 0d 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 65 6d |.if it i|s not em|
|00005270| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 46 61 6c |pty then|.put Fal|
|00005280| 73 65 20 69 6e 74 6f 20 | 66 6f 75 6e 64 0d 72 65 |se into |found.re|
|00005290| 70 65 61 74 20 77 69 74 | 68 20 6b 20 3d 20 31 20 |peat wit|h k = 1 |
|000052a0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|000052b0| 20 69 74 65 6d 73 20 6f | 66 20 6b 6e 6f 77 6e 0d | items o|f known.|
|000052c0| 69 66 20 69 74 20 69 73 | 20 69 74 65 6d 20 6b 20 |if it is| item k |
|000052d0| 6f 66 20 6b 6e 6f 77 6e | 20 74 68 65 6e 0d 70 75 |of known| then.pu|
|000052e0| 74 20 31 20 69 6e 74 6f | 20 63 68 61 72 20 6b 20 |t 1 into| char k |
|000052f0| 6f 66 20 67 48 43 4f 70 | 74 69 6f 6e 73 0d 70 75 |of gHCOp|tions.pu|
|00005300| 74 20 54 72 75 65 20 69 | 6e 74 6f 20 66 6f 75 6e |t True i|nto foun|
|00005310| 64 0d 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |d.exit r|epeat.en|
|00005320| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00005330| 69 66 20 6e 6f 74 20 66 | 6f 75 6e 64 20 74 68 65 |if not f|ound the|
|00005340| 6e 20 61 6e 73 77 65 72 | 20 22 55 6e 6b 6e 6f 77 |n answer| "Unknow|
|00005350| 6e 20 6f 70 74 69 6f 6e | 2e 20 49 67 6e 6f 72 69 |n option|. Ignori|
|00005360| 6e 67 3a 22 20 26 26 20 | 69 74 0d 65 6e 64 20 69 |ng:" && |it.end i|
|00005370| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 69 66 20 |f.end re|peat.if |
|00005380| 63 68 61 72 20 38 20 74 | 6f 20 39 20 6f 66 20 67 |char 8 t|o 9 of g|
|00005390| 48 43 4f 70 74 69 6f 6e | 73 20 69 73 20 22 31 31 |HCOption|s is "11|
|000053a0| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 59 |" then.a|nswer "Y|
|000053b0| 6f 75 20 63 61 6e 6e 6f | 74 20 73 65 74 20 62 6f |ou canno|t set bo|
|000053c0| 74 68 20 66 6f 72 63 65 | 43 6f 6c 6f 72 20 61 6e |th force|Color an|
|000053d0| 64 20 66 6f 72 63 65 42 | 57 2e 20 49 67 6e 6f 72 |d forceB|W. Ignor|
|000053e0| 69 6e 67 20 62 6f 74 68 | 21 22 0d 70 75 74 20 22 |ing both|!".put "|
|000053f0| 30 30 22 20 69 6e 74 6f | 20 63 68 61 72 20 38 20 |00" into| char 8 |
|00005400| 74 6f 20 39 20 6f 66 20 | 67 48 43 4f 70 74 69 6f |to 9 of |gHCOptio|
|00005410| 6e 73 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 65 |ns.end i|f.end se|
|00005420| 74 4f 70 74 69 6f 6e 73 | 0d 0d 6f 6e 20 73 74 6f |tOptions|..on sto|
|00005430| 72 65 53 74 61 74 65 0d | 67 6c 6f 62 61 6c 20 67 |reState.|global g|
|00005440| 48 43 6f 70 74 69 6f 6e | 73 2c 67 48 43 75 73 65 |HCoption|s,gHCuse|
|00005450| 72 2c 67 48 43 6b 65 70 | 74 4e 61 6d 65 73 0d 67 |r,gHCkep|tNames.g|
|00005460| 65 74 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |et the v|alue of |
|00005470| 77 6f 72 64 20 32 20 6f | 66 20 74 68 65 20 6c 6f |word 2 o|f the lo|
|00005480| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |ng name |of this |
|00005490| 73 74 61 63 6b 0d 72 65 | 70 65 61 74 20 77 69 74 |stack.re|peat wit|
|000054a0| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|000054b0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|000054c0| 66 20 67 48 43 6b 65 70 | 74 4e 61 6d 65 73 0d 69 |f gHCkep|tNames.i|
|000054d0| 66 20 6c 69 6e 65 20 69 | 20 6f 66 20 67 48 43 6b |f line i| of gHCk|
|000054e0| 65 70 74 4e 61 6d 65 73 | 20 69 73 20 69 74 20 74 |eptNames| is it t|
|000054f0| 68 65 6e 0d 67 65 74 20 | 22 67 48 43 6b 70 75 22 |hen.get |"gHCkpu"|
|00005500| 20 26 20 69 0d 64 6f 20 | 22 67 6c 6f 62 61 6c 22 | & i.do |"global"|
|00005510| 20 26 26 20 69 74 20 26 | 20 72 65 74 75 72 6e 20 | && it &| return |
|00005520| 26 20 22 70 75 74 20 67 | 48 43 75 73 65 72 20 69 |& "put g|HCuser i|
|00005530| 6e 74 6f 22 20 26 26 20 | 69 74 0d 67 65 74 20 22 |nto" && |it.get "|
|00005540| 67 48 43 6b 70 6f 22 20 | 26 20 69 0d 64 6f 20 22 |gHCkpo" |& i.do "|
|00005550| 67 6c 6f 62 61 6c 22 20 | 26 26 20 69 74 20 26 20 |global" |&& it & |
|00005560| 72 65 74 75 72 6e 20 26 | 20 22 70 75 74 20 67 48 |return &| "put gH|
|00005570| 43 6f 70 74 69 6f 6e 73 | 20 69 6e 74 6f 22 20 26 |Coptions| into" &|
|00005580| 26 20 69 74 0d 65 78 69 | 74 20 73 74 6f 72 65 53 |& it.exi|t storeS|
|00005590| 74 61 74 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |tate.end| if.end |
|000055a0| 72 65 70 65 61 74 0d 70 | 75 74 20 69 74 20 26 20 |repeat.p|ut it & |
|000055b0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 67 48 43 |return a|fter gHC|
|000055c0| 6b 65 70 74 4e 61 6d 65 | 73 0d 67 65 74 20 22 67 |keptName|s.get "g|
|000055d0| 48 43 6b 70 75 22 20 26 | 20 74 68 65 20 6e 75 6d |HCkpu" &| the num|
|000055e0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|000055f0| 67 48 43 6b 65 70 74 4e | 61 6d 65 73 0d 64 6f 20 |gHCkeptN|ames.do |
|00005600| 22 67 6c 6f 62 61 6c 22 | 20 26 26 20 69 74 20 26 |"global"| && it &|
|00005610| 20 72 65 74 75 72 6e 20 | 26 20 22 70 75 74 20 67 | return |& "put g|
|00005620| 48 43 75 73 65 72 20 69 | 6e 74 6f 22 20 26 26 20 |HCuser i|nto" && |
|00005630| 69 74 0d 67 65 74 20 22 | 67 48 43 6b 70 6f 22 20 |it.get "|gHCkpo" |
|00005640| 26 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |& the nu|mber of |
|00005650| 6c 69 6e 65 73 20 6f 66 | 20 67 48 43 6b 65 70 74 |lines of| gHCkept|
|00005660| 4e 61 6d 65 73 0d 64 6f | 20 22 67 6c 6f 62 61 6c |Names.do| "global|
|00005670| 22 20 26 26 20 69 74 20 | 26 20 72 65 74 75 72 6e |" && it |& return|
|00005680| 20 26 20 22 70 75 74 20 | 67 48 43 6f 70 74 69 6f | & "put |gHCoptio|
|00005690| 6e 73 20 69 6e 74 6f 22 | 20 26 26 20 69 74 0d 65 |ns into"| && it.e|
|000056a0| 6e 64 20 73 74 6f 72 65 | 53 74 61 74 65 0d 0d 6f |nd store|State..o|
|000056b0| 6e 20 72 65 73 74 6f 72 | 65 53 74 61 74 65 20 55 |n restor|eState U|
|000056c0| 73 65 72 4f 6e 6c 79 0d | 67 6c 6f 62 61 6c 20 67 |serOnly.|global g|
|000056d0| 48 43 6f 70 74 69 6f 6e | 73 2c 67 48 43 75 73 65 |HCoption|s,gHCuse|
|000056e0| 72 2c 67 48 43 6b 65 70 | 74 4e 61 6d 65 73 0d 70 |r,gHCkep|tNames.p|
|000056f0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 67 48 |ut empty| into gH|
|00005700| 43 75 73 65 72 0d 69 66 | 20 55 73 65 72 4f 6e 6c |Cuser.if| UserOnl|
|00005710| 79 20 69 73 20 6e 6f 74 | 20 54 72 75 65 20 74 68 |y is not| True th|
|00005720| 65 6e 20 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |en put e|mpty int|
|00005730| 6f 20 67 48 43 6f 70 74 | 69 6f 6e 73 0d 67 65 74 |o gHCopt|ions.get|
|00005740| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 77 6f | the val|ue of wo|
|00005750| 72 64 20 32 20 6f 66 20 | 74 68 65 20 6c 6f 6e 67 |rd 2 of |the long|
|00005760| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00005770| 61 63 6b 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ack.repe|at with |
|00005780| 69 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |i = 1 to| the num|
|00005790| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|000057a0| 67 48 43 6b 65 70 74 4e | 61 6d 65 73 0d 69 66 20 |gHCkeptN|ames.if |
|000057b0| 6c 69 6e 65 20 69 20 6f | 66 20 67 48 43 6b 65 70 |line i o|f gHCkep|
|000057c0| 74 4e 61 6d 65 73 20 69 | 73 20 69 74 20 74 68 65 |tNames i|s it the|
|000057d0| 6e 0d 67 65 74 20 22 67 | 48 43 6b 70 75 22 20 26 |n.get "g|HCkpu" &|
|000057e0| 20 69 0d 64 6f 20 22 67 | 6c 6f 62 61 6c 22 20 26 | i.do "g|lobal" &|
|000057f0| 26 20 69 74 20 26 20 72 | 65 74 75 72 6e 20 26 20 |& it & r|eturn & |
|00005800| 22 70 75 74 22 20 26 26 | 20 69 74 20 26 26 20 22 |"put" &&| it && "|
|00005810| 69 6e 74 6f 20 67 48 43 | 75 73 65 72 22 0d 69 66 |into gHC|user".if|
|00005820| 20 55 73 65 72 4f 6e 6c | 79 20 69 73 20 6e 6f 74 | UserOnl|y is not|
|00005830| 20 54 72 75 65 20 74 68 | 65 6e 0d 67 65 74 20 22 | True th|en.get "|
|00005840| 67 48 43 6b 70 6f 22 20 | 26 20 69 0d 64 6f 20 22 |gHCkpo" |& i.do "|
|00005850| 67 6c 6f 62 61 6c 22 20 | 26 26 20 69 74 20 26 20 |global" |&& it & |
|00005860| 72 65 74 75 72 6e 20 26 | 20 22 70 75 74 22 20 26 |return &| "put" &|
|00005870| 26 20 69 74 20 26 26 20 | 22 69 6e 74 6f 20 67 48 |& it && |"into gH|
|00005880| 43 6f 70 74 69 6f 6e 73 | 22 0d 65 6e 64 20 69 66 |Coptions|".end if|
|00005890| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|000058a0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|000058b0| 6e 64 20 72 65 73 74 6f | 72 65 53 74 61 74 65 0d |nd resto|reState.|
|000058c0| 0d 6f 6e 20 63 48 43 73 | 65 74 55 70 20 55 73 65 |.on cHCs|etUp Use|
|000058d0| 43 6f 6c 6f 72 2c 20 73 | 69 6c 65 6e 74 2c 20 6f |Color, s|ilent, o|
|000058e0| 70 74 69 6f 6e 73 2c 20 | 64 65 70 74 68 2c 20 49 |ptions, |depth, I|
|000058f0| 6e 53 74 61 72 74 0d 67 | 6c 6f 62 61 6c 20 67 4f |nStart.g|lobal gO|
|00005900| 4b 74 6f 43 6f 6c 6f 72 | 69 7a 65 2c 67 48 43 6f |KtoColor|ize,gHCo|
|00005910| 70 74 69 6f 6e 73 2c 67 | 48 43 75 73 65 72 0d 69 |ptions,g|HCuser.i|
|00005920| 66 20 69 6e 53 74 61 72 | 74 20 69 73 20 54 72 75 |f inStar|t is Tru|
|00005930| 65 20 74 68 65 6e 20 73 | 65 74 4f 70 74 69 6f 6e |e then s|etOption|
|00005940| 73 20 6f 70 74 69 6f 6e | 73 0d 65 6c 73 65 0d 72 |s option|s.else.r|
|00005950| 65 73 74 6f 72 65 53 74 | 61 74 65 0d 69 66 20 67 |estoreSt|ate.if g|
|00005960| 48 43 6f 70 74 69 6f 6e | 73 20 69 73 20 65 6d 70 |HCoption|s is emp|
|00005970| 74 79 20 74 68 65 6e 20 | 73 65 74 4f 70 74 69 6f |ty then |setOptio|
|00005980| 6e 73 20 6f 70 74 69 6f | 6e 73 0d 65 6c 73 65 20 |ns optio|ns.else |
|00005990| 69 66 20 73 69 6c 65 6e | 74 20 69 73 20 6e 6f 74 |if silen|t is not|
|000059a0| 20 4e 6f 20 74 68 65 6e | 20 70 75 74 20 54 72 75 | No then| put Tru|
|000059b0| 65 20 69 6e 74 6f 20 53 | 69 6c 65 6e 74 0d 65 6e |e into S|ilent.en|
|000059c0| 64 20 69 66 0d 69 66 20 | 55 73 65 43 6f 6c 6f 72 |d if.if |UseColor|
|000059d0| 20 69 73 20 6e 6f 74 20 | 46 61 6c 73 65 20 74 68 | is not |False th|
|000059e0| 65 6e 0d 69 66 20 6d 61 | 78 44 65 70 74 68 28 29 |en.if ma|xDepth()|
|000059f0| 3d 31 20 61 6e 64 20 63 | 68 61 72 20 38 20 6f 66 |=1 and c|har 8 of|
|00005a00| 20 67 48 43 6f 70 74 69 | 6f 6e 73 20 69 73 20 6e | gHCopti|ons is n|
|00005a10| 6f 74 20 31 20 6f 72 c2 | 0d 63 68 61 72 20 39 20 |ot 1 or.|.char 9 |
|00005a20| 6f 66 20 67 48 43 6f 70 | 74 69 6f 6e 73 20 69 73 |of gHCop|tions is|
|00005a30| 20 31 20 74 68 65 6e 0d | 63 48 43 64 69 73 70 6f | 1 then.|cHCdispo|
|00005a40| 73 65 0d 65 6c 73 65 0d | 63 48 43 69 6e 73 74 61 |se.else.|cHCinsta|
|00005a50| 6c 6c 20 64 65 70 74 68 | 0d 69 66 20 63 68 61 72 |ll depth|.if char|
|00005a60| 20 38 20 6f 66 20 67 48 | 43 6f 70 74 69 6f 6e 73 | 8 of gH|Coptions|
|00005a70| 20 69 73 20 31 20 74 68 | 65 6e 20 70 75 74 20 65 | is 1 th|en put e|
|00005a80| 6d 70 74 79 20 69 6e 74 | 6f 20 67 4f 6b 54 6f 43 |mpty int|o gOkToC|
|00005a90| 6f 6c 6f 72 69 7a 65 0d | 69 66 20 67 4f 6b 54 6f |olorize.|if gOkTo|
|00005aa0| 43 6f 6c 6f 72 69 7a 65 | 20 69 73 20 6e 6f 74 20 |Colorize| is not |
|00005ab0| 65 6d 70 74 79 20 74 68 | 65 6e 20 63 48 43 64 69 |empty th|en cHCdi|
|00005ac0| 73 70 6f 73 65 0d 65 6e | 64 20 69 66 0d 65 6c 73 |spose.en|d if.els|
|00005ad0| 65 0d 63 48 43 64 69 73 | 70 6f 73 65 0d 65 6e 64 |e.cHCdis|pose.end|
|00005ae0| 20 69 66 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e | if.put |empty in|
|00005af0| 74 6f 20 67 48 43 75 73 | 65 72 0d 65 6e 64 20 63 |to gHCus|er.end c|
|00005b00| 48 43 73 65 74 55 70 0d | 0d 6f 6e 20 63 48 43 72 |HCsetUp.|.on cHCr|
|00005b10| 65 73 74 61 72 74 20 55 | 73 65 43 6f 6c 6f 72 2c |estart U|seColor,|
|00005b20| 20 6f 70 74 69 6f 6e 73 | 2c 20 64 65 70 74 68 0d | options|, depth.|
|00005b30| 67 6c 6f 62 61 6c 20 67 | 48 43 6f 70 74 69 6f 6e |global g|HCoption|
|00005b40| 73 2c 67 4f 6b 54 6f 43 | 6f 6c 6f 72 69 7a 65 0d |s,gOkToC|olorize.|
|00005b50| 72 65 73 74 6f 72 65 53 | 74 61 74 65 0d 69 66 20 |restoreS|tate.if |
|00005b60| 67 48 43 6f 70 74 69 6f | 6e 73 20 69 73 20 65 6d |gHCoptio|ns is em|
|00005b70| 70 74 79 20 74 68 65 6e | 20 73 65 74 4f 70 74 69 |pty then| setOpti|
|00005b80| 6f 6e 73 20 6f 70 74 69 | 6f 6e 73 0d 69 66 20 55 |ons opti|ons.if U|
|00005b90| 73 65 43 6f 6c 6f 72 20 | 69 73 20 6e 6f 74 20 46 |seColor |is not F|
|00005ba0| 61 6c 73 65 20 74 68 65 | 6e 0d 69 66 20 6d 61 78 |alse the|n.if max|
|00005bb0| 44 65 70 74 68 28 29 3d | 31 20 61 6e 64 20 63 68 |Depth()=|1 and ch|
|00005bc0| 61 72 20 38 20 6f 66 20 | 67 48 43 6f 70 74 69 6f |ar 8 of |gHCoptio|
|00005bd0| 6e 73 20 69 73 20 6e 6f | 74 20 31 20 6f 72 c2 0d |ns is no|t 1 or..|
|00005be0| 63 68 61 72 20 39 20 6f | 66 20 67 48 43 6f 70 74 |char 9 o|f gHCopt|
|00005bf0| 69 6f 6e 73 20 69 73 20 | 31 20 74 68 65 6e 0d 63 |ions is |1 then.c|
|00005c00| 48 43 64 69 73 70 6f 73 | 65 0d 65 6c 73 65 0d 63 |HCdispos|e.else.c|
|00005c10| 48 43 69 6e 73 74 61 6c | 6c 20 64 65 70 74 68 0d |HCinstal|l depth.|
|00005c20| 69 66 20 63 68 61 72 20 | 38 20 6f 66 20 67 48 43 |if char |8 of gHC|
|00005c30| 6f 70 74 69 6f 6e 73 20 | 69 73 20 31 20 74 68 65 |options |is 1 the|
|00005c40| 6e 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n put em|pty into|
|00005c50| 20 67 4f 6b 54 6f 43 6f | 6c 6f 72 69 7a 65 0d 69 | gOkToCo|lorize.i|
|00005c60| 66 20 67 4f 6b 54 6f 43 | 6f 6c 6f 72 69 7a 65 20 |f gOkToC|olorize |
|00005c70| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005c80| 6e 20 63 48 43 64 69 73 | 70 6f 73 65 0d 65 6e 64 |n cHCdis|pose.end|
|00005c90| 20 69 66 0d 65 6c 73 65 | 0d 63 48 43 64 69 73 70 | if.else|.cHCdisp|
|00005ca0| 6f 73 65 0d 65 6e 64 20 | 69 66 0d 69 66 20 6e 6f |ose.end |if.if no|
|00005cb0| 74 20 74 68 65 20 6c 6f | 63 6b 53 63 72 65 65 6e |t the lo|ckScreen|
|00005cc0| 20 74 68 65 6e 20 6c 6f | 63 6b 20 73 63 72 65 65 | then lo|ck scree|
|00005cd0| 6e 0d 63 48 43 63 6f 6c | 6f 72 69 7a 65 0d 69 66 |n.cHCcol|orize.if|
|00005ce0| 20 6e 6f 74 20 74 68 65 | 20 6c 6f 63 6b 53 63 72 | not the| lockScr|
|00005cf0| 65 65 6e 20 74 68 65 6e | 20 6c 6f 63 6b 20 73 63 |een then| lock sc|
|00005d00| 72 65 65 6e 0d 65 6e 64 | 20 63 48 43 72 65 73 74 |reen.end| cHCrest|
|00005d10| 61 72 74 0d 0d 6f 6e 20 | 63 6c 6f 73 65 44 6f 77 |art..on |closeDow|
|00005d20| 6e 43 48 43 0d 67 6c 6f | 62 61 6c 20 67 48 43 4f |nCHC.glo|bal gHCO|
|00005d30| 70 74 69 6f 6e 73 2c 67 | 48 43 75 73 65 72 0d 63 |ptions,g|HCuser.c|
|00005d40| 48 43 75 6e 43 6f 6c 6f | 72 69 7a 65 0d 63 48 43 |HCunColo|rize.cHC|
|00005d50| 64 69 73 70 6f 73 65 0d | 73 74 6f 72 65 53 74 61 |dispose.|storeSta|
|00005d60| 74 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |te.put e|mpty int|
|00005d70| 6f 20 67 48 43 4f 70 74 | 69 6f 6e 73 0d 70 75 74 |o gHCOpt|ions.put|
|00005d80| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 67 48 43 75 | empty i|nto gHCu|
|00005d90| 73 65 72 0d 65 6e 64 20 | 63 6c 6f 73 65 44 6f 77 |ser.end |closeDow|
|00005da0| 6e 43 48 43 0d 0d 6f 6e | 20 63 48 43 63 6c 6f 73 |nCHC..on| cHCclos|
|00005db0| 65 0d 67 6c 6f 62 61 6c | 20 67 48 43 75 73 65 72 |e.global| gHCuser|
|00005dc0| 2c 67 48 43 6f 70 74 69 | 6f 6e 73 0d 0d 69 66 20 |,gHCopti|ons..if |
|00005dd0| 67 48 43 6f 70 74 69 6f | 6e 73 20 69 73 20 65 6d |gHCoptio|ns is em|
|00005de0| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 63 48 |pty then| exit cH|
|00005df0| 43 63 6c 6f 73 65 0d 70 | 75 74 20 65 6d 70 74 79 |Cclose.p|ut empty|
|00005e00| 20 69 6e 74 6f 20 67 48 | 43 75 73 65 72 0d 63 6c | into gH|Cuser.cl|
|00005e10| 6f 73 65 64 6f 77 6e 43 | 48 43 0d 65 6e 64 20 63 |osedownC|HC.end c|
|00005e20| 48 43 63 6c 6f 73 65 0d | 0d 6f 6e 20 63 48 43 6c |HCclose.|.on cHCl|
|00005e30| 65 61 76 65 0d 67 6c 6f | 62 61 6c 20 67 48 43 6f |eave.glo|bal gHCo|
|00005e40| 70 74 69 6f 6e 73 0d 69 | 66 20 67 48 43 6f 70 74 |ptions.i|f gHCopt|
|00005e50| 69 6f 6e 73 20 69 73 20 | 65 6d 70 74 79 20 74 68 |ions is |empty th|
|00005e60| 65 6e 20 65 78 69 74 20 | 63 48 43 6c 65 61 76 65 |en exit |cHCleave|
|00005e70| 0d 63 6c 6f 73 65 64 6f | 77 6e 43 48 43 0d 65 6e |.closedo|wnCHC.en|
|00005e80| 64 20 63 48 43 6c 65 61 | 76 65 0d 0d 6f 6e 20 63 |d cHClea|ve..on c|
|00005e90| 48 43 63 6f 6c 6f 72 69 | 7a 65 0d 67 6c 6f 62 61 |HCcolori|ze.globa|
|00005ea0| 6c 20 67 4f 4b 54 6f 43 | 6f 6c 6f 72 69 7a 65 2c |l gOKToC|olorize,|
|00005eb0| 67 48 43 6f 70 74 69 6f | 6e 73 2c 67 48 43 77 69 |gHCoptio|ns,gHCwi|
|00005ec0| 6e 64 6f 77 73 2c 67 48 | 43 65 66 66 65 63 74 73 |ndows,gH|Ceffects|
|00005ed0| 0d 69 66 20 67 48 43 6f | 70 74 69 6f 6e 73 20 69 |.if gHCo|ptions i|
|00005ee0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00005ef0| 74 20 63 48 43 63 6f 6c | 6f 72 69 7a 65 0d 69 66 |t cHCcol|orize.if|
|00005f00| 20 6e 6f 74 20 74 68 65 | 20 6c 6f 63 6b 53 63 72 | not the| lockScr|
|00005f10| 65 65 6e 20 74 68 65 6e | 20 6c 6f 63 6b 20 73 63 |een then| lock sc|
|00005f20| 72 65 65 6e 0d 69 66 20 | 67 4f 4b 54 6f 43 6f 6c |reen.if |gOKToCol|
|00005f30| 6f 72 69 7a 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 |orize is| not emp|
|00005f40| 74 79 20 74 68 65 6e 0d | 65 6c 73 65 0d 69 66 20 |ty then.|else.if |
|00005f50| 63 68 61 72 20 31 20 6f | 66 20 67 48 43 6f 70 74 |char 1 o|f gHCopt|
|00005f60| 69 6f 6e 73 20 69 73 20 | 31 20 74 68 65 6e 20 73 |ions is |1 then s|
|00005f70| 65 6e 64 20 48 43 63 6f | 6c 6f 72 69 7a 65 20 74 |end HCco|lorize t|
|00005f80| 6f 20 63 64 0d 65 6c 73 | 65 20 63 6f 6c 6f 72 69 |o cd.els|e colori|
|00005f90| 7a 65 48 43 20 22 45 72 | 61 73 65 22 0d 65 6e 64 |zeHC "Er|ase".end|
|00005fa0| 20 69 66 0d 69 66 20 63 | 68 61 72 20 35 20 6f 66 | if.if c|har 5 of|
|00005fb0| 20 67 48 43 6f 70 74 69 | 6f 6e 73 20 69 73 20 31 | gHCopti|ons is 1|
|00005fc0| 20 74 68 65 6e 20 73 65 | 6e 64 20 48 43 67 72 61 | then se|nd HCgra|
|00005fd0| 70 68 69 63 20 74 6f 20 | 63 64 0d 67 65 74 20 67 |phic to |cd.get g|
|00005fe0| 48 43 65 66 66 65 63 74 | 73 0d 70 75 74 20 65 6d |HCeffect|s.put em|
|00005ff0| 70 74 79 20 69 6e 74 6f | 20 67 48 43 65 66 66 65 |pty into| gHCeffe|
|00006000| 63 74 73 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |cts.if i|t is emp|
|00006010| 74 79 20 74 68 65 6e 20 | 75 6e 6c 6f 63 6b 20 73 |ty then |unlock s|
|00006020| 63 72 65 65 6e 0d 65 6c | 73 65 20 64 6f 20 22 75 |creen.el|se do "u|
|00006030| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00006040| 68 22 20 26 26 20 69 74 | 0d 65 6e 64 20 63 48 43 |h" && it|.end cHC|
|00006050| 63 6f 6c 6f 72 69 7a 65 | 0d 0d 6f 6e 20 63 48 43 |colorize|..on cHC|
|00006060| 75 6e 43 6f 6c 6f 72 69 | 7a 65 0d 67 6c 6f 62 61 |unColori|ze.globa|
|00006070| 6c 20 67 4f 4b 54 6f 43 | 6f 6c 6f 72 69 7a 65 2c |l gOKToC|olorize,|
|00006080| 67 48 43 6f 70 74 69 6f | 6e 73 2c 67 48 43 77 69 |gHCoptio|ns,gHCwi|
|00006090| 6e 64 6f 77 73 0d 69 66 | 20 67 48 43 6f 70 74 69 |ndows.if| gHCopti|
|000060a0| 6f 6e 73 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ons is e|mpty the|
|000060b0| 6e 20 65 78 69 74 20 63 | 48 43 75 6e 43 6f 6c 6f |n exit c|HCunColo|
|000060c0| 72 69 7a 65 0d 69 66 20 | 67 4f 4b 54 6f 43 6f 6c |rize.if |gOKToCol|
|000060d0| 6f 72 69 7a 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 |orize is| not emp|
|000060e0| 74 79 20 74 68 65 6e 0d | 69 66 20 63 68 61 72 20 |ty then.|if char |
|000060f0| 31 31 20 6f 66 20 67 48 | 43 6f 70 74 69 6f 6e 73 |11 of gH|Coptions|
|00006100| 20 69 73 20 6e 6f 74 20 | 31 20 74 68 65 6e 20 73 | is not |1 then s|
|00006110| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|00006120| 20 62 75 73 79 0d 69 66 | 20 6e 6f 74 20 74 68 65 | busy.if| not the|
|00006130| 20 6c 6f 63 6b 53 63 72 | 65 65 6e 20 74 68 65 6e | lockScr|een then|
|00006140| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |.lock sc|reen.end|
|00006150| 20 69 66 0d 65 6c 73 65 | 0d 69 66 20 63 68 61 72 | if.else|.if char|
|00006160| 20 32 20 6f 66 20 67 48 | 43 6f 70 74 69 6f 6e 73 | 2 of gH|Coptions|
|00006170| 20 69 73 20 31 20 74 68 | 65 6e 20 73 65 6e 64 20 | is 1 th|en send |
|00006180| 48 43 75 6e 43 6f 6c 6f | 72 69 7a 65 20 74 6f 20 |HCunColo|rize to |
|00006190| 63 64 0d 65 6c 73 65 0d | 69 66 20 63 68 61 72 20 |cd.else.|if char |
|000061a0| 31 31 20 6f 66 20 67 48 | 43 6f 70 74 69 6f 6e 73 |11 of gH|Coptions|
|000061b0| 20 69 73 20 6e 6f 74 20 | 31 20 74 68 65 6e 20 73 | is not |1 then s|
|000061c0| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|000061d0| 20 62 75 73 79 0d 69 66 | 20 6e 6f 74 20 74 68 65 | busy.if| not the|
|000061e0| 20 6c 6f 63 6b 53 63 72 | 65 65 6e 20 74 68 65 6e | lockScr|een then|
|000061f0| 20 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 | lock sc|reen.end|
|00006200| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 | if.end |if.end c|
|00006210| 48 43 75 6e 43 6f 6c 6f | 72 69 7a 65 0d 0d 6f 6e |HCunColo|rize..on|
|00006220| 20 48 43 63 6f 6c 6f 72 | 69 7a 65 0d 43 6f 6c 6f | HCcolor|ize.Colo|
|00006230| 72 69 7a 65 48 43 20 22 | 45 72 61 73 65 22 0d 63 |rizeHC "|Erase".c|
|00006240| 6f 6c 6f 72 69 7a 65 48 | 43 20 22 6e 65 77 22 2c |olorizeH|C "new",|
|00006250| 22 62 61 63 6b 64 72 6f | 70 22 2c 22 30 2c 30 22 |"backdro|p","0,0"|
|00006260| 0d 65 6e 64 20 48 43 63 | 6f 6c 6f 72 69 7a 65 0d |.end HCc|olorize.|
|00006270| 0d 6f 6e 20 48 43 75 6e | 43 6f 6c 6f 72 69 7a 65 |.on HCun|Colorize|
|00006280| 0d 67 6c 6f 62 61 6c 20 | 67 48 43 4f 70 74 69 6f |.global |gHCOptio|
|00006290| 6e 73 0d 69 66 20 63 68 | 61 72 20 31 31 20 6f 66 |ns.if ch|ar 11 of|
|000062a0| 20 67 48 43 6f 70 74 69 | 6f 6e 73 20 69 73 20 6e | gHCopti|ons is n|
|000062b0| 6f 74 20 31 20 74 68 65 | 6e 20 73 65 74 20 74 68 |ot 1 the|n set th|
|000062c0| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |e cursor| to busy|
|000062d0| 0d 69 66 20 6e 6f 74 20 | 74 68 65 20 6c 6f 63 6b |.if not |the lock|
|000062e0| 53 63 72 65 65 6e 20 74 | 68 65 6e 20 6c 6f 63 6b |Screen t|hen lock|
|000062f0| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 48 43 75 6e | screen.|end HCun|
|00006300| 43 6f 6c 6f 72 69 7a 65 | 00 00 00 00 00 00 00 00 |Colorize|........|
|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 79 20 74 68 65 6e 20 |........|.y then |
|00006330| 65 78 69 74 20 63 48 43 | 63 6f 6c 6f 72 69 7a 65 |exit cHC|colorize|
|00006340| 0d 69 66 20 6e 6f 74 20 | 74 68 65 20 6c 6f 63 6b |.if not |the lock|
|00006350| 53 63 72 65 65 6e 20 74 | 68 65 6e 20 6c 6f 63 6b |Screen t|hen lock|
|00006360| 20 73 63 72 65 65 6e 0d | 69 66 20 67 4f 4b 54 6f | screen.|if gOKTo|
|00006370| 43 6f 6c 6f 72 69 7a 65 | 20 69 73 20 6e 6f 74 20 |Colorize| is not |
|00006380| 65 6d 70 74 79 20 74 68 | 65 6e 0d 65 6c 73 65 0d |empty th|en.else.|
|00006390| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 67 48 43 |if char |1 of gHC|
|000063a0| 6f 70 74 69 6f 6e 73 20 | 69 73 20 31 20 74 68 65 |options |is 1 the|
|000063b0| 6e 20 73 65 6e 64 20 48 | 43 63 6f 6c 6f 72 69 7a |n send H|Ccoloriz|
|000063c0| 65 20 74 6f 20 63 64 0d | 65 6c 73 65 20 63 6f 6c |e to cd.|else col|
|000063d0| 6f 72 69 7a 65 48 43 20 | 22 45 72 61 73 65 22 0d |orizeHC |"Erase".|
|000063e0| 65 6e 64 20 69 66 0d 69 | 66 20 63 68 61 72 20 35 |end if.i|f char 5|
|000063f0| 20 6f 66 20 67 48 43 6f | 70 74 69 6f 6e 73 20 69 | of gHCo|ptions i|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.