home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-04-24 | 412.8 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: HyperCard AppleScript Reference
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sun May 12 08:00:00 1991, modified Thu Apr 24 08:00:00 1997, creator HyperCard, type HyperCard stack, 420160 bytes "HyperCard AppleScript Reference" , at 0x669c0 2264 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1f 48 79 70 65 72 43 | 61 72 64 20 41 70 70 6c |..HyperC|ard Appl|
|00000010| 65 53 63 72 69 70 74 20 | 52 65 66 65 72 65 6e 63 |eScript |Referenc|
|00000020| 65 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.......|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 06 69 40 00 | 00 08 d8 a4 52 de c0 af |.....i@.|....R...|
|00000060| 84 fb c0 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 27 38 00 00 |........|....'8..|
|00000080| 00 00 6c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..l.STAK|........|
|00000090| 00 00 00 0a 00 06 69 40 | 00 00 6c 00 00 00 00 01 |......i@|..l.....|
|000000a0| 00 00 00 03 00 00 00 02 | 00 00 1d 53 00 00 01 50 |........|...S...P|
|000000b0| 00 00 1c 8d 00 00 d0 2d | 00 00 00 00 00 00 00 00 |.......-|........|
|000000c0| 00 00 1e fd 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 60 15 02 35 80 00 | 02 35 80 00 02 35 80 00 |..`..5..|.5...5..|
|000000f0| 2f e4 00 ad 00 00 00 00 | 80 00 80 00 81 26 81 e0 |/.......|.....&..|
|00000100| 00 00 00 00 03 00 04 00 | 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 19 78 00 00 0c 8f | 01 26 01 e0 00 00 00 00 |...x....|.&......|
|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| 22 88 22 88 22 88 22 88 | b1 30 03 1b d8 c0 0c 8d |".".".".|.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| f8 00 00 00 00 00 00 00 | ff 80 80 80 ff 08 08 08 |........|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 0d | 48 79 70 65 72 43 61 72 |........|HyperCar|
|000006d0| 64 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 52 65 |d AppleS|cript Re|
|000006e0| 66 65 72 65 6e 63 65 0d | 56 65 72 73 69 6f 6e 20 |ference.|Version |
|000006f0| 32 2e 33 2e 36 0d 0d a9 | 43 6f 70 79 72 69 67 68 |2.3.6...|Copyrigh|
|00000700| 74 20 31 39 39 33 2d 31 | 39 39 37 20 62 79 20 41 |t 1993-1|997 by A|
|00000710| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 49 6e |pple Com|puter,In|
|00000720| 63 2e 0d 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |c..All R|ights Re|
|00000730| 73 65 72 76 65 64 2e 0d | 0d 43 72 65 61 74 65 64 |served..|.Created|
|00000740| 20 62 79 20 49 6e 73 74 | 72 75 63 74 69 6f 6e 61 | by Inst|ructiona|
|00000750| 6c 20 50 72 6f 64 75 63 | 74 73 20 61 74 20 41 70 |l Produc|ts at Ap|
|00000760| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00000770| 63 2e 0d 56 65 72 73 2e | 20 32 2e 32 20 62 79 20 |c..Vers.| 2.2 by |
|00000780| 50 61 74 20 43 68 61 6e | 65 79 2c 20 45 6c 69 20 |Pat Chan|ey, Eli |
|00000790| 43 6f 63 68 72 61 6e 2c | 20 50 65 74 65 20 48 61 |Cochran,| Pete Ha|
|000007a0| 72 62 69 73 6f 6e 20 26 | 20 53 61 72 61 68 20 4d |rbison &| Sarah M|
|000007b0| 63 47 72 61 6e 61 67 68 | 61 6e 0d 0d 22 2d 2d c6 |cGranagh|an.."--.|
|000007c0| 22 20 69 6e 64 69 63 61 | 74 65 73 20 73 74 72 69 |" indica|tes stri|
|000007d0| 6e 67 73 20 77 68 69 63 | 68 20 77 69 6c 6c 20 6e |ngs whic|h will n|
|000007e0| 65 65 64 20 6c 6f 63 61 | 6c 69 7a 61 74 69 6f 6e |eed loca|lization|
|000007f0| 0d b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000800| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000810| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000820| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000830| b0 b0 b0 b0 b0 b0 b0 b0 | 0d 0d 2d 2d 2d 2d 2d 2d |........|..------|
|00000840| 20 20 53 59 53 54 45 4d | 20 4d 45 53 53 41 47 45 | SYSTEM| MESSAGE|
|00000850| 53 20 20 2d 2d 2d 2d 2d | 2d 0d 0d 6f 6e 20 6f 70 |S -----|-..on op|
|00000860| 65 6e 53 74 61 63 6b 0d | 69 66 20 77 72 6f 6e 67 |enStack.|if wrong|
|00000870| 53 74 61 63 6b 28 29 20 | 74 68 65 6e 20 70 61 73 |Stack() |then pas|
|00000880| 73 20 6f 70 65 6e 53 74 | 61 63 6b 0d 63 68 65 63 |s openSt|ack.chec|
|00000890| 6b 48 43 56 65 72 73 69 | 6f 6e 0d 63 68 65 63 6b |kHCVersi|on.check|
|000008a0| 44 69 73 6b 53 70 61 63 | 65 0d 63 68 65 63 6b 43 |DiskSpac|e.checkC|
|000008b0| 61 6e 74 4d 6f 64 69 66 | 79 0d 73 65 74 55 70 48 |antModif|y.setUpH|
|000008c0| 65 6c 70 53 74 61 63 6b | 0d 70 61 73 73 20 6f 70 |elpStack|.pass op|
|000008d0| 65 6e 53 74 61 63 6b 0d | 65 6e 64 20 6f 70 65 6e |enStack.|end open|
|000008e0| 53 74 61 63 6b 0d 0d 6f | 6e 20 72 65 73 75 6d 65 |Stack..o|n resume|
|000008f0| 53 74 61 63 6b 0d 69 66 | 20 77 72 6f 6e 67 53 74 |Stack.if| wrongSt|
|00000900| 61 63 6b 28 29 20 74 68 | 65 6e 20 70 61 73 73 20 |ack() th|en pass |
|00000910| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 63 68 65 63 |resumeSt|ack.chec|
|00000920| 6b 43 61 6e 74 4d 6f 64 | 69 66 79 0d 73 65 74 55 |kCantMod|ify.setU|
|00000930| 70 48 65 6c 70 53 74 61 | 63 6b 0d 69 66 20 74 68 |pHelpSta|ck.if th|
|00000940| 65 20 63 61 6e 74 4d 6f | 64 69 66 79 20 6f 66 20 |e cantMo|dify of |
|00000950| 74 68 69 73 20 73 74 61 | 63 6b 20 69 73 20 74 72 |this sta|ck is tr|
|00000960| 75 65 0d 74 68 65 6e 20 | 73 65 6e 64 20 6f 70 65 |ue.then |send ope|
|00000970| 6e 43 61 72 64 20 74 6f | 20 74 68 69 73 20 63 61 |nCard to| this ca|
|00000980| 72 64 20 2d 2d 20 72 65 | 73 65 74 20 74 68 65 20 |rd -- re|set the |
|00000990| 63 61 72 64 0d 70 61 73 | 73 20 72 65 73 75 6d 65 |card.pas|s resume|
|000009a0| 53 74 61 63 6b 0d 65 6e | 64 20 72 65 73 75 6d 65 |Stack.en|d resume|
|000009b0| 53 74 61 63 6b 0d 0d 6f | 6e 20 73 65 74 55 70 48 |Stack..o|n setUpH|
|000009c0| 65 6c 70 53 74 61 63 6b | 0d 73 65 74 20 63 75 72 |elpStack|.set cur|
|000009d0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 73 65 74 |sor to w|atch.set|
|000009e0| 55 70 48 65 6c 70 4d 65 | 6e 75 0d 6d 61 79 62 65 |UpHelpMe|nu.maybe|
|000009f0| 53 68 6f 77 47 6f 54 6f | 42 75 74 74 6f 6e 0d 63 |ShowGoTo|Button.c|
|00000a00| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00000a10| 6c 0d 73 65 74 20 74 68 | 65 20 65 64 69 74 42 6b |l.set th|e editBk|
|00000a20| 67 6e 64 20 74 6f 20 66 | 61 6c 73 65 0d 73 68 6f |gnd to f|alse.sho|
|00000a30| 77 20 67 72 6f 75 70 73 | 0d 65 6e 64 20 73 65 74 |w groups|.end set|
|00000a40| 55 70 48 65 6c 70 53 74 | 61 63 6b 0d 0d 6f 6e 20 |UpHelpSt|ack..on |
|00000a50| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 69 66 20 77 72 |closeSta|ck.if wr|
|00000a60| 6f 6e 67 53 74 61 63 6b | 28 29 20 74 68 65 6e 20 |ongStack|() then |
|00000a70| 70 61 73 73 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |pass clo|seStack.|
|00000a80| 63 6c 6f 73 65 44 6f 77 | 6e 48 65 6c 70 53 74 61 |closeDow|nHelpSta|
|00000a90| 63 6b 0d 72 65 73 65 74 | 4d 61 69 6e 54 6f 70 69 |ck.reset|MainTopi|
|00000aa0| 63 73 43 61 72 64 0d 70 | 61 73 73 20 63 6c 6f 73 |csCard.p|ass clos|
|00000ab0| 65 53 74 61 63 6b 0d 65 | 6e 64 20 63 6c 6f 73 65 |eStack.e|nd close|
|00000ac0| 53 74 61 63 6b 0d 0d 6f | 6e 20 73 75 73 70 65 6e |Stack..o|n suspen|
|00000ad0| 64 53 74 61 63 6b 0d 69 | 66 20 77 72 6f 6e 67 53 |dStack.i|f wrongS|
|00000ae0| 74 61 63 6b 28 29 20 74 | 68 65 6e 20 70 61 73 73 |tack() t|hen pass|
|00000af0| 20 73 75 73 70 65 6e 64 | 53 74 61 63 6b 0d 6c 6f | suspend|Stack.lo|
|00000b00| 63 6b 20 73 63 72 65 65 | 6e 0d 63 6c 6f 73 65 44 |ck scree|n.closeD|
|00000b10| 6f 77 6e 48 65 6c 70 53 | 74 61 63 6b 0d 70 61 73 |ownHelpS|tack.pas|
|00000b20| 73 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 65 |s suspen|dStack.e|
|00000b30| 6e 64 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |nd suspe|ndStack.|
|00000b40| 0d 6f 6e 20 63 6c 6f 73 | 65 44 6f 77 6e 48 65 6c |.on clos|eDownHel|
|00000b50| 70 53 74 61 63 6b 0d 73 | 65 74 20 63 75 72 73 6f |pStack.s|et curso|
|00000b60| 72 20 74 6f 20 77 61 74 | 63 68 0d 68 69 64 65 20 |r to wat|ch.hide |
|00000b70| 67 72 6f 75 70 73 0d 73 | 68 6f 77 47 6f 54 6f 42 |groups.s|howGoToB|
|00000b80| 75 74 74 6f 6e 20 46 41 | 4c 53 45 20 2d 2d 20 68 |utton FA|LSE -- h|
|00000b90| 69 64 65 20 74 68 65 20 | 6c 65 61 76 65 20 68 65 |ide the |leave he|
|00000ba0| 6c 70 20 62 75 74 74 6f | 6e 0d 73 65 74 43 68 65 |lp butto|n.setChe|
|00000bb0| 63 6b 4d 61 72 6b 20 46 | 41 4c 53 45 0d 69 66 20 |ckMark F|ALSE.if |
|00000bc0| 6e 6f 74 48 65 6c 70 53 | 75 69 74 65 28 6c 61 73 |notHelpS|uite(las|
|00000bd0| 74 49 74 65 6d 28 22 3a | 22 2c 64 65 73 74 69 6e |tItem(":|",destin|
|00000be0| 61 74 69 6f 6e 28 29 29 | 29 20 74 68 65 6e 20 72 |ation())|) then r|
|00000bf0| 65 6d 6f 76 65 48 65 6c | 70 46 75 6e 63 74 69 6f |emoveHel|pFunctio|
|00000c00| 6e 73 0d 65 6e 64 20 63 | 6c 6f 73 65 44 6f 77 6e |ns.end c|loseDown|
|00000c10| 48 65 6c 70 53 74 61 63 | 6b 0d 0d 6f 6e 20 72 65 |HelpStac|k..on re|
|00000c20| 6d 6f 76 65 48 65 6c 70 | 46 75 6e 63 74 69 6f 6e |moveHelp|Function|
|00000c30| 73 0d 2d 2d 20 c6 20 4c | 6f 63 61 6c 69 7a 65 20 |s.-- . L|ocalize |
|00000c40| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 73 74 61 63 |name of |the stac|
|00000c50| 6b 0d 67 6c 6f 62 61 6c | 20 67 48 4d 6e 75 0d 69 |k.global| gHMnu.i|
|00000c60| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 6d 65 6e |f there |is a men|
|00000c70| 75 20 67 48 4d 6e 75 20 | 74 68 65 6e 20 64 65 6c |u gHMnu |then del|
|00000c80| 65 74 65 48 65 6c 70 4d | 65 6e 75 20 2d 2d 20 c6 |eteHelpM|enu -- .|
|00000c90| 0d 69 66 20 22 48 79 70 | 65 72 43 61 72 64 20 48 |.if "Hyp|erCard H|
|00000ca0| 65 6c 70 22 20 69 73 20 | 69 6e 20 74 68 65 20 73 |elp" is |in the s|
|00000cb0| 74 61 63 6b 73 49 6e 55 | 73 65 20 2d 2d 20 c6 0d |tacksInU|se -- ..|
|00000cc0| 74 68 65 6e 20 73 74 6f | 70 20 75 73 69 6e 67 20 |then sto|p using |
|00000cd0| 73 74 61 63 6b 20 22 48 | 79 70 65 72 43 61 72 64 |stack "H|yperCard|
|00000ce0| 20 48 65 6c 70 22 20 2d | 2d 20 c6 0d 65 6e 64 20 | Help" -|- ..end |
|00000cf0| 72 65 6d 6f 76 65 48 65 | 6c 70 46 75 6e 63 74 69 |removeHe|lpFuncti|
|00000d00| 6f 6e 73 0d 0d 2d 2d 2d | 2d 2d 2d 20 45 52 52 4f |ons..---|--- ERRO|
|00000d10| 52 20 43 48 45 43 4b 49 | 4e 47 20 2d 2d 2d 2d 2d |R CHECKI|NG -----|
|00000d20| 2d 0d 0d 6f 6e 20 63 68 | 65 63 6b 48 43 56 65 72 |-..on ch|eckHCVer|
|00000d30| 73 69 6f 6e 0d 69 66 20 | 74 68 65 20 76 65 72 73 |sion.if |the vers|
|00000d40| 69 6f 6e 20 3c 20 32 2e | 32 20 74 68 65 6e 0d 72 |ion < 2.|2 then.r|
|00000d50| 65 71 75 69 72 65 73 54 | 77 6f 54 77 6f 4d 65 73 |equiresT|woTwoMes|
|00000d60| 73 61 67 65 0d 6c 6f 63 | 6b 20 6d 65 73 73 61 67 |sage.loc|k messag|
|00000d70| 65 73 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |es.if th|e number|
|00000d80| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 74 68 65 | of line|s in the|
|00000d90| 20 73 74 61 63 6b 73 20 | 3e 20 31 20 74 68 65 6e | stacks |> 1 then|
|00000da0| 20 63 6c 6f 73 65 20 63 | 61 72 64 20 77 69 6e 64 | close c|ard wind|
|00000db0| 6f 77 0d 65 6c 73 65 20 | 67 6f 20 62 61 63 6b 0d |ow.else |go back.|
|00000dc0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|00000dd0| 64 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 63 68 65 |d.end if|.end che|
|00000de0| 63 6b 48 43 56 65 72 73 | 69 6f 6e 0d 0d 6f 6e 20 |ckHCVers|ion..on |
|00000df0| 72 65 71 75 69 72 65 73 | 54 77 6f 54 77 6f 4d 65 |requires|TwoTwoMe|
|00000e00| 73 73 61 67 65 20 2d 2d | 20 c6 20 4c 6f 63 61 6c |ssage --| . Local|
|00000e10| 69 7a 65 20 74 68 65 20 | 73 74 72 69 6e 67 2e 0d |ize the |string..|
|00000e20| 61 6e 73 77 65 72 20 74 | 68 65 20 73 68 6f 72 74 |answer t|he short|
|00000e30| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00000e40| 61 63 6b 20 26 26 20 c2 | 0d 22 72 65 71 75 69 72 |ack && .|."requir|
|00000e50| 65 73 20 48 79 70 65 72 | 43 61 72 64 20 76 65 72 |es Hyper|Card ver|
|00000e60| 73 69 6f 6e 20 32 2e 32 | 20 6f 72 20 6c 61 74 65 |sion 2.2| or late|
|00000e70| 72 2e 22 20 26 26 20 c2 | 0d 22 28 59 6f 75 d5 72 |r." && .|."(You.r|
|00000e80| 65 20 75 73 69 6e 67 20 | 48 79 70 65 72 43 61 72 |e using |HyperCar|
|00000e90| 64 20 76 65 72 73 69 6f | 6e 22 20 26 26 20 74 68 |d versio|n" && th|
|00000ea0| 65 20 76 65 72 73 69 6f | 6e 20 26 20 22 2e 29 22 |e versio|n & ".)"|
|00000eb0| 0d 65 6e 64 20 72 65 71 | 75 69 72 65 73 54 77 6f |.end req|uiresTwo|
|00000ec0| 54 77 6f 4d 65 73 73 61 | 67 65 0d 0d 6f 6e 20 63 |TwoMessa|ge..on c|
|00000ed0| 68 65 63 6b 44 69 73 6b | 53 70 61 63 65 0d 69 66 |heckDisk|Space.if|
|00000ee0| 20 28 74 68 65 20 64 69 | 73 6b 73 70 61 63 65 20 | (the di|skspace |
|00000ef0| 64 69 76 20 31 30 32 34 | 20 3c 20 35 30 29 20 74 |div 1024| < 50) t|
|00000f00| 68 65 6e 20 2d 2d 20 64 | 69 73 6b 73 70 61 63 65 |hen -- d|iskspace|
|00000f10| 20 69 73 20 6c 6f 77 0d | 73 65 74 20 74 68 65 20 | is low.|set the |
|00000f20| 63 61 6e 74 4d 6f 64 69 | 66 79 20 6f 66 20 74 68 |cantModi|fy of th|
|00000f30| 69 73 20 73 74 61 63 6b | 20 74 6f 20 74 72 75 65 |is stack| to true|
|00000f40| 0d 65 6c 73 65 20 73 65 | 74 20 74 68 65 20 63 61 |.else se|t the ca|
|00000f50| 6e 74 4d 6f 64 69 66 79 | 20 6f 66 20 74 68 69 73 |ntModify| of this|
|00000f60| 20 73 74 61 63 6b 20 74 | 6f 20 66 61 6c 73 65 0d | stack t|o false.|
|00000f70| 65 6e 64 20 63 68 65 63 | 6b 44 69 73 6b 53 70 61 |end chec|kDiskSpa|
|00000f80| 63 65 0d 0d 6f 6e 20 63 | 68 65 63 6b 43 61 6e 74 |ce..on c|heckCant|
|00000f90| 4d 6f 64 69 66 79 0d 2d | 2d 20 65 69 74 68 65 72 |Modify.-|- either|
|00000fa0| 20 64 69 73 6b 20 73 70 | 61 63 65 20 69 73 20 6c | disk sp|ace is l|
|00000fb0| 6f 77 20 6f 72 20 74 68 | 65 20 64 69 73 6b 20 69 |ow or th|e disk i|
|00000fc0| 73 20 6c 6f 63 6b 65 64 | 0d 69 66 20 74 68 65 20 |s locked|.if the |
|00000fd0| 63 61 6e 74 4d 6f 64 69 | 66 79 20 6f 66 20 74 68 |cantModi|fy of th|
|00000fe0| 69 73 20 73 74 61 63 6b | 20 69 73 20 54 52 55 45 |is stack| is TRUE|
|00000ff0| 0d 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 75 73 |.then se|t the us|
|00001000| 65 72 4d 6f 64 69 66 79 | 20 74 6f 20 74 72 75 65 |erModify| to true|
|00001010| 20 2d 2d 20 61 6c 6c 6f | 77 20 74 79 70 69 6e 67 | -- allo|w typing|
|00001020| 2c 20 65 74 63 2e 20 6f | 6e 20 63 75 72 72 65 6e |, etc. o|n curren|
|00001030| 74 20 63 61 72 64 0d 65 | 6e 64 20 63 68 65 63 6b |t card.e|nd check|
|00001040| 43 61 6e 74 4d 6f 64 69 | 66 79 0d 0d 2d 2d 20 a5 |CantModi|fy..-- .|
|00001050| a5 20 20 53 43 52 49 50 | 54 53 20 46 4f 52 20 48 |. SCRIP|TS FOR H|
|00001060| 41 4e 44 4c 49 4e 47 20 | 54 48 45 20 48 45 4c 50 |ANDLING |THE HELP|
|00001070| 20 47 4c 4f 42 41 4c 0d | 0d 2d 2d 20 54 68 65 73 | GLOBAL.|.-- Thes|
|00001080| 65 20 68 61 6e 64 6c 65 | 72 73 20 61 6e 64 20 66 |e handle|rs and f|
|00001090| 75 6e 63 74 69 6f 6e 73 | 20 61 63 63 65 73 73 20 |unctions| access |
|000010a0| 74 68 65 20 67 6c 6f 62 | 61 6c 20 76 61 72 69 61 |the glob|al varia|
|000010b0| 62 6c 65 20 48 65 6c 70 | 49 6e 66 6f 0d 2d 2d 20 |ble Help|Info.-- |
|000010c0| 73 6f 20 6f 74 68 65 72 | 20 64 6f 6e 27 74 20 68 |so other| don't h|
|000010d0| 61 76 65 20 74 6f 20 77 | 6f 72 72 79 20 61 62 6f |ave to w|orry abo|
|000010e0| 75 74 20 77 68 61 74 20 | 6c 69 6e 65 20 69 6e 66 |ut what |line inf|
|000010f0| 6f 20 69 73 20 73 74 6f | 72 65 64 20 6f 6e 2e 0d |o is sto|red on..|
|00001100| 2d 2d 20 4c 69 6e 65 20 | 31 20 3d 20 63 61 72 64 |-- Line |1 = card|
|00001110| 20 69 64 65 6e 74 69 66 | 69 65 72 20 75 73 65 64 | identif|ier used|
|00001120| 20 74 6f 20 72 65 74 75 | 72 6e 20 74 6f 20 74 68 | to retu|rn to th|
|00001130| 61 74 20 63 61 72 64 0d | 2d 2d 20 4c 69 6e 65 20 |at card.|-- Line |
|00001140| 32 20 3d 20 77 68 65 74 | 68 65 72 20 77 65 27 76 |2 = whet|her we'v|
|00001150| 65 20 61 63 63 65 73 73 | 65 64 20 54 69 70 73 20 |e access|ed Tips |
|00001160| 69 6e 20 63 6f 6e 74 65 | 78 74 0d 2d 2d 20 4c 69 |in conte|xt.-- Li|
|00001170| 6e 65 20 33 20 3d 20 77 | 68 65 74 68 65 72 20 77 |ne 3 = w|hether w|
|00001180| 65 27 76 65 20 61 63 63 | 65 73 73 65 64 20 54 72 |e've acc|essed Tr|
|00001190| 6f 75 62 6c 65 73 68 6f | 6f 74 69 6e 67 20 69 6e |oublesho|oting in|
|000011a0| 20 63 6f 6e 74 65 78 74 | 0d 2d 2d 20 4c 69 6e 65 | context|.-- Line|
|000011b0| 20 34 20 3d 20 74 68 65 | 20 74 69 63 6b 73 20 74 | 4 = the| ticks t|
|000011c0| 6f 20 63 6f 75 6e 74 20 | 6f 75 74 20 61 20 70 61 |o count |out a pa|
|000011d0| 75 73 65 20 6f 6e 20 65 | 6e 74 65 72 69 6e 67 20 |use on e|ntering |
|000011e0| 61 20 63 61 72 64 0d 2d | 2d 20 4c 69 6e 65 20 35 |a card.-|- Line 5|
|000011f0| 20 3d 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 61 | = the n|ame of a|
|00001200| 20 70 6f 70 2d 75 70 20 | 69 6e 66 6f 20 66 69 65 | pop-up |info fie|
|00001210| 6c 64 20 74 68 61 74 20 | 69 73 20 75 70 0d 0d 6f |ld that |is up..o|
|00001220| 6e 20 73 65 74 52 65 74 | 75 72 6e 43 61 72 64 20 |n setRet|urnCard |
|00001230| 74 68 65 43 61 72 64 0d | 2d 2d 20 56 61 6c 75 65 |theCard.|-- Value|
|00001240| 20 6f 66 20 74 68 65 20 | 63 61 72 64 20 74 6f 20 | of the |card to |
|00001250| 72 65 74 75 72 6e 20 74 | 6f 20 66 72 6f 6d 20 68 |return t|o from h|
|00001260| 65 6c 70 0d 73 74 6f 72 | 65 48 65 6c 70 49 6e 66 |elp.stor|eHelpInf|
|00001270| 6f 20 31 2c 74 68 65 43 | 61 72 64 0d 65 6e 64 20 |o 1,theC|ard.end |
|00001280| 73 65 74 52 65 74 75 72 | 6e 43 61 72 64 0d 0d 66 |setRetur|nCard..f|
|00001290| 75 6e 63 74 69 6f 6e 20 | 72 65 74 75 72 6e 43 61 |unction |returnCa|
|000012a0| 72 64 0d 72 65 74 75 72 | 6e 20 67 65 74 48 65 6c |rd.retur|n getHel|
|000012b0| 70 49 6e 66 6f 28 31 29 | 0d 65 6e 64 20 72 65 74 |pInfo(1)|.end ret|
|000012c0| 75 72 6e 43 61 72 64 0d | 0d 6f 6e 20 73 65 74 54 |urnCard.|.on setT|
|000012d0| 69 70 73 49 6e 43 6f 6e | 74 65 78 74 20 62 6f 6f |ipsInCon|text boo|
|000012e0| 6c 65 61 6e 0d 2d 2d 20 | 47 6f 69 6e 67 20 74 6f |lean.-- |Going to|
|000012f0| 20 74 68 65 20 74 69 70 | 73 20 69 6e 20 74 68 65 | the tip|s in the|
|00001300| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 48 65 6c | AppleSc|ript Hel|
|00001310| 70 20 45 78 74 72 61 73 | 20 73 74 61 63 6b 20 69 |p Extras| stack i|
|00001320| 6e 20 63 6f 6e 74 65 78 | 74 20 6f 72 20 6e 6f 74 |n contex|t or not|
|00001330| 0d 73 74 6f 72 65 48 65 | 6c 70 49 6e 66 6f 20 32 |.storeHe|lpInfo 2|
|00001340| 2c 62 6f 6f 6c 65 61 6e | 0d 65 6e 64 20 73 65 74 |,boolean|.end set|
|00001350| 54 69 70 73 49 6e 43 6f | 6e 74 65 78 74 0d 0d 66 |TipsInCo|ntext..f|
|00001360| 75 6e 63 74 69 6f 6e 20 | 74 69 70 73 49 6e 43 6f |unction |tipsInCo|
|00001370| 6e 74 65 78 74 0d 72 65 | 74 75 72 6e 20 67 65 74 |ntext.re|turn get|
|00001380| 48 65 6c 70 49 6e 66 6f | 28 32 29 0d 65 6e 64 20 |HelpInfo|(2).end |
|00001390| 74 69 70 73 49 6e 43 6f | 6e 74 65 78 74 0d 0d 6f |tipsInCo|ntext..o|
|000013a0| 6e 20 73 65 74 54 72 6f | 75 62 6c 65 73 49 6e 43 |n setTro|ublesInC|
|000013b0| 6f 6e 74 65 78 74 20 62 | 6f 6f 6c 65 61 6e 0d 2d |ontext b|oolean.-|
|000013c0| 2d 20 47 6f 69 6e 67 20 | 74 6f 20 74 72 6f 75 62 |- Going |to troub|
|000013d0| 6c 65 73 68 6f 6f 74 69 | 6e 67 20 69 6e 20 74 68 |leshooti|ng in th|
|000013e0| 65 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 48 65 |e AppleS|cript He|
|000013f0| 6c 70 20 45 78 74 72 61 | 73 20 73 74 61 63 6b 20 |lp Extra|s stack |
|00001400| 69 6e 20 63 6f 6e 74 65 | 78 74 20 6f 72 20 6e 6f |in conte|xt or no|
|00001410| 74 0d 73 74 6f 72 65 48 | 65 6c 70 49 6e 66 6f 20 |t.storeH|elpInfo |
|00001420| 33 2c 62 6f 6f 6c 65 61 | 6e 0d 65 6e 64 20 73 65 |3,boolea|n.end se|
|00001430| 74 54 72 6f 75 62 6c 65 | 73 49 6e 43 6f 6e 74 65 |tTrouble|sInConte|
|00001440| 78 74 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 74 72 6f |xt..func|tion tro|
|00001450| 75 62 6c 65 73 49 6e 43 | 6f 6e 74 65 78 74 0d 72 |ublesInC|ontext.r|
|00001460| 65 74 75 72 6e 20 67 65 | 74 48 65 6c 70 49 6e 66 |eturn ge|tHelpInf|
|00001470| 6f 28 33 29 0d 65 6e 64 | 20 74 72 6f 75 62 6c 65 |o(3).end| trouble|
|00001480| 73 49 6e 43 6f 6e 74 65 | 78 74 0d 0d 6f 6e 20 73 |sInConte|xt..on s|
|00001490| 74 6f 72 65 48 65 6c 70 | 49 6e 66 6f 20 6c 69 6e |toreHelp|Info lin|
|000014a0| 65 4e 75 6d 62 65 72 2c | 74 68 65 56 61 6c 75 65 |eNumber,|theValue|
|000014b0| 0d 2d 2d 20 41 6c 6c 20 | 63 61 6c 6c 73 20 73 74 |.-- All |calls st|
|000014c0| 6f 72 69 6e 67 20 69 6e | 66 6f 20 74 6f 20 74 68 |oring in|fo to th|
|000014d0| 65 20 67 6c 6f 62 61 6c | 20 67 6f 20 74 68 72 6f |e global| go thro|
|000014e0| 75 67 68 20 74 68 69 73 | 20 68 61 6e 64 6c 65 72 |ugh this| handler|
|000014f0| 0d 67 6c 6f 62 61 6c 20 | 48 65 6c 70 49 6e 66 6f |.global |HelpInfo|
|00001500| 0d 70 75 74 20 74 68 65 | 56 61 6c 75 65 20 69 6e |.put the|Value in|
|00001510| 74 6f 20 6c 69 6e 65 20 | 6c 69 6e 65 4e 75 6d 62 |to line |lineNumb|
|00001520| 65 72 20 6f 66 20 48 65 | 6c 70 49 6e 66 6f 0d 65 |er of He|lpInfo.e|
|00001530| 6e 64 20 73 74 6f 72 65 | 48 65 6c 70 49 6e 66 6f |nd store|HelpInfo|
|00001540| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 67 65 74 48 65 |..functi|on getHe|
|00001550| 6c 70 49 6e 66 6f 20 6c | 69 6e 65 4e 75 6d 62 65 |lpInfo l|ineNumbe|
|00001560| 72 0d 2d 2d 20 41 6c 6c | 20 63 61 6c 6c 73 20 67 |r.-- All| calls g|
|00001570| 65 74 74 69 6e 67 20 69 | 6e 66 6f 20 66 72 6f 6d |etting i|nfo from|
|00001580| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 67 6f 20 74 | the glo|bal go t|
|00001590| 68 72 6f 75 67 68 20 74 | 68 69 73 20 66 75 6e 63 |hrough t|his func|
|000015a0| 74 69 6f 6e 0d 67 6c 6f | 62 61 6c 20 48 65 6c 70 |tion.glo|bal Help|
|000015b0| 49 6e 66 6f 0d 72 65 74 | 75 72 6e 20 6c 69 6e 65 |Info.ret|urn line|
|000015c0| 20 6c 69 6e 65 4e 75 6d | 62 65 72 20 6f 66 20 48 | lineNum|ber of H|
|000015d0| 65 6c 70 49 6e 66 6f 0d | 65 6e 64 20 67 65 74 48 |elpInfo.|end getH|
|000015e0| 65 6c 70 49 6e 66 6f 0d | 0d 6f 6e 20 72 65 73 65 |elpInfo.|.on rese|
|000015f0| 74 48 65 6c 70 47 6c 6f | 62 61 6c 0d 67 6c 6f 62 |tHelpGlo|bal.glob|
|00001600| 61 6c 20 48 65 6c 70 49 | 6e 66 6f 0d 70 75 74 20 |al HelpI|nfo.put |
|00001610| 65 6d 70 74 79 20 69 6e | 74 6f 20 48 65 6c 70 49 |empty in|to HelpI|
|00001620| 6e 66 6f 0d 65 6e 64 20 | 72 65 73 65 74 48 65 6c |nfo.end |resetHel|
|00001630| 70 47 6c 6f 62 61 6c 0d | 0d 2d 2d 2d 2d 2d 2d 20 |pGlobal.|.------ |
|00001640| 20 4d 45 4e 55 20 48 41 | 4e 44 4c 49 4e 47 20 53 | MENU HA|NDLING S|
|00001650| 43 52 49 50 54 53 20 20 | 2d 2d 2d 2d 2d 2d 0d 0d |CRIPTS |------..|
|00001660| 6f 6e 20 73 65 74 55 70 | 48 65 6c 70 4d 65 6e 75 |on setUp|HelpMenu|
|00001670| 0d 2d 2d 20 c6 20 4c 6f | 63 61 6c 69 7a 65 3a 20 |.-- . Lo|calize: |
|00001680| 74 68 65 20 6d 65 6e 75 | 20 6e 61 6d 65 0d 67 6c |the menu| name.gl|
|00001690| 6f 62 61 6c 20 67 48 4d | 6e 75 0d 70 75 74 20 22 |obal gHM|nu.put "|
|000016a0| 52 65 66 65 72 65 6e 63 | 65 22 20 69 6e 74 6f 20 |Referenc|e" into |
|000016b0| 67 48 4d 6e 75 20 2d 2d | 20 c6 0d 69 66 20 6e 6f |gHMnu --| ..if no|
|000016c0| 74 4d 79 48 65 6c 70 4d | 65 6e 75 28 29 20 74 68 |tMyHelpM|enu() th|
|000016d0| 65 6e 20 64 65 6c 65 74 | 65 48 65 6c 70 4d 65 6e |en delet|eHelpMen|
|000016e0| 75 20 2d 2d 20 72 65 6d | 6f 76 65 20 61 6e 79 20 |u -- rem|ove any |
|000016f0| 65 78 69 73 74 69 6e 67 | 20 68 65 6c 70 20 6d 65 |existing| help me|
|00001700| 6e 75 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 6e |nu.if th|ere is n|
|00001710| 6f 74 20 61 20 6d 65 6e | 75 20 67 48 4d 6e 75 20 |ot a men|u gHMnu |
|00001720| 74 68 65 6e 20 61 64 64 | 48 65 6c 70 4d 65 6e 75 |then add|HelpMenu|
|00001730| 0d 73 65 74 43 68 65 63 | 6b 4d 61 72 6b 20 54 52 |.setChec|kMark TR|
|00001740| 55 45 0d 65 6e 64 20 73 | 65 74 55 70 48 65 6c 70 |UE.end s|etUpHelp|
|00001750| 4d 65 6e 75 0d 0d 6f 6e | 20 73 65 74 43 68 65 63 |Menu..on| setChec|
|00001760| 6b 4d 61 72 6b 20 54 52 | 55 45 6f 72 46 41 4c 53 |kMark TR|UEorFALS|
|00001770| 45 0d 2d 2d 20 c6 20 63 | 68 61 6e 67 65 20 74 68 |E.-- . c|hange th|
|00001780| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 6d 65 |e name o|f the me|
|00001790| 6e 75 0d 67 6c 6f 62 61 | 6c 20 67 48 4d 6e 75 0d |nu.globa|l gHMnu.|
|000017a0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|000017b0| 6e 75 20 67 48 4d 6e 75 | 0d 74 68 65 6e 20 73 65 |nu gHMnu|.then se|
|000017c0| 74 20 74 68 65 20 63 68 | 65 63 6b 4d 61 72 6b 20 |t the ch|eckMark |
|000017d0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 37 20 6f 66 |of menuI|tem 7 of|
|000017e0| 20 6d 65 6e 75 20 67 48 | 4d 6e 75 20 74 6f 20 54 | menu gH|Mnu to T|
|000017f0| 52 55 45 6f 72 46 41 4c | 53 45 0d 65 6e 64 20 73 |RUEorFAL|SE.end s|
|00001800| 65 74 43 68 65 63 6b 4d | 61 72 6b 0d 0d 66 75 6e |etCheckM|ark..fun|
|00001810| 63 74 69 6f 6e 20 6e 6f | 74 4d 79 48 65 6c 70 4d |ction no|tMyHelpM|
|00001820| 65 6e 75 0d 67 6c 6f 62 | 61 6c 20 67 48 4d 6e 75 |enu.glob|al gHMnu|
|00001830| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|00001840| 65 6e 75 20 67 48 4d 6e | 75 20 74 68 65 6e 0d 72 |enu gHMn|u then.r|
|00001850| 65 74 75 72 6e 20 74 68 | 65 20 4d 65 6e 75 6d 73 |eturn th|e Menums|
|00001860| 67 20 6f 66 20 6d 65 6e | 75 49 74 65 6d 20 33 20 |g of men|uItem 3 |
|00001870| 6f 66 20 6d 65 6e 75 20 | 67 48 4d 6e 75 20 69 73 |of menu |gHMnu is|
|00001880| 20 6e 6f 74 20 22 67 6f | 48 43 48 65 6c 70 22 0d | not "go|HCHelp".|
|00001890| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 46 41 4c 53 |else ret|urn FALS|
|000018a0| 45 0d 65 6e 64 20 6e 6f | 74 4d 79 48 65 6c 70 4d |E.end no|tMyHelpM|
|000018b0| 65 6e 75 0d 0d 6f 6e 20 | 61 64 64 48 65 6c 70 4d |enu..on |addHelpM|
|000018c0| 65 6e 75 0d 2d 2d 20 41 | 64 64 73 20 74 68 65 20 |enu.-- A|dds the |
|000018d0| 48 65 6c 70 20 6d 65 6e | 75 20 74 6f 20 74 68 65 |Help men|u to the|
|000018e0| 20 6d 65 6e 75 20 62 61 | 72 0d 2d 2d 20 c6 20 4c | menu ba|r.-- . L|
|000018f0| 6f 63 61 6c 69 7a 65 3a | 20 74 68 65 20 6d 65 6e |ocalize:| the men|
|00001900| 75 20 69 74 65 6d 73 0d | 67 6c 6f 62 61 6c 20 67 |u items.|global g|
|00001910| 48 4d 6e 75 0d 73 68 6f | 77 20 6d 65 6e 75 42 61 |HMnu.sho|w menuBa|
|00001920| 72 0d 63 72 65 61 74 65 | 20 6d 65 6e 75 20 67 48 |r.create| menu gH|
|00001930| 4d 6e 75 20 2d 2d 20 c6 | 0d 70 75 74 20 68 65 6c |Mnu -- .|.put hel|
|00001940| 70 49 74 65 6d 73 28 29 | 20 69 6e 74 6f 20 6d 65 |pItems()| into me|
|00001950| 6e 75 20 67 48 4d 6e 75 | 20 77 69 74 68 20 6d 65 |nu gHMnu| with me|
|00001960| 6e 75 4d 65 73 73 61 67 | 65 73 20 68 65 6c 70 4d |nuMessag|es helpM|
|00001970| 65 73 73 61 67 65 73 28 | 29 0d 73 65 74 20 63 6d |essages(|).set cm|
|00001980| 64 43 68 61 72 20 6f 66 | 20 6d 65 6e 75 49 74 65 |dChar of| menuIte|
|00001990| 6d 20 22 48 79 70 65 72 | 43 61 72 64 20 48 65 6c |m "Hyper|Card Hel|
|000019a0| 70 22 20 6f 66 20 6d 65 | 6e 75 20 67 48 4d 6e 75 |p" of me|nu gHMnu|
|000019b0| 20 74 6f 20 22 3f 22 20 | 2d 2d 20 c6 0d 65 6e 64 | to "?" |-- ..end|
|000019c0| 20 61 64 64 48 65 6c 70 | 4d 65 6e 75 0d 0d 66 75 | addHelp|Menu..fu|
|000019d0| 6e 63 74 69 6f 6e 20 68 | 65 6c 70 49 74 65 6d 73 |nction h|elpItems|
|000019e0| 0d 2d 2d 20 c6 20 4c 6f | 63 61 6c 69 7a 65 3a 20 |.-- . Lo|calize: |
|000019f0| 74 68 65 20 6d 65 6e 75 | 20 69 74 65 6d 73 0d 72 |the menu| items.r|
|00001a00| 65 74 75 72 6e 20 20 22 | 4f 76 65 72 76 69 65 77 |eturn "|Overview|
|00001a10| 20 6f 66 20 48 65 6c 70 | 2c 2d 2c 48 79 70 65 72 | of Help|,-,Hyper|
|00001a20| 43 61 72 64 20 48 65 6c | 70 2c 48 79 70 65 72 54 |Card Hel|p,HyperT|
|00001a30| 61 6c 6b 20 52 65 66 65 | 72 65 6e 63 65 2c 22 20 |alk Refe|rence," |
|00001a40| 26 c2 0d 22 48 65 6c 70 | 20 45 78 74 72 61 73 2c |&.."Help| Extras,|
|00001a50| 2d 2c 41 70 70 6c 65 53 | 63 72 69 70 74 20 52 65 |-,AppleS|cript Re|
|00001a60| 66 65 72 65 6e 63 65 2c | 2d 2c 50 72 69 6e 74 20 |ference,|-,Print |
|00001a70| 54 6f 70 69 63 2c 48 69 | 64 65 20 41 63 74 69 76 |Topic,Hi|de Activ|
|00001a80| 65 20 54 65 78 74 22 0d | 65 6e 64 20 68 65 6c 70 |e Text".|end help|
|00001a90| 49 74 65 6d 73 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |Items..f|unction |
|00001aa0| 68 65 6c 70 4d 65 73 73 | 61 67 65 73 0d 72 65 74 |helpMess|ages.ret|
|00001ab0| 75 72 6e 20 22 67 6f 4f | 76 65 72 76 69 65 77 2c |urn "goO|verview,|
|00001ac0| 65 6d 70 74 79 2c 67 6f | 48 43 48 65 6c 70 2c 67 |empty,go|HCHelp,g|
|00001ad0| 6f 54 61 6c 6b 2c 67 6f | 45 78 74 72 61 73 2c 65 |oTalk,go|Extras,e|
|00001ae0| 6d 70 74 79 2c 22 20 26 | 20 c2 0d 22 67 6f 41 53 |mpty," &| .."goAS|
|00001af0| 72 65 66 65 72 65 6e 63 | 65 2c 65 6d 70 74 79 2c |referenc|e,empty,|
|00001b00| 70 72 69 6e 74 54 6f 70 | 69 63 2c 74 6f 67 67 6c |printTop|ic,toggl|
|00001b10| 65 41 63 74 69 76 65 54 | 65 78 74 20 66 61 6c 73 |eActiveT|ext fals|
|00001b20| 65 22 0d 65 6e 64 20 68 | 65 6c 70 4d 65 73 73 61 |e".end h|elpMessa|
|00001b30| 67 65 73 0d 0d 6f 6e 20 | 64 65 6c 65 74 65 48 65 |ges..on |deleteHe|
|00001b40| 6c 70 4d 65 6e 75 0d 67 | 6c 6f 62 61 6c 20 67 48 |lpMenu.g|lobal gH|
|00001b50| 4d 6e 75 0d 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |Mnu.dele|te menu |
|00001b60| 67 48 4d 6e 75 0d 65 6e | 64 20 64 65 6c 65 74 65 |gHMnu.en|d delete|
|00001b70| 48 65 6c 70 4d 65 6e 75 | 0d 0d 6f 6e 20 67 6f 48 |HelpMenu|..on goH|
|00001b80| 43 48 65 6c 70 0d 2d 2d | 20 c6 20 4c 6f 63 61 6c |CHelp.--| . Local|
|00001b90| 69 7a 65 3a 20 54 68 65 | 20 73 74 61 63 6b 20 6e |ize: The| stack n|
|00001ba0| 61 6d 65 0d 69 66 20 22 | 48 79 70 65 72 43 61 72 |ame.if "|HyperCar|
|00001bb0| 64 20 48 65 6c 70 22 20 | 69 73 20 6e 6f 74 20 69 |d Help" |is not i|
|00001bc0| 6e 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |n the na|me of th|
|00001bd0| 69 73 20 73 74 61 63 6b | 20 2d 2d 20 c6 0d 74 68 |is stack| -- ..th|
|00001be0| 65 6e 20 67 6f 20 74 68 | 69 73 20 63 61 72 64 20 |en go th|is card |
|00001bf0| 6f 66 20 73 74 61 63 6b | 20 22 48 79 70 65 72 43 |of stack| "HyperC|
|00001c00| 61 72 64 20 48 65 6c 70 | 22 20 69 6e 20 61 20 6e |ard Help|" in a n|
|00001c10| 65 77 20 77 69 6e 64 6f | 77 20 2d 2d 20 c6 0d 65 |ew windo|w -- ..e|
|00001c20| 6e 64 20 67 6f 48 43 48 | 65 6c 70 0d 0d 6f 6e 20 |nd goHCH|elp..on |
|00001c30| 67 6f 54 61 6c 6b 0d 2d | 2d 20 c6 20 4c 6f 63 61 |goTalk.-|- . Loca|
|00001c40| 6c 69 7a 65 3a 20 54 68 | 65 20 73 74 61 63 6b 20 |lize: Th|e stack |
|00001c50| 6e 61 6d 65 0d 69 66 20 | 22 48 79 70 65 72 54 61 |name.if |"HyperTa|
|00001c60| 6c 6b 20 52 65 66 65 72 | 65 6e 63 65 22 20 69 73 |lk Refer|ence" is|
|00001c70| 20 6e 6f 74 20 69 6e 20 | 74 68 65 20 6e 61 6d 65 | not in |the name|
|00001c80| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 2d | of this| stack -|
|00001c90| 2d 20 c6 0d 74 68 65 6e | 20 67 6f 20 74 68 69 73 |- ..then| go this|
|00001ca0| 20 63 61 72 64 20 6f 66 | 20 73 74 61 63 6b 20 22 | card of| stack "|
|00001cb0| 48 79 70 65 72 54 61 6c | 6b 20 52 65 66 65 72 65 |HyperTal|k Refere|
|00001cc0| 6e 63 65 22 20 69 6e 20 | 61 20 6e 65 77 20 77 69 |nce" in |a new wi|
|00001cd0| 6e 64 6f 77 20 2d 2d 20 | c6 0d 65 6e 64 20 67 6f |ndow -- |..end go|
|00001ce0| 54 61 6c 6b 0d 0d 6f 6e | 20 67 6f 45 78 74 72 61 |Talk..on| goExtra|
|00001cf0| 73 0d 2d 2d 20 c6 20 4c | 6f 63 61 6c 69 7a 65 3a |s.-- . L|ocalize:|
|00001d00| 20 54 68 65 20 73 74 61 | 63 6b 20 6e 61 6d 65 0d | The sta|ck name.|
|00001d10| 73 65 74 54 69 70 73 49 | 6e 43 6f 6e 74 65 78 74 |setTipsI|nContext|
|00001d20| 20 66 61 6c 73 65 0d 73 | 65 74 54 72 6f 75 62 6c | false.s|etTroubl|
|00001d30| 65 73 49 6e 43 6f 6e 74 | 65 78 74 20 66 61 6c 73 |esInCont|ext fals|
|00001d40| 65 0d 67 6f 20 74 68 69 | 73 20 63 61 72 64 20 6f |e.go thi|s card o|
|00001d50| 66 20 73 74 61 63 6b 20 | 22 48 65 6c 70 20 45 78 |f stack |"Help Ex|
|00001d60| 74 72 61 73 22 20 69 6e | 20 61 20 6e 65 77 20 77 |tras" in| a new w|
|00001d70| 69 6e 64 6f 77 20 2d 2d | 20 c6 0d 65 6e 64 20 67 |indow --| ..end g|
|00001d80| 6f 45 78 74 72 61 73 0d | 0d 6f 6e 20 67 6f 41 53 |oExtras.|.on goAS|
|00001d90| 72 65 66 65 72 65 6e 63 | 65 0d 2d 2d 20 61 6c 72 |referenc|e.-- alr|
|00001da0| 65 61 64 79 20 68 65 72 | 65 0d 65 6e 64 20 67 6f |eady her|e.end go|
|00001db0| 41 53 72 65 66 65 72 65 | 6e 63 65 0d 0d 2d 2d 2d |ASrefere|nce..---|
|00001dc0| 2d 2d 2d 20 20 54 4f 50 | 49 43 20 50 52 49 4e 54 |--- TOP|IC PRINT|
|00001dd0| 49 4e 47 20 53 43 52 49 | 50 54 53 20 20 2d 2d 2d |ING SCRI|PTS ---|
|00001de0| 2d 2d 2d 0d 0d 6f 6e 20 | 70 72 69 6e 74 54 6f 70 |---..on |printTop|
|00001df0| 69 63 0d 2d 2d 20 c6 20 | 4c 6f 63 61 6c 69 7a 65 |ic.-- . |Localize|
|00001e00| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00001e10| 20 48 65 6c 70 20 6d 65 | 6e 75 0d 67 6c 6f 62 61 | Help me|nu.globa|
|00001e20| 6c 20 67 48 4d 6e 75 0d | 73 65 74 20 63 75 72 73 |l gHMnu.|set curs|
|00001e30| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|00001e40| 6e 6f 74 28 77 6f 72 64 | 20 32 20 6f 66 20 74 68 |not(word| 2 of th|
|00001e50| 65 20 6d 65 6e 75 4d 65 | 73 73 61 67 65 20 6f 66 |e menuMe|ssage of|
|00001e60| 20 6c 61 73 74 20 6d 65 | 6e 75 49 74 65 6d 20 6f | last me|nuItem o|
|00001e70| 66 20 6d 65 6e 75 20 67 | 48 4d 6e 75 29 20 c2 0d |f menu g|HMnu) ..|
|00001e80| 69 6e 74 6f 20 61 63 74 | 69 76 65 54 65 78 74 20 |into act|iveText |
|00001e90| 2d 2d c6 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |--. the |current |
|00001ea0| 76 69 73 69 62 69 6c 69 | 74 79 20 6f 66 20 67 72 |visibili|ty of gr|
|00001eb0| 6f 75 70 65 64 20 74 65 | 78 74 20 28 74 72 75 65 |ouped te|xt (true|
|00001ec0| 20 6f 72 20 66 61 6c 73 | 65 29 0d 74 6f 67 67 6c | or fals|e).toggl|
|00001ed0| 65 41 63 74 69 76 65 54 | 65 78 74 20 66 61 6c 73 |eActiveT|ext fals|
|00001ee0| 65 20 2d 2d 20 68 69 64 | 65 20 67 72 65 79 20 75 |e -- hid|e grey u|
|00001ef0| 6e 64 65 72 6c 69 6e 65 | 20 66 6f 72 20 67 72 6f |nderline| for gro|
|00001f00| 75 70 65 64 20 74 65 78 | 74 0d 70 75 74 20 74 68 |uped tex|t.put th|
|00001f10| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 69 73 |e number| of this|
|00001f20| 20 63 61 72 64 20 69 6e | 74 6f 20 63 61 72 64 4e | card in|to cardN|
|00001f30| 75 6d 62 65 72 0d 70 75 | 74 20 31 20 69 6e 74 6f |umber.pu|t 1 into|
|00001f40| 20 74 6f 74 61 6c 0d 69 | 66 20 74 68 65 72 65 20 | total.i|f there |
|00001f50| 69 73 20 61 20 62 6b 67 | 6e 64 20 66 69 65 6c 64 |is a bkg|nd field|
|00001f60| 20 22 50 61 67 65 73 22 | 20 74 68 65 6e 0d 2d 2d | "Pages"| then.--|
|00001f70| 20 c6 20 44 65 70 65 6e | 64 73 20 6f 6e 20 22 43 | . Depen|ds on "C|
|00001f80| 61 72 64 20 58 20 6f 66 | 20 59 22 20 66 6f 72 6d |ard X of| Y" form|
|00001f90| 61 74 20 69 6e 20 74 68 | 65 20 66 69 65 6c 64 0d |at in th|e field.|
|00001fa0| 73 75 62 74 72 61 63 74 | 20 28 77 6f 72 64 20 32 |subtract| (word 2|
|00001fb0| 20 6f 66 20 62 6b 67 6e | 64 20 66 69 65 6c 64 20 | of bkgn|d field |
|00001fc0| 22 50 61 67 65 73 22 20 | 2d 20 31 29 20 66 72 6f |"Pages" |- 1) fro|
|00001fd0| 6d 20 63 61 72 64 4e 75 | 6d 62 65 72 0d 70 75 74 |m cardNu|mber.put|
|00001fe0| 20 77 6f 72 64 20 34 20 | 6f 66 20 62 6b 67 6e 64 | word 4 |of bkgnd|
|00001ff0| 20 66 69 65 6c 64 20 22 | 50 61 67 65 73 22 20 69 | field "|Pages" i|
|00002000| 6e 74 6f 20 74 6f 74 61 | 6c 0d 65 6e 64 20 69 66 |nto tota|l.end if|
|00002010| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 65 74 |.lock sc|reen.set|
|00002020| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|00002030| 20 74 72 75 65 0d 70 75 | 73 68 20 63 61 72 64 0d | true.pu|sh card.|
|00002040| 67 6f 20 63 61 72 64 20 | 63 61 72 64 4e 75 6d 62 |go card |cardNumb|
|00002050| 65 72 0d 6f 70 65 6e 20 | 70 72 69 6e 74 69 6e 67 |er.open |printing|
|00002060| 0d 70 72 69 6e 74 20 74 | 6f 74 61 6c 20 63 61 72 |.print t|otal car|
|00002070| 64 73 0d 63 6c 6f 73 65 | 20 70 72 69 6e 74 69 6e |ds.close| printin|
|00002080| 67 0d 70 6f 70 20 63 61 | 72 64 0d 75 6e 6c 6f 63 |g.pop ca|rd.unloc|
|00002090| 6b 20 73 63 72 65 65 6e | 0d 74 6f 67 67 6c 65 41 |k screen|.toggleA|
|000020a0| 63 74 69 76 65 54 65 78 | 74 20 61 63 74 69 76 65 |ctiveTex|t active|
|000020b0| 54 65 78 74 20 2d 2d 20 | 72 65 73 65 74 20 76 69 |Text -- |reset vi|
|000020c0| 73 69 62 6c 65 20 73 74 | 61 74 65 20 6f 66 20 67 |sible st|ate of g|
|000020d0| 72 6f 75 70 73 0d 65 6e | 64 20 70 72 69 6e 74 54 |roups.en|d printT|
|000020e0| 6f 70 69 63 0d 0d 6f 6e | 20 74 6f 67 67 6c 65 41 |opic..on| toggleA|
|000020f0| 63 74 69 76 65 54 65 78 | 74 20 74 72 75 65 4f 72 |ctiveTex|t trueOr|
|00002100| 46 61 6c 73 65 0d 2d 2d | 20 c6 20 4c 6f 63 61 6c |False.--| . Local|
|00002110| 69 7a 65 3a 20 4d 65 6e | 75 20 49 74 65 6d 73 0d |ize: Men|u Items.|
|00002120| 2d 2d 20 53 68 6f 77 20 | 6f 72 20 68 69 64 65 20 |-- Show |or hide |
|00002130| 74 68 65 20 75 6e 64 65 | 72 6c 69 6e 65 20 66 6f |the unde|rline fo|
|00002140| 72 20 67 72 6f 75 70 65 | 64 20 74 65 78 74 0d 67 |r groupe|d text.g|
|00002150| 6c 6f 62 61 6c 20 67 48 | 4d 6e 75 0d 69 66 20 74 |lobal gH|Mnu.if t|
|00002160| 72 75 65 4f 72 46 61 6c | 73 65 20 69 73 20 74 72 |rueOrFal|se is tr|
|00002170| 75 65 20 74 68 65 6e 0d | 73 68 6f 77 20 67 72 6f |ue then.|show gro|
|00002180| 75 70 73 0d 70 75 74 20 | 22 48 69 64 65 20 41 63 |ups.put |"Hide Ac|
|00002190| 74 69 76 65 20 54 65 78 | 74 22 20 69 6e 74 6f 20 |tive Tex|t" into |
|000021a0| 6d 65 6e 75 4e 61 6d 65 | 20 2d 2d 20 c6 0d 70 75 |menuName| -- ..pu|
|000021b0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 62 6f 6f |t false |into boo|
|000021c0| 6c 65 61 6e 0d 65 6c 73 | 65 0d 68 69 64 65 20 67 |lean.els|e.hide g|
|000021d0| 72 6f 75 70 73 0d 70 75 | 74 20 22 53 68 6f 77 20 |roups.pu|t "Show |
|000021e0| 41 63 74 69 76 65 20 54 | 65 78 74 22 20 69 6e 74 |Active T|ext" int|
|000021f0| 6f 20 6d 65 6e 75 4e 61 | 6d 65 20 2d 2d 20 c6 0d |o menuNa|me -- ..|
|00002200| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 62 6f |put true| into bo|
|00002210| 6f 6c 65 61 6e 0d 65 6e | 64 20 69 66 0d 2d 2d 20 |olean.en|d if.-- |
|00002220| c6 20 4c 6f 63 61 6c 69 | 7a 65 3a 20 4d 65 6e 75 |. Locali|ze: Menu|
|00002230| 20 6e 61 6d 65 0d 73 65 | 74 20 74 68 65 20 6e 61 | name.se|t the na|
|00002240| 6d 65 20 6f 66 20 74 68 | 65 20 6c 61 73 74 20 6d |me of th|e last m|
|00002250| 65 6e 75 49 74 65 6d 20 | 6f 66 20 6d 65 6e 75 20 |enuItem |of menu |
|00002260| 67 48 4d 6e 75 20 74 6f | 20 6d 65 6e 75 4e 61 6d |gHMnu to| menuNam|
|00002270| 65 0d 73 65 74 20 74 68 | 65 20 6d 65 6e 75 4d 65 |e.set th|e menuMe|
|00002280| 73 73 61 67 65 20 6f 66 | 20 74 68 65 20 6c 61 73 |ssage of| the las|
|00002290| 74 20 6d 65 6e 75 49 74 | 65 6d 20 6f 66 20 6d 65 |t menuIt|em of me|
|000022a0| 6e 75 20 67 48 4d 6e 75 | 20 74 6f c2 0d 22 74 6f |nu gHMnu| to.."to|
|000022b0| 67 67 6c 65 41 63 74 69 | 76 65 54 65 78 74 22 20 |ggleActi|veText" |
|000022c0| 26 26 20 62 6f 6f 6c 65 | 61 6e 20 2d 2d ca c6 0d |&& boole|an --...|
|000022d0| 65 6e 64 20 74 6f 67 67 | 6c 65 41 63 74 69 76 65 |end togg|leActive|
|000022e0| 54 65 78 74 0d 0d 2d 2d | 2d 2d 2d 2d 20 20 53 43 |Text..--|---- SC|
|000022f0| 52 49 50 54 53 20 46 4f | 52 20 53 48 4f 57 49 4e |RIPTS FO|R SHOWIN|
|00002300| 47 20 54 48 45 20 47 4f | 20 54 4f 20 42 55 54 54 |G THE GO| TO BUTT|
|00002310| 4f 4e 20 49 46 20 4e 45 | 45 44 45 44 20 20 2d 2d |ON IF NE|EDED --|
|00002320| 2d 2d 2d 2d 0d 0d 6f 6e | 20 6d 61 79 62 65 53 68 |----..on| maybeSh|
|00002330| 6f 77 47 6f 54 6f 42 75 | 74 74 6f 6e 0d 2d 2d 20 |owGoToBu|tton.-- |
|00002340| 54 68 69 73 20 68 61 6e | 64 6c 65 72 20 73 68 6f |This han|dler sho|
|00002350| 77 73 20 74 68 65 20 62 | 75 74 74 6f 6e 20 22 47 |ws the b|utton "G|
|00002360| 6f 20 74 6f 20 3c 73 74 | 61 63 6b 4e 61 6d 65 3e |o to <st|ackName>|
|00002370| 22 20 69 66 20 74 68 65 | 20 75 73 65 72 0d 2d 2d |" if the| user.--|
|00002380| 20 68 61 73 20 65 6e 74 | 65 72 65 64 20 74 68 65 | has ent|ered the|
|00002390| 20 73 74 61 63 6b 20 66 | 72 6f 6d 20 61 20 73 74 | stack f|rom a st|
|000023a0| 61 63 6b 20 6f 74 68 65 | 72 20 74 68 61 6e 20 61 |ack othe|r than a|
|000023b0| 20 48 65 6c 70 20 73 74 | 61 63 6b 20 6f 72 20 48 | Help st|ack or H|
|000023c0| 6f 6d 65 2e 0d 70 75 74 | 20 77 68 65 72 65 49 43 |ome..put| whereIC|
|000023d0| 61 6d 65 46 72 6f 6d 28 | 29 20 69 6e 74 6f 20 6c |ameFrom(|) into l|
|000023e0| 6f 6e 67 43 61 72 64 4e | 61 6d 65 0d 70 75 74 20 |ongCardN|ame.put |
|000023f0| 63 61 72 64 54 6f 53 74 | 61 63 6b 4e 61 6d 65 28 |cardToSt|ackName(|
|00002400| 6c 6f 6e 67 43 61 72 64 | 4e 61 6d 65 29 20 69 6e |longCard|Name) in|
|00002410| 74 6f 20 73 74 61 63 6b | 4e 61 6d 65 0d 69 66 20 |to stack|Name.if |
|00002420| 6e 6f 74 48 65 6c 70 53 | 75 69 74 65 28 73 74 61 |notHelpS|uite(sta|
|00002430| 63 6b 4e 61 6d 65 29 20 | 41 4e 44 20 73 74 61 63 |ckName) |AND stac|
|00002440| 6b 4e 61 6d 65 20 69 73 | 20 6e 6f 74 20 22 48 6f |kName is| not "Ho|
|00002450| 6d 65 22 20 74 68 65 6e | 0d 73 65 74 52 65 74 75 |me" then|.setRetu|
|00002460| 72 6e 43 61 72 64 20 6c | 6f 6e 67 43 61 72 64 4e |rnCard l|ongCardN|
|00002470| 61 6d 65 20 2d 2d 20 72 | 65 74 75 72 6e 20 70 61 |ame -- r|eturn pa|
|00002480| 74 68 0d 73 68 6f 77 47 | 6f 54 6f 42 75 74 74 6f |th.showG|oToButto|
|00002490| 6e 20 54 52 55 45 2c 20 | 73 74 61 63 6b 4e 61 6d |n TRUE, |stackNam|
|000024a0| 65 0d 65 6c 73 65 20 73 | 68 6f 77 47 6f 54 6f 42 |e.else s|howGoToB|
|000024b0| 75 74 74 6f 6e 20 46 41 | 4c 53 45 0d 65 6e 64 20 |utton FA|LSE.end |
|000024c0| 6d 61 79 62 65 53 68 6f | 77 47 6f 54 6f 42 75 74 |maybeSho|wGoToBut|
|000024d0| 74 6f 6e 0d 0d 6f 6e 20 | 73 68 6f 77 47 6f 54 6f |ton..on |showGoTo|
|000024e0| 42 75 74 74 6f 6e 20 54 | 52 55 45 6f 72 46 41 4c |Button T|RUEorFAL|
|000024f0| 53 45 2c 20 73 74 61 63 | 6b 4e 61 6d 65 0d 2d 2d |SE, stac|kName.--|
|00002500| 20 c6 20 4c 6f 63 61 6c | 69 7a 65 3a 20 74 68 65 | . Local|ize: the|
|00002510| 20 6e 61 6d 65 20 74 68 | 61 74 20 74 68 65 20 62 | name th|at the b|
|00002520| 75 74 74 6f 6e 20 67 65 | 74 73 20 73 65 74 20 74 |utton ge|ts set t|
|00002530| 6f 2e 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 69 |o..lock |screen.i|
|00002540| 66 20 73 74 61 63 6b 4e | 61 6d 65 20 69 73 20 6e |f stackN|ame is n|
|00002550| 6f 74 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 73 65 |ot empty|.then se|
|00002560| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 63 61 |t the na|me of ca|
|00002570| 72 64 20 62 74 6e 20 32 | 20 6f 66 20 63 61 72 64 |rd btn 2| of card|
|00002580| 20 31 20 74 6f 20 22 47 | 6f 22 20 26 26 20 74 72 | 1 to "G|o" && tr|
|00002590| 75 6e 63 4e 61 6d 65 28 | 73 74 61 63 6b 4e 61 6d |uncName(|stackNam|
|000025a0| 65 29 20 2d 2d 20 c6 0d | 73 65 74 20 74 68 65 20 |e) -- ..|set the |
|000025b0| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|000025c0| 62 74 6e 20 32 20 6f 66 | 20 63 61 72 64 20 31 20 |btn 2 of| card 1 |
|000025d0| 74 6f 20 54 52 55 45 6f | 72 46 41 4c 53 45 0d 73 |to TRUEo|rFALSE.s|
|000025e0| 65 74 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 6f |et the v|isible o|
|000025f0| 66 20 63 61 72 64 20 62 | 74 6e 20 22 47 6f 20 54 |f card b|tn "Go T|
|00002600| 6f 22 20 6f 66 20 63 61 | 72 64 20 31 20 74 6f 20 |o" of ca|rd 1 to |
|00002610| 54 52 55 45 6f 72 46 41 | 4c 53 45 0d 73 65 74 20 |TRUEorFA|LSE.set |
|00002620| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 63 |the visi|ble of c|
|00002630| 61 72 64 20 62 74 6e 20 | 22 47 6f 20 54 6f 20 49 |ard btn |"Go To I|
|00002640| 63 6f 6e 22 20 6f 66 20 | 63 61 72 64 20 31 20 74 |con" of |card 1 t|
|00002650| 6f 20 54 52 55 45 6f 72 | 46 41 4c 53 45 0d 73 65 |o TRUEor|FALSE.se|
|00002660| 74 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |t the vi|sible of|
|00002670| 20 63 61 72 64 20 62 74 | 6e 20 22 47 6f 20 54 6f | card bt|n "Go To|
|00002680| 20 52 65 63 74 61 6e 67 | 6c 65 22 20 6f 66 20 63 | Rectang|le" of c|
|00002690| 61 72 64 20 31 20 74 6f | 20 54 52 55 45 6f 72 46 |ard 1 to| TRUEorF|
|000026a0| 41 4c 53 45 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |ALSE.unl|ock scre|
|000026b0| 65 6e 0d 65 6e 64 20 73 | 68 6f 77 47 6f 54 6f 42 |en.end s|howGoToB|
|000026c0| 75 74 74 6f 6e 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |utton..f|unction |
|000026d0| 74 72 75 6e 63 4e 61 6d | 65 20 73 74 61 63 6b 4e |truncNam|e stackN|
|000026e0| 61 6d 65 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |ame.if t|he numbe|
|000026f0| 72 20 6f 66 20 63 68 61 | 72 73 20 6f 66 20 73 74 |r of cha|rs of st|
|00002700| 61 63 6b 4e 61 6d 65 20 | 3c 20 31 39 20 74 68 65 |ackName |< 19 the|
|00002710| 6e 20 72 65 74 75 72 6e | 20 73 74 61 63 6b 4e 61 |n return| stackNa|
|00002720| 6d 65 0d 65 6c 73 65 0d | 70 75 74 20 63 68 61 72 |me.else.|put char|
|00002730| 20 31 20 74 6f 20 31 36 | 20 6f 66 20 73 74 61 63 | 1 to 16| of stac|
|00002740| 6b 4e 61 6d 65 20 69 6e | 74 6f 20 74 72 75 6e 63 |kName in|to trunc|
|00002750| 4e 61 6d 65 0d 69 66 20 | 6c 61 73 74 20 63 68 61 |Name.if |last cha|
|00002760| 72 20 6f 66 20 74 72 75 | 6e 63 4e 61 6d 65 20 69 |r of tru|ncName i|
|00002770| 73 20 73 70 61 63 65 20 | 74 68 65 6e 20 64 65 6c |s space |then del|
|00002780| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00002790| 20 74 72 75 6e 63 4e 61 | 6d 65 0d 72 65 74 75 72 | truncNa|me.retur|
|000027a0| 6e 20 74 72 75 6e 63 4e | 61 6d 65 20 26 20 22 c9 |n truncN|ame & ".|
|000027b0| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 74 72 75 |".end if|.end tru|
|000027c0| 6e 63 4e 61 6d 65 0d 0d | 66 75 6e 63 74 69 6f 6e |ncName..|function|
|000027d0| 20 77 68 65 72 65 49 43 | 61 6d 65 46 72 6f 6d 0d | whereIC|ameFrom.|
|000027e0| 70 75 73 68 20 72 65 63 | 65 6e 74 20 63 61 72 64 |push rec|ent card|
|000027f0| 0d 70 6f 70 20 63 61 72 | 64 20 69 6e 74 6f 20 74 |.pop car|d into t|
|00002800| 68 65 43 61 72 64 0d 72 | 65 74 75 72 6e 20 74 68 |heCard.r|eturn th|
|00002810| 65 43 61 72 64 0d 65 6e | 64 20 77 68 65 72 65 49 |eCard.en|d whereI|
|00002820| 43 61 6d 65 46 72 6f 6d | 0d 0d 66 75 6e 63 74 69 |CameFrom|..functi|
|00002830| 6f 6e 20 63 61 72 64 54 | 6f 53 74 61 63 6b 4e 61 |on cardT|oStackNa|
|00002840| 6d 65 20 6c 6f 6e 67 43 | 61 72 64 4e 61 6d 65 0d |me longC|ardName.|
|00002850| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|00002860| 20 6f 66 20 6c 6f 6e 67 | 43 61 72 64 4e 61 6d 65 | of long|CardName|
|00002870| 20 2d 2d 20 74 68 65 20 | 65 6e 64 20 71 75 6f 74 | -- the |end quot|
|00002880| 65 0d 72 65 74 75 72 6e | 20 6c 61 73 74 49 74 65 |e.return| lastIte|
|00002890| 6d 28 22 3a 22 2c 6c 6f | 6e 67 43 61 72 64 4e 61 |m(":",lo|ngCardNa|
|000028a0| 6d 65 29 0d 65 6e 64 20 | 63 61 72 64 54 6f 53 74 |me).end |cardToSt|
|000028b0| 61 63 6b 4e 61 6d 65 0d | 0d 66 75 6e 63 74 69 6f |ackName.|.functio|
|000028c0| 6e 20 6e 6f 74 48 65 6c | 70 53 75 69 74 65 20 74 |n notHel|pSuite t|
|000028d0| 68 65 53 74 61 63 6b 0d | 72 65 74 75 72 6e 20 74 |heStack.|return t|
|000028e0| 65 78 74 54 6f 4c 69 6e | 65 4e 75 6d 28 74 68 65 |extToLin|eNum(the|
|000028f0| 53 74 61 63 6b 2c 74 68 | 65 48 65 6c 70 53 74 61 |Stack,th|eHelpSta|
|00002900| 63 6b 73 28 29 29 20 3d | 20 30 0d 65 6e 64 20 6e |cks()) =| 0.end n|
|00002910| 6f 74 48 65 6c 70 53 75 | 69 74 65 0d 0d 66 75 6e |otHelpSu|ite..fun|
|00002920| 63 74 69 6f 6e 20 74 68 | 65 48 65 6c 70 53 74 61 |ction th|eHelpSta|
|00002930| 63 6b 73 20 2d 2d 20 c6 | 20 4c 6f 63 61 6c 69 7a |cks -- .| Localiz|
|00002940| 65 20 74 68 65 20 6e 61 | 6d 65 73 20 6f 66 20 74 |e the na|mes of t|
|00002950| 68 65 20 73 74 61 63 6b | 73 0d 72 65 74 75 72 6e |he stack|s.return|
|00002960| 20 22 48 79 70 65 72 43 | 61 72 64 20 48 65 6c 70 | "HyperC|ard Help|
|00002970| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00002980| 48 79 70 65 72 54 61 6c | 6b 20 52 65 66 65 72 65 |HyperTal|k Refere|
|00002990| 6e 63 65 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |nce" & r|eturn & |
|000029a0| c2 0d 22 48 65 6c 70 20 | 45 78 74 72 61 73 22 20 |.."Help |Extras" |
|000029b0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 48 79 |& return| & .."Hy|
|000029c0| 70 65 72 43 61 72 64 20 | 41 70 70 6c 65 53 63 72 |perCard |AppleScr|
|000029d0| 69 70 74 20 52 65 66 65 | 72 65 6e 63 65 22 0d 65 |ipt Refe|rence".e|
|000029e0| 6e 64 20 74 68 65 48 65 | 6c 70 53 74 61 63 6b 73 |nd theHe|lpStacks|
|000029f0| 0d 0d 2d 2d 2d 2d 2d 2d | 20 20 53 43 52 49 50 54 |..------| SCRIPT|
|00002a00| 53 20 46 4f 52 20 4d 41 | 4e 41 47 49 4e 47 20 54 |S FOR MA|NAGING T|
|00002a10| 48 45 20 4d 41 49 4e 20 | 54 4f 50 49 43 53 20 43 |HE MAIN |TOPICS C|
|00002a20| 41 52 44 20 20 2d 2d 2d | 2d 2d 2d 0d 0d 2d 2d 20 |ARD ---|---..-- |
|00002a30| 54 68 65 73 65 20 68 61 | 6e 64 6c 65 72 73 20 77 |These ha|ndlers w|
|00002a40| 6f 72 6b 20 74 68 65 20 | 74 77 6f 20 6c 69 73 74 |ork the |two list|
|00002a50| 73 20 6f 6e 20 74 68 65 | 20 4d 61 69 6e 20 54 6f |s on the| Main To|
|00002a60| 70 69 63 73 20 63 61 72 | 64 0d 2d 2d 20 54 68 65 |pics car|d.-- The|
|00002a70| 79 20 61 72 65 20 61 6c | 73 6f 20 63 61 6c 6c 65 |y are al|so calle|
|00002a80| 64 20 77 68 65 6e 20 72 | 65 74 75 72 6e 69 6e 67 |d when r|eturning|
|00002a90| 20 74 6f 20 74 68 65 20 | 4d 61 69 6e 20 54 6f 70 | to the |Main Top|
|00002aa0| 69 63 73 20 63 61 72 64 | 0d 2d 2d 20 69 6e 20 6f |ics card|.-- in o|
|00002ab0| 72 64 65 72 20 74 6f 20 | 68 69 6c 69 74 65 20 74 |rder to |hilite t|
|00002ac0| 68 65 20 63 61 72 64 20 | 74 68 65 20 75 73 65 72 |he card |the user|
|00002ad0| 20 6a 75 73 74 20 63 61 | 6d 65 20 66 72 6f 6d 2e | just ca|me from.|
|00002ae0| 0d 0d 6f 6e 20 72 65 73 | 65 74 4d 61 69 6e 54 6f |..on res|etMainTo|
|00002af0| 70 69 63 73 43 61 72 64 | 0d 2d 2d 20 52 65 71 75 |picsCard|.-- Requ|
|00002b00| 69 72 65 73 20 68 69 64 | 64 65 6e 20 63 61 72 64 |ires hid|den card|
|00002b10| 20 66 69 65 6c 64 20 6f | 6e 20 63 61 72 64 20 31 | field o|n card 1|
|00002b20| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 68 6f |.lock sc|reen.sho|
|00002b30| 77 52 69 67 68 74 4c 69 | 73 74 20 66 61 6c 73 65 |wRightLi|st false|
|00002b40| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002b50| 63 61 72 64 20 66 69 65 | 6c 64 20 22 43 75 72 72 |card fie|ld "Curr|
|00002b60| 65 6e 74 20 53 65 63 74 | 69 6f 6e 22 20 6f 66 20 |ent Sect|ion" of |
|00002b70| 63 61 72 64 20 31 0d 73 | 65 6c 65 63 74 20 6c 69 |card 1.s|elect li|
|00002b80| 6e 65 20 30 20 6f 66 20 | 63 61 72 64 20 66 69 65 |ne 0 of |card fie|
|00002b90| 6c 64 20 22 53 65 63 74 | 69 6f 6e 73 22 20 6f 66 |ld "Sect|ions" of|
|00002ba0| 20 63 61 72 64 20 31 0d | 75 6e 6c 6f 63 6b 20 73 | card 1.|unlock s|
|00002bb0| 63 72 65 65 6e 0d 65 6e | 64 20 72 65 73 65 74 4d |creen.en|d resetM|
|00002bc0| 61 69 6e 54 6f 70 69 63 | 73 43 61 72 64 0d 0d 6f |ainTopic|sCard..o|
|00002bd0| 6e 20 73 68 6f 77 52 69 | 67 68 74 4c 69 73 74 20 |n showRi|ghtList |
|00002be0| 74 72 75 65 4f 72 46 61 | 6c 73 65 0d 2d 2d 20 53 |trueOrFa|lse.-- S|
|00002bf0| 68 6f 77 20 6f 72 20 68 | 69 64 65 20 61 6c 6c 20 |how or h|ide all |
|00002c00| 6f 62 6a 65 63 74 73 20 | 6e 65 65 64 20 66 6f 72 |objects |need for|
|00002c10| 20 64 69 73 70 6c 61 79 | 69 6e 67 20 74 68 65 20 | display|ing the |
|00002c20| 72 69 67 68 74 2d 68 61 | 6e 64 20 6c 69 73 74 0d |right-ha|nd list.|
|00002c30| 2d 2d 20 52 65 71 75 69 | 72 65 73 20 68 69 64 64 |-- Requi|res hidd|
|00002c40| 65 6e 20 63 61 72 64 20 | 66 69 65 6c 64 20 6f 6e |en card |field on|
|00002c50| 20 63 61 72 64 20 31 0d | 73 65 74 20 76 69 73 69 | card 1.|set visi|
|00002c60| 62 6c 65 20 6f 66 20 63 | 61 72 64 20 62 75 74 74 |ble of c|ard butt|
|00002c70| 6f 6e 20 22 50 6f 69 6e | 74 65 72 22 20 6f 66 20 |on "Poin|ter" of |
|00002c80| 63 61 72 64 20 31 20 74 | 6f 20 74 72 75 65 4f 72 |card 1 t|o trueOr|
|00002c90| 46 61 6c 73 65 0d 73 65 | 74 20 76 69 73 69 62 6c |False.se|t visibl|
|00002ca0| 65 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |e of car|d field |
|00002cb0| 22 52 69 67 68 74 20 53 | 68 61 64 6f 77 22 20 6f |"Right S|hadow" o|
|00002cc0| 66 20 63 61 72 64 20 31 | 20 74 6f 20 74 72 75 65 |f card 1| to true|
|00002cd0| 4f 72 46 61 6c 73 65 0d | 73 65 74 20 76 69 73 69 |OrFalse.|set visi|
|00002ce0| 62 6c 65 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |ble of c|ard fiel|
|00002cf0| 64 20 22 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |d "Instr|uctions |
|00002d00| 32 22 20 6f 66 20 63 61 | 72 64 20 31 20 74 6f 20 |2" of ca|rd 1 to |
|00002d10| 74 72 75 65 4f 72 46 61 | 6c 73 65 0d 73 65 74 20 |trueOrFa|lse.set |
|00002d20| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00002d30| 66 69 65 6c 64 20 22 54 | 6f 70 69 63 73 20 4c 69 |field "T|opics Li|
|00002d40| 73 74 22 20 6f 66 20 63 | 61 72 64 20 31 20 74 6f |st" of c|ard 1 to|
|00002d50| 20 74 72 75 65 4f 72 46 | 61 6c 73 65 0d 65 6e 64 | trueOrF|alse.end|
|00002d60| 20 73 68 6f 77 52 69 67 | 68 74 4c 69 73 74 0d 0d | showRig|htList..|
|00002d70| 6f 6e 20 73 68 6f 77 53 | 65 63 74 69 6f 6e 20 73 |on showS|ection s|
|00002d80| 65 63 74 69 6f 6e 4e 61 | 6d 65 2c 20 73 65 6c 65 |ectionNa|me, sele|
|00002d90| 63 74 4c 69 6e 65 0d 69 | 66 20 73 65 6c 65 63 74 |ctLine.i|f select|
|00002da0| 4c 69 6e 65 20 69 73 20 | 65 6d 70 74 79 0d 74 68 |Line is |empty.th|
|00002db0| 65 6e 20 70 75 74 20 73 | 65 63 74 69 6f 6e 4e 75 |en put s|ectionNu|
|00002dc0| 6d 46 72 6f 6d 4e 61 6d | 65 28 73 65 63 74 69 6f |mFromNam|e(sectio|
|00002dd0| 6e 4e 61 6d 65 29 20 69 | 6e 74 6f 20 73 65 6c 65 |nName) i|nto sele|
|00002de0| 63 74 4c 69 6e 65 0d 69 | 66 20 28 63 61 72 64 20 |ctLine.i|f (card |
|00002df0| 66 69 65 6c 64 20 22 43 | 75 72 72 65 6e 74 20 53 |field "C|urrent S|
|00002e00| 65 63 74 69 6f 6e 22 20 | 6f 66 20 63 61 72 64 20 |ection" |of card |
|00002e10| 31 29 20 69 73 20 6e 6f | 74 20 73 65 6c 65 63 74 |1) is no|t select|
|00002e20| 4c 69 6e 65 20 74 68 65 | 6e 0d 2d 2d 20 6f 6e 6c |Line the|n.-- onl|
|00002e30| 79 20 73 68 6f 77 20 72 | 69 67 68 74 2d 68 61 6e |y show r|ight-han|
|00002e40| 64 20 6c 69 73 74 20 6f | 62 6a 65 63 74 73 20 69 |d list o|bjects i|
|00002e50| 66 20 6e 6f 74 20 61 6c | 72 65 61 64 79 20 76 69 |f not al|ready vi|
|00002e60| 73 69 62 6c 65 3a 0d 69 | 66 20 6e 6f 74 20 28 74 |sible:.i|f not (t|
|00002e70| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 75 |he visib|le of bu|
|00002e80| 74 74 6f 6e 20 22 50 6f | 69 6e 74 65 72 22 29 20 |tton "Po|inter") |
|00002e90| 74 68 65 6e 20 73 68 6f | 77 52 69 67 68 74 4c 69 |then sho|wRightLi|
|00002ea0| 73 74 20 74 72 75 65 0d | 70 75 74 20 28 74 6f 70 |st true.|put (top|
|00002eb0| 20 6f 66 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 | of card| field "|
|00002ec0| 53 65 63 74 69 6f 6e 73 | 22 20 2b 20 28 73 65 6c |Sections|" + (sel|
|00002ed0| 65 63 74 4c 69 6e 65 20 | 2a 20 c2 0d 74 68 65 20 |ectLine |* ..the |
|00002ee0| 74 65 78 74 48 65 69 67 | 68 74 20 6f 66 20 63 61 |textHeig|ht of ca|
|00002ef0| 72 64 20 66 69 65 6c 64 | 20 22 53 65 63 74 69 6f |rd field| "Sectio|
|00002f00| 6e 73 22 29 29 20 2b 20 | 35 20 69 6e 74 6f 20 74 |ns")) + |5 into t|
|00002f10| 68 65 42 6f 74 74 6f 6d | 0d 73 65 74 20 74 68 65 |heBottom|.set the|
|00002f20| 20 62 6f 74 74 6f 6d 20 | 6f 66 20 63 61 72 64 20 | bottom |of card |
|00002f30| 62 75 74 74 6f 6e 20 22 | 50 6f 69 6e 74 65 72 22 |button "|Pointer"|
|00002f40| 20 74 6f 20 74 68 65 42 | 6f 74 74 6f 6d 0d 69 66 | to theB|ottom.if|
|00002f50| 20 74 68 65 20 73 65 6c | 65 63 74 65 64 4c 69 6e | the sel|ectedLin|
|00002f60| 65 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |e of car|d field |
|00002f70| 22 53 65 63 74 69 6f 6e | 73 22 20 ad 20 73 65 6c |"Section|s" . sel|
|00002f80| 65 63 74 4c 69 6e 65 0d | 74 68 65 6e 20 73 65 6c |ectLine.|then sel|
|00002f90| 65 63 74 20 6c 69 6e 65 | 20 73 65 6c 65 63 74 4c |ect line| selectL|
|00002fa0| 69 6e 65 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |ine of c|ard fiel|
|00002fb0| 64 20 22 53 65 63 74 69 | 6f 6e 73 22 0d 64 69 73 |d "Secti|ons".dis|
|00002fc0| 70 6c 61 79 4c 69 73 74 | 20 73 65 63 74 69 6f 6e |playList| section|
|00002fd0| 4e 61 6d 65 0d 70 75 74 | 20 73 65 6c 65 63 74 4c |Name.put| selectL|
|00002fe0| 69 6e 65 20 69 6e 74 6f | 20 63 61 72 64 20 66 69 |ine into| card fi|
|00002ff0| 65 6c 64 20 22 43 75 72 | 72 65 6e 74 20 53 65 63 |eld "Cur|rent Sec|
|00003000| 74 69 6f 6e 22 20 2d 2d | 20 77 68 61 74 27 73 20 |tion" --| what's |
|00003010| 73 68 6f 77 69 6e 67 0d | 65 6e 64 20 69 66 0d 65 |showing.|end if.e|
|00003020| 6e 64 20 73 68 6f 77 53 | 65 63 74 69 6f 6e 0d 0d |nd showS|ection..|
|00003030| 66 75 6e 63 74 69 6f 6e | 20 73 65 63 74 69 6f 6e |function| section|
|00003040| 4e 75 6d 46 72 6f 6d 4e | 61 6d 65 20 73 65 63 74 |NumFromN|ame sect|
|00003050| 69 6f 6e 4e 61 6d 65 0d | 72 65 74 75 72 6e 20 74 |ionName.|return t|
|00003060| 65 78 74 54 6f 4c 69 6e | 65 4e 75 6d 28 73 65 63 |extToLin|eNum(sec|
|00003070| 74 69 6f 6e 4e 61 6d 65 | 2c 63 61 72 64 20 66 69 |tionName|,card fi|
|00003080| 65 6c 64 20 22 53 65 63 | 74 69 6f 6e 73 22 29 0d |eld "Sec|tions").|
|00003090| 65 6e 64 20 73 65 63 74 | 69 6f 6e 4e 75 6d 46 72 |end sect|ionNumFr|
|000030a0| 6f 6d 4e 61 6d 65 0d 0d | 6f 6e 20 64 69 73 70 6c |omName..|on displ|
|000030b0| 61 79 4c 69 73 74 20 73 | 65 63 74 69 6f 6e 4e 61 |ayList s|ectionNa|
|000030c0| 6d 65 0d 70 75 74 20 73 | 65 63 74 69 6f 6e 54 6f |me.put s|ectionTo|
|000030d0| 70 69 63 73 28 73 65 63 | 74 69 6f 6e 4e 61 6d 65 |pics(sec|tionName|
|000030e0| 29 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |) into c|ard fiel|
|000030f0| 64 20 22 54 6f 70 69 63 | 73 20 4c 69 73 74 22 0d |d "Topic|s List".|
|00003100| 72 65 73 65 74 4c 69 73 | 74 46 69 65 6c 64 20 22 |resetLis|tField "|
|00003110| 54 6f 70 69 63 73 20 4c | 69 73 74 22 0d 65 6e 64 |Topics L|ist".end|
|00003120| 20 64 69 73 70 6c 61 79 | 4c 69 73 74 0d 0d 66 75 | display|List..fu|
|00003130| 6e 63 74 69 6f 6e 20 73 | 65 63 74 69 6f 6e 54 6f |nction s|ectionTo|
|00003140| 70 69 63 73 20 73 65 63 | 74 69 6f 6e 4e 61 6d 65 |pics sec|tionName|
|00003150| 0d 70 75 74 20 63 61 72 | 64 20 66 69 65 6c 64 20 |.put car|d field |
|00003160| 22 61 63 63 65 73 73 22 | 20 6f 66 20 63 61 72 64 |"access"| of card|
|00003170| 20 31 20 69 6e 74 6f 20 | 61 63 63 65 73 73 49 6e | 1 into |accessIn|
|00003180| 66 6f 0d 70 75 74 20 28 | 6c 69 6e 65 4f 66 66 53 |fo.put (|lineOffS|
|00003190| 65 74 28 72 65 74 75 72 | 6e 20 26 20 73 65 63 74 |et(retur|n & sect|
|000031a0| 69 6f 6e 4e 61 6d 65 20 | 26 20 74 61 62 2c 61 63 |ionName |& tab,ac|
|000031b0| 63 65 73 73 49 6e 66 6f | 29 29 20 2b 20 31 20 69 |cessInfo|)) + 1 i|
|000031c0| 6e 74 6f 20 73 74 61 72 | 74 4c 69 6e 65 0d 70 75 |nto star|tLine.pu|
|000031d0| 74 20 28 6c 69 6e 65 4f | 66 66 53 65 74 28 72 65 |t (lineO|ffSet(re|
|000031e0| 74 75 72 6e 20 26 20 74 | 61 62 2c 20 61 63 63 65 |turn & t|ab, acce|
|000031f0| 73 73 49 6e 66 6f 2c 20 | 73 74 61 72 74 4c 69 6e |ssInfo, |startLin|
|00003200| 65 29 29 20 2b 20 73 74 | 61 72 74 4c 69 6e 65 20 |e)) + st|artLine |
|00003210| 69 6e 74 6f 20 65 6e 64 | 4c 69 6e 65 0d 72 65 74 |into end|Line.ret|
|00003220| 75 72 6e 20 6c 69 6e 65 | 20 73 74 61 72 74 4c 69 |urn line| startLi|
|00003230| 6e 65 20 2b 20 31 20 74 | 6f 20 65 6e 64 4c 69 6e |ne + 1 t|o endLin|
|00003240| 65 20 2d 20 31 20 6f 66 | 20 61 63 63 65 73 73 49 |e - 1 of| accessI|
|00003250| 6e 66 6f 0d 65 6e 64 20 | 73 65 63 74 69 6f 6e 54 |nfo.end |sectionT|
|00003260| 6f 70 69 63 73 0d 0d 2d | 2d 2d 2d 2d 2d 20 20 53 |opics..-|----- S|
|00003270| 43 52 49 50 54 53 20 46 | 4f 52 20 42 41 53 49 43 |CRIPTS F|OR BASIC|
|00003280| 20 4e 41 56 49 47 41 54 | 49 4f 4e 20 20 2d 2d 2d | NAVIGAT|ION ---|
|00003290| 2d 2d 2d 0d 0d 6f 6e 20 | 61 72 72 6f 77 4b 65 79 |---..on |arrowKey|
|000032a0| 20 77 68 69 63 68 41 72 | 72 6f 77 0d 70 75 74 20 | whichAr|row.put |
|000032b0| 74 68 65 20 73 65 6c 65 | 63 74 65 64 43 68 75 6e |the sele|ctedChun|
|000032c0| 6b 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 69 |k is not| empty i|
|000032d0| 6e 74 6f 20 61 72 72 6f | 77 49 6e 46 69 65 6c 64 |nto arro|wInField|
|000032e0| 0d 73 65 74 20 74 65 78 | 74 41 72 72 6f 77 73 20 |.set tex|tArrows |
|000032f0| 74 6f 20 61 72 72 6f 77 | 49 6e 46 69 65 6c 64 0d |to arrow|InField.|
|00003300| 69 66 20 77 68 69 63 68 | 41 72 72 6f 77 20 69 73 |if which|Arrow is|
|00003310| 20 55 50 20 4f 52 20 77 | 68 69 63 68 41 72 72 6f | UP OR w|hichArro|
|00003320| 77 20 69 73 20 44 4f 57 | 4e 20 74 68 65 6e 20 70 |w is DOW|N then p|
|00003330| 61 73 73 20 61 72 72 6f | 77 4b 65 79 0d 69 66 20 |ass arro|wKey.if |
|00003340| 61 72 72 6f 77 49 6e 46 | 69 65 6c 64 20 4f 52 20 |arrowInF|ield OR |
|00003350| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 69 73 |the opti|onKey is|
|00003360| 20 44 4f 57 4e 20 74 68 | 65 6e 20 70 61 73 73 20 | DOWN th|en pass |
|00003370| 61 72 72 6f 77 4b 65 79 | 0d 69 66 20 77 68 69 63 |arrowKey|.if whic|
|00003380| 68 41 72 72 6f 77 20 69 | 73 20 52 49 47 48 54 20 |hArrow i|s RIGHT |
|00003390| 74 68 65 6e 20 61 72 72 | 6f 77 4e 65 78 74 0d 65 |then arr|owNext.e|
|000033a0| 6c 73 65 20 69 66 20 77 | 68 69 63 68 41 72 72 6f |lse if w|hichArro|
|000033b0| 77 20 69 73 20 4c 45 46 | 54 20 74 68 65 6e 20 61 |w is LEF|T then a|
|000033c0| 72 72 6f 77 50 72 65 76 | 0d 65 6e 64 20 61 72 72 |rrowPrev|.end arr|
|000033d0| 6f 77 4b 65 79 0d 0d 6f | 6e 20 61 72 72 6f 77 4e |owKey..o|n arrowN|
|000033e0| 65 78 74 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ext.if t|here is |
|000033f0| 61 20 62 6b 67 6e 64 20 | 62 74 6e 20 22 4e 65 78 |a bkgnd |btn "Nex|
|00003400| 74 22 20 41 4e 44 20 74 | 68 65 72 65 20 69 73 20 |t" AND t|here is |
|00003410| 6e 6f 74 20 61 20 63 61 | 72 64 20 62 74 6e 20 22 |not a ca|rd btn "|
|00003420| 47 6f 20 42 61 63 6b 22 | 0d 74 68 65 6e 20 63 6c |Go Back"|.then cl|
|00003430| 69 63 6b 20 61 74 20 74 | 68 65 20 6c 6f 63 20 6f |ick at t|he loc o|
|00003440| 66 20 62 6b 67 6e 64 20 | 62 74 6e 20 22 4e 65 78 |f bkgnd |btn "Nex|
|00003450| 74 22 0d 65 6e 64 20 61 | 72 72 6f 77 4e 65 78 74 |t".end a|rrowNext|
|00003460| 0d 0d 6f 6e 20 61 72 72 | 6f 77 50 72 65 76 0d 69 |..on arr|owPrev.i|
|00003470| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 62 6b 67 |f there |is a bkg|
|00003480| 6e 64 20 62 74 6e 20 22 | 50 72 65 76 22 0d 74 68 |nd btn "|Prev".th|
|00003490| 65 6e 20 63 6c 69 63 6b | 20 61 74 20 74 68 65 20 |en click| at the |
|000034a0| 6c 6f 63 20 6f 66 20 62 | 6b 67 6e 64 20 62 74 6e |loc of b|kgnd btn|
|000034b0| 20 22 50 72 65 76 22 0d | 65 6e 64 20 61 72 72 6f | "Prev".|end arro|
|000034c0| 77 50 72 65 76 0d 0d 6f | 6e 20 67 6f 4e 65 78 74 |wPrev..o|n goNext|
|000034d0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|000034e0| 61 74 63 68 0d 69 66 20 | 6c 61 73 74 43 61 72 64 |atch.if |lastCard|
|000034f0| 4f 66 53 65 63 74 69 6f | 6e 28 29 20 74 68 65 6e |OfSectio|n() then|
|00003500| 20 70 75 74 20 22 73 63 | 72 6f 6c 6c 20 6c 65 66 | put "sc|roll lef|
|00003510| 74 22 20 69 6e 74 6f 20 | 76 69 73 45 66 66 65 63 |t" into |visEffec|
|00003520| 74 0d 65 6c 73 65 20 70 | 75 74 20 22 70 6c 61 69 |t.else p|ut "plai|
|00003530| 6e 22 20 69 6e 74 6f 20 | 76 69 73 45 66 66 65 63 |n" into |visEffec|
|00003540| 74 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |t.lock s|creen.go|
|00003550| 20 6e 65 78 74 20 63 61 | 72 64 0d 75 6e 6c 6f 63 | next ca|rd.unloc|
|00003560| 6b 20 73 63 72 65 65 6e | 20 77 69 74 68 20 76 69 |k screen| with vi|
|00003570| 73 45 66 66 65 63 74 20 | 66 61 73 74 0d 69 66 20 |sEffect |fast.if |
|00003580| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 64 6f 77 |the mous|e is dow|
|00003590| 6e 20 74 68 65 6e 20 65 | 78 69 74 20 67 6f 4e 65 |n then e|xit goNe|
|000035a0| 78 74 20 2d 2d 20 74 72 | 61 70 20 64 6f 75 62 6c |xt -- tr|ap doubl|
|000035b0| 65 20 63 6c 69 63 6b 0d | 65 6e 64 20 67 6f 4e 65 |e click.|end goNe|
|000035c0| 78 74 0d 0d 6f 6e 20 67 | 6f 50 72 65 76 0d 73 65 |xt..on g|oPrev.se|
|000035d0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|000035e0| 68 0d 69 66 20 66 69 72 | 73 74 43 61 72 64 4f 66 |h.if fir|stCardOf|
|000035f0| 53 65 63 74 69 6f 6e 28 | 29 20 74 68 65 6e 20 70 |Section(|) then p|
|00003600| 75 74 20 22 73 63 72 6f | 6c 6c 20 72 69 67 68 74 |ut "scro|ll right|
|00003610| 22 20 69 6e 74 6f 20 76 | 69 73 45 66 66 65 63 74 |" into v|isEffect|
|00003620| 0d 65 6c 73 65 20 70 75 | 74 20 22 70 6c 61 69 6e |.else pu|t "plain|
|00003630| 22 20 20 69 6e 74 6f 20 | 76 69 73 45 66 66 65 63 |" into |visEffec|
|00003640| 74 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |t.lock s|creen.go|
|00003650| 20 70 72 65 76 69 6f 75 | 73 20 63 61 72 64 0d 75 | previou|s card.u|
|00003660| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00003670| 68 20 76 69 73 45 66 66 | 65 63 74 20 66 61 73 74 |h visEff|ect fast|
|00003680| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |.if the |mouse is|
|00003690| 20 64 6f 77 6e 20 74 68 | 65 6e 20 65 78 69 74 20 | down th|en exit |
|000036a0| 67 6f 50 72 65 76 20 2d | 2d 20 74 72 61 70 20 64 |goPrev -|- trap d|
|000036b0| 6f 75 62 6c 65 20 63 6c | 69 63 6b 0d 65 6e 64 20 |ouble cl|ick.end |
|000036c0| 67 6f 50 72 65 76 0d 0d | 66 75 6e 63 74 69 6f 6e |goPrev..|function|
|000036d0| 20 6c 61 73 74 43 61 72 | 64 4f 66 53 65 63 74 69 | lastCar|dOfSecti|
|000036e0| 6f 6e 0d 2d 2d 20 c6 20 | 72 65 71 75 69 72 65 73 |on.-- . |requires|
|000036f0| 20 22 63 61 72 64 20 58 | 20 6f 66 20 59 22 20 66 | "card X| of Y" f|
|00003700| 6f 72 6d 61 74 0d 72 65 | 74 75 72 6e 20 28 77 6f |ormat.re|turn (wo|
|00003710| 72 64 20 32 20 6f 66 20 | 66 69 65 6c 64 20 22 70 |rd 2 of |field "p|
|00003720| 61 67 65 73 22 20 3d 20 | 77 6f 72 64 20 34 20 6f |ages" = |word 4 o|
|00003730| 66 20 66 69 65 6c 64 20 | 22 70 61 67 65 73 22 29 |f field |"pages")|
|00003740| 0d 65 6e 64 20 6c 61 73 | 74 43 61 72 64 4f 66 53 |.end las|tCardOfS|
|00003750| 65 63 74 69 6f 6e 0d 0d | 66 75 6e 63 74 69 6f 6e |ection..|function|
|00003760| 20 66 69 72 73 74 43 61 | 72 64 4f 66 53 65 63 74 | firstCa|rdOfSect|
|00003770| 69 6f 6e 0d 2d 2d 20 c6 | 20 72 65 71 75 69 72 65 |ion.-- .| require|
|00003780| 73 20 22 63 61 72 64 20 | 58 20 6f 66 20 59 22 20 |s "card |X of Y" |
|00003790| 66 6f 72 6d 61 74 0d 72 | 65 74 75 72 6e 20 28 77 |format.r|eturn (w|
|000037a0| 6f 72 64 20 32 20 6f 66 | 20 66 69 65 6c 64 20 22 |ord 2 of| field "|
|000037b0| 70 61 67 65 73 22 20 3d | 20 31 29 0d 65 6e 64 20 |pages" =| 1).end |
|000037c0| 66 69 72 73 74 43 61 72 | 64 4f 66 53 65 63 74 69 |firstCar|dOfSecti|
|000037d0| 6f 6e 0d 0d 6f 6e 20 6c | 65 61 76 65 48 65 6c 70 |on..on l|eaveHelp|
|000037e0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|000037f0| 61 74 63 68 0d 70 75 74 | 20 72 65 74 75 72 6e 43 |atch.put| returnC|
|00003800| 61 72 64 28 29 20 69 6e | 74 6f 20 74 68 65 43 61 |ard() in|to theCa|
|00003810| 72 64 20 2d 2d 20 70 61 | 74 68 20 6f 66 20 74 68 |rd -- pa|th of th|
|00003820| 65 20 72 65 74 75 72 6e | 20 63 61 72 64 0d 69 66 |e return| card.if|
|00003830| 20 74 68 65 43 61 72 64 | 20 69 73 20 65 6d 70 74 | theCard| is empt|
|00003840| 79 20 74 68 65 6e 20 70 | 75 74 20 22 48 6f 6d 65 |y then p|ut "Home|
|00003850| 22 20 69 6e 74 6f 20 74 | 68 65 43 61 72 64 0d 72 |" into t|heCard.r|
|00003860| 65 73 65 74 48 65 6c 70 | 47 6c 6f 62 61 6c 0d 67 |esetHelp|Global.g|
|00003870| 6f 20 74 68 65 43 61 72 | 64 0d 65 6e 64 20 6c 65 |o theCar|d.end le|
|00003880| 61 76 65 48 65 6c 70 0d | 0d 6f 6e 20 67 6f 43 61 |aveHelp.|.on goCa|
|00003890| 72 64 20 63 61 72 64 4e | 61 6d 65 0d 2d 2d 20 4a |rd cardN|ame.-- J|
|000038a0| 75 6d 70 73 20 74 6f 20 | 61 20 63 61 72 64 20 62 |umps to |a card b|
|000038b0| 79 20 6e 61 6d 65 2e 0d | 73 65 74 20 63 75 72 73 |y name..|set curs|
|000038c0| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 69 66 20 63 |or to wa|tch.if c|
|000038d0| 61 72 64 4e 61 6d 65 20 | 69 73 20 65 6d 70 74 79 |ardName |is empty|
|000038e0| 20 74 68 65 6e 20 65 78 | 69 74 20 67 6f 43 61 72 | then ex|it goCar|
|000038f0| 64 0d 67 6f 20 63 61 72 | 64 20 63 61 72 64 4e 61 |d.go car|d cardNa|
|00003900| 6d 65 0d 65 6e 64 20 67 | 6f 43 61 72 64 0d 0d 6f |me.end g|oCard..o|
|00003910| 6e 20 67 6f 54 6f 70 69 | 63 0d 73 65 74 20 63 75 |n goTopi|c.set cu|
|00003920| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 6c 6f |rsor to |watch.lo|
|00003930| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 43 61 72 64 |ck scree|n.goCard|
|00003940| 20 28 74 68 65 20 73 65 | 6c 65 63 74 65 64 54 65 | (the se|lectedTe|
|00003950| 78 74 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |xt of th|e target|
|00003960| 29 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |).unlock| screen |
|00003970| 77 69 74 68 20 7a 6f 6f | 6d 20 6f 75 74 0d 65 6e |with zoo|m out.en|
|00003980| 64 20 67 6f 54 6f 70 69 | 63 0d 0d 6f 6e 20 67 6f |d goTopi|c..on go|
|00003990| 4f 76 65 72 76 69 65 77 | 0d 73 65 74 20 63 75 72 |Overview|.set cur|
|000039a0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 70 75 73 |sor to w|atch.pus|
|000039b0| 68 20 63 61 72 64 0d 76 | 69 73 75 61 6c 20 65 66 |h card.v|isual ef|
|000039c0| 66 65 63 74 20 73 68 72 | 69 6e 6b 20 74 6f 20 74 |fect shr|ink to t|
|000039d0| 6f 70 0d 67 6f 43 61 72 | 64 20 22 4f 76 65 72 76 |op.goCar|d "Overv|
|000039e0| 69 65 77 20 6f 66 20 48 | 65 6c 70 22 0d 65 6e 64 |iew of H|elp".end|
|000039f0| 20 67 6f 4f 76 65 72 76 | 69 65 77 0d 0d 6f 6e 20 | goOverv|iew..on |
|00003a00| 67 6f 46 69 6e 64 54 6f | 70 69 63 0d 73 65 74 20 |goFindTo|pic.set |
|00003a10| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00003a20| 70 75 74 20 72 65 61 6c | 54 6f 70 69 63 4e 61 6d |put real|TopicNam|
|00003a30| 65 28 29 20 69 6e 74 6f | 20 74 6f 70 69 63 4e 61 |e() into| topicNa|
|00003a40| 6d 65 0d 70 75 73 68 20 | 63 61 72 64 0d 6c 6f 63 |me.push |card.loc|
|00003a50| 6b 20 73 63 72 65 65 6e | 0d 67 6f 43 61 72 64 20 |k screen|.goCard |
|00003a60| 22 46 69 6e 64 20 54 6f | 70 69 63 22 0d 69 66 20 |"Find To|pic".if |
|00003a70| 74 68 65 20 73 65 6c 65 | 63 74 65 64 54 65 78 74 |the sele|ctedText|
|00003a80| 20 6f 66 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 | of card| field "|
|00003a90| 54 68 65 20 48 69 74 73 | 22 20 69 73 20 6e 6f 74 |The Hits|" is not|
|00003aa0| 20 74 6f 70 69 63 4e 61 | 6d 65 20 74 68 65 6e 0d | topicNa|me then.|
|00003ab0| 70 75 74 20 74 65 78 74 | 54 6f 4c 69 6e 65 4e 75 |put text|ToLineNu|
|00003ac0| 6d 28 74 6f 70 69 63 4e | 61 6d 65 2c 63 61 72 64 |m(topicN|ame,card|
|00003ad0| 20 66 69 65 6c 64 20 22 | 54 68 65 20 48 69 74 73 | field "|The Hits|
|00003ae0| 22 29 20 69 6e 74 6f 20 | 6c 69 6e 65 4e 75 6d 0d |") into |lineNum.|
|00003af0| 73 65 6c 65 63 74 20 6c | 69 6e 65 20 6c 69 6e 65 |select l|ine line|
|00003b00| 4e 75 6d 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |Num of c|ard fiel|
|00003b10| 64 20 22 54 68 65 20 48 | 69 74 73 22 0d 65 6e 64 |d "The H|its".end|
|00003b20| 20 69 66 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | if.unlo|ck scree|
|00003b30| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 65 66 |n with v|isual ef|
|00003b40| 66 65 63 74 20 73 68 72 | 69 6e 6b 20 74 6f 20 74 |fect shr|ink to t|
|00003b50| 6f 70 0d 73 65 6c 65 63 | 74 20 74 65 78 74 20 6f |op.selec|t text o|
|00003b60| 66 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 55 73 |f card f|ield "Us|
|00003b70| 65 72 20 4b 65 79 73 22 | 0d 65 6e 64 20 67 6f 46 |er Keys"|.end goF|
|00003b80| 69 6e 64 54 6f 70 69 63 | 0d 05 0d 6f 6e 20 67 6f |indTopic|...on go|
|00003b90| 42 61 63 6b 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |Back.set| cursor |
|00003ba0| 74 6f 20 77 61 74 63 68 | 0d 70 6f 70 20 63 61 72 |to watch|.pop car|
|00003bb0| 64 20 69 6e 74 6f 20 74 | 68 65 52 65 74 75 72 6e |d into t|heReturn|
|00003bc0| 43 61 72 64 0d 76 69 73 | 75 61 6c 20 65 66 66 65 |Card.vis|ual effe|
|00003bd0| 63 74 20 73 74 72 65 74 | 63 68 20 66 72 6f 6d 20 |ct stret|ch from |
|00003be0| 74 6f 70 0d 69 66 20 74 | 68 65 20 6c 6f 6e 67 20 |top.if t|he long |
|00003bf0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00003c00| 63 6b 20 69 73 20 6e 6f | 74 20 69 6e 20 74 68 65 |ck is no|t in the|
|00003c10| 52 65 74 75 72 6e 43 61 | 72 64 0d 74 68 65 6e 20 |ReturnCa|rd.then |
|00003c20| 67 6f 20 66 69 72 73 74 | 20 63 61 72 64 0d 65 6c |go first| card.el|
|00003c30| 73 65 20 67 6f 20 74 68 | 65 52 65 74 75 72 6e 43 |se go th|eReturnC|
|00003c40| 61 72 64 0d 65 6e 64 20 | 67 6f 42 61 63 6b 0d 0d |ard.end |goBack..|
|00003c50| 6f 6e 20 67 6f 52 65 6c | 61 74 65 64 54 6f 70 69 |on goRel|atedTopi|
|00003c60| 63 73 0d 2d 2d 20 c6 20 | 4c 6f 63 61 6c 69 7a 65 |cs.-- . |Localize|
|00003c70| 3a 20 74 68 65 20 74 65 | 78 74 20 74 68 61 74 20 |: the te|xt that |
|00003c80| 67 6f 65 73 20 69 6e 74 | 6f 20 62 75 74 74 6f 6e |goes int|o button|
|00003c90| 20 33 2e 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 | 3..set |cursor t|
|00003ca0| 6f 20 77 61 74 63 68 0d | 70 75 74 20 58 52 65 66 |o watch.|put XRef|
|00003cb0| 73 28 29 20 69 6e 74 6f | 20 74 68 65 54 6f 70 69 |s() into| theTopi|
|00003cc0| 63 49 44 73 0d 70 75 74 | 20 72 65 61 6c 54 6f 70 |cIDs.put| realTop|
|00003cd0| 69 63 4e 61 6d 65 28 29 | 20 69 6e 74 6f 20 74 68 |icName()| into th|
|00003ce0| 65 54 69 74 6c 65 0d 70 | 75 74 20 74 68 65 20 69 |eTitle.p|ut the i|
|00003cf0| 64 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |d of thi|s card i|
|00003d00| 6e 74 6f 20 74 68 65 52 | 65 74 75 72 6e 43 61 72 |nto theR|eturnCar|
|00003d10| 64 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |d.lock s|creen.go|
|00003d20| 20 63 61 72 64 20 22 52 | 65 6c 61 74 65 64 20 54 | card "R|elated T|
|00003d30| 6f 70 69 63 73 22 0d 2d | 2d 20 63 72 6f 73 73 2d |opics".-|- cross-|
|00003d40| 72 65 66 65 72 65 6e 63 | 65 73 20 70 65 72 73 69 |referenc|es persi|
|00003d50| 73 74 20 61 73 20 6c 6f | 6e 67 20 61 73 20 79 6f |st as lo|ng as yo|
|00003d60| 75 27 72 65 20 76 69 73 | 69 74 69 6e 67 20 61 20 |u're vis|iting a |
|00003d70| 73 65 74 0d 2d 2d 20 74 | 68 65 20 6f 6e 65 73 20 |set.-- t|he ones |
|00003d80| 76 69 73 69 74 65 64 20 | 73 6f 20 66 61 72 20 68 |visited |so far h|
|00003d90| 61 76 65 20 61 20 c3 20 | 63 68 61 72 20 62 65 73 |ave a . |char bes|
|00003da0| 69 64 65 20 74 68 65 6d | 3a 0d 67 65 74 20 63 61 |ide them|:.get ca|
|00003db0| 72 64 20 66 69 65 6c 64 | 20 22 52 65 6c 61 74 65 |rd field| "Relate|
|00003dc0| 64 20 54 6f 70 69 63 73 | 22 0d 69 66 20 6f 66 66 |d Topics|".if off|
|00003dd0| 73 65 74 28 22 c3 22 20 | 26 20 73 70 61 63 65 20 |set("." |& space |
|00003de0| 26 20 74 68 65 54 69 74 | 6c 65 20 26 20 72 65 74 |& theTit|le & ret|
|00003df0| 75 72 6e 2c 69 74 29 20 | 3d 20 30 20 74 68 65 6e |urn,it) |= 0 then|
|00003e00| 0d 2d 2d 20 67 65 6e 65 | 72 61 74 65 20 6e 65 77 |.-- gene|rate new|
|00003e10| 20 73 65 74 20 66 6f 72 | 20 74 68 69 73 20 74 6f | set for| this to|
|00003e20| 70 69 63 3a 0d 70 75 74 | 20 74 68 65 52 65 74 75 |pic:.put| theRetu|
|00003e30| 72 6e 43 61 72 64 20 69 | 6e 74 6f 20 63 61 72 64 |rnCard i|nto card|
|00003e40| 20 66 69 65 6c 64 20 22 | 52 65 74 75 72 6e 20 54 | field "|Return T|
|00003e50| 6f 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |o".put e|mpty int|
|00003e60| 6f 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 52 65 |o card f|ield "Re|
|00003e70| 6c 61 74 65 64 20 54 6f | 70 69 63 73 22 0d 70 75 |lated To|pics".pu|
|00003e80| 74 20 74 68 65 54 69 74 | 6c 65 20 69 6e 74 6f 20 |t theTit|le into |
|00003e90| 6c 69 6e 65 20 32 20 6f | 66 20 63 61 72 64 20 66 |line 2 o|f card f|
|00003ea0| 69 65 6c 64 20 22 52 65 | 6c 61 74 65 64 20 54 6f |ield "Re|lated To|
|00003eb0| 22 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |".set th|e name o|
|00003ec0| 66 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 33 20 |f card b|utton 3 |
|00003ed0| 74 6f 20 22 52 65 74 75 | 72 6e 20 74 6f 20 20 d2 |to "Retu|rn to .|
|00003ee0| 22 20 26 20 74 68 65 54 | 69 74 6c 65 20 26 20 22 |" & theT|itle & "|
|00003ef0| d3 22 20 2d 2d 20 c6 0d | 67 65 74 20 63 6f 6e 76 |." -- ..|get conv|
|00003f00| 65 72 74 49 44 73 54 6f | 54 69 74 6c 65 73 28 74 |ertIDsTo|Titles(t|
|00003f10| 68 65 54 6f 70 69 63 49 | 44 73 29 0d 72 65 70 65 |heTopicI|Ds).repe|
|00003f20| 61 74 20 77 69 74 68 20 | 4e 20 3d 20 31 20 74 6f |at with |N = 1 to|
|00003f30| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00003f40| 69 6e 65 73 20 6f 66 20 | 69 74 0d 73 65 74 20 63 |ines of |it.set c|
|00003f50| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 70 75 |ursor to| busy.pu|
|00003f60| 74 20 73 70 61 63 65 20 | 26 20 73 70 61 63 65 20 |t space |& space |
|00003f70| 26 20 73 70 61 63 65 20 | 26 20 6c 69 6e 65 20 4e |& space |& line N|
|00003f80| 20 6f 66 20 69 74 20 26 | 20 72 65 74 75 72 6e 20 | of it &| return |
|00003f90| c2 0d 61 66 74 65 72 20 | 63 61 72 64 20 66 69 65 |..after |card fie|
|00003fa0| 6c 64 20 22 52 65 6c 61 | 74 65 64 20 54 6f 70 69 |ld "Rela|ted Topi|
|00003fb0| 63 73 22 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |cs".end |repeat.e|
|00003fc0| 6e 64 20 69 66 0d 72 65 | 73 65 74 4c 69 73 74 46 |nd if.re|setListF|
|00003fd0| 69 65 6c 64 20 22 52 65 | 6c 61 74 65 64 20 54 6f |ield "Re|lated To|
|00003fe0| 70 69 63 73 22 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |pics".un|lock scr|
|00003ff0| 65 65 6e 20 77 69 74 68 | 20 69 72 69 73 20 6f 70 |een with| iris op|
|00004000| 65 6e 0d 65 6e 64 20 67 | 6f 52 65 6c 61 74 65 64 |en.end g|oRelated|
|00004010| 54 6f 70 69 63 73 0d 0d | 6f 6e 20 76 69 73 69 74 |Topics..|on visit|
|00004020| 54 6f 70 69 63 0d 73 65 | 74 20 63 75 72 73 6f 72 |Topic.se|t cursor|
|00004030| 20 74 6f 20 77 61 74 63 | 68 0d 70 75 74 20 74 68 | to watc|h.put th|
|00004040| 65 20 73 65 6c 65 63 74 | 65 64 54 65 78 74 20 6f |e select|edText o|
|00004050| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 69 6e 74 |f the ta|rget int|
|00004060| 6f 20 74 68 65 43 61 72 | 64 0d 70 75 74 20 77 6f |o theCar|d.put wo|
|00004070| 72 64 20 32 20 6f 66 20 | 74 68 65 20 73 65 6c 65 |rd 2 of |the sele|
|00004080| 63 74 65 64 4c 69 6e 65 | 20 6f 66 20 74 68 65 20 |ctedLine| of the |
|00004090| 74 61 72 67 65 74 20 69 | 6e 74 6f 20 74 68 65 4c |target i|nto theL|
|000040a0| 69 6e 65 0d 69 66 20 74 | 68 65 43 61 72 64 20 69 |ine.if t|heCard i|
|000040b0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000040c0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 69 66 20 |.lock sc|reen.if |
|000040d0| 63 68 61 72 20 31 20 6f | 66 20 74 68 65 43 61 72 |char 1 o|f theCar|
|000040e0| 64 20 69 73 20 22 c3 22 | 20 74 68 65 6e 20 64 65 |d is "."| then de|
|000040f0| 6c 65 74 65 20 63 68 61 | 72 20 31 20 74 6f 20 32 |lete cha|r 1 to 2|
|00004100| 20 6f 66 20 74 68 65 43 | 61 72 64 0d 65 6c 73 65 | of theC|ard.else|
|00004110| 20 2d 2d 20 6d 61 72 6b | 20 61 73 20 76 69 73 69 | -- mark| as visi|
|00004120| 74 65 64 3a 0d 70 75 74 | 20 22 c3 22 20 69 6e 74 |ted:.put| "." int|
|00004130| 6f 20 63 68 61 72 20 31 | 20 74 6f 20 32 20 6f 66 |o char 1| to 2 of|
|00004140| 20 6c 69 6e 65 20 74 68 | 65 4c 69 6e 65 20 6f 66 | line th|eLine of|
|00004150| 20 74 68 65 20 74 61 72 | 67 65 74 0d 64 65 6c 65 | the tar|get.dele|
|00004160| 74 65 20 63 68 61 72 20 | 31 20 74 6f 20 33 20 6f |te char |1 to 3 o|
|00004170| 66 20 74 68 65 43 61 72 | 64 0d 65 6e 64 20 69 66 |f theCar|d.end if|
|00004180| 0d 67 6f 43 61 72 64 20 | 74 68 65 43 61 72 64 0d |.goCard |theCard.|
|00004190| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|000041a0| 74 68 20 7a 6f 6f 6d 20 | 6f 70 65 6e 0d 65 6e 64 |th zoom |open.end|
|000041b0| 20 69 66 0d 65 6e 64 20 | 76 69 73 69 74 54 6f 70 | if.end |visitTop|
|000041c0| 69 63 0d 0d 6f 6e 20 67 | 6f 54 69 70 73 0d 73 65 |ic..on g|oTips.se|
|000041d0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|000041e0| 68 0d 73 65 74 54 69 70 | 73 49 6e 43 6f 6e 74 65 |h.setTip|sInConte|
|000041f0| 78 74 20 74 72 75 65 20 | 2d 2d 20 79 65 73 2c 20 |xt true |-- yes, |
|00004200| 67 6f 69 6e 67 20 74 6f | 20 74 69 70 73 20 69 6e |going to| tips in|
|00004210| 20 63 6f 6e 74 65 78 74 | 0d 73 65 74 54 72 6f 75 | context|.setTrou|
|00004220| 62 6c 65 73 49 6e 43 6f | 6e 74 65 78 74 20 66 61 |blesInCo|ntext fa|
|00004230| 6c 73 65 0d 70 75 74 20 | 74 69 70 73 28 29 20 69 |lse.put |tips() i|
|00004240| 6e 74 6f 20 74 68 65 54 | 69 70 73 0d 70 75 74 20 |nto theT|ips.put |
|00004250| 72 65 61 6c 54 6f 70 69 | 63 4e 61 6d 65 28 29 20 |realTopi|cName() |
|00004260| 69 6e 74 6f 20 74 68 65 | 54 69 74 6c 65 0d 67 6f |into the|Title.go|
|00004270| 45 78 74 72 61 73 53 74 | 61 63 6b 49 6e 43 6f 6e |ExtrasSt|ackInCon|
|00004280| 74 65 78 74 20 74 68 65 | 54 69 70 73 2c 20 74 68 |text the|Tips, th|
|00004290| 65 54 69 74 6c 65 2c 20 | 22 54 69 70 3a 20 49 6e |eTitle, |"Tip: In|
|000042a0| 64 65 78 22 0d 65 6e 64 | 20 67 6f 54 69 70 73 0d |dex".end| goTips.|
|000042b0| 0d 6f 6e 20 67 6f 54 72 | 6f 75 62 6c 65 53 68 6f |.on goTr|oubleSho|
|000042c0| 6f 74 69 6e 67 0d 73 65 | 74 20 63 75 72 73 6f 72 |oting.se|t cursor|
|000042d0| 20 74 6f 20 77 61 74 63 | 68 0d 73 65 74 54 69 70 | to watc|h.setTip|
|000042e0| 73 49 6e 43 6f 6e 74 65 | 78 74 20 66 61 6c 73 65 |sInConte|xt false|
|000042f0| 0d 73 65 74 54 72 6f 75 | 62 6c 65 73 49 6e 43 6f |.setTrou|blesInCo|
|00004300| 6e 74 65 78 74 20 74 72 | 75 65 20 2d 2d 20 79 65 |ntext tr|ue -- ye|
|00004310| 73 2c 20 67 6f 69 6e 67 | 20 74 6f 20 74 72 6f 75 |s, going| to trou|
|00004320| 62 6c 65 73 68 6f 6f 74 | 69 6e 67 20 69 6e 20 63 |bleshoot|ing in c|
|00004330| 6f 6e 74 65 78 74 0d 70 | 75 74 20 74 72 6f 75 62 |ontext.p|ut troub|
|00004340| 6c 65 73 28 29 20 69 6e | 74 6f 20 74 68 65 54 72 |les() in|to theTr|
|00004350| 6f 75 62 6c 65 73 0d 70 | 75 74 20 72 65 61 6c 54 |oubles.p|ut realT|
|00004360| 6f 70 69 63 4e 61 6d 65 | 28 29 20 69 6e 74 6f 20 |opicName|() into |
|00004370| 74 68 65 54 69 74 6c 65 | 0d 67 6f 45 78 74 72 61 |theTitle|.goExtra|
|00004380| 73 53 74 61 63 6b 49 6e | 43 6f 6e 74 65 78 74 20 |sStackIn|Context |
|00004390| 74 68 65 54 72 6f 75 62 | 6c 65 73 2c 20 74 68 65 |theTroub|les, the|
|000043a0| 54 69 74 6c 65 2c 20 22 | 54 72 6f 75 62 6c 65 3a |Title, "|Trouble:|
|000043b0| 20 49 6e 64 65 78 22 0d | 65 6e 64 20 67 6f 54 72 | Index".|end goTr|
|000043c0| 6f 75 62 6c 65 53 68 6f | 6f 74 69 6e 67 0d 0d 6f |oubleSho|oting..o|
|000043d0| 6e 20 67 6f 45 78 74 72 | 61 73 53 74 61 63 6b 49 |n goExtr|asStackI|
|000043e0| 6e 43 6f 6e 74 65 78 74 | 20 69 6e 64 65 78 49 74 |nContext| indexIt|
|000043f0| 65 6d 73 2c 74 68 65 54 | 6f 70 69 63 4e 61 6d 65 |ems,theT|opicName|
|00004400| 2c 74 68 65 49 6e 64 65 | 78 4e 61 6d 65 0d 2d 2d |,theInde|xName.--|
|00004410| 20 4f 70 65 6e 73 20 75 | 70 20 74 68 65 20 65 78 | Opens u|p the ex|
|00004420| 74 72 61 73 20 73 74 61 | 63 6b 20 69 6e 20 61 20 |tras sta|ck in a |
|00004430| 6e 65 77 20 77 69 6e 64 | 6f 77 20 61 6e 64 20 67 |new wind|ow and g|
|00004440| 6f 65 73 20 74 6f 20 61 | 6e 0d 2d 2d 20 69 6e 64 |oes to a|n.-- ind|
|00004450| 65 78 20 63 61 72 64 2e | 20 49 66 20 61 20 76 61 |ex card.| If a va|
|00004460| 6c 75 65 20 69 6e 20 74 | 68 65 20 67 6c 6f 62 61 |lue in t|he globa|
|00004470| 6c 20 76 61 72 69 61 62 | 6c 65 20 48 65 6c 70 49 |l variab|le HelpI|
|00004480| 6e 66 6f 20 69 73 20 74 | 72 75 65 0d 2d 2d 20 74 |nfo is t|rue.-- t|
|00004490| 68 65 20 45 78 74 72 61 | 73 20 73 74 61 63 6b 20 |he Extra|s stack |
|000044a0| 77 69 6c 6c 20 68 69 64 | 65 20 74 68 65 20 66 75 |will hid|e the fu|
|000044b0| 6c 6c 20 69 6e 64 65 78 | 20 61 6e 64 20 73 68 6f |ll index| and sho|
|000044c0| 77 20 61 20 6c 6f 63 61 | 6c 2c 0d 2d 2d 20 69 6e |w a loca|l,.-- in|
|000044d0| 2d 63 6f 6e 74 65 78 74 | 20 69 6e 64 65 78 2e 20 |-context| index. |
|000044e0| 53 74 75 66 66 73 20 74 | 68 65 20 74 69 70 73 20 |Stuffs t|he tips |
|000044f0| 6f 72 20 74 72 6f 75 62 | 6c 65 73 20 66 6f 72 20 |or troub|les for |
|00004500| 74 68 65 20 63 75 72 72 | 65 6e 74 20 74 6f 70 69 |the curr|ent topi|
|00004510| 63 0d 2d 2d 20 69 6e 74 | 6f 20 74 68 65 20 6c 6f |c.-- int|o the lo|
|00004520| 63 61 6c 20 69 6e 64 65 | 78 2e 0d 2d 2d 20 c6 20 |cal inde|x..-- . |
|00004530| 4c 6f 63 61 6c 69 7a 65 | 20 74 68 65 20 6e 61 6d |Localize| the nam|
|00004540| 65 20 6f 66 20 74 68 65 | 20 48 65 6c 70 20 45 78 |e of the| Help Ex|
|00004550| 74 72 61 73 20 73 74 61 | 63 6b 2e 0d 6c 6f 63 6b |tras sta|ck..lock|
|00004560| 20 73 63 72 65 65 6e 0d | 67 6f 20 63 61 72 64 20 | screen.|go card |
|00004570| 74 68 65 49 6e 64 65 78 | 4e 61 6d 65 20 6f 66 20 |theIndex|Name of |
|00004580| 73 74 61 63 6b 20 22 48 | 65 6c 70 20 45 78 74 72 |stack "H|elp Extr|
|00004590| 61 73 22 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e |as" in a| new win|
|000045a0| 64 6f 77 20 2d 2d 20 c6 | 0d 69 66 20 74 68 65 20 |dow -- .|.if the |
|000045b0| 72 65 73 75 6c 74 20 69 | 73 20 22 43 61 6e 63 65 |result i|s "Cance|
|000045c0| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 74 6f 20 |l" then |exit to |
|000045d0| 48 79 70 65 72 43 61 72 | 64 0d 69 66 20 74 68 65 |HyperCar|d.if the|
|000045e0| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|000045f0| 6d 70 74 79 20 74 68 65 | 6e 20 67 6f 20 63 61 72 |mpty the|n go car|
|00004600| 64 20 74 68 65 49 6e 64 | 65 78 4e 61 6d 65 20 6f |d theInd|exName o|
|00004610| 66 20 73 74 61 63 6b 20 | 22 48 65 6c 70 20 45 78 |f stack |"Help Ex|
|00004620| 74 72 61 73 22 0d 70 75 | 74 20 63 6f 6e 76 65 72 |tras".pu|t conver|
|00004630| 74 49 44 73 54 6f 54 69 | 74 6c 65 73 28 69 6e 64 |tIDsToTi|tles(ind|
|00004640| 65 78 49 74 65 6d 73 29 | 20 69 6e 74 6f 20 63 61 |exItems)| into ca|
|00004650| 72 64 20 66 69 65 6c 64 | 20 22 49 6e 64 65 78 22 |rd field| "Index"|
|00004660| 0d 70 75 74 20 74 68 65 | 54 6f 70 69 63 4e 61 6d |.put the|TopicNam|
|00004670| 65 20 69 6e 74 6f 20 6c | 69 6e 65 20 32 20 6f 66 |e into l|ine 2 of|
|00004680| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 4c 6f 63 | card fi|eld "Loc|
|00004690| 61 6c 20 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 22 |al Instr|uctions"|
|000046a0| 0d 73 65 6c 65 63 74 20 | 6c 69 6e 65 20 65 6d 70 |.select |line emp|
|000046b0| 74 79 20 6f 66 20 63 61 | 72 64 20 66 69 65 6c 64 |ty of ca|rd field|
|000046c0| 20 22 49 6e 64 65 78 22 | 0d 75 6e 6c 6f 63 6b 20 | "Index"|.unlock |
|000046d0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 67 6f 45 78 74 |screen.e|nd goExt|
|000046e0| 72 61 73 53 74 61 63 6b | 49 6e 43 6f 6e 74 65 78 |rasStack|InContex|
|000046f0| 74 0d 0d 6f 6e 20 72 65 | 74 75 72 6e 54 6f 4d 61 |t..on re|turnToMa|
|00004700| 69 6e 54 6f 70 69 63 73 | 0d 2d 2d 20 47 6f 65 73 |inTopics|.-- Goes|
|00004710| 20 74 6f 20 74 68 65 20 | 66 69 72 73 74 20 63 61 | to the |first ca|
|00004720| 72 64 20 61 6e 64 20 68 | 69 67 68 6c 69 67 68 74 |rd and h|ighlight|
|00004730| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th|
|00004740| 65 20 74 6f 70 69 63 0d | 2d 2d 20 74 68 65 20 75 |e topic.|-- the u|
|00004750| 73 65 72 20 6a 75 73 74 | 20 63 61 6d 65 20 66 72 |ser just| came fr|
|00004760| 6f 6d 2e 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |om..lock| screen.|
|00004770| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00004780| 74 63 68 0d 70 75 74 20 | 72 65 61 6c 54 6f 70 69 |tch.put |realTopi|
|00004790| 63 4e 61 6d 65 28 29 20 | 69 6e 74 6f 20 74 6f 70 |cName() |into top|
|000047a0| 69 63 4e 61 6d 65 0d 70 | 75 74 20 74 6f 70 69 63 |icName.p|ut topic|
|000047b0| 49 6e 66 6f 28 29 20 69 | 6e 74 6f 20 73 65 63 74 |Info() i|nto sect|
|000047c0| 69 6f 6e 4e 61 6d 65 0d | 67 6f 20 66 69 72 73 74 |ionName.|go first|
|000047d0| 20 63 61 72 64 0d 69 66 | 20 73 65 63 74 69 6f 6e | card.if| section|
|000047e0| 4e 61 6d 65 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |Name is |not empt|
|000047f0| 79 20 74 68 65 6e 20 73 | 68 6f 77 53 65 63 74 69 |y then s|howSecti|
|00004800| 6f 6e 20 73 65 63 74 69 | 6f 6e 4e 61 6d 65 0d 2d |on secti|onName.-|
|00004810| 2d 20 48 69 67 68 6c 69 | 67 68 74 20 74 68 65 20 |- Highli|ght the |
|00004820| 63 75 72 72 65 6e 74 20 | 74 6f 70 69 63 3a 0d 69 |current |topic:.i|
|00004830| 66 20 74 6f 70 69 63 4e | 61 6d 65 20 69 73 20 6e |f topicN|ame is n|
|00004840| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 73 65 |ot empty| then.se|
|00004850| 6c 65 63 74 20 6c 69 6e | 65 20 74 65 78 74 54 6f |lect lin|e textTo|
|00004860| 4c 69 6e 65 4e 75 6d 28 | 74 6f 70 69 63 4e 61 6d |LineNum(|topicNam|
|00004870| 65 2c 63 61 72 64 20 66 | 69 65 6c 64 20 22 54 6f |e,card f|ield "To|
|00004880| 70 69 63 73 20 4c 69 73 | 74 22 29 20 c2 0d 6f 66 |pics Lis|t") ..of|
|00004890| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 54 6f 70 | card fi|eld "Top|
|000048a0| 69 63 73 20 4c 69 73 74 | 22 0d 65 6e 64 20 69 66 |ics List|".end if|
|000048b0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 20 77 |.unlock |screen w|
|000048c0| 69 74 68 20 7a 6f 6f 6d | 20 63 6c 6f 73 65 0d 65 |ith zoom| close.e|
|000048d0| 6e 64 20 72 65 74 75 72 | 6e 54 6f 4d 61 69 6e 54 |nd retur|nToMainT|
|000048e0| 6f 70 69 63 73 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |opics..f|unction |
|000048f0| 72 65 61 6c 54 6f 70 69 | 63 4e 61 6d 65 0d 2d 2d |realTopi|cName.--|
|00004900| 20 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 67 | This fu|nction g|
|00004910| 65 74 73 20 74 68 65 20 | 61 63 74 75 61 6c 20 6e |ets the |actual n|
|00004920| 61 6d 65 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ame of t|he curre|
|00004930| 6e 74 20 74 6f 70 69 63 | 20 65 76 65 6e 20 69 66 |nt topic| even if|
|00004940| 0d 2d 2d 20 74 68 65 20 | 75 73 65 72 20 69 73 20 |.-- the |user is |
|00004950| 6f 6e 20 61 20 d2 63 6f | 6e 74 69 6e 75 65 64 d3 |on a .co|ntinued.|
|00004960| 20 63 61 72 64 2e 0d 69 | 66 20 74 68 65 72 65 20 | card..i|f there |
|00004970| 69 73 20 61 20 62 6b 67 | 6e 64 20 66 69 65 6c 64 |is a bkg|nd field|
|00004980| 20 22 50 61 67 65 73 22 | 20 74 68 65 6e 0d 2d 2d | "Pages"| then.--|
|00004990| 20 c6 20 44 65 70 65 6e | 64 73 20 6f 6e 20 22 43 | . Depen|ds on "C|
|000049a0| 61 72 64 20 58 20 6f 66 | 20 59 22 20 66 6f 72 6d |ard X of| Y" form|
|000049b0| 61 74 20 69 6e 20 74 68 | 65 20 66 69 65 6c 64 0d |at in th|e field.|
|000049c0| 70 75 74 20 77 6f 72 64 | 20 32 20 6f 66 20 62 6b |put word| 2 of bk|
|000049d0| 67 6e 64 20 66 69 65 6c | 64 20 22 50 61 67 65 73 |gnd fiel|d "Pages|
|000049e0| 22 20 69 6e 74 6f 20 63 | 75 72 72 65 6e 74 50 61 |" into c|urrentPa|
|000049f0| 67 65 0d 69 66 20 63 75 | 72 72 65 6e 74 50 61 67 |ge.if cu|rrentPag|
|00004a00| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |e is emp|ty then |
|00004a10| 70 75 74 20 31 20 69 6e | 74 6f 20 63 75 72 72 65 |put 1 in|to curre|
|00004a20| 6e 74 50 61 67 65 0d 67 | 65 74 20 74 68 65 20 6e |ntPage.g|et the n|
|00004a30| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|00004a40| 72 64 0d 72 65 74 75 72 | 6e 20 62 6b 67 6e 64 20 |rd.retur|n bkgnd |
|00004a50| 66 69 65 6c 64 20 22 54 | 69 74 6c 65 22 20 6f 66 |field "T|itle" of|
|00004a60| 20 63 61 72 64 20 28 69 | 74 20 2d 20 63 75 72 72 | card (i|t - curr|
|00004a70| 65 6e 74 50 61 67 65 20 | 2b 20 31 29 0d 65 6c 73 |entPage |+ 1).els|
|00004a80| 65 20 72 65 74 75 72 6e | 20 65 6d 70 74 79 0d 65 |e return| empty.e|
|00004a90| 6e 64 20 72 65 61 6c 54 | 6f 70 69 63 4e 61 6d 65 |nd realT|opicName|
|00004aa0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 65 6e 64 4f 72 |..functi|on endOr|
|00004ab0| 4d 6f 72 65 0d 2d 2d 20 | c6 20 4c 6f 63 61 6c 69 |More.-- |. Locali|
|00004ac0| 7a 65 20 74 68 65 20 73 | 74 72 69 6e 67 73 20 66 |ze the s|trings f|
|00004ad0| 6f 72 20 74 68 65 20 62 | 75 74 74 6f 6e 73 0d 69 |or the b|uttons.i|
|00004ae0| 66 20 6c 61 73 74 43 61 | 72 64 4f 66 53 65 63 74 |f lastCa|rdOfSect|
|00004af0| 69 6f 6e 28 29 20 74 68 | 65 6e 20 72 65 74 75 72 |ion() th|en retur|
|00004b00| 6e 20 22 2d 2d 2d 2d 2d | 20 20 45 6e 64 20 6f 66 |n "-----| End of|
|00004b10| 20 54 6f 70 69 63 20 20 | 2d 2d 2d 2d 2d 22 20 2d | Topic |-----" -|
|00004b20| 2d 20 c6 0d 65 6c 73 65 | 20 72 65 74 75 72 6e 20 |- ..else| return |
|00004b30| 22 2d 2d 2d 20 20 4d 6f | 72 65 20 20 2d 2d 2d 22 |"--- Mo|re ---"|
|00004b40| 20 2d 2d 20 c6 0d 65 6e | 64 20 65 6e 64 4f 72 4d | -- ..en|d endOrM|
|00004b50| 6f 72 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 61 6c |ore..fun|ction al|
|00004b60| 6c 54 6f 70 69 63 73 0d | 72 65 74 75 72 6e 20 63 |lTopics.|return c|
|00004b70| 61 72 64 20 66 69 65 6c | 64 20 22 41 6c 6c 20 54 |ard fiel|d "All T|
|00004b80| 6f 70 69 63 73 22 20 6f | 66 20 63 61 72 64 20 22 |opics" o|f card "|
|00004b90| 46 69 6e 64 20 54 6f 70 | 69 63 22 0d 65 6e 64 20 |Find Top|ic".end |
|00004ba0| 61 6c 6c 54 6f 70 69 63 | 73 0d 0d 66 75 6e 63 74 |allTopic|s..funct|
|00004bb0| 69 6f 6e 20 77 72 6f 6e | 67 53 74 61 63 6b 0d 2d |ion wron|gStack.-|
|00004bc0| 2d 20 55 73 65 20 61 6e | 20 66 61 69 72 6c 79 20 |- Use an| fairly |
|00004bd0| 75 6e 69 71 75 65 20 6f | 62 6a 65 63 74 0d 2d 2d |unique o|bject.--|
|00004be0| 20 72 61 74 68 65 72 20 | 74 68 61 6e 20 68 61 72 | rather |than har|
|00004bf0| 64 20 77 69 72 65 20 74 | 68 65 20 73 74 61 63 6b |d wire t|he stack|
|00004c00| 73 20 62 79 20 6e 61 6d | 65 0d 72 65 74 75 72 6e |s by nam|e.return|
|00004c10| 20 6e 6f 74 28 74 68 65 | 72 65 20 69 73 20 61 20 | not(the|re is a |
|00004c20| 63 61 72 64 20 22 4f 76 | 65 72 76 69 65 77 20 6f |card "Ov|erview o|
|00004c30| 66 20 48 65 6c 70 22 29 | 0d 65 6e 64 20 77 72 6f |f Help")|.end wro|
|00004c40| 6e 67 53 74 61 63 6b 0d | 0d 2d 2d 20 54 68 65 20 |ngStack.|.-- The |
|00004c50| 66 6f 6c 6c 6f 77 69 6e | 67 20 66 75 6e 63 74 69 |followin|g functi|
|00004c60| 6f 6e 73 20 61 63 63 65 | 73 73 20 64 61 74 61 20 |ons acce|ss data |
|00004c70| 73 74 6f 72 65 64 20 69 | 6e 20 74 68 65 20 68 69 |stored i|n the hi|
|00004c80| 64 64 65 6e 20 62 6b 67 | 6e 64 0d 2d 2d 20 66 69 |dden bkg|nd.-- fi|
|00004c90| 65 6c 64 20 49 6e 66 6f | 20 6f 66 20 62 6b 67 6e |eld Info| of bkgn|
|00004ca0| 64 20 22 43 6f 6e 74 65 | 6e 74 22 20 73 6f 20 6f |d "Conte|nt" so o|
|00004cb0| 74 68 65 72 20 68 61 6e | 64 6c 65 72 73 20 64 6f |ther han|dlers do|
|00004cc0| 6e 27 74 20 68 61 76 65 | 20 74 6f 0d 2d 2d 20 6b |n't have| to.-- k|
|00004cd0| 6e 6f 77 20 77 68 61 74 | 27 73 20 73 74 6f 72 65 |now what|'s store|
|00004ce0| 64 20 6f 6e 20 77 68 61 | 74 20 6c 69 6e 65 2e 0d |d on wha|t line..|
|00004cf0| 0d 66 75 6e 63 74 69 6f | 6e 20 74 6f 70 69 63 49 |.functio|n topicI|
|00004d00| 6e 66 6f 0d 2d 2d 20 74 | 68 65 20 6e 61 6d 65 20 |nfo.-- t|he name |
|00004d10| 6f 66 20 74 68 65 20 73 | 65 63 74 69 6f 6e 0d 72 |of the s|ection.r|
|00004d20| 65 74 75 72 6e 20 6c 69 | 6e 65 20 31 20 6f 66 20 |eturn li|ne 1 of |
|00004d30| 62 6b 67 6e 64 20 66 69 | 65 6c 64 20 22 49 6e 66 |bkgnd fi|eld "Inf|
|00004d40| 6f 22 0d 65 6e 64 20 74 | 6f 70 69 63 49 6e 66 6f |o".end t|opicInfo|
|00004d50| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 74 69 70 73 0d |..functi|on tips.|
|00004d60| 2d 2d 20 65 61 63 68 20 | 77 6f 72 64 20 69 73 20 |-- each |word is |
|00004d70| 61 20 6e 75 6d 62 65 72 | 20 65 71 75 61 6c 20 74 |a number| equal t|
|00004d80| 6f 20 61 20 74 69 70 20 | 69 6e 20 48 65 6c 70 20 |o a tip |in Help |
|00004d90| 45 78 74 72 61 73 0d 72 | 65 74 75 72 6e 20 6c 69 |Extras.r|eturn li|
|00004da0| 6e 65 20 32 20 6f 66 20 | 62 6b 67 6e 64 20 66 69 |ne 2 of |bkgnd fi|
|00004db0| 65 6c 64 20 22 49 6e 66 | 6f 22 0d 65 6e 64 20 74 |eld "Inf|o".end t|
|00004dc0| 69 70 73 0d 0d 66 75 6e | 63 74 69 6f 6e 20 74 72 |ips..fun|ction tr|
|00004dd0| 6f 75 62 6c 65 73 0d 2d | 2d 20 65 61 63 68 20 77 |oubles.-|- each w|
|00004de0| 6f 72 64 20 69 73 20 61 | 20 6e 75 6d 62 65 72 20 |ord is a| number |
|00004df0| 65 71 75 61 6c 20 74 6f | 20 61 20 74 72 6f 75 62 |equal to| a troub|
|00004e00| 6c 65 20 69 6e 20 48 65 | 6c 70 20 45 78 74 72 61 |le in He|lp Extra|
|00004e10| 73 0d 72 65 74 75 72 6e | 20 6c 69 6e 65 20 33 20 |s.return| line 3 |
|00004e20| 6f 66 20 62 6b 67 6e 64 | 20 66 69 65 6c 64 20 22 |of bkgnd| field "|
|00004e30| 49 6e 66 6f 22 0d 65 6e | 64 20 74 72 6f 75 62 6c |Info".en|d troubl|
|00004e40| 65 73 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 58 52 65 |es..func|tion XRe|
|00004e50| 66 73 0d 2d 2d 20 65 61 | 63 68 20 77 6f 72 64 20 |fs.-- ea|ch word |
|00004e60| 69 73 20 61 20 6e 75 6d | 62 65 72 20 65 71 75 61 |is a num|ber equa|
|00004e70| 6c 20 74 6f 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |l to one| of the |
|00004e80| 74 6f 70 69 63 73 20 69 | 6e 20 74 68 65 20 73 74 |topics i|n the st|
|00004e90| 61 63 6b 0d 72 65 74 75 | 72 6e 20 6c 69 6e 65 20 |ack.retu|rn line |
|00004ea0| 34 20 6f 66 20 62 6b 67 | 6e 64 20 66 69 65 6c 64 |4 of bkg|nd field|
|00004eb0| 20 22 49 6e 66 6f 22 0d | 65 6e 64 20 58 52 65 66 | "Info".|end XRef|
|00004ec0| 73 0d 0d 2d 2d 2d 2d 2d | 2d 20 20 53 43 52 49 50 |s..-----|- SCRIP|
|00004ed0| 54 53 20 46 4f 52 20 50 | 52 4f 43 45 53 53 49 4e |TS FOR P|ROCESSIN|
|00004ee0| 47 20 41 43 54 49 56 45 | 20 54 45 58 54 20 20 2d |G ACTIVE| TEXT -|
|00004ef0| 2d 2d 2d 2d 2d 0d 0d 6f | 6e 20 63 68 65 63 6b 41 |-----..o|n checkA|
|00004f00| 63 74 69 76 65 54 65 78 | 74 0d 2d 2d 20 c6 20 4c |ctiveTex|t.-- . L|
|00004f10| 6f 63 61 6c 69 7a 65 20 | 74 68 65 20 73 74 79 6c |ocalize |the styl|
|00004f20| 65 20 61 6e 64 20 66 6f | 6e 74 20 75 73 65 64 20 |e and fo|nt used |
|00004f30| 66 6f 72 20 70 6c 61 63 | 65 68 6f 6c 64 65 72 20 |for plac|eholder |
|00004f40| 74 65 78 74 0d 2d 2d 20 | c6 20 50 6c 61 63 65 68 |text.-- |. Placeh|
|00004f50| 6f 6c 64 65 72 20 74 65 | 78 74 20 6d 75 73 74 20 |older te|xt must |
|00004f60| 68 61 76 65 20 61 20 64 | 69 73 74 69 6e 63 74 20 |have a d|istinct |
|00004f70| 73 74 79 6c 65 20 66 72 | 6f 6d 20 67 6c 6f 73 73 |style fr|om gloss|
|00004f80| 61 72 79 20 74 65 78 74 | 0d 73 65 74 54 69 70 73 |ary text|.setTips|
|00004f90| 49 6e 43 6f 6e 74 65 78 | 74 20 66 61 6c 73 65 0d |InContex|t false.|
|00004fa0| 73 65 74 54 72 6f 75 62 | 6c 65 73 49 6e 43 6f 6e |setTroub|lesInCon|
|00004fb0| 74 65 78 74 20 66 61 6c | 73 65 0d 70 75 74 20 72 |text fal|se.put r|
|00004fc0| 65 6d 6f 76 65 53 70 61 | 63 65 4f 72 52 65 74 75 |emoveSpa|ceOrRetu|
|00004fd0| 72 6e 28 74 68 65 20 63 | 6c 69 63 6b 54 65 78 74 |rn(the c|lickText|
|00004fe0| 29 20 69 6e 74 6f 20 74 | 68 65 50 68 72 61 73 65 |) into t|hePhrase|
|00004ff0| 0d 69 66 20 74 68 65 50 | 68 72 61 73 65 20 69 73 |.if theP|hrase is|
|00005000| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00005010| 20 63 68 65 63 6b 41 63 | 74 69 76 65 54 65 78 74 | checkAc|tiveText|
|00005020| 0d 70 75 74 20 74 68 65 | 20 63 6c 69 63 6b 43 68 |.put the| clickCh|
|00005030| 75 6e 6b 20 69 6e 74 6f | 20 74 68 65 43 68 75 6e |unk into| theChun|
|00005040| 6b 4f 66 54 65 78 74 0d | 70 75 74 20 74 68 65 20 |kOfText.|put the |
|00005050| 74 65 78 74 53 74 79 6c | 65 20 6f 66 20 74 68 65 |textStyl|e of the|
|00005060| 43 68 75 6e 6b 4f 66 54 | 65 78 74 20 69 6e 74 6f |ChunkOfT|ext into|
|00005070| 20 74 68 65 53 74 79 6c | 65 0d 70 75 74 20 74 68 | theStyl|e.put th|
|00005080| 65 20 74 65 78 74 46 6f | 6e 74 20 6f 66 20 74 68 |e textFo|nt of th|
|00005090| 65 43 68 75 6e 6b 4f 66 | 54 65 78 74 20 69 6e 74 |eChunkOf|Text int|
|000050a0| 6f 20 74 68 65 46 6f 6e | 74 0d 2d 2d 20 4b 65 79 |o theFon|t.-- Key|
|000050b0| 20 6f 66 66 20 6f 66 20 | 67 72 6f 75 70 65 64 20 | off of |grouped |
|000050c0| 74 65 78 74 3a 0d 69 66 | 20 28 74 68 65 53 74 79 |text:.if| (theSty|
|000050d0| 6c 65 20 63 6f 6e 74 61 | 69 6e 73 20 22 67 72 6f |le conta|ins "gro|
|000050e0| 75 70 22 29 20 74 68 65 | 6e 0d 73 65 74 20 63 75 |up") the|n.set cu|
|000050f0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 73 65 |rsor to |watch.se|
|00005100| 6c 65 63 74 20 74 68 65 | 43 68 75 6e 6b 4f 66 54 |lect the|ChunkOfT|
|00005110| 65 78 74 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ext.lock| screen.|
|00005120| 69 66 20 28 74 68 65 53 | 74 79 6c 65 20 63 6f 6e |if (theS|tyle con|
|00005130| 74 61 69 6e 73 20 22 69 | 74 61 6c 69 63 22 29 20 |tains "i|talic") |
|00005140| 61 6e 64 20 28 74 68 65 | 46 6f 6e 74 20 69 73 20 |and (the|Font is |
|00005150| 22 4d 6f 6e 61 63 6f 22 | 29 20 74 68 65 6e 20 2d |"Monaco"|) then -|
|00005160| 2d 20 c6 0d 2d 2d 69 74 | 27 73 20 61 20 48 79 70 |- ..--it|'s a Hyp|
|00005170| 65 72 54 61 6c 6b 20 70 | 6c 61 63 65 68 6f 6c 64 |erTalk p|lacehold|
|00005180| 65 72 0d 70 75 74 20 22 | 50 6c 61 63 65 68 6f 6c |er.put "|Placehol|
|00005190| 64 65 72 3a 22 20 26 20 | 74 68 65 50 68 72 61 73 |der:" & |thePhras|
|000051a0| 65 20 69 6e 74 6f 20 74 | 68 65 43 61 72 64 0d 65 |e into t|heCard.e|
|000051b0| 6c 73 65 0d 2d 2d 69 74 | 27 73 20 61 20 6e 6f 72 |lse.--it|'s a nor|
|000051c0| 6d 61 6c 20 67 6c 6f 73 | 73 61 72 79 20 77 6f 72 |mal glos|sary wor|
|000051d0| 64 0d 70 75 74 20 22 47 | 6c 6f 73 73 61 72 79 3a |d.put "G|lossary:|
|000051e0| 22 20 26 20 74 68 65 50 | 68 72 61 73 65 20 69 6e |" & theP|hrase in|
|000051f0| 74 6f 20 74 68 65 43 61 | 72 64 0d 65 6e 64 20 69 |to theCa|rd.end i|
|00005200| 66 0d 2d 2d 20 c6 20 4c | 6f 63 61 6c 69 7a 65 3a |f.-- . L|ocalize:|
|00005210| 20 4e 61 6d 65 20 6f 66 | 20 45 78 74 72 61 73 20 | Name of| Extras |
|00005220| 73 74 61 63 6b 0d 67 6f | 20 63 61 72 64 20 74 68 |stack.go| card th|
|00005230| 65 43 61 72 64 20 6f 66 | 20 73 74 61 63 6b 20 22 |eCard of| stack "|
|00005240| 48 65 6c 70 20 45 78 74 | 72 61 73 22 20 69 6e 20 |Help Ext|ras" in |
|00005250| 61 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 65 6e 64 |a new wi|ndow.end|
|00005260| 20 69 66 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | if.unlo|ck scree|
|00005270| 6e 0d 65 6e 64 20 63 68 | 65 63 6b 41 63 74 69 76 |n.end ch|eckActiv|
|00005280| 65 54 65 78 74 0d 0d 2d | 2d 2d 2d 2d 2d 20 20 47 |eText..-|----- G|
|00005290| 45 4e 45 52 41 4c 20 48 | 41 4e 44 4c 45 52 53 20 |ENERAL H|ANDLERS |
|000052a0| 20 2d 2d 2d 2d 2d 2d 0d | 0d 6f 6e 20 72 65 73 65 | ------.|.on rese|
|000052b0| 74 4c 69 73 74 46 69 65 | 6c 64 20 66 69 65 6c 64 |tListFie|ld field|
|000052c0| 4e 61 6d 65 20 2d 2d 20 | 74 75 6e 65 64 20 74 6f |Name -- |tuned to|
|000052d0| 20 63 61 72 64 20 66 69 | 65 6c 64 73 0d 73 65 74 | card fi|elds.set|
|000052e0| 20 74 68 65 20 73 63 72 | 6f 6c 6c 20 6f 66 20 63 | the scr|oll of c|
|000052f0| 61 72 64 20 66 69 65 6c | 64 20 66 69 65 6c 64 4e |ard fiel|d fieldN|
|00005300| 61 6d 65 20 74 6f 20 30 | 0d 73 65 6c 65 63 74 20 |ame to 0|.select |
|00005310| 6c 69 6e 65 20 65 6d 70 | 74 79 20 6f 66 20 63 61 |line emp|ty of ca|
|00005320| 72 64 20 66 69 65 6c 64 | 20 66 69 65 6c 64 4e 61 |rd field| fieldNa|
|00005330| 6d 65 0d 65 6e 64 20 72 | 65 73 65 74 4c 69 73 74 |me.end r|esetList|
|00005340| 46 69 65 6c 64 0d 0d 2d | 2d 2d 2d 2d 2d 20 20 47 |Field..-|----- G|
|00005350| 45 4e 45 52 41 4c 20 46 | 55 4e 43 54 49 4f 4e 20 |ENERAL F|UNCTION |
|00005360| 48 41 4e 44 4c 45 52 53 | 20 20 2d 2d 2d 2d 2d 2d |HANDLERS| ------|
|00005370| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 72 65 6d 6f 76 |..functi|on remov|
|00005380| 65 53 70 61 63 65 4f 72 | 52 65 74 75 72 6e 20 74 |eSpaceOr|Return t|
|00005390| 68 65 54 65 78 74 0d 2d | 2d 20 72 65 6d 6f 76 65 |heText.-|- remove|
|000053a0| 73 20 73 70 61 63 65 73 | 20 26 20 72 65 74 75 72 |s spaces| & retur|
|000053b0| 6e 20 63 68 61 72 73 20 | 61 74 20 73 74 61 72 74 |n chars |at start|
|000053c0| 20 6f 72 20 65 6e 64 20 | 6f 66 20 74 68 65 20 74 | or end |of the t|
|000053d0| 65 78 74 0d 72 65 74 75 | 72 6e 20 77 6f 72 64 20 |ext.retu|rn word |
|000053e0| 31 20 74 6f 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |1 to (th|e number|
|000053f0| 20 6f 66 20 77 6f 72 64 | 73 20 6f 66 20 74 68 65 | of word|s of the|
|00005400| 54 65 78 74 29 20 6f 66 | 20 74 68 65 54 65 78 74 |Text) of| theText|
|00005410| 0d 65 6e 64 20 72 65 6d | 6f 76 65 53 70 61 63 65 |.end rem|oveSpace|
|00005420| 4f 72 52 65 74 75 72 6e | 0d 0d 66 75 6e 63 74 69 |OrReturn|..functi|
|00005430| 6f 6e 20 63 6f 6e 76 65 | 72 74 49 44 73 54 6f 54 |on conve|rtIDsToT|
|00005440| 69 74 6c 65 73 20 74 68 | 65 54 6f 70 69 63 49 44 |itles th|eTopicID|
|00005450| 73 0d 2d 2d 20 67 69 76 | 65 6e 20 61 20 6c 69 6e |s.-- giv|en a lin|
|00005460| 65 20 6f 66 20 77 6f 72 | 64 73 20 65 71 75 61 6c |e of wor|ds equal|
|00005470| 20 74 6f 20 74 68 65 20 | 63 61 72 64 20 69 64 73 | to the |card ids|
|00005480| 20 6f 66 20 74 68 65 20 | 74 6f 70 69 63 0d 2d 2d | of the |topic.--|
|00005490| 20 72 65 74 75 72 6e 73 | 20 61 20 73 6f 72 74 65 | returns| a sorte|
|000054a0| 64 20 6c 69 73 74 20 6f | 66 20 74 6f 70 69 63 73 |d list o|f topics|
|000054b0| 0d 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 74 68 |.if word| 1 of th|
|000054c0| 65 54 6f 70 69 63 49 44 | 73 20 69 73 20 65 6d 70 |eTopicID|s is emp|
|000054d0| 74 79 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 65 |ty then |return e|
|000054e0| 6d 70 74 79 0d 72 65 70 | 65 61 74 20 77 69 74 68 |mpty.rep|eat with|
|000054f0| 20 77 6f 72 64 4e 75 6d | 20 3d 20 31 20 74 6f 20 | wordNum| = 1 to |
|00005500| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 77 6f |the numb|er of wo|
|00005510| 72 64 73 20 6f 66 20 74 | 68 65 54 6f 70 69 63 49 |rds of t|heTopicI|
|00005520| 44 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |Ds.set c|ursor to|
|00005530| 20 62 75 73 79 0d 70 75 | 74 20 77 6f 72 64 20 77 | busy.pu|t word w|
|00005540| 6f 72 64 4e 75 6d 20 6f | 66 20 74 68 65 54 6f 70 |ordNum o|f theTop|
|00005550| 69 63 49 44 73 20 69 6e | 74 6f 20 74 6f 70 69 63 |icIDs in|to topic|
|00005560| 49 44 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |ID.if th|ere is a|
|00005570| 20 63 61 72 64 20 69 64 | 20 74 6f 70 69 63 49 44 | card id| topicID|
|00005580| 20 74 68 65 6e 0d 70 75 | 74 20 28 62 6b 67 6e 64 | then.pu|t (bkgnd|
|00005590| 20 66 69 65 6c 64 20 22 | 54 69 74 6c 65 22 20 6f | field "|Title" o|
|000055a0| 66 20 63 61 72 64 20 69 | 64 20 28 77 6f 72 64 20 |f card i|d (word |
|000055b0| 77 6f 72 64 4e 75 6d 20 | 6f 66 20 74 68 65 54 6f |wordNum |of theTo|
|000055c0| 70 69 63 49 44 73 29 29 | 20 c2 0d 69 6e 74 6f 20 |picIDs))| ..into |
|000055d0| 6c 69 6e 65 20 77 6f 72 | 64 4e 75 6d 20 6f 66 20 |line wor|dNum of |
|000055e0| 74 68 65 52 65 73 75 6c | 74 0d 65 6e 64 20 69 66 |theResul|t.end if|
|000055f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 73 6f 72 74 |.end rep|eat.sort|
|00005600| 20 74 68 65 52 65 73 75 | 6c 74 0d 72 65 74 75 72 | theResu|lt.retur|
|00005610| 6e 20 74 68 65 52 65 73 | 75 6c 74 0d 65 6e 64 20 |n theRes|ult.end |
|00005620| 63 6f 6e 76 65 72 74 49 | 44 73 54 6f 54 69 74 6c |convertI|DsToTitl|
|00005630| 65 73 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 74 65 78 |es..func|tion tex|
|00005640| 74 54 6f 4c 69 6e 65 4e | 75 6d 20 74 68 65 54 65 |tToLineN|um theTe|
|00005650| 78 74 2c 74 68 65 43 6f | 6e 74 61 69 6e 65 72 0d |xt,theCo|ntainer.|
|00005660| 2d 2d 20 47 69 76 65 6e | 20 73 6f 6d 65 20 74 65 |-- Given| some te|
|00005670| 78 74 20 61 6e 64 20 61 | 20 63 6f 6e 74 61 69 6e |xt and a| contain|
|00005680| 65 72 2c 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |er, retu|rns the |
|00005690| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 6c 69 |number o|f the li|
|000056a0| 6e 65 0d 2d 2d 20 6f 66 | 20 74 68 65 20 63 6f 6e |ne.-- of| the con|
|000056b0| 74 61 69 6e 65 72 20 74 | 68 61 74 20 63 6f 6e 74 |tainer t|hat cont|
|000056c0| 61 69 6e 73 20 74 68 65 | 20 63 6f 6d 70 6c 65 74 |ains the| complet|
|000056d0| 65 20 74 65 78 74 2c 20 | 6f 72 20 30 20 69 66 20 |e text, |or 0 if |
|000056e0| 6e 6f 74 20 66 6f 75 6e | 64 2e 0d 2d 2d 20 28 74 |not foun|d..-- (t|
|000056f0| 68 61 6e 6b 73 20 74 6f | 20 4b 65 6e 20 4c 61 77 |hanks to| Ken Law|
|00005700| 73 29 0d 70 75 74 20 72 | 65 74 75 72 6e 20 26 20 |s).put r|eturn & |
|00005710| 74 68 65 43 6f 6e 74 61 | 69 6e 65 72 20 26 20 72 |theConta|iner & r|
|00005720| 65 74 75 72 6e 20 69 6e | 74 6f 20 74 68 65 43 6f |eturn in|to theCo|
|00005730| 6e 74 61 69 6e 65 72 0d | 72 65 74 75 72 6e 20 74 |ntainer.|return t|
|00005740| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00005750| 65 73 20 6f 66 20 63 68 | 61 72 20 31 20 74 6f 20 |es of ch|ar 1 to |
|00005760| c2 0d 6f 66 66 73 65 74 | 28 72 65 74 75 72 6e 20 |..offset|(return |
|00005770| 26 20 74 68 65 54 65 78 | 74 20 26 20 72 65 74 75 |& theTex|t & retu|
|00005780| 72 6e 2c 74 68 65 43 6f | 6e 74 61 69 6e 65 72 29 |rn,theCo|ntainer)|
|00005790| 20 6f 66 20 74 68 65 43 | 6f 6e 74 61 69 6e 65 72 | of theC|ontainer|
|000057a0| 0d 65 6e 64 20 74 65 78 | 74 54 6f 4c 69 6e 65 4e |.end tex|tToLineN|
|000057b0| 75 6d 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6c 69 6e |um..func|tion lin|
|000057c0| 65 4f 66 66 53 65 74 20 | 73 74 72 69 6e 67 2c 20 |eOffSet |string, |
|000057d0| 73 6f 75 72 63 65 2c 20 | 73 74 61 72 74 4c 69 6e |source, |startLin|
|000057e0| 65 0d 2d 2d 20 47 69 76 | 65 6e 20 73 6f 6d 65 20 |e.-- Giv|en some |
|000057f0| 74 65 78 74 20 61 6e 64 | 20 61 20 63 6f 6e 74 61 |text and| a conta|
|00005800| 69 6e 65 72 2c 20 72 65 | 74 75 72 6e 73 20 74 68 |iner, re|turns th|
|00005810| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 61 20 6c 69 |e number| of a li|
|00005820| 6e 65 0d 2d 2d 20 6f 72 | 20 70 61 72 74 69 61 6c |ne.-- or| partial|
|00005830| 20 6c 69 6e 65 20 74 68 | 61 74 20 63 6f 6e 74 61 | line th|at conta|
|00005840| 69 6e 73 20 74 68 65 20 | 74 65 78 74 2c 20 6f 72 |ins the |text, or|
|00005850| 20 30 20 69 66 20 6e 6f | 74 20 66 6f 75 6e 64 2e | 0 if no|t found.|
|00005860| 0d 69 66 20 73 74 61 72 | 74 4c 69 6e 65 20 69 73 |.if star|tLine is|
|00005870| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|00005880| 31 20 69 6e 74 6f 20 73 | 74 61 72 74 4c 69 6e 65 |1 into s|tartLine|
|00005890| 0d 70 75 74 20 6c 69 6e | 65 20 73 74 61 72 74 4c |.put lin|e startL|
|000058a0| 69 6e 65 20 74 6f 20 28 | 74 68 65 20 6e 75 6d 62 |ine to (|the numb|
|000058b0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 73 |er of li|nes in s|
|000058c0| 6f 75 72 63 65 29 20 6f | 66 20 73 6f 75 72 63 65 |ource) o|f source|
|000058d0| 20 69 6e 74 6f 20 73 6f | 75 72 63 65 0d 72 65 74 | into so|urce.ret|
|000058e0| 75 72 6e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |urn the |number o|
|000058f0| 66 20 6c 69 6e 65 73 20 | 69 6e 20 63 68 61 72 20 |f lines |in char |
|00005900| 31 20 74 6f 20 6f 66 66 | 53 65 74 28 73 74 72 69 |1 to off|Set(stri|
|00005910| 6e 67 2c 73 6f 75 72 63 | 65 29 20 6f 66 20 73 6f |ng,sourc|e) of so|
|00005920| 75 72 63 65 0d 65 6e 64 | 20 6c 69 6e 65 4f 66 66 |urce.end| lineOff|
|00005930| 53 65 74 0d 0d 66 75 6e | 63 74 69 6f 6e 20 6c 61 |Set..fun|ction la|
|00005940| 73 74 49 74 65 6d 20 64 | 65 6c 69 6d 2c 74 68 65 |stItem d|elim,the|
|00005950| 54 65 78 74 0d 2d 2d 20 | 52 65 74 75 72 6e 73 20 |Text.-- |Returns |
|00005960| 74 68 65 20 70 6f 72 74 | 69 6f 6e 20 6f 66 20 3c |the port|ion of <|
|00005970| 74 68 65 54 65 78 74 3e | 20 74 68 61 74 20 66 6f |theText>| that fo|
|00005980| 6c 6c 6f 77 73 20 74 68 | 65 20 6c 61 73 74 20 3c |llows th|e last <|
|00005990| 64 65 6c 69 6d 3e 0d 70 | 75 74 20 74 68 65 20 69 |delim>.p|ut the i|
|000059a0| 74 65 6d 44 65 6c 69 6d | 69 74 65 72 20 69 6e 74 |temDelim|iter int|
|000059b0| 6f 20 73 61 76 65 64 44 | 65 6c 69 6d 0d 73 65 74 |o savedD|elim.set|
|000059c0| 20 74 68 65 20 69 74 65 | 6d 44 65 6c 69 6d 69 74 | the ite|mDelimit|
|000059d0| 65 72 20 74 6f 20 64 65 | 6c 69 6d 0d 70 75 74 20 |er to de|lim.put |
|000059e0| 6c 61 73 74 20 69 74 65 | 6d 20 6f 66 20 74 68 65 |last ite|m of the|
|000059f0| 54 65 78 74 20 69 6e 74 | 6f 20 74 68 65 54 65 78 |Text int|o theTex|
|00005a00| 74 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 44 65 |t.set th|e itemDe|
|00005a10| 6c 69 6d 69 74 65 72 20 | 74 6f 20 73 61 76 65 64 |limiter |to saved|
|00005a20| 44 65 6c 69 6d 0d 72 65 | 74 75 72 6e 20 74 68 65 |Delim.re|turn the|
|00005a30| 54 65 78 74 0d 65 6e 64 | 20 6c 61 73 74 49 74 65 |Text.end| lastIte|
|00005a40| 6d 0d 0d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |m..=====|========|
|00005a50| 3d 3d 3d 3d 3d 20 53 43 | 52 49 50 54 53 20 46 4f |===== SC|RIPTS FO|
|00005a60| 52 20 54 48 45 20 d2 46 | 69 6e 64 20 54 6f 70 69 |R THE .F|ind Topi|
|00005a70| 63 d3 20 43 41 52 44 20 | 20 3d 3d 3d 3d 3d 3d 3d |c. CARD | =======|
|00005a80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0d 6f 6e 20 |========|===..on |
|00005a90| 6c 6f 6f 6b 49 74 55 70 | 0d 73 65 74 20 63 75 72 |lookItUp|.set cur|
|00005aa0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 70 75 74 |sor to w|atch.put|
|00005ab0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 63 61 72 64 20 | line 1 |of card |
|00005ac0| 66 69 65 6c 64 20 22 55 | 73 65 72 20 4b 65 79 73 |field "U|ser Keys|
|00005ad0| 22 20 69 6e 74 6f 20 74 | 68 65 51 75 65 72 79 0d |" into t|heQuery.|
|00005ae0| 69 66 20 74 68 65 51 75 | 65 72 79 20 69 73 20 6e |if theQu|ery is n|
|00005af0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 6c 6f |ot empty| then.lo|
|00005b00| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 74 20 65 6d |ck scree|n.put em|
|00005b10| 70 74 79 20 69 6e 74 6f | 20 63 61 72 64 20 66 69 |pty into| card fi|
|00005b20| 65 6c 64 20 22 54 68 65 | 20 48 69 74 73 22 0d 73 |eld "The| Hits".s|
|00005b30| 65 6c 65 63 74 53 61 6d | 70 6c 65 53 75 62 6a 65 |electSam|pleSubje|
|00005b40| 63 74 20 74 68 65 51 75 | 65 72 79 0d 69 66 20 74 |ct theQu|ery.if t|
|00005b50| 68 65 51 75 65 72 79 20 | 69 73 20 22 41 6c 6c 20 |heQuery |is "All |
|00005b60| 54 6f 70 69 63 73 22 20 | 74 68 65 6e 20 2d 2d 20 |Topics" |then -- |
|00005b70| c6 0d 68 69 64 65 20 63 | 61 72 64 20 66 69 65 6c |..hide c|ard fiel|
|00005b80| 64 20 22 54 68 65 20 48 | 69 74 73 22 0d 73 68 6f |d "The H|its".sho|
|00005b90| 77 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 41 6c |w card f|ield "Al|
|00005ba0| 6c 20 54 6f 70 69 63 73 | 22 0d 72 65 73 65 74 4c |l Topics|".resetL|
|00005bb0| 69 73 74 46 69 65 6c 64 | 20 22 41 6c 6c 20 54 6f |istField| "All To|
|00005bc0| 70 69 63 73 22 0d 64 69 | 73 70 6c 61 79 4e 75 6d |pics".di|splayNum|
|00005bd0| 62 65 72 4f 66 48 69 74 | 73 20 74 68 65 20 6e 75 |berOfHit|s the nu|
|00005be0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00005bf0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 41 6c 6c | card fi|eld "All|
|00005c00| 20 54 6f 70 69 63 73 22 | 0d 65 6c 73 65 0d 73 68 | Topics"|.else.sh|
|00005c10| 6f 77 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 54 |ow card |field "T|
|00005c20| 68 65 20 48 69 74 73 22 | 0d 68 69 64 65 20 63 61 |he Hits"|.hide ca|
|00005c30| 72 64 20 66 69 65 6c 64 | 20 22 41 6c 6c 20 54 6f |rd field| "All To|
|00005c40| 70 69 63 73 22 0d 72 65 | 73 65 74 4c 69 73 74 46 |pics".re|setListF|
|00005c50| 69 65 6c 64 20 22 54 68 | 65 20 48 69 74 73 22 0d |ield "Th|e Hits".|
|00005c60| 70 75 74 20 6c 6f 6f 6b | 46 6f 72 28 74 68 65 51 |put look|For(theQ|
|00005c70| 75 65 72 79 29 20 69 6e | 74 6f 20 74 68 65 48 69 |uery) in|to theHi|
|00005c80| 74 73 0d 64 69 73 70 6c | 61 79 4e 75 6d 62 65 72 |ts.displ|ayNumber|
|00005c90| 4f 66 48 69 74 73 20 28 | 74 68 65 20 6e 75 6d 62 |OfHits (|the numb|
|00005ca0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 74 |er of li|nes of t|
|00005cb0| 68 65 48 69 74 73 29 0d | 69 66 20 74 68 65 48 69 |heHits).|if theHi|
|00005cc0| 74 73 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ts is em|pty then|
|00005cd0| 20 62 65 65 70 20 2d 2d | 20 6e 6f 74 68 69 6e 67 | beep --| nothing|
|00005ce0| 20 77 61 73 20 66 6f 75 | 6e 64 0d 65 6c 73 65 20 | was fou|nd.else |
|00005cf0| 70 75 74 20 74 68 65 48 | 69 74 73 20 69 6e 74 6f |put theH|its into|
|00005d00| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 54 68 65 | card fi|eld "The|
|00005d10| 20 48 69 74 73 22 0d 65 | 6e 64 20 69 66 0d 75 6e | Hits".e|nd if.un|
|00005d20| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|00005d30| 69 66 0d 73 65 6c 65 63 | 74 20 74 65 78 74 20 6f |if.selec|t text o|
|00005d40| 66 20 63 61 72 64 20 66 | 6c 64 20 22 55 73 65 72 |f card f|ld "User|
|00005d50| 20 4b 65 79 73 22 0d 65 | 6e 64 20 6c 6f 6f 6b 49 | Keys".e|nd lookI|
|00005d60| 74 55 70 0d 0d 6f 6e 20 | 73 65 6c 65 63 74 53 61 |tUp..on |selectSa|
|00005d70| 6d 70 6c 65 53 75 62 6a | 65 63 74 20 74 68 65 51 |mpleSubj|ect theQ|
|00005d80| 75 65 72 79 0d 70 75 74 | 20 74 68 65 20 73 63 72 |uery.put| the scr|
|00005d90| 6f 6c 6c 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |oll of c|ard fiel|
|00005da0| 64 20 22 53 61 6d 70 6c | 65 20 53 75 62 6a 65 63 |d "Sampl|e Subjec|
|00005db0| 74 73 22 20 69 6e 74 6f | 20 69 6e 69 74 53 63 72 |ts" into| initScr|
|00005dc0| 6f 6c 6c 20 2d 2d 20 b0 | b0 20 48 43 20 62 75 67 |oll -- .|. HC bug|
|00005dd0| 20 77 6f 72 6b 61 72 6f | 75 6e 64 0d 69 66 20 74 | workaro|und.if t|
|00005de0| 68 65 20 73 65 6c 65 63 | 74 65 64 54 65 78 74 20 |he selec|tedText |
|00005df0| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 53 |of card |field "S|
|00005e00| 61 6d 70 6c 65 20 53 75 | 62 6a 65 63 74 73 22 20 |ample Su|bjects" |
|00005e10| 69 73 20 6e 6f 74 20 74 | 68 65 51 75 65 72 79 20 |is not t|heQuery |
|00005e20| 74 68 65 6e 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |then.loc|k screen|
|00005e30| 20 2d 2d 20 b0 b0 0d 70 | 75 74 20 74 65 78 74 54 | -- ...p|ut textT|
|00005e40| 6f 4c 69 6e 65 4e 75 6d | 28 74 68 65 51 75 65 72 |oLineNum|(theQuer|
|00005e50| 79 2c 63 61 72 64 20 66 | 69 65 6c 64 20 22 53 61 |y,card f|ield "Sa|
|00005e60| 6d 70 6c 65 20 53 75 62 | 6a 65 63 74 73 22 29 20 |mple Sub|jects") |
|00005e70| 69 6e 74 6f 20 6c 69 6e | 65 4e 75 6d 0d 73 65 6c |into lin|eNum.sel|
|00005e80| 65 63 74 20 6c 69 6e 65 | 20 6c 69 6e 65 4e 75 6d |ect line| lineNum|
|00005e90| 20 6f 66 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 | of card| field "|
|00005ea0| 53 61 6d 70 6c 65 20 53 | 75 62 6a 65 63 74 73 22 |Sample S|ubjects"|
|00005eb0| 0d 69 66 20 6c 69 6e 65 | 4e 75 6d 20 3d 20 30 20 |.if line|Num = 0 |
|00005ec0| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 73 63 72 |then set| the scr|
|00005ed0| 6f 6c 6c 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |oll of c|ard fiel|
|00005ee0| 64 20 22 53 61 6d 70 6c | 65 20 53 75 62 6a 65 63 |d "Sampl|e Subjec|
|00005ef0| 74 73 22 20 74 6f 20 69 | 6e 69 74 53 63 72 6f 6c |ts" to i|nitScrol|
|00005f00| 6c 20 2d 2d 20 b0 b0 0d | 75 6e 6c 6f 63 6b 20 73 |l -- ...|unlock s|
|00005f10| 63 72 65 65 6e 20 2d 2d | 20 b0 b0 0d 65 6e 64 20 |creen --| ...end |
|00005f20| 69 66 0d 65 6e 64 20 73 | 65 6c 65 63 74 53 61 6d |if.end s|electSam|
|00005f30| 70 6c 65 53 75 62 6a 65 | 63 74 0d 0d 6f 6e 20 64 |pleSubje|ct..on d|
|00005f40| 69 73 70 6c 61 79 4e 75 | 6d 62 65 72 4f 66 48 69 |isplayNu|mberOfHi|
|00005f50| 74 73 20 4e 0d 70 75 74 | 20 4e 20 69 6e 74 6f 20 |ts N.put| N into |
|00005f60| 77 6f 72 64 20 33 20 6f | 66 20 63 61 72 64 20 66 |word 3 o|f card f|
|00005f70| 69 65 6c 64 20 22 54 6f | 70 69 63 73 20 46 6f 75 |ield "To|pics Fou|
|00005f80| 6e 64 22 0d 65 6e 64 20 | 64 69 73 70 6c 61 79 4e |nd".end |displayN|
|00005f90| 75 6d 62 65 72 4f 66 48 | 69 74 73 0d 0d 66 75 6e |umberOfH|its..fun|
|00005fa0| 63 74 69 6f 6e 20 6c 6f | 6f 6b 46 6f 72 20 75 73 |ction lo|okFor us|
|00005fb0| 65 72 4b 65 79 73 0d 73 | 65 74 20 63 75 72 73 6f |erKeys.s|et curso|
|00005fc0| 72 20 74 6f 20 77 61 74 | 63 68 0d 72 65 74 75 72 |r to wat|ch.retur|
|00005fd0| 6e 20 63 6f 6e 76 65 72 | 74 49 44 73 54 6f 54 69 |n conver|tIDsToTi|
|00005fe0| 74 6c 65 73 28 74 6f 70 | 69 63 4e 75 6d 62 65 72 |tles(top|icNumber|
|00005ff0| 73 28 75 73 65 72 4b 65 | 79 73 29 29 0d 65 6e 64 |s(userKe|ys)).end|
|00006000| 20 6c 6f 6f 6b 46 6f 72 | 0d 0d 66 75 6e 63 74 69 | lookFor|..functi|
|00006010| 6f 6e 20 74 6f 70 69 63 | 4e 75 6d 62 65 72 73 20 |on topic|Numbers |
|00006020| 75 73 65 72 4b 65 79 73 | 0d 70 75 74 20 65 6d 70 |userKeys|.put emp|
|00006030| 74 79 20 69 6e 74 6f 20 | 74 6f 70 69 63 4c 69 73 |ty into |topicLis|
|00006040| 74 0d 70 75 74 20 63 61 | 72 64 20 66 69 65 6c 64 |t.put ca|rd field|
|00006050| 20 22 54 68 65 73 61 75 | 72 75 73 22 20 69 6e 74 | "Thesau|rus" int|
|00006060| 6f 20 74 68 65 54 68 65 | 73 61 75 72 75 73 0d 70 |o theThe|saurus.p|
|00006070| 75 74 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 4b |ut card |field "K|
|00006080| 65 79 73 22 20 69 6e 74 | 6f 20 74 68 65 54 61 62 |eys" int|o theTab|
|00006090| 6c 65 0d 70 75 74 20 63 | 61 72 64 20 66 69 65 6c |le.put c|ard fiel|
|000060a0| 64 20 22 53 74 6f 70 20 | 4c 69 73 74 22 20 69 6e |d "Stop |List" in|
|000060b0| 74 6f 20 73 74 6f 70 4c | 69 73 74 0d 2d 2d 20 46 |to stopL|ist.-- F|
|000060c0| 69 72 73 74 20 74 72 79 | 20 74 6f 20 66 69 6e 64 |irst try| to find|
|000060d0| 20 74 68 65 20 77 68 6f | 6c 65 2c 20 65 78 61 63 | the who|le, exac|
|000060e0| 74 20 70 68 72 61 73 65 | 20 69 6e 20 74 68 65 20 |t phrase| in the |
|000060f0| 6b 65 79 20 74 61 62 6c | 65 3a 0d 67 65 74 20 67 |key tabl|e:.get g|
|00006100| 69 76 65 6e 4b 65 79 47 | 65 74 52 65 66 65 72 65 |ivenKeyG|etRefere|
|00006110| 6e 74 28 75 73 65 72 4b | 65 79 73 20 26 20 74 61 |nt(userK|eys & ta|
|00006120| 62 2c 74 68 65 54 61 62 | 6c 65 29 0d 69 66 20 69 |b,theTab|le).if i|
|00006130| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00006140| 68 65 6e 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |hen.if t|here is |
|00006150| 61 20 63 61 72 64 20 75 | 73 65 72 4b 65 79 73 0d |a card u|serKeys.|
|00006160| 74 68 65 6e 20 70 75 74 | 20 61 64 64 54 6f 70 69 |then put| addTopi|
|00006170| 63 49 44 74 6f 48 69 74 | 73 28 74 68 65 20 73 68 |cIDtoHit|s(the sh|
|00006180| 6f 72 74 20 69 64 20 6f | 66 20 63 61 72 64 20 75 |ort id o|f card u|
|00006190| 73 65 72 4b 65 79 73 2c | 69 74 29 20 69 6e 74 6f |serKeys,|it) into|
|000061a0| 20 69 74 0d 72 65 74 75 | 72 6e 20 69 74 0d 65 6e | it.retu|rn it.en|
|000061b0| 64 20 69 66 0d 2d 2d 20 | 49 74 65 72 61 74 65 20 |d if.-- |Iterate |
|000061c0| 6f 76 65 72 20 65 61 63 | 68 20 77 6f 72 64 20 26 |over eac|h word &|
|000061d0| 20 72 65 74 75 72 6e 20 | 69 6e 74 65 72 73 65 63 | return |intersec|
|000061e0| 74 69 6f 6e 20 6f 66 20 | 74 6f 70 69 63 73 20 66 |tion of |topics f|
|000061f0| 6f 75 6e 64 3a 0d 72 65 | 70 65 61 74 20 77 69 74 |ound:.re|peat wit|
|00006200| 68 20 77 6f 72 64 4e 75 | 6d 20 3d 20 31 20 74 6f |h wordNu|m = 1 to|
|00006210| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 77 | the num|ber of w|
|00006220| 6f 72 64 73 20 6f 66 20 | 75 73 65 72 4b 65 79 73 |ords of |userKeys|
|00006230| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00006240| 75 73 79 0d 70 75 74 20 | 77 6f 72 64 20 77 6f 72 |usy.put |word wor|
|00006250| 64 4e 75 6d 20 6f 66 20 | 75 73 65 72 4b 65 79 73 |dNum of |userKeys|
|00006260| 20 69 6e 74 6f 20 74 68 | 65 4b 65 79 0d 2d 2d 20 | into th|eKey.-- |
|00006270| 44 6f 6e 27 74 20 6c 6f | 6f 6b 20 66 6f 72 20 77 |Don't lo|ok for w|
|00006280| 6f 72 64 73 20 69 6e 20 | 74 68 65 20 73 74 6f 70 |ords in |the stop|
|00006290| 20 6c 69 73 74 3a 0d 69 | 66 20 74 68 65 4b 65 79 | list:.i|f theKey|
|000062a0| 20 26 20 72 65 74 75 72 | 6e 20 69 73 20 69 6e 20 | & retur|n is in |
|000062b0| 73 74 6f 70 4c 69 73 74 | 20 74 68 65 6e 20 6e 65 |stopList| then ne|
|000062c0| 78 74 20 72 65 70 65 61 | 74 0d 2d 2d 20 53 65 65 |xt repea|t.-- See|
|000062d0| 20 69 66 20 69 74 27 73 | 20 61 20 74 68 65 73 61 | if it's| a thesa|
|000062e0| 75 72 75 73 20 77 6f 72 | 64 3a 0d 67 65 74 20 67 |urus wor|d:.get g|
|000062f0| 69 76 65 6e 4b 65 79 47 | 65 74 52 65 66 65 72 65 |ivenKeyG|etRefere|
|00006300| 6e 74 28 74 68 65 4b 65 | 79 20 26 20 74 61 62 2c |nt(theKe|y & tab,|
|00006310| 74 68 65 54 68 65 73 61 | 75 72 75 73 29 0d 69 66 |theThesa|urus).if|
|00006320| 20 69 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 | it is n|ot empty|
|00006330| 20 74 68 65 6e 20 70 75 | 74 20 69 74 20 69 6e 74 | then pu|t it int|
|00006340| 6f 20 74 68 65 4b 65 79 | 0d 2d 2d 4e 6f 77 20 6c |o theKey|.--Now l|
|00006350| 6f 6f 6b 20 75 70 20 74 | 68 65 20 74 6f 70 69 63 |ook up t|he topic|
|00006360| 73 20 66 6f 72 20 74 68 | 65 20 6b 65 79 20 69 6e |s for th|e key in|
|00006370| 20 74 68 65 20 6b 65 79 | 20 74 61 62 6c 65 3a 0d | the key| table:.|
|00006380| 70 75 74 20 67 69 76 65 | 6e 4b 65 79 47 65 74 52 |put give|nKeyGetR|
|00006390| 65 66 65 72 65 6e 74 28 | 74 68 65 4b 65 79 2c 74 |eferent(|theKey,t|
|000063a0| 68 65 54 61 62 6c 65 29 | 20 69 6e 74 6f 20 61 48 |heTable)| into aH|
|000063b0| 69 74 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |it.if th|ere is a|
|000063c0| 20 63 61 72 64 20 74 68 | 65 4b 65 79 20 74 68 65 | card th|eKey the|
|000063d0| 6e 0d 70 75 74 20 61 64 | 64 54 6f 70 69 63 49 44 |n.put ad|dTopicID|
|000063e0| 74 6f 48 69 74 73 28 74 | 68 65 20 73 68 6f 72 74 |toHits(t|he short|
|000063f0| 20 69 64 20 6f 66 20 63 | 61 72 64 20 74 68 65 4b | id of c|ard theK|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.