home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 1994 January / ARPL-Jan94-Disc1of2-Partner-Edition.iso / Info Center / Personal Integrated Products / Newton Labs / Newton Lab HyperCard / Scrapbook 0 < prev    next >
MacBinary  |  1992-03-14  |  530.1 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: Scrapbook 0

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Apr 5 13:42:35 1989, modified Sat Mar 14 09:50:04 1992, creator HyperCard, type HyperCard stack, 270336 bytes "Scrapbook 0" , at 0x42080 272307 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
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 63 72 61 70 62 | 6f 6f 6b 20 30 00 00 00 |..Scrapb|ook 0...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 04 20 00 00 | 04 27 b3 a0 60 00 8b a5 |..... ..|.'..`...|
|00000060| e7 c3 1c 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 c3 5a 00 00 |........|.....Z..|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 04 20 00 | 00 00 70 00 00 00 00 00 |...... .|..p.....|
|000000a0| 00 00 00 00 00 00 00 04 | 00 00 22 62 00 00 00 05 |........|.."b....|
|000000b0| 00 00 25 35 00 00 0f fa | 00 00 00 02 00 00 d9 20 |..%5....|....... |
|000000c0| 00 00 0d c7 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| 01 22 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |."......|........|
|000000f0| e0 2c 00 26 00 00 00 00 | 00 45 00 40 01 9b 02 40 |.,.&....|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 13 29 00 00 0b 34 | 00 00 00 00 00 00 00 00 |...)...4|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 7a 80 00 00 61 80 | 00 03 a8 40 00 00 77 a0 |..z...a.|...@..w.|
|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| 2d 2d 20 53 54 41 43 4b | 3a 20 53 74 75 64 65 6e |-- STACK|: Studen|
|00000690| 74 20 53 63 72 61 70 62 | 6f 6f 6b 0d 2d 2d 20 46 |t Scrapb|ook.-- F|
|000006a0| 6f 72 20 20 72 65 73 74 | 20 6f 66 20 68 65 61 64 |or rest| of head|
|000006b0| 65 72 20 69 6e 66 6f 2c | 20 73 65 65 20 73 63 72 |er info,| see scr|
|000006c0| 69 70 74 20 6f 66 20 63 | 61 72 64 20 31 2e 20 20 |ipt of c|ard 1. |
|000006d0| 54 68 69 73 20 73 63 72 | 69 70 74 20 69 73 20 66 |This scr|ipt is f|
|000006e0| 75 6c 6c 2e 0d 0d 6f 6e | 20 6f 70 65 6e 53 74 61 |ull...on| openSta|
|000006f0| 63 6b 0d 67 6c 6f 62 61 | 6c 20 73 6e 61 70 53 74 |ck.globa|l snapSt|
|00000700| 61 63 6b 2c 73 65 74 75 | 70 4f 6b 0d 67 65 74 20 |ack,setu|pOk.get |
|00000710| 74 68 65 20 76 65 72 73 | 69 6f 6e 0d 69 66 20 69 |the vers|ion.if i|
|00000720| 74 20 3c 20 32 2e 31 20 | 74 68 65 6e 0d 61 6e 73 |t < 2.1 |then.ans|
|00000730| 77 65 72 20 22 54 68 69 | 73 20 73 74 61 63 6b 20 |wer "Thi|s stack |
|00000740| 72 65 71 75 69 72 65 73 | 20 48 79 70 65 72 43 61 |requires| HyperCa|
|00000750| 72 64 20 76 32 2e 31 20 | 6f 72 20 6c 61 74 65 72 |rd v2.1 |or later|
|00000760| 2e 22 0d 67 6f 20 62 61 | 63 6b 0d 65 78 69 74 20 |.".go ba|ck.exit |
|00000770| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 65 6e 64 |to Hyper|Card.end|
|00000780| 20 69 66 0d 69 66 20 73 | 65 74 75 70 4f 6b 20 69 | if.if s|etupOk i|
|00000790| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 66 69 6e |s empty |then fin|
|000007a0| 64 53 65 74 75 70 20 2d | 2d 20 6f 74 68 65 72 77 |dSetup -|- otherw|
|000007b0| 69 73 65 20 69 74 27 73 | 20 74 72 75 65 2c 20 63 |ise it's| true, c|
|000007c0| 6f 6e 74 69 6e 75 65 0d | 69 66 20 73 6e 61 70 53 |ontinue.|if snapS|
|000007d0| 74 61 63 6b 20 69 73 20 | 65 6d 70 74 79 20 74 68 |tack is |empty th|
|000007e0| 65 6e 20 2d 2d 2a 21 2a | 20 73 6e 61 70 73 68 6f |en --*!*| snapsho|
|000007f0| 74 20 75 73 65 73 20 73 | 70 65 63 69 61 6c 20 76 |t uses s|pecial v|
|00000800| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 0d 67 |ersion o|f this.g|
|00000810| 65 74 20 63 64 20 66 6c | 64 20 22 73 6e 61 70 73 |et cd fl|d "snaps|
|00000820| 68 6f 74 73 22 20 6f 66 | 20 63 64 20 22 69 6e 64 |hots" of| cd "ind|
|00000830| 65 78 22 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |ex".put |it into |
|00000840| 73 6e 61 70 53 74 61 63 | 6b 0d 65 6e 64 20 69 66 |snapStac|k.end if|
|00000850| 0d 68 69 64 65 20 6d 65 | 6e 75 62 61 72 0d 68 69 |.hide me|nubar.hi|
|00000860| 64 65 20 6d 73 67 0d 65 | 6e 64 20 6f 70 65 6e 53 |de msg.e|nd openS|
|00000870| 74 61 63 6b 0d 0d 6f 6e | 20 72 65 73 75 6d 65 53 |tack..on| resumeS|
|00000880| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 73 65 74 55 |tack.glo|bal setU|
|00000890| 70 4f 4b 2c 67 55 73 65 | 64 53 74 61 63 6b 73 2c |pOK,gUse|dStacks,|
|000008a0| 63 6f 75 72 73 65 0d 69 | 66 20 63 6f 75 72 73 65 |course.i|f course|
|000008b0| 20 3d 20 22 74 72 75 65 | 22 20 74 68 65 6e 0d 69 | = "true|" then.i|
|000008c0| 66 20 73 65 74 55 70 4f | 4b 20 69 73 20 65 6d 70 |f setUpO|K is emp|
|000008d0| 74 79 20 74 68 65 6e 0d | 67 6f 20 73 74 61 63 6b |ty then.|go stack|
|000008e0| 20 22 43 6f 75 72 73 65 | 22 0d 73 65 6e 64 20 6f | "Course|".send o|
|000008f0| 70 65 6e 53 74 61 63 6b | 20 74 6f 20 74 68 69 73 |penStack| to this|
|00000900| 20 63 61 72 64 0d 65 6c | 73 65 0d 6c 6f 63 6b 20 | card.el|se.lock |
|00000910| 73 63 72 65 65 6e 0d 73 | 65 74 20 63 75 72 73 6f |screen.s|et curso|
|00000920| 72 20 74 6f 20 77 61 74 | 63 68 0d 2d 2d 20 65 76 |r to wat|ch.-- ev|
|00000930| 65 72 79 74 68 69 6e 67 | 20 73 68 6f 75 6c 64 20 |erything| should |
|00000940| 62 65 20 4f 4b 2c 20 73 | 6f 20 72 65 73 75 6d 65 |be OK, s|o resume|
|00000950| 20 75 73 69 6e 67 20 4c | 47 27 73 20 73 74 61 63 | using L|G's stac|
|00000960| 6b 73 0d 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |ks.start| using s|
|00000970| 74 61 63 6b 20 28 6c 69 | 6e 65 20 32 20 6f 66 20 |tack (li|ne 2 of |
|00000980| 67 55 73 65 64 53 74 61 | 63 6b 73 29 0d 73 74 61 |gUsedSta|cks).sta|
|00000990| 72 74 20 75 73 69 6e 67 | 20 73 74 61 63 6b 20 28 |rt using| stack (|
|000009a0| 6c 69 6e 65 20 31 20 6f | 66 20 67 55 73 65 64 53 |line 1 o|f gUsedS|
|000009b0| 74 61 63 6b 73 29 0d 67 | 6f 20 74 68 69 73 20 63 |tacks).g|o this c|
|000009c0| 64 20 20 2d 2d 20 66 6f | 72 63 65 20 63 61 72 64 |d -- fo|rce card|
|000009d0| 20 74 6f 20 73 68 6f 77 | 20 69 63 6f 6e 73 2c 20 | to show| icons, |
|000009e0| 65 74 63 20 74 68 61 74 | 20 61 72 65 20 6e 6f 77 |etc that| are now|
|000009f0| 20 62 61 63 6b 20 69 6e | 20 75 73 65 0d 75 6e 6c | back in| use.unl|
|00000a00| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 69 |ock scre|en.end i|
|00000a10| 66 0d 65 6e 64 20 69 66 | 0d 70 61 73 73 20 72 65 |f.end if|.pass re|
|00000a20| 73 75 6d 65 53 74 61 63 | 6b 0d 65 6e 64 20 72 65 |sumeStac|k.end re|
|00000a30| 73 75 6d 65 53 74 61 63 | 6b 0d 0d 2d 2d 20 2a 21 |sumeStac|k..-- *!|
|00000a40| 2a 20 6d 61 72 6b 73 20 | 63 6f 75 72 73 65 2d 73 |* marks |course-s|
|00000a50| 70 65 63 69 66 69 63 20 | 69 74 65 6d 73 20 66 6f |pecific |items fo|
|00000a60| 72 20 4c 69 74 65 72 61 | 63 79 2c 41 4e 50 2c 41 |r Litera|cy,ANP,A|
|00000a70| 64 6d 69 6e 69 73 74 72 | 61 74 69 6f 6e 0d 6f 6e |dministr|ation.on|
|00000a80| 20 66 69 6e 64 53 65 74 | 55 70 20 2d 2d 20 54 68 | findSet|Up -- Th|
|00000a90| 69 73 20 76 65 72 73 69 | 6f 6e 20 66 6f 72 20 73 |is versi|on for s|
|00000aa0| 63 72 61 70 62 6f 6f 6b | 20 61 6e 64 20 73 6e 61 |crapbook| and sna|
|00000ab0| 70 73 68 6f 74 20 73 74 | 61 63 6b 73 20 2a 21 2a |pshot st|acks *!*|
|00000ac0| 0d 67 6c 6f 62 61 6c 20 | 73 65 74 75 70 4f 6b 2c |.global |setupOk,|
|00000ad0| 63 6f 75 72 73 65 2c 75 | 73 65 53 53 2c 73 63 72 |course,u|seSS,scr|
|00000ae0| 61 70 46 69 6c 65 2c 4f | 4b 74 6f 51 75 69 74 0d |apFile,O|KtoQuit.|
|00000af0| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00000b00| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00000b10| 20 69 6e 74 6f 20 6d 79 | 4e 61 6d 65 0d 69 66 20 | into my|Name.if |
|00000b20| 6d 79 4e 61 6d 65 20 69 | 73 20 22 73 63 72 61 70 |myName i|s "scrap|
|00000b30| 62 6f 6f 6b 20 30 22 20 | 6f 72 20 6d 79 4e 61 6d |book 0" |or myNam|
|00000b40| 65 20 69 73 20 22 53 6e | 61 70 73 68 6f 74 73 20 |e is "Sn|apshots |
|00000b50| 30 22 20 74 68 65 6e 0d | 73 65 74 20 6c 6f 63 6b |0" then.|set lock|
|00000b60| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 74 72 75 65 |messages| to true|
|00000b70| 20 2d 2d 20 64 69 73 61 | 62 6c 65 20 74 68 69 73 | -- disa|ble this|
|00000b80| 20 6f 70 65 6e 73 74 61 | 63 6b 20 69 66 20 41 4e | opensta|ck if AN|
|00000b90| 50 20 6e 6f 74 20 66 6f | 75 6e 64 0d 73 65 74 20 |P not fo|und.set |
|00000ba0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00000bb0| 67 6f 20 73 74 61 63 6b | 20 22 43 6f 75 72 73 65 |go stack| "Course|
|00000bc0| 22 20 2d 2d 2a 21 2a 0d | 69 66 20 74 68 65 20 72 |" --*!*.|if the r|
|00000bd0| 65 73 75 6c 74 20 69 73 | 20 22 63 61 6e 63 65 6c |esult is| "cancel|
|00000be0| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 55 |" then.a|nswer "U|
|00000bf0| 6e 61 62 6c 65 20 74 6f | 20 63 6f 6e 74 69 6e 75 |nable to| continu|
|00000c00| 65 2e 20 d2 43 6f 75 72 | 73 65 d3 20 6e 6f 74 20 |e. .Cour|se. not |
|00000c10| 66 6f 75 6e 64 2e 22 2d | 2d 2a 21 2a 0d 70 75 74 |found."-|-*!*.put|
|00000c20| 20 74 72 75 65 20 69 6e | 74 6f 20 4f 4b 74 6f 51 | true in|to OKtoQ|
|00000c30| 75 69 74 0d 64 6f 6d 65 | 6e 75 20 51 75 69 74 20 |uit.dome|nu Quit |
|00000c40| 48 79 70 65 72 63 61 72 | 64 0d 65 78 69 74 20 74 |Hypercar|d.exit t|
|00000c50| 6f 20 48 79 70 65 72 63 | 61 72 64 20 2d 2d 20 65 |o Hyperc|ard -- e|
|00000c60| 78 69 74 20 63 61 6c 6c | 69 6e 67 20 68 61 6e 64 |xit call|ing hand|
|00000c70| 6c 65 72 73 0d 65 6e 64 | 20 69 66 0d 73 65 74 20 |lers.end| if.set |
|00000c80| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|00000c90| 66 61 6c 73 65 0d 73 65 | 6e 64 20 6f 70 65 6e 53 |false.se|nd openS|
|00000ca0| 74 61 63 6b 20 74 6f 20 | 74 68 69 73 20 62 67 0d |tack to |this bg.|
|00000cb0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|00000cc0| 64 0d 65 6e 64 20 69 66 | 0d 2d 2d 20 69 66 20 74 |d.end if|.-- if t|
|00000cd0| 68 69 73 20 69 73 20 70 | 65 72 73 6f 6e 61 6c 20 |his is p|ersonal |
|00000ce0| 73 63 72 61 70 62 6f 6f | 6b 20 6f 72 20 73 6e 61 |scrapboo|k or sna|
|00000cf0| 70 73 68 6f 74 20 73 74 | 61 63 6b c9 0d 61 6e 73 |pshot st|ack..ans|
|00000d00| 77 65 72 20 22 55 73 65 | 20 53 74 75 64 65 6e 74 |wer "Use| Student|
|00000d10| 20 53 65 72 76 69 63 65 | 73 20 77 69 74 68 6f 75 | Service|s withou|
|00000d20| 74 20 74 68 65 20 63 6f | 75 72 73 65 3f 22 20 77 |t the co|urse?" w|
|00000d30| 69 74 68 c2 0d 22 4e 6f | 22 20 6f 72 20 22 59 65 |ith.."No|" or "Ye|
|00000d40| 73 22 0d 69 66 20 69 74 | 20 69 73 20 22 79 65 73 |s".if it| is "yes|
|00000d50| 22 20 74 68 65 6e 0d 67 | 65 74 20 6d 79 50 61 74 |" then.g|et myPat|
|00000d60| 68 4e 61 6d 65 28 29 0d | 70 75 74 20 69 74 20 69 |hName().|put it i|
|00000d70| 6e 74 6f 20 74 68 69 73 | 46 6f 6c 64 65 72 0d 70 |nto this|Folder.p|
|00000d80| 75 74 20 74 68 69 73 46 | 6f 6c 64 65 72 20 26 20 |ut thisF|older & |
|00000d90| 22 53 74 75 64 65 6e 74 | 20 53 63 72 61 70 62 6f |"Student| Scrapbo|
|00000da0| 6f 6b 22 20 69 6e 74 6f | 20 73 63 72 61 70 46 69 |ok" into| scrapFi|
|00000db0| 6c 65 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |le.put t|rue into|
|00000dc0| 20 73 65 74 75 70 4f 4b | 0d 70 75 74 20 66 61 6c | setupOK|.put fal|
|00000dd0| 73 65 20 69 6e 74 6f 20 | 63 6f 75 72 73 65 0d 70 |se into |course.p|
|00000de0| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 75 73 65 |ut true |into use|
|00000df0| 53 53 0d 65 6c 73 65 0d | 2d 2d 20 53 74 75 64 65 |SS.else.|-- Stude|
|00000e00| 6e 74 20 77 61 6e 74 73 | 20 74 6f 20 75 73 65 20 |nt wants| to use |
|00000e10| 74 68 65 20 63 6f 75 72 | 73 65 0d 73 65 74 20 6c |the cour|se.set l|
|00000e20| 6f 63 6b 6d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockmessa|ges to t|
|00000e30| 72 75 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |rue.set |cursor t|
|00000e40| 6f 20 77 61 74 63 68 0d | 67 6f 20 73 74 61 63 6b |o watch.|go stack|
|00000e50| 20 22 43 6f 75 72 73 65 | 22 20 2d 2d 2a 21 2a 0d | "Course|" --*!*.|
|00000e60| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00000e70| 20 22 63 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 61 | "cancel|" then.a|
|00000e80| 6e 73 77 65 72 20 22 55 | 6e 61 62 6c 65 20 74 6f |nswer "U|nable to|
|00000e90| 20 63 6f 6e 74 69 6e 75 | 65 2e 20 d2 43 6f 75 72 | continu|e. .Cour|
|00000ea0| 73 65 d3 20 6e 6f 74 20 | 66 6f 75 6e 64 2e 22 20 |se. not |found." |
|00000eb0| 2d 2d 2a 21 2a 0d 70 75 | 74 20 74 72 75 65 20 69 |--*!*.pu|t true i|
|00000ec0| 6e 74 6f 20 4f 4b 74 6f | 51 75 69 74 0d 64 6f 6d |nto OKto|Quit.dom|
|00000ed0| 65 6e 75 20 51 75 69 74 | 20 48 79 70 65 72 63 61 |enu Quit| Hyperca|
|00000ee0| 72 64 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |rd.exit |to Hyper|
|00000ef0| 63 61 72 64 20 2d 2d 20 | 65 78 69 74 20 63 61 6c |card -- |exit cal|
|00000f00| 6c 69 6e 67 20 68 61 6e | 64 6c 65 72 73 0d 65 6e |ling han|dlers.en|
|00000f10| 64 20 69 66 0d 73 65 74 | 20 6c 6f 63 6b 6d 65 73 |d if.set| lockmes|
|00000f20| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 73 |sages to| false.s|
|00000f30| 65 6e 64 20 6f 70 65 6e | 53 74 61 63 6b 20 74 6f |end open|Stack to|
|00000f40| 20 74 68 69 73 20 62 67 | 0d 65 78 69 74 20 74 6f | this bg|.exit to|
|00000f50| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6e 64 20 69 | HyperCa|rd.end i|
|00000f60| 66 0d 65 6e 64 20 66 69 | 6e 64 53 65 74 55 50 0d |f.end fi|ndSetUP.|
|00000f70| 0d 2d 2d a5 a5 20 53 74 | 75 64 65 6e 74 53 65 72 |.--.. St|udentSer|
|00000f80| 76 69 63 65 73 20 70 61 | 63 6b 61 67 65 0d 2d 2d |vices pa|ckage.--|
|00000f90| 20 76 65 72 73 69 6f 6e | 20 31 2e 30 66 34 0d 0d | version| 1.0f4..|
|00000fa0| 6f 6e 20 53 53 70 6f 70 | 55 70 0d 67 6c 6f 62 61 |on SSpop|Up.globa|
|00000fb0| 6c 20 75 73 65 53 53 2c | 63 6f 75 72 73 65 0d 73 |l useSS,|course.s|
|00000fc0| 65 74 20 68 69 6c 69 74 | 65 20 6f 66 20 74 68 65 |et hilit|e of the|
|00000fd0| 20 74 61 72 67 65 74 20 | 74 6f 20 74 72 75 65 0d | target |to true.|
|00000fe0| 67 65 74 20 6b 50 6f 70 | 55 70 28 22 69 6e 69 74 |get kPop|Up("init|
|00000ff0| 22 2c 39 39 39 29 20 2d | 2d 20 63 72 65 61 74 65 |",999) -|- create|
|00001000| 73 20 6d 65 6e 75 20 69 | 6e 20 6d 65 6d 6f 72 79 |s menu i|n memory|
|00001010| 0d 2d 2d 20 22 28 22 20 | 69 73 20 6d 65 74 61 20 |.-- "(" |is meta |
|00001020| 63 68 61 72 61 63 74 65 | 72 20 66 6f 72 20 64 69 |characte|r for di|
|00001030| 73 61 62 6c 65 20 69 74 | 65 6d 2e 0d 69 66 20 75 |sable it|em..if u|
|00001040| 73 65 53 53 20 74 68 65 | 6e 0d 67 65 74 20 74 68 |seSS the|n.get th|
|00001050| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00001060| 74 68 69 73 20 73 74 61 | 63 6b 0d 69 66 20 28 69 |this sta|ck.if (i|
|00001070| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 73 63 72 61 |t contai|ns "scra|
|00001080| 70 62 6f 6f 4b 22 29 20 | 6f 72 20 28 69 74 20 63 |pbooK") |or (it c|
|00001090| 6f 6e 74 61 69 6e 73 20 | 22 73 6e 61 70 73 68 6f |ontains |"snapsho|
|000010a0| 74 22 29 20 74 68 65 6e | 0d 70 75 74 20 22 4d 61 |t") then|.put "Ma|
|000010b0| 69 6e 4d 65 6e 75 3b 22 | 20 26 20 22 28 22 20 26 |inMenu;"| & "(" &|
|000010c0| 20 22 42 6f 6f 6b 4d 61 | 72 6b c9 3b 22 20 26 20 | "BookMa|rk.;" & |
|000010d0| 22 28 22 20 26 20 22 4e | 6f 74 65 c9 3b 22 20 26 |"(" & "N|ote.;" &|
|000010e0| c2 0d 22 28 22 20 26 20 | 22 53 6e 61 70 53 68 6f |.."(" & |"SnapSho|
|000010f0| 74 c9 3b 49 6e 64 65 78 | 3b 53 63 72 61 70 62 6f |t.;Index|;Scrapbo|
|00001100| 6f 6b 3b 22 20 26 c2 0d | 22 52 65 66 20 47 75 69 |ok;" &..|"Ref Gui|
|00001110| 64 65 c9 3b 47 6c 6f 73 | 73 61 72 79 3b 51 75 69 |de.;Glos|sary;Qui|
|00001120| 74 c9 22 20 69 6e 74 6f | 20 63 68 6f 69 63 65 0d |t." into| choice.|
|00001130| 65 6c 73 65 0d 70 75 74 | 20 22 4d 61 69 6e 4d 65 |else.put| "MainMe|
|00001140| 6e 75 3b 42 6f 6f 6b 4d | 61 72 6b c9 3b 4e 6f 74 |nu;BookM|ark.;Not|
|00001150| 65 c9 3b 53 6e 61 70 53 | 68 6f 74 c9 3b 49 6e 64 |e.;SnapS|hot.;Ind|
|00001160| 65 78 3b 53 63 72 61 70 | 62 6f 6f 6b 3b 22 20 26 |ex;Scrap|book;" &|
|00001170| c2 0d 22 52 65 66 20 47 | 75 69 64 65 c9 3b 47 6c |.."Ref G|uide.;Gl|
|00001180| 6f 73 73 61 72 79 3b 51 | 75 69 74 c9 22 20 69 6e |ossary;Q|uit." in|
|00001190| 74 6f 20 63 68 6f 69 63 | 65 0d 65 6e 64 20 69 66 |to choic|e.end if|
|000011a0| 0d 65 6c 73 65 0d 70 75 | 74 20 22 4d 61 69 6e 4d |.else.pu|t "MainM|
|000011b0| 65 6e 75 3b 22 20 26 20 | 22 28 22 20 26 20 22 42 |enu;" & |"(" & "B|
|000011c0| 6f 6f 6b 4d 61 72 6b c9 | 3b 22 20 26 20 22 28 22 |ookMark.|;" & "("|
|000011d0| 20 26 20 22 4e 6f 74 65 | c9 3b 22 20 26 c2 0d 22 | & "Note|.;" &.."|
|000011e0| 28 22 20 26 20 22 53 6e | 61 70 53 68 6f 74 c9 3b |(" & "Sn|apShot.;|
|000011f0| 22 20 26 20 22 28 22 20 | 26 20 22 49 6e 64 65 78 |" & "(" |& "Index|
|00001200| 3b 22 20 26 20 22 28 22 | 20 26 20 22 53 63 72 61 |;" & "("| & "Scra|
|00001210| 70 62 6f 6f 6b 3b 22 20 | 26 c2 0d 22 52 65 66 20 |pbook;" |&.."Ref |
|00001220| 47 75 69 64 65 c9 3b 47 | 6c 6f 73 73 61 72 79 3b |Guide.;G|lossary;|
|00001230| 51 75 69 74 c9 22 20 69 | 6e 74 6f 20 63 68 6f 69 |Quit." i|nto choi|
|00001240| 63 65 0d 65 6e 64 20 69 | 66 0d 69 66 20 6e 6f 74 |ce.end i|f.if not|
|00001250| 20 63 6f 75 72 73 65 20 | 74 68 65 6e 20 2d 2d 20 | course |then -- |
|00001260| 6e 65 65 64 65 64 20 66 | 6f 72 20 73 63 72 61 70 |needed f|or scrap|
|00001270| 62 6f 6f 6b 20 26 20 73 | 6e 61 70 73 20 73 63 72 |book & s|naps scr|
|00001280| 69 70 74 73 20 6f 6e 6c | 79 0d 70 75 74 20 22 28 |ipts onl|y.put "(|
|00001290| 22 20 26 20 22 4d 61 69 | 6e 4d 65 6e 75 3b 22 20 |" & "Mai|nMenu;" |
|000012a0| 26 20 22 28 22 20 26 20 | 22 42 6f 6f 6b 4d 61 72 |& "(" & |"BookMar|
|000012b0| 6b c9 3b 22 20 26 20 22 | 28 22 20 26 20 22 4e 6f |k.;" & "|(" & "No|
|000012c0| 74 65 c9 3b 22 20 26 c2 | 0d 22 28 22 20 26 20 22 |te.;" &.|."(" & "|
|000012d0| 53 6e 61 70 53 68 6f 74 | c9 3b 49 6e 64 65 78 3b |SnapShot|.;Index;|
|000012e0| 53 63 72 61 70 62 6f 6f | 6b 3b 22 20 26 c2 0d 22 |Scrapboo|k;" &.."|
|000012f0| 52 65 66 20 47 75 69 64 | 65 c9 3b 47 6c 6f 73 73 |Ref Guid|e.;Gloss|
|00001300| 61 72 79 3b 51 75 69 74 | c9 22 20 69 6e 74 6f 20 |ary;Quit|." into |
|00001310| 63 68 6f 69 63 65 0d 65 | 6e 64 20 69 66 0d 0d 67 |choice.e|nd if..g|
|00001320| 65 74 20 6b 50 6f 70 55 | 70 28 22 61 70 70 65 6e |et kPopU|p("appen|
|00001330| 64 22 2c 39 39 39 2c 63 | 68 6f 69 63 65 29 20 2d |d",999,c|hoice) -|
|00001340| 2d 20 39 39 39 20 69 73 | 20 72 65 66 65 72 65 6e |- 999 is| referen|
|00001350| 63 65 20 23 0d 2d 2d 20 | 70 6f 70 75 70 20 6d 65 |ce #.-- |popup me|
|00001360| 6e 75 20 64 6f 65 73 6e | 27 74 20 73 68 6f 77 20 |nu doesn|'t show |
|00001370| 79 65 74 0d 67 65 74 20 | 6b 50 6f 70 55 70 28 22 |yet.get |kPopUp("|
|00001380| 70 6f 70 22 2c 39 39 39 | 2c 31 2c 62 6f 74 74 6f |pop",999|,1,botto|
|00001390| 6d 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 2c |m of the| target,|
|000013a0| 6c 65 66 74 20 6f 66 20 | 74 68 65 20 74 61 72 67 |left of |the targ|
|000013b0| 65 74 20 2b 20 31 29 0d | 2d 2d 20 70 6f 70 20 72 |et + 1).|-- pop r|
|000013c0| 65 74 75 72 6e 73 20 49 | 44 20 6e 75 6d 62 65 72 |eturns I|D number|
|000013d0| 20 6f 66 20 6d 65 6e 75 | 2c 20 6e 75 6d 62 65 72 | of menu|, number|
|000013e0| 20 6f 66 20 69 74 65 6d | 20 73 65 6c 65 63 74 65 | of item| selecte|
|000013f0| 64 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |d.set cu|rsor to |
|00001400| 77 61 74 63 68 0d 70 75 | 74 20 6b 50 6f 70 55 70 |watch.pu|t kPopUp|
|00001410| 28 22 47 65 74 49 74 65 | 6d 22 2c 69 74 65 6d 20 |("GetIte|m",item |
|00001420| 31 20 6f 66 20 69 74 2c | 69 74 65 6d 20 32 20 6f |1 of it,|item 2 o|
|00001430| 66 20 69 74 29 20 69 6e | 74 6f 20 63 6f 6d 6d 61 |f it) in|to comma|
|00001440| 6e 64 0d 2d 2d 20 72 65 | 74 75 72 6e 73 20 74 65 |nd.-- re|turns te|
|00001450| 78 74 20 6f 66 20 69 74 | 65 6d 0d 67 65 74 20 6b |xt of it|em.get k|
|00001460| 50 6f 70 55 70 28 22 74 | 6f 73 73 22 2c 39 39 39 |PopUp("t|oss",999|
|00001470| 29 20 2d 2d 20 72 65 6d | 6f 76 65 20 6d 65 6e 75 |) -- rem|ove menu|
|00001480| 20 66 72 6f 6d 20 6d 65 | 6d 6f 72 79 0d 73 65 74 | from me|mory.set|
|00001490| 20 68 69 6c 69 74 65 20 | 6f 66 20 74 68 65 20 74 | hilite |of the t|
|000014a0| 61 72 67 65 74 20 74 6f | 20 66 61 6c 73 65 0d 69 |arget to| false.i|
|000014b0| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 63 |f last c|har of c|
|000014c0| 6f 6d 6d 61 6e 64 20 69 | 73 20 22 c9 22 20 74 68 |ommand i|s "." th|
|000014d0| 65 6e 20 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |en delet|e last c|
|000014e0| 68 61 72 20 6f 66 20 63 | 6f 6d 6d 61 6e 64 0d 69 |har of c|ommand.i|
|000014f0| 66 20 22 20 22 20 69 73 | 20 69 6e 20 63 6f 6d 6d |f " " is| in comm|
|00001500| 61 6e 64 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |and then| delete |
|00001510| 63 68 61 72 20 6f 66 66 | 73 65 74 28 22 20 22 2c |char off|set(" ",|
|00001520| 63 6f 6d 6d 61 6e 64 29 | 20 6f 66 20 63 6f 6d 6d |command)| of comm|
|00001530| 61 6e 64 20 20 2d 2d 20 | 74 61 6b 65 20 73 70 61 |and -- |take spa|
|00001540| 63 65 20 6f 75 74 20 6f | 66 20 22 52 65 66 20 47 |ce out o|f "Ref G|
|00001550| 75 69 64 65 22 0d 2d 2d | 20 44 6f 6e 27 74 20 75 |uide".--| Don't u|
|00001560| 73 65 20 22 71 75 69 74 | 22 20 2d 2d 20 70 6f 74 |se "quit|" -- pot|
|00001570| 65 6e 74 69 61 6c 20 63 | 6f 6e 66 6c 69 63 74 73 |ential c|onflicts|
|00001580| 20 77 69 74 68 20 68 6f | 6d 65 20 73 63 72 69 70 | with ho|me scrip|
|00001590| 74 73 0d 69 66 20 63 6f | 6d 6d 61 6e 64 20 3d 20 |ts.if co|mmand = |
|000015a0| 22 71 75 69 74 22 20 74 | 68 65 6e 20 70 75 74 20 |"quit" t|hen put |
|000015b0| 53 53 51 75 69 74 20 69 | 6e 74 6f 20 63 6f 6d 6d |SSQuit i|nto comm|
|000015c0| 61 6e 64 0d 63 68 65 63 | 6b 42 6f 6f 6b 6d 61 72 |and.chec|kBookmar|
|000015d0| 6b 20 63 6f 6d 6d 61 6e | 64 0d 69 66 20 63 6f 6d |k comman|d.if com|
|000015e0| 6d 61 6e 64 20 ad 20 22 | 6e 6f 73 75 63 68 20 6d |mand . "|nosuch m|
|000015f0| 65 6e 75 22 20 74 68 65 | 6e 0d 64 6f 20 63 6f 6d |enu" the|n.do com|
|00001600| 6d 61 6e 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |mand.end| if.end |
|00001610| 53 53 70 6f 70 55 70 0d | 0d 6f 6e 20 64 6f 53 53 |SSpopUp.|.on doSS|
|00001620| 0d 67 6c 6f 62 61 6c 20 | 73 63 72 61 70 46 69 6c |.global |scrapFil|
|00001630| 65 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |e.if the| short n|
|00001640| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00001650| 6b 20 63 6f 6e 74 61 69 | 6e 73 20 22 73 63 72 61 |k contai|ns "scra|
|00001660| 70 62 6f 6f 6b 22 20 74 | 68 65 6e 0d 73 65 6e 64 |pbook" t|hen.send|
|00001670| 20 64 6f 53 53 20 74 6f | 20 62 67 20 31 20 2d 2d | doSS to| bg 1 --|
|00001680| 20 73 63 72 69 70 74 20 | 69 73 20 74 68 65 72 65 | script |is there|
|00001690| 2c 20 73 68 6f 72 74 63 | 75 74 20 68 65 69 72 61 |, shortc|ut heira|
|000016a0| 72 63 68 79 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |rchy.exi|t to Hyp|
|000016b0| 65 72 43 61 72 64 0d 65 | 6e 64 20 69 66 0d 6c 6f |erCard.e|nd if.lo|
|000016c0| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 73 68 20 63 |ck scree|n.push c|
|000016d0| 61 72 64 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 |ard.set |lockmess|
|000016e0| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 73 65 74 |ages to |true.set|
|000016f0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00001700| 0d 67 6f 20 73 74 61 63 | 6b 20 73 63 72 61 70 46 |.go stac|k scrapF|
|00001710| 69 6c 65 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |ile.if t|he resul|
|00001720| 74 20 69 73 20 22 63 61 | 6e 63 65 6c 22 20 74 68 |t is "ca|ncel" th|
|00001730| 65 6e 20 70 6f 70 42 61 | 63 6b 0d 2d 2d 20 63 61 |en popBa|ck.-- ca|
|00001740| 6c 6c 20 77 69 74 68 20 | 4c 69 74 65 72 61 63 79 |ll with |Literacy|
|00001750| 2c 20 41 4e 50 2c 20 6f | 72 20 41 64 6d 69 6e 69 |, ANP, o|r Admini|
|00001760| 73 74 72 61 74 69 6f 6e | 20 66 72 6f 6d 20 63 6f |stration| from co|
|00001770| 75 72 73 65 73 20 2a 21 | 2a 0d 2d 2d 20 63 61 6c |urses *!|*.-- cal|
|00001780| 6c 20 77 69 74 68 20 22 | 73 63 72 61 70 62 6f 6f |l with "|scrapboo|
|00001790| 6b 22 20 66 72 6f 6d 20 | 73 6e 61 70 73 68 6f 74 |k" from |snapshot|
|000017a0| 73 20 6f 72 20 73 63 72 | 61 70 62 6f 6f 6b 20 2a |s or scr|apbook *|
|000017b0| 21 2a 0d 70 75 74 20 53 | 53 44 69 61 6c 6f 67 28 |!*.put S|SDialog(|
|000017c0| 22 53 63 72 61 70 62 6f | 6f 6b 22 29 20 69 6e 74 |"Scrapbo|ok") int|
|000017d0| 6f 20 63 6f 6d 6d 61 6e | 64 20 2d 2d 2a 21 2a 0d |o comman|d --*!*.|
|000017e0| 70 6f 70 20 63 61 72 64 | 0d 75 6e 6c 6f 63 6b 20 |pop card|.unlock |
|000017f0| 73 63 72 65 65 6e 0d 73 | 65 74 20 6c 6f 63 6b 6d |screen.s|et lockm|
|00001800| 65 73 73 61 67 65 73 20 | 74 6f 20 66 61 6c 73 65 |essages |to false|
|00001810| 0d 63 68 65 63 6b 42 6f | 6f 6b 6d 61 72 6b 20 63 |.checkBo|okmark c|
|00001820| 6f 6d 6d 61 6e 64 0d 2d | 2d 20 44 6f 6e 27 74 20 |ommand.-|- Don't |
|00001830| 75 73 65 20 22 71 75 69 | 74 22 20 2d 2d 20 70 6f |use "qui|t" -- po|
|00001840| 74 65 6e 74 69 61 6c 20 | 63 6f 6e 66 6c 69 63 74 |tential |conflict|
|00001850| 73 20 77 69 74 68 20 68 | 6f 6d 65 20 73 63 72 69 |s with h|ome scri|
|00001860| 70 74 73 0d 69 66 20 63 | 6f 6d 6d 61 6e 64 20 3d |pts.if c|ommand =|
|00001870| 20 22 71 75 69 74 22 20 | 74 68 65 6e 20 70 75 74 | "quit" |then put|
|00001880| 20 53 53 51 75 69 74 20 | 69 6e 74 6f 20 63 6f 6d | SSQuit |into com|
|00001890| 6d 61 6e 64 0d 69 66 20 | 63 6f 6d 6d 61 6e 64 20 |mand.if |command |
|000018a0| 3d 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |= "Cance|l" then |
|000018b0| 65 78 69 74 20 64 6f 53 | 53 0d 65 6c 73 65 20 64 |exit doS|S.else d|
|000018c0| 6f 20 63 6f 6d 6d 61 6e | 64 0d 65 6e 64 20 64 6f |o comman|d.end do|
|000018d0| 53 53 0d 0d 6f 6e 20 63 | 68 65 63 6b 42 6f 6f 6b |SS..on c|heckBook|
|000018e0| 6d 61 72 6b 20 63 6f 6d | 6d 61 6e 64 0d 67 6c 6f |mark com|mand.glo|
|000018f0| 62 61 6c 20 75 73 65 53 | 53 0d 69 66 20 77 68 65 |bal useS|S.if whe|
|00001900| 72 65 41 6d 49 28 29 20 | 74 68 65 6e 20 65 78 69 |reAmI() |then exi|
|00001910| 74 20 63 68 65 63 6b 42 | 6f 6f 6b 4d 61 72 6b 0d |t checkB|ookMark.|
|00001920| 69 66 20 6e 6f 74 20 75 | 73 65 53 53 20 74 68 65 |if not u|seSS the|
|00001930| 6e 20 65 78 69 74 20 63 | 68 65 63 6b 42 6f 6f 6b |n exit c|heckBook|
|00001940| 4d 61 72 6b 0d 69 66 20 | 63 6f 6d 6d 61 6e 64 20 |Mark.if |command |
|00001950| 3d 20 22 4d 61 69 6e 4d | 65 6e 75 22 20 6f 72 20 |= "MainM|enu" or |
|00001960| 63 6f 6d 6d 61 6e 64 20 | 3d 20 22 49 6e 64 65 78 |command |= "Index|
|00001970| 22 c2 0d 6f 72 20 63 6f | 6d 6d 61 6e 64 20 3d 20 |"..or co|mmand = |
|00001980| 22 53 63 72 61 70 62 6f | 6f 6b 22 20 6f 72 20 63 |"Scrapbo|ok" or c|
|00001990| 6f 6d 6d 61 6e 64 20 3d | 20 22 4d 61 70 22 c2 0d |ommand =| "Map"..|
|000019a0| 6f 72 20 63 6f 6d 6d 61 | 6e 64 20 3d 20 22 47 6c |or comma|nd = "Gl|
|000019b0| 6f 73 73 61 72 79 22 20 | 74 68 65 6e 20 61 73 6b |ossary" |then ask|
|000019c0| 42 6f 6f 6b 6d 61 72 6b | 20 63 6f 6d 6d 61 6e 64 |Bookmark| command|
|000019d0| 0d 65 6e 64 20 63 68 65 | 63 6b 42 6f 6f 6b 6d 61 |.end che|ckBookma|
|000019e0| 72 6b 0d 0d 6f 6e 20 61 | 73 6b 42 6f 6f 6b 6d 61 |rk..on a|skBookma|
|000019f0| 72 6b 20 63 6f 6d 6d 61 | 6e 64 0d 67 6c 6f 62 61 |rk comma|nd.globa|
|00001a00| 6c 20 62 6f 6f 6b 6d 61 | 72 6b 50 72 65 66 0d 69 |l bookma|rkPref.i|
|00001a10| 66 20 62 6f 6f 6b 6d 61 | 72 6b 50 72 65 66 20 74 |f bookma|rkPref t|
|00001a20| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 72 65 61 |hen.answ|er "Crea|
|00001a30| 74 65 20 42 6f 6f 6b 6d | 61 72 6b 20 62 65 66 6f |te Bookm|ark befo|
|00001a40| 72 65 20 67 6f 69 6e 67 | 20 74 6f 22 20 26 26 20 |re going| to" && |
|00001a50| 63 6f 6d 6d 61 6e 64 20 | 26 c2 0d 22 3f 22 20 77 |command |&.."?" w|
|00001a60| 69 74 68 20 22 43 61 6e | 63 65 6c 22 20 6f 72 20 |ith "Can|cel" or |
|00001a70| 22 4a 75 73 74 20 67 6f | 22 20 6f 72 20 22 42 6f |"Just go|" or "Bo|
|00001a80| 6f 6b 6d 61 72 6b 22 0d | 65 6c 73 65 0d 61 6e 73 |okmark".|else.ans|
|00001a90| 77 65 72 20 22 43 72 65 | 61 74 65 20 42 6f 6f 6b |wer "Cre|ate Book|
|00001aa0| 6d 61 72 6b 20 62 65 66 | 6f 72 65 20 67 6f 69 6e |mark bef|ore goin|
|00001ab0| 67 20 74 6f 22 20 26 26 | 20 63 6f 6d 6d 61 6e 64 |g to" &&| command|
|00001ac0| 20 26 c2 0d 22 3f 22 20 | 77 69 74 68 20 22 43 61 | &.."?" |with "Ca|
|00001ad0| 6e 63 65 6c 22 20 6f 72 | 20 22 42 6f 6f 6b 6d 61 |ncel" or| "Bookma|
|00001ae0| 72 6b 22 20 6f 72 20 22 | 4a 75 73 74 20 67 6f 22 |rk" or "|Just go"|
|00001af0| 0d 65 6e 64 20 69 66 0d | 69 66 20 69 74 20 69 73 |.end if.|if it is|
|00001b00| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 20 65 | "Cancel|" then e|
|00001b10| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|00001b20| 0d 69 66 20 69 74 20 69 | 73 20 22 6a 75 73 74 20 |.if it i|s "just |
|00001b30| 67 6f 22 20 74 68 65 6e | 20 70 75 74 20 66 61 6c |go" then| put fal|
|00001b40| 73 65 20 69 6e 74 6f 20 | 62 6f 6f 6b 6d 61 72 6b |se into |bookmark|
|00001b50| 50 72 65 66 0d 69 66 20 | 69 74 20 69 73 20 22 42 |Pref.if |it is "B|
|00001b60| 6f 6f 6b 6d 61 72 6b 22 | 20 74 68 65 6e 0d 70 75 |ookmark"| then.pu|
|00001b70| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 62 6f 6f 6b |t true i|nto book|
|00001b80| 6d 61 72 6b 50 72 65 66 | 0d 62 6f 6f 6b 6d 61 72 |markPref|.bookmar|
|00001b90| 6b 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 61 73 6b |k.end if|.end ask|
|00001ba0| 42 6f 6f 6b 6d 61 72 6b | 0d 0d 6f 6e 20 48 65 6c |Bookmark|..on Hel|
|00001bb0| 70 0d 67 6c 6f 62 61 6c | 20 63 6f 75 72 73 65 0d |p.global| course.|
|00001bc0| 69 66 20 6e 6f 74 20 63 | 6f 75 72 73 65 20 74 68 |if not c|ourse th|
|00001bd0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 48 65 6c 70 20 |en.answe|r "Help |
|00001be0| 69 73 20 6e 6f 74 20 61 | 76 61 69 6c 61 62 6c 65 |is not a|vailable|
|00001bf0| 20 77 69 74 68 6f 75 74 | 20 74 68 65 20 63 6f 75 | without| the cou|
|00001c00| 72 73 65 2e 22 0d 65 78 | 69 74 20 68 65 6c 70 0d |rse.".ex|it help.|
|00001c10| 65 6e 64 20 69 66 0d 6c | 6f 63 6b 20 73 63 72 65 |end if.l|ock scre|
|00001c20| 65 6e 0d 73 61 76 65 4d | 79 50 6c 61 63 65 0d 73 |en.saveM|yPlace.s|
|00001c30| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00001c40| 63 68 0d 67 6f 20 73 74 | 61 63 6b 20 22 43 6f 75 |ch.go st|ack "Cou|
|00001c50| 72 73 65 20 48 65 6c 70 | 22 0d 69 66 20 74 68 65 |rse Help|".if the|
|00001c60| 20 72 65 73 75 6c 74 20 | 69 73 20 22 63 61 6e 63 | result |is "canc|
|00001c70| 65 6c 22 20 74 68 65 6e | 20 67 6f 42 61 63 6b 57 |el" then| goBackW|
|00001c80| 68 65 72 65 20 2d 2d 20 | 65 78 69 74 73 0d 68 69 |here -- |exits.hi|
|00001c90| 64 65 20 63 64 20 70 69 | 63 74 0d 75 6e 6c 6f 63 |de cd pi|ct.unloc|
|00001ca0| 6b 20 73 63 72 65 65 6e | 20 77 69 74 68 20 76 69 |k screen| with vi|
|00001cb0| 73 75 61 6c 20 64 69 73 | 73 6f 6c 76 65 0d 77 61 |sual dis|solve.wa|
|00001cc0| 69 74 20 33 30 0d 73 68 | 6f 77 20 63 64 20 70 69 |it 30.sh|ow cd pi|
|00001cd0| 63 74 0d 65 6e 64 20 48 | 65 6c 70 0d 0d 6f 6e 20 |ct.end H|elp..on |
|00001ce0| 4d 61 69 6e 4d 65 6e 75 | 0d 6c 6f 63 6b 20 73 63 |MainMenu|.lock sc|
|00001cf0| 72 65 65 6e 0d 73 65 74 | 20 4c 6f 63 6b 4d 65 73 |reen.set| LockMes|
|00001d00| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 73 65 |sages to| true.se|
|00001d10| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00001d20| 68 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |h.if the|re is a |
|00001d30| 73 74 61 63 6b 20 22 49 | 6e 73 74 72 75 63 74 6f |stack "I|nstructo|
|00001d40| 72 20 4d 61 69 6e 20 4d | 65 6e 75 22 20 74 68 65 |r Main M|enu" the|
|00001d50| 6e 20 67 6f 20 63 64 20 | 69 64 20 37 36 33 31 20 |n go cd |id 7631 |
|00001d60| 6f 66 20 73 74 61 63 6b | 20 22 49 6e 73 74 72 75 |of stack| "Instru|
|00001d70| 63 74 6f 72 20 4d 61 69 | 6e 20 4d 65 6e 75 22 0d |ctor Mai|n Menu".|
|00001d80| 65 6c 73 65 20 67 6f 20 | 63 64 20 69 64 20 37 36 |else go |cd id 76|
|00001d90| 33 31 20 6f 66 20 73 74 | 61 63 6b 20 22 53 74 75 |31 of st|ack "Stu|
|00001da0| 64 65 6e 74 20 4d 61 69 | 6e 20 4d 65 6e 75 22 0d |dent Mai|n Menu".|
|00001db0| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00001dc0| 20 74 6f 20 66 61 6c 73 | 65 0d 75 6e 6c 6f 63 6b | to fals|e.unlock|
|00001dd0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|00001de0| 75 61 6c 20 64 69 73 73 | 6f 6c 76 65 0d 65 6e 64 |ual diss|olve.end|
|00001df0| 20 4d 61 69 6e 4d 65 6e | 75 0d 0d 6f 6e 20 53 53 | MainMen|u..on SS|
|00001e00| 51 75 69 74 0d 67 6c 6f | 62 61 6c 20 67 53 79 73 |Quit.glo|bal gSys|
|00001e10| 74 65 6d 46 69 6c 65 2c | 75 73 65 53 53 2c 6d 61 |temFile,|useSS,ma|
|00001e20| 70 54 72 61 63 6b 65 72 | 2c 6d 65 6e 75 48 69 6c |pTracker|,menuHil|
|00001e30| 69 74 65 73 2c 63 6f 75 | 72 73 65 0d 67 6c 6f 62 |ites,cou|rse.glob|
|00001e40| 61 6c 20 62 6f 6f 6b 6d | 61 72 6b 50 72 65 66 2c |al bookm|arkPref,|
|00001e50| 77 68 65 72 65 77 65 63 | 61 6d 65 66 72 6f 6d 2c |wherewec|amefrom,|
|00001e60| 4f 4b 74 6f 51 75 69 74 | 2c 73 63 72 61 70 46 69 |OKtoQuit|,scrapFi|
|00001e70| 6c 65 0d 70 75 74 20 77 | 68 65 72 65 41 6d 49 28 |le.put w|hereAmI(|
|00001e80| 29 20 69 6e 74 6f 20 66 | 72 6f 6d 53 63 72 61 70 |) into f|romScrap|
|00001e90| 62 6f 6f 6b 20 2d 2d 2a | 21 2a 20 75 73 65 20 66 |book --*|!* use f|
|00001ea0| 61 6c 73 65 20 69 6e 20 | 70 65 72 69 70 68 65 72 |alse in |peripher|
|00001eb0| 61 6c 73 0d 69 66 20 75 | 73 65 53 53 20 69 73 20 |als.if u|seSS is |
|00001ec0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 66 |empty th|en put f|
|00001ed0| 61 6c 73 65 20 69 6e 74 | 6f 20 75 73 65 53 53 0d |alse int|o useSS.|
|00001ee0| 69 66 20 6e 6f 74 20 75 | 73 65 53 53 20 74 68 65 |if not u|seSS the|
|00001ef0| 6e 20 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n put tr|ue into |
|00001f00| 66 72 6f 6d 53 63 72 61 | 70 62 6f 6f 6b 20 2d 2d |fromScra|pbook --|
|00001f10| 20 6e 6f 20 62 6f 6f 6b | 6d 61 72 6b 73 0d 69 66 | no book|marks.if|
|00001f20| 20 66 72 6f 6d 53 63 72 | 61 70 62 6f 6f 6b 20 74 | fromScr|apbook t|
|00001f30| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 44 6f 20 79 |hen.answ|er "Do y|
|00001f40| 6f 75 20 77 61 6e 74 20 | 74 6f 20 71 75 69 74 20 |ou want |to quit |
|00001f50| 74 68 65 20 63 6f 75 72 | 73 65 3f 22 20 77 69 74 |the cour|se?" wit|
|00001f60| 68 c2 0d 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 22 |h.."Canc|el" or "|
|00001f70| 59 65 73 2c 20 71 75 69 | 74 22 0d 69 66 20 69 74 |Yes, qui|t".if it|
|00001f80| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|00001f90| 6e 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |n.exit t|o Hyperc|
|00001fa0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 0d |ard.end |if.else.|
|00001fb0| 69 66 20 62 6f 6f 6b 6d | 61 72 6b 50 72 65 66 20 |if bookm|arkPref |
|00001fc0| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 43 72 65 |then.ans|wer "Cre|
|00001fd0| 61 74 65 20 42 6f 6f 6b | 6d 61 72 6b 20 26 20 71 |ate Book|mark & q|
|00001fe0| 75 69 74 20 74 68 69 73 | 20 63 6f 75 72 73 65 3f |uit this| course?|
|00001ff0| 22 c2 0d 77 69 74 68 20 | 22 43 61 6e 63 65 6c 22 |"..with |"Cancel"|
|00002000| 20 6f 72 20 22 4a 75 73 | 74 20 71 75 69 74 22 20 | or "Jus|t quit" |
|00002010| 6f 72 20 22 4f 4b 22 0d | 65 6c 73 65 0d 61 6e 73 |or "OK".|else.ans|
|00002020| 77 65 72 20 22 43 72 65 | 61 74 65 20 42 6f 6f 6b |wer "Cre|ate Book|
|00002030| 6d 61 72 6b 20 26 20 71 | 75 69 74 20 74 68 69 73 |mark & q|uit this|
|00002040| 20 63 6f 75 72 73 65 3f | 22 c2 0d 77 69 74 68 20 | course?|"..with |
|00002050| 22 43 61 6e 63 65 6c 22 | 20 6f 72 20 22 4f 4b 22 |"Cancel"| or "OK"|
|00002060| 20 6f 72 20 22 4a 75 73 | 74 20 71 75 69 74 22 0d | or "Jus|t quit".|
|00002070| 65 6e 64 20 69 66 0d 69 | 66 20 69 74 20 69 73 20 |end if.i|f it is |
|00002080| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 20 65 78 |"Cancel"| then ex|
|00002090| 69 74 20 74 6f 20 68 79 | 70 65 72 63 61 72 64 0d |it to hy|percard.|
|000020a0| 69 66 20 69 74 20 69 73 | 20 22 4f 4b 22 20 74 68 |if it is| "OK" th|
|000020b0| 65 6e 20 62 6f 6f 6b 6d | 61 72 6b 0d 65 6e 64 20 |en bookm|ark.end |
|000020c0| 69 66 0d 69 66 20 6e 6f | 74 20 66 72 6f 6d 73 63 |if.if no|t fromsc|
|000020d0| 72 61 70 62 6f 6f 6b 20 | 74 68 65 6e 20 73 61 76 |rapbook |then sav|
|000020e0| 65 4d 79 50 6c 61 63 65 | 0d 69 66 20 63 6f 75 72 |eMyPlace|.if cour|
|000020f0| 73 65 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |se is em|pty then|
|00002100| 20 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 | put fal|se into |
|00002110| 63 6f 75 72 73 65 0d 69 | 66 20 75 73 65 53 53 20 |course.i|f useSS |
|00002120| 61 6e 64 20 63 6f 75 72 | 73 65 20 74 68 65 6e 0d |and cour|se then.|
|00002130| 6f 70 65 6e 20 66 69 6c | 65 20 67 53 79 73 74 65 |open fil|e gSyste|
|00002140| 6d 46 69 6c 65 0d 72 65 | 61 64 20 66 72 6f 6d 20 |mFile.re|ad from |
|00002150| 66 69 6c 65 20 67 53 79 | 73 74 65 6d 46 69 6c 65 |file gSy|stemFile|
|00002160| 20 66 6f 72 20 31 36 33 | 38 34 0d 70 75 74 20 6c | for 163|84.put l|
|00002170| 69 6e 65 20 31 20 74 6f | 20 32 20 6f 66 20 69 74 |ine 1 to| 2 of it|
|00002180| 20 69 6e 74 6f 20 74 68 | 65 43 6f 6e 74 65 6e 74 | into th|eContent|
|00002190| 73 0d 63 6c 6f 73 65 20 | 66 69 6c 65 20 67 53 79 |s.close |file gSy|
|000021a0| 73 74 65 6d 46 69 6c 65 | 0d 70 75 74 20 77 68 65 |stemFile|.put whe|
|000021b0| 72 65 77 65 63 61 6d 65 | 66 72 6f 6d 20 69 6e 74 |rewecame|from int|
|000021c0| 6f 20 6c 69 6e 65 20 33 | 20 6f 66 20 74 68 65 43 |o line 3| of theC|
|000021d0| 6f 6e 74 65 6e 74 73 0d | 70 75 74 20 6d 61 70 54 |ontents.|put mapT|
|000021e0| 72 61 63 6b 65 72 20 69 | 6e 74 6f 20 6c 69 6e 65 |racker i|nto line|
|000021f0| 20 34 20 6f 66 20 74 68 | 65 43 6f 6e 74 65 6e 74 | 4 of th|eContent|
|00002200| 73 0d 6f 70 65 6e 20 66 | 69 6c 65 20 67 53 79 73 |s.open f|ile gSys|
|00002210| 74 65 6d 66 69 6c 65 0d | 77 72 69 74 65 20 74 68 |temfile.|write th|
|00002220| 65 43 6f 6e 74 65 6e 74 | 73 20 74 6f 20 66 69 6c |eContent|s to fil|
|00002230| 65 20 67 53 79 73 74 65 | 6d 46 69 6c 65 0d 63 6c |e gSyste|mFile.cl|
|00002240| 6f 73 65 20 66 69 6c 65 | 20 67 53 79 73 74 65 6d |ose file| gSystem|
|00002250| 46 69 6c 65 0d 0d 6c 6f | 63 6b 20 73 63 72 65 65 |File..lo|ck scree|
|00002260| 6e 0d 67 6f 20 73 74 61 | 63 6b 20 73 63 72 61 70 |n.go sta|ck scrap|
|00002270| 46 69 6c 65 0d 70 75 74 | 20 74 68 65 43 6f 6e 74 |File.put| theCont|
|00002280| 65 6e 74 73 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |ents int|o cd fld|
|00002290| 20 22 68 69 64 64 65 6e | 20 6e 61 6d 65 22 0d 65 | "hidden| name".e|
|000022a0| 6e 64 20 69 66 0d 70 75 | 74 20 74 72 75 65 20 69 |nd if.pu|t true i|
|000022b0| 6e 74 6f 20 4f 4b 74 6f | 51 75 69 74 0d 64 6f 6d |nto OKto|Quit.dom|
|000022c0| 65 6e 75 20 22 51 75 69 | 74 20 48 79 70 65 72 63 |enu "Qui|t Hyperc|
|000022d0| 61 72 64 22 0d 65 78 69 | 74 20 74 6f 20 68 79 70 |ard".exi|t to hyp|
|000022e0| 65 72 63 61 72 64 0d 65 | 6e 64 20 53 53 71 75 69 |ercard.e|nd SSqui|
|000022f0| 74 0d 0d 6f 6e 20 64 6f | 4d 65 6e 75 20 76 61 72 |t..on do|Menu var|
|00002300| 0d 67 6c 6f 62 61 6c 20 | 4f 4b 74 6f 51 75 69 74 |.global |OKtoQuit|
|00002310| 0d 69 66 20 4f 4b 74 6f | 51 75 69 74 20 69 73 20 |.if OKto|Quit is |
|00002320| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 66 |empty th|en put f|
|00002330| 61 6c 73 65 20 69 6e 74 | 6f 20 4f 4b 74 6f 51 75 |alse int|o OKtoQu|
|00002340| 69 74 0d 69 66 20 76 61 | 72 20 3d 20 22 51 75 69 |it.if va|r = "Qui|
|00002350| 74 20 48 79 70 65 72 43 | 61 72 64 22 20 61 6e 64 |t HyperC|ard" and|
|00002360| 20 4f 4b 74 6f 51 75 69 | 74 20 69 73 20 66 61 6c | OKtoQui|t is fal|
|00002370| 73 65 20 74 68 65 6e 20 | 73 73 51 75 69 74 0d 65 |se then |ssQuit.e|
|00002380| 6c 73 65 20 69 66 20 76 | 61 72 20 3d 20 22 51 75 |lse if v|ar = "Qu|
|00002390| 69 74 20 48 79 70 65 72 | 43 61 72 64 22 20 61 6e |it Hyper|Card" an|
|000023a0| 64 20 4f 4b 74 6f 51 75 | 69 74 20 74 68 65 6e 20 |d OKtoQu|it then |
|000023b0| 70 61 73 73 20 64 6f 4d | 65 6e 75 0d 65 6c 73 65 |pass doM|enu.else|
|000023c0| 20 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6e 64 | pass do|Menu.end|
|000023d0| 20 64 6f 4d 65 6e 75 0d | 0d 6f 6e 20 4d 61 70 0d | doMenu.|.on Map.|
|000023e0| 0d 65 6e 64 20 4d 61 70 | 0d 0d 6f 6e 20 53 63 72 |.end Map|..on Scr|
|000023f0| 61 70 62 6f 6f 6b 0d 67 | 6c 6f 62 61 6c 20 73 63 |apbook.g|lobal sc|
|00002400| 72 61 70 46 69 6c 65 2c | 77 68 65 72 65 57 65 43 |rapFile,|whereWeC|
|00002410| 61 6d 65 46 72 6f 6d 0d | 70 75 74 20 77 68 65 72 |ameFrom.|put wher|
|00002420| 65 41 6d 49 28 29 20 69 | 6e 74 6f 20 66 72 6f 6d |eAmI() i|nto from|
|00002430| 53 63 72 61 70 62 6f 6f | 6b 0d 73 61 76 65 4d 79 |Scrapboo|k.saveMy|
|00002440| 50 6c 61 63 65 0d 73 65 | 74 20 63 75 72 73 6f 72 |Place.se|t cursor|
|00002450| 20 74 6f 20 77 61 74 63 | 68 0d 6c 6f 63 6b 20 73 | to watc|h.lock s|
|00002460| 63 72 65 65 6e 0d 67 6f | 20 63 64 20 31 20 6f 66 |creen.go| cd 1 of|
|00002470| 20 73 74 61 63 6b 20 73 | 63 72 61 70 46 69 6c 65 | stack s|crapFile|
|00002480| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00002490| 73 20 22 63 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "cance|l" then |
|000024a0| 67 6f 42 61 63 6b 57 68 | 65 72 65 20 2d 2d 20 65 |goBackWh|ere -- e|
|000024b0| 78 69 74 73 0d 69 66 20 | 66 72 6f 6d 53 63 72 61 |xits.if |fromScra|
|000024c0| 70 62 6f 6f 6b 20 74 68 | 65 6e 20 64 65 6c 65 74 |pbook th|en delet|
|000024d0| 65 20 6c 61 73 74 20 69 | 74 65 6d 20 6f 66 20 77 |e last i|tem of w|
|000024e0| 68 65 72 65 77 65 63 61 | 6d 65 46 72 6f 6d 0d 73 |hereweca|meFrom.s|
|000024f0| 65 6e 64 20 6f 70 65 6e | 62 61 63 6b 67 72 6f 75 |end open|backgrou|
|00002500| 6e 64 20 74 6f 20 74 68 | 69 73 20 63 64 0d 75 6e |nd to th|is cd.un|
|00002510| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00002520| 20 76 69 73 75 61 6c 20 | 64 69 73 73 6f 6c 76 65 | visual |dissolve|
|00002530| 0d 65 6e 64 20 53 63 72 | 61 70 62 6f 6f 6b 0d 0d |.end Scr|apbook..|
|00002540| 6f 6e 20 49 6e 64 65 78 | 0d 67 6c 6f 62 61 6c 20 |on Index|.global |
|00002550| 73 63 72 61 70 46 69 6c | 65 2c 77 68 65 72 65 57 |scrapFil|e,whereW|
|00002560| 65 43 61 6d 65 46 72 6f | 6d 0d 70 75 74 20 77 68 |eCameFro|m.put wh|
|00002570| 65 72 65 41 6d 49 28 29 | 20 69 6e 74 6f 20 66 72 |ereAmI()| into fr|
|00002580| 6f 6d 53 63 72 61 70 62 | 6f 6f 6b 0d 73 61 76 65 |omScrapb|ook.save|
|00002590| 4d 79 50 6c 61 63 65 0d | 6c 6f 63 6b 20 73 63 72 |MyPlace.|lock scr|
|000025a0| 65 65 6e 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |een.set |cursor t|
|000025b0| 6f 20 77 61 74 63 68 0d | 67 6f 20 63 64 20 22 49 |o watch.|go cd "I|
|000025c0| 6e 64 65 78 22 20 6f 66 | 20 73 74 61 63 6b 20 73 |ndex" of| stack s|
|000025d0| 63 72 61 70 46 69 6c 65 | 0d 69 66 20 74 68 65 20 |crapFile|.if the |
|000025e0| 72 65 73 75 6c 74 20 69 | 73 20 22 63 61 6e 63 65 |result i|s "cance|
|000025f0| 6c 22 20 74 68 65 6e 20 | 67 6f 42 61 63 6b 57 68 |l" then |goBackWh|
|00002600| 65 72 65 20 2d 2d 20 65 | 78 69 74 73 0d 69 66 20 |ere -- e|xits.if |
|00002610| 66 72 6f 6d 53 63 72 61 | 70 62 6f 6f 6b 20 74 68 |fromScra|pbook th|
|00002620| 65 6e 20 64 65 6c 65 74 | 65 20 6c 61 73 74 20 69 |en delet|e last i|
|00002630| 74 65 6d 20 6f 66 20 77 | 68 65 72 65 57 65 43 61 |tem of w|hereWeCa|
|00002640| 6d 65 46 72 6f 6d 0d 73 | 65 6e 64 20 6f 70 65 6e |meFrom.s|end open|
|00002650| 62 61 63 6b 67 72 6f 75 | 6e 64 20 74 6f 20 74 68 |backgrou|nd to th|
|00002660| 69 73 20 63 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |is cd.un|lock scr|
|00002670| 65 65 6e 20 77 69 74 68 | 20 76 69 73 75 61 6c 20 |een with| visual |
|00002680| 64 69 73 73 6f 6c 76 65 | 0d 65 6e 64 20 49 6e 64 |dissolve|.end Ind|
|00002690| 65 78 0d 0d 6f 6e 20 47 | 6c 6f 73 73 61 72 79 0d |ex..on G|lossary.|
|000026a0| 67 6c 6f 62 61 6c 20 73 | 63 72 61 70 46 69 6c 65 |global s|crapFile|
|000026b0| 2c 77 68 65 72 65 57 65 | 43 61 6d 65 46 72 6f 6d |,whereWe|CameFrom|
|000026c0| 0d 70 75 74 20 77 68 65 | 72 65 41 6d 49 28 29 20 |.put whe|reAmI() |
|000026d0| 69 6e 74 6f 20 66 72 6f | 6d 53 63 72 61 70 62 6f |into fro|mScrapbo|
|000026e0| 6f 6b 0d 73 61 76 65 4d | 79 50 6c 61 63 65 0d 6c |ok.saveM|yPlace.l|
|000026f0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 73 65 74 20 63 |ock scre|en.set c|
|00002700| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 67 |ursor to| watch.g|
|00002710| 6f 20 63 64 20 22 47 6c | 6f 73 73 61 72 79 22 20 |o cd "Gl|ossary" |
|00002720| 6f 66 20 73 74 61 63 6b | 20 73 63 72 61 70 46 69 |of stack| scrapFi|
|00002730| 6c 65 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |le.if th|e result|
|00002740| 20 69 73 20 22 63 61 6e | 63 65 6c 22 20 74 68 65 | is "can|cel" the|
|00002750| 6e 20 67 6f 42 61 63 6b | 57 68 65 72 65 20 2d 2d |n goBack|Where --|
|00002760| 20 65 78 69 74 73 0d 69 | 66 20 66 72 6f 6d 53 63 | exits.i|f fromSc|
|00002770| 72 61 70 62 6f 6f 6b 20 | 74 68 65 6e 20 64 65 6c |rapbook |then del|
|00002780| 65 74 65 20 6c 61 73 74 | 20 69 74 65 6d 20 6f 66 |ete last| item of|
|00002790| 20 77 68 65 72 65 57 65 | 43 61 6d 65 46 72 6f 6d | whereWe|CameFrom|
|000027a0| 0d 73 65 6e 64 20 6f 70 | 65 6e 62 61 63 6b 67 72 |.send op|enbackgr|
|000027b0| 6f 75 6e 64 20 74 6f 20 | 74 68 69 73 20 63 64 0d |ound to |this cd.|
|000027c0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|000027d0| 74 68 20 76 69 73 75 61 | 6c 20 64 69 73 73 6f 6c |th visua|l dissol|
|000027e0| 76 65 0d 65 6e 64 20 47 | 6c 6f 73 73 61 72 79 0d |ve.end G|lossary.|
|000027f0| 0d 2d 2d 20 6e 6f 74 65 | 20 69 73 6e 27 74 20 61 |.-- note| isn't a|
|00002800| 76 61 69 6c 61 62 6c 65 | 20 66 72 6f 6d 20 53 74 |vailable| from St|
|00002810| 75 64 65 6e 74 20 53 63 | 72 61 70 62 6f 6f 6b 0d |udent Sc|rapbook.|
|00002820| 6f 6e 20 4e 6f 74 65 0d | 67 6c 6f 62 61 6c 20 73 |on Note.|global s|
|00002830| 63 72 61 70 46 69 6c 65 | 0d 73 61 76 65 49 64 65 |crapFile|.saveIde|
|00002840| 6e 74 69 66 69 65 72 0d | 70 75 74 20 66 61 6c 73 |ntifier.|put fals|
|00002850| 65 20 69 6e 74 6f 20 6d | 61 64 65 4e 6f 74 65 0d |e into m|adeNote.|
|00002860| 70 75 73 68 20 63 64 0d | 73 65 74 20 63 75 72 73 |push cd.|set curs|
|00002870| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 6c 6f 63 6b |or to wa|tch.lock|
|00002880| 20 73 63 72 65 65 6e 0d | 73 65 74 20 6c 6f 63 6b | screen.|set lock|
|00002890| 4d 65 73 73 61 67 65 73 | 20 74 6f 20 74 72 75 65 |Messages| to true|
|000028a0| 0d 67 6f 20 63 64 20 22 | 69 6e 64 65 78 22 20 6f |.go cd "|index" o|
|000028b0| 66 20 73 74 61 63 6b 20 | 73 63 72 61 70 46 69 6c |f stack |scrapFil|
|000028c0| 65 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |e.if the| result |
|000028d0| 69 73 20 22 63 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "canc|el" then|
|000028e0| 20 70 6f 70 42 61 63 6b | 20 2d 2d 20 65 78 69 74 | popBack| -- exit|
|000028f0| 73 0d 70 75 74 20 6d 61 | 6b 65 4e 6f 74 65 28 29 |s.put ma|keNote()|
|00002900| 20 69 6e 74 6f 20 6d 79 | 52 65 73 75 6c 74 0d 69 | into my|Result.i|
|00002910| 66 20 6d 79 52 65 73 75 | 6c 74 20 69 73 20 22 73 |f myResu|lt is "s|
|00002920| 75 63 63 65 73 73 66 75 | 6c 22 20 74 68 65 6e 20 |uccessfu|l" then |
|00002930| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 6d 61 |put true| into ma|
|00002940| 64 65 4e 6f 74 65 0d 70 | 6f 70 20 63 64 0d 73 65 |deNote.p|op cd.se|
|00002950| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|00002960| 6f 20 66 61 6c 73 65 0d | 69 66 20 6d 61 64 65 4e |o false.|if madeN|
|00002970| 6f 74 65 20 74 68 65 6e | 20 75 6e 6c 6f 63 6b 20 |ote then| unlock |
|00002980| 73 63 72 65 65 6e 20 77 | 69 74 68 20 69 72 69 73 |screen w|ith iris|
|00002990| 20 6f 70 65 6e 20 74 6f | 20 62 6c 61 63 6b 0d 65 | open to| black.e|
|000029a0| 6c 73 65 20 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |lse unlo|ck scree|
|000029b0| 6e 0d 69 66 20 6d 79 52 | 65 73 75 6c 74 20 69 73 |n.if myR|esult is|
|000029c0| 20 22 53 53 22 20 74 68 | 65 6e 20 64 6f 53 53 0d | "SS" th|en doSS.|
|000029d0| 65 6e 64 20 4e 6f 74 65 | 0d 0d 2d 2d 20 42 6f 6f |end Note|..-- Boo|
|000029e0| 6b 6d 61 72 6b 20 69 73 | 6e 27 74 20 61 76 61 69 |kmark is|n't avai|
|000029f0| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 53 74 75 64 65 |lable fr|om Stude|
|00002a00| 6e 74 20 53 63 72 61 70 | 62 6f 6f 6b 2e 0d 6f 6e |nt Scrap|book..on|
|00002a10| 20 42 6f 6f 6b 4d 61 72 | 6b 0d 67 6c 6f 62 61 6c | BookMar|k.global|
|00002a20| 20 73 63 72 61 70 46 69 | 6c 65 0d 73 61 76 65 49 | scrapFi|le.saveI|
|00002a30| 64 65 6e 74 69 66 69 65 | 72 0d 73 61 76 65 4d 79 |dentifie|r.saveMy|
|00002a40| 50 6c 61 63 65 0d 70 75 | 74 20 66 61 6c 73 65 20 |Place.pu|t false |
|00002a50| 69 6e 74 6f 20 6d 61 64 | 65 42 6f 6f 6b 4d 61 72 |into mad|eBookMar|
|00002a60| 6b 0d 70 75 73 68 20 63 | 64 0d 73 65 74 20 63 75 |k.push c|d.set cu|
|00002a70| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 6c 6f |rsor to |watch.lo|
|00002a80| 63 6b 20 73 63 72 65 65 | 6e 0d 73 65 74 20 6c 6f |ck scree|n.set lo|
|00002a90| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckMessag|es to tr|
|00002aa0| 75 65 0d 67 6f 20 63 64 | 20 22 69 6e 64 65 78 22 |ue.go cd| "index"|
|00002ab0| 20 6f 66 20 73 74 61 63 | 6b 20 73 63 72 61 70 46 | of stac|k scrapF|
|00002ac0| 69 6c 65 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |ile.if t|he resul|
|00002ad0| 74 20 69 73 20 22 63 61 | 6e 63 65 6c 22 20 74 68 |t is "ca|ncel" th|
|00002ae0| 65 6e 20 70 6f 70 57 68 | 65 72 65 20 2d 2d 20 65 |en popWh|ere -- e|
|00002af0| 78 69 74 73 0d 70 75 74 | 20 6d 61 6b 65 42 6f 6f |xits.put| makeBoo|
|00002b00| 6b 4d 61 72 6b 28 29 20 | 69 6e 74 6f 20 6d 79 52 |kMark() |into myR|
|00002b10| 65 73 75 6c 74 0d 69 66 | 20 6d 79 52 65 73 75 6c |esult.if| myResul|
|00002b20| 74 20 69 73 20 22 73 75 | 63 63 65 73 73 66 75 6c |t is "su|ccessful|
|00002b30| 22 20 74 68 65 6e 20 70 | 75 74 20 74 72 75 65 20 |" then p|ut true |
|00002b40| 69 6e 74 6f 20 6d 61 64 | 65 42 6f 6f 6b 4d 61 72 |into mad|eBookMar|
|00002b50| 6b 0d 70 6f 70 20 63 64 | 0d 73 65 74 20 6c 6f 63 |k.pop cd|.set loc|
|00002b60| 6b 6d 65 73 73 61 67 65 | 73 20 74 6f 20 66 61 6c |kmessage|s to fal|
|00002b70| 73 65 0d 69 66 20 6d 61 | 64 65 42 6f 6f 6b 4d 61 |se.if ma|deBookMa|
|00002b80| 72 6b 20 74 68 65 6e 20 | 75 6e 6c 6f 63 6b 20 73 |rk then |unlock s|
|00002b90| 63 72 65 65 6e 20 77 69 | 74 68 20 69 72 69 73 20 |creen wi|th iris |
|00002ba0| 6f 70 65 6e 20 74 6f 20 | 62 6c 61 63 6b 0d 65 6c |open to |black.el|
|00002bb0| 73 65 20 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |se unloc|k screen|
|00002bc0| 0d 69 66 20 6d 79 52 65 | 73 75 6c 74 20 69 73 20 |.if myRe|sult is |
|00002bd0| 22 53 53 22 20 74 68 65 | 6e 20 64 6f 53 53 0d 65 |"SS" the|n doSS.e|
|00002be0| 6e 64 20 62 6f 6f 6b 4d | 61 72 6b 0d 0d 2d 2d 20 |nd bookM|ark..-- |
|00002bf0| 53 6e 61 70 73 68 6f 74 | 20 69 73 6e 27 74 20 61 |Snapshot| isn't a|
|00002c00| 76 61 69 6c 61 62 6c 65 | 20 66 72 6f 6d 20 74 68 |vailable| from th|
|00002c10| 65 20 53 74 75 64 65 6e | 74 20 53 63 72 61 70 62 |e Studen|t Scrapb|
|00002c20| 6f 6f 6b 2e 0d 6f 6e 20 | 53 6e 61 70 53 68 6f 74 |ook..on |SnapShot|
|00002c30| 0d 67 6c 6f 62 61 6c 20 | 73 63 72 61 70 46 69 6c |.global |scrapFil|
|00002c40| 65 0d 73 61 76 65 4d 79 | 50 6c 61 63 65 0d 73 61 |e.saveMy|Place.sa|
|00002c50| 76 65 49 64 65 6e 74 69 | 66 69 65 72 0d 70 75 74 |veIdenti|fier.put|
|00002c60| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 6d 61 64 65 | false i|nto made|
|00002c70| 53 6e 61 70 53 68 6f 74 | 0d 70 75 73 68 20 63 64 |SnapShot|.push cd|
|00002c80| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00002c90| 61 74 63 68 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |atch.loc|k screen|
|00002ca0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 20 2d |.unlock |screen -|
|00002cb0| 2d 20 66 6f 72 20 72 65 | 66 72 65 73 68 2c 20 73 |- for re|fresh, s|
|00002cc0| 69 6e 63 65 20 77 65 27 | 72 65 20 74 61 6b 69 6e |ince we'|re takin|
|00002cd0| 67 20 61 20 70 69 63 74 | 75 72 65 20 6f 66 20 69 |g a pict|ure of i|
|00002ce0| 74 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 73 65 |t.lock s|creen.se|
|00002cf0| 74 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |t lockMe|ssages t|
|00002d00| 6f 20 74 72 75 65 0d 67 | 6f 20 63 64 20 22 69 6e |o true.g|o cd "in|
|00002d10| 64 65 78 22 20 6f 66 20 | 73 74 61 63 6b 20 73 63 |dex" of |stack sc|
|00002d20| 72 61 70 46 69 6c 65 0d | 69 66 20 74 68 65 20 72 |rapFile.|if the r|
|00002d30| 65 73 75 6c 74 20 69 73 | 20 22 63 61 6e 63 65 6c |esult is| "cancel|
|00002d40| 22 20 74 68 65 6e 20 70 | 6f 70 57 68 65 72 65 20 |" then p|opWhere |
|00002d50| 2d 2d 20 65 78 69 74 73 | 0d 70 75 74 20 6d 61 6b |-- exits|.put mak|
|00002d60| 65 53 6e 61 70 53 68 6f | 74 28 29 20 69 6e 74 6f |eSnapSho|t() into|
|00002d70| 20 6d 79 52 65 73 75 6c | 74 0d 69 66 20 6d 79 52 | myResul|t.if myR|
|00002d80| 65 73 75 6c 74 20 69 73 | 20 22 73 75 63 63 65 73 |esult is| "succes|
|00002d90| 73 66 75 6c 22 20 74 68 | 65 6e 20 70 75 74 20 74 |sful" th|en put t|
|00002da0| 72 75 65 20 69 6e 74 6f | 20 6d 61 64 65 53 6e 61 |rue into| madeSna|
|00002db0| 70 53 68 6f 74 0d 70 6f | 70 20 63 64 0d 73 65 74 |pShot.po|p cd.set|
|00002dc0| 20 6c 6f 63 6b 6d 65 73 | 73 61 67 65 73 20 74 6f | lockmes|sages to|
|00002dd0| 20 66 61 6c 73 65 0d 69 | 66 20 6d 61 64 65 53 6e | false.i|f madeSn|
|00002de0| 61 70 53 68 6f 74 20 74 | 68 65 6e 20 75 6e 6c 6f |apShot t|hen unlo|
|00002df0| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 69 |ck scree|n with i|
|00002e00| 72 69 73 20 6f 70 65 6e | 20 74 6f 20 62 6c 61 63 |ris open| to blac|
|00002e10| 6b 0d 65 6c 73 65 20 75 | 6e 6c 6f 63 6b 20 73 63 |k.else u|nlock sc|
|00002e20| 72 65 65 6e 0d 69 66 20 | 6d 79 52 65 73 75 6c 74 |reen.if |myResult|
|00002e30| 20 69 73 20 22 53 53 22 | 20 74 68 65 6e 20 64 6f | is "SS"| then do|
|00002e40| 53 53 0d 65 6e 64 20 53 | 6e 61 70 53 68 6f 74 0d |SS.end S|napShot.|
|00002e50| 0d 6f 6e 20 52 65 66 47 | 75 69 64 65 0d 67 6f 20 |.on RefG|uide.go |
|00002e60| 73 74 61 63 6b 20 22 41 | 4e 52 47 20 53 74 61 72 |stack "A|NRG Star|
|00002e70| 74 55 70 22 20 69 6e 20 | 6e 65 77 20 77 69 6e 64 |tUp" in |new wind|
|00002e80| 6f 77 0d 65 6e 64 20 52 | 65 66 47 75 69 64 65 0d |ow.end R|efGuide.|
|00002e90| 0d 66 75 6e 63 74 69 6f | 6e 20 77 68 65 72 65 41 |.functio|n whereA|
|00002ea0| 6d 49 0d 67 65 74 20 74 | 68 65 20 73 68 6f 72 74 |mI.get t|he short|
|00002eb0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00002ec0| 61 63 6b 0d 69 66 20 69 | 74 20 63 6f 6e 74 61 69 |ack.if i|t contai|
|00002ed0| 6e 73 20 22 73 63 72 61 | 70 62 6f 6f 6b 22 20 6f |ns "scra|pbook" o|
|00002ee0| 72 20 69 74 20 63 6f 6e | 74 61 69 6e 73 20 22 73 |r it con|tains "s|
|00002ef0| 6e 61 70 73 68 6f 74 22 | 20 74 68 65 6e 0d 72 65 |napshot"| then.re|
|00002f00| 74 75 72 6e 20 74 72 75 | 65 0d 65 6c 73 65 0d 72 |turn tru|e.else.r|
|00002f10| 65 74 75 72 6e 20 66 61 | 6c 73 65 0d 65 6e 64 20 |eturn fa|lse.end |
|00002f20| 69 66 0d 65 6e 64 20 77 | 68 65 72 65 41 6d 49 0d |if.end w|hereAmI.|
|00002f30| 0d 6f 6e 20 73 61 76 65 | 4d 79 50 6c 61 63 65 0d |.on save|MyPlace.|
|00002f40| 67 6c 6f 62 61 6c 20 77 | 68 65 72 65 57 65 43 61 |global w|hereWeCa|
|00002f50| 6d 65 46 72 6f 6d 0d 70 | 75 74 20 74 68 65 20 69 |meFrom.p|ut the i|
|00002f60| 64 20 6f 66 20 74 68 69 | 73 20 63 64 20 26 26 20 |d of thi|s cd && |
|00002f70| 22 6f 66 20 73 74 61 63 | 6b 22 20 26 26 20 71 75 |"of stac|k" && qu|
|00002f80| 6f 74 65 20 26 c2 0d 74 | 68 65 20 73 68 6f 72 74 |ote &..t|he short|
|00002f90| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00002fa0| 61 63 6b 20 26 20 71 75 | 6f 74 65 20 69 6e 74 6f |ack & qu|ote into|
|00002fb0| 20 74 68 69 73 50 6c 61 | 63 65 0d 69 66 20 6e 6f | thisPla|ce.if no|
|00002fc0| 74 20 28 6c 61 73 74 20 | 69 74 65 6d 20 6f 66 20 |t (last |item of |
|00002fd0| 77 68 65 72 65 57 65 43 | 61 6d 65 46 72 6f 6d 20 |whereWeC|ameFrom |
|00002fe0| 3d 20 74 68 69 73 50 6c | 61 63 65 29 20 74 68 65 |= thisPl|ace) the|
|00002ff0| 6e 0d 70 75 74 20 74 68 | 69 73 50 6c 61 63 65 20 |n.put th|isPlace |
|00003000| 69 6e 74 6f 20 69 74 65 | 6d 20 28 6e 75 6d 62 65 |into ite|m (numbe|
|00003010| 72 20 6f 66 20 69 74 65 | 6d 73 20 69 6e 20 77 68 |r of ite|ms in wh|
|00003020| 65 72 65 57 65 43 61 6d | 65 46 72 6f 6d 29 20 2b |ereWeCam|eFrom) +|
|00003030| 20 31 c2 0d 6f 66 20 77 | 68 65 72 65 57 65 43 61 | 1..of w|hereWeCa|
|00003040| 6d 65 46 72 6f 6d 0d 65 | 6e 64 20 69 66 0d 65 6e |meFrom.e|nd if.en|
|00003050| 64 20 73 61 76 65 4d 79 | 50 6c 61 63 65 0d 0d 6f |d saveMy|Place..o|
|00003060| 6e 20 73 61 76 65 49 64 | 65 6e 74 69 66 69 65 72 |n saveId|entifier|
|00003070| 0d 67 6c 6f 62 61 6c 20 | 69 64 65 6e 74 69 66 69 |.global |identifi|
|00003080| 65 72 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |er.put e|mpty int|
|00003090| 6f 20 69 64 65 6e 74 69 | 66 69 65 72 0d 69 66 20 |o identi|fier.if |
|000030a0| 74 68 65 72 65 20 69 73 | 20 61 20 66 6c 64 20 22 |there is| a fld "|
|000030b0| 53 75 62 74 69 74 6c 65 | 22 20 74 68 65 6e 20 70 |Subtitle|" then p|
|000030c0| 75 74 20 66 6c 64 20 22 | 53 75 62 74 69 74 6c 65 |ut fld "|Subtitle|
|000030d0| 22 20 69 6e 74 6f 20 69 | 64 65 6e 74 69 66 69 65 |" into i|dentifie|
|000030e0| 72 0d 69 66 20 69 64 65 | 6e 74 69 66 69 65 72 20 |r.if ide|ntifier |
|000030f0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00003100| 74 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |t the sh|ort name|
|00003110| 20 6f 66 20 74 68 69 73 | 20 63 64 20 69 6e 74 6f | of this| cd into|
|00003120| 20 69 64 65 6e 74 69 66 | 69 65 72 0d 65 6e 64 20 | identif|ier.end |
|00003130| 73 61 76 65 49 64 65 6e | 74 69 66 69 65 72 0d 0d |saveIden|tifier..|
|00003140| 6f 6e 20 67 6f 42 61 63 | 6b 57 68 65 72 65 0d 67 |on goBac|kWhere.g|
|00003150| 6c 6f 62 61 6c 20 77 68 | 65 72 65 77 65 63 61 6d |lobal wh|erewecam|
|00003160| 65 66 72 6f 6d 0d 73 65 | 74 20 63 75 72 73 6f 72 |efrom.se|t cursor|
|00003170| 20 74 6f 20 77 61 74 63 | 68 0d 67 6f 20 6c 61 73 | to watc|h.go las|
|00003180| 74 20 69 74 65 6d 20 6f | 66 20 77 68 65 72 65 57 |t item o|f whereW|
|00003190| 65 43 61 6d 65 46 72 6f | 6d 0d 64 65 6c 65 74 65 |eCameFro|m.delete|
|000031a0| 20 6c 61 73 74 20 69 74 | 65 6d 20 6f 66 20 77 68 | last it|em of wh|
|000031b0| 65 72 65 57 65 43 61 6d | 65 46 72 6f 6d 0d 73 65 |ereWeCam|eFrom.se|
|000031c0| 74 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |t lockMe|ssages t|
|000031d0| 6f 20 66 61 6c 73 65 0d | 65 78 69 74 20 74 6f 20 |o false.|exit to |
|000031e0| 48 79 70 65 72 63 61 72 | 64 0d 65 6e 64 20 67 6f |Hypercar|d.end go|
|000031f0| 42 61 63 6b 57 68 65 72 | 65 0d 0d 6f 6e 20 70 6f |BackWher|e..on po|
|00003200| 70 42 61 63 6b 0d 70 6f | 70 20 63 61 72 64 0d 73 |pBack.po|p card.s|
|00003210| 65 74 20 6c 6f 63 6b 4d | 65 73 73 61 67 65 73 20 |et lockM|essages |
|00003220| 74 6f 20 66 61 6c 73 65 | 0d 65 78 69 74 20 74 6f |to false|.exit to|
|00003230| 20 68 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 70 | hyperca|rd.end p|
|00003240| 6f 70 42 61 63 6b 0d 0d | 6f 6e 20 70 6f 70 57 68 |opBack..|on popWh|
|00003250| 65 72 65 0d 67 6c 6f 62 | 61 6c 20 77 68 65 72 65 |ere.glob|al where|
|00003260| 57 65 43 61 6d 65 46 72 | 6f 6d 0d 70 6f 70 20 63 |WeCameFr|om.pop c|
|00003270| 61 72 64 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |ard.dele|te last |
|00003280| 69 74 65 6d 20 6f 66 20 | 77 68 65 72 65 57 65 43 |item of |whereWeC|
|00003290| 61 6d 65 46 72 6f 6d 0d | 73 65 74 20 6c 6f 63 6b |ameFrom.|set lock|
|000032a0| 4d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |Messages| to fals|
|000032b0| 65 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |e.exit t|o Hyperc|
|000032c0| 61 72 64 0d 65 6e 64 20 | 70 6f 70 57 68 65 72 65 |ard.end |popWhere|
|000032d0| 0d 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|000032e0| 2d 2d 2d 20 20 53 65 61 | 72 63 68 20 73 63 72 69 |--- Sea|rch scri|
|000032f0| 70 74 20 68 61 6e 64 6c | 65 72 73 c9 0d 2d 2d 0d |pt handl|ers..--.|
|00003300| 2d 2d 20 53 65 61 72 63 | 68 20 73 63 72 69 70 74 |-- Searc|h script|
|00003310| 20 68 75 6e 74 73 20 66 | 6f 72 20 73 74 72 69 6e | hunts f|or strin|
|00003320| 67 20 74 68 72 6f 75 67 | 68 20 6d 75 6c 74 69 70 |g throug|h multip|
|00003330| 6c 65 20 73 74 61 63 6b | 73 2e 0d 2d 2d 20 45 61 |le stack|s..-- Ea|
|00003340| 63 68 20 73 74 61 63 6b | 20 6d 75 73 74 20 68 61 |ch stack| must ha|
|00003350| 76 65 20 74 68 65 20 68 | 61 6e 64 6c 65 72 73 20 |ve the h|andlers |
|00003360| 69 6e 20 69 74 20 66 6f | 72 20 74 68 69 73 20 74 |in it fo|r this t|
|00003370| 6f 20 77 6f 72 6b 2e 0d | 2d 2d 20 4d 6f 64 69 66 |o work..|-- Modif|
|00003380| 69 65 64 20 66 72 6f 6d | 20 54 49 45 20 73 65 61 |ied from| TIE sea|
|00003390| 72 63 68 20 73 63 72 69 | 70 74 20 77 68 69 63 68 |rch scri|pt which|
|000033a0| 20 77 61 73 20 77 72 69 | 74 74 65 6e 20 62 79 20 | was wri|tten by |
|000033b0| 47 61 72 74 68 0d 2d 2d | 20 43 61 74 74 65 72 61 |Garth.--| Cattera|
|000033c0| 6c 6c 20 61 6e 64 20 4b | 65 6e 20 4c 61 77 73 2e |ll and K|en Laws.|
|000033d0| 20 20 4c 65 73 6c 69 65 | 20 47 72 69 6d 6d 0d 0d | Leslie| Grimm..|
|000033e0| 6f 6e 20 53 65 61 72 63 | 68 0d 67 6c 6f 62 61 6c |on Searc|h.global|
|000033f0| 20 67 66 69 6e 64 57 68 | 61 74 2c 67 66 69 6e 64 | gfindWh|at,gfind|
|00003400| 48 6f 77 2c 67 46 69 6e | 64 57 68 65 72 65 2c 67 |How,gFin|dWhere,g|
|00003410| 57 68 69 63 68 53 74 61 | 63 6b 2c 67 46 69 72 73 |WhichSta|ck,gFirs|
|00003420| 74 53 74 61 63 6b 2c c2 | 0d 67 46 69 6e 64 46 6c |tStack,.|.gFindFl|
|00003430| 61 67 2c 67 46 69 72 73 | 74 43 61 72 64 2c 67 46 |ag,gFirs|tCard,gF|
|00003440| 69 6e 64 43 6f 75 6e 74 | 2c 67 46 69 72 73 74 43 |indCount|,gFirstC|
|00003450| 68 75 6e 6b 2c 67 53 74 | 61 72 74 43 61 72 64 2c |hunk,gSt|artCard,|
|00003460| 67 4c 61 73 74 43 61 72 | 64 2c c2 0d 67 4e 75 6d |gLastCar|d,..gNum|
|00003470| 53 74 61 63 6b 73 2c 67 | 4e 65 78 74 53 74 61 63 |Stacks,g|NextStac|
|00003480| 6b 0d 67 6c 6f 62 61 6c | 20 73 63 72 61 70 46 69 |k.global| scrapFi|
|00003490| 6c 65 0d 70 75 73 68 20 | 63 61 72 64 0d 6c 6f 63 |le.push |card.loc|
|000034a0| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 6c 6f 63 |k screen|.set loc|
|000034b0| 6b 6d 65 73 73 61 67 65 | 73 20 74 6f 20 74 72 75 |kmessage|s to tru|
|000034c0| 65 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |e.set cu|rsor to |
|000034d0| 77 61 74 63 68 0d 70 75 | 74 20 77 68 65 72 65 41 |watch.pu|t whereA|
|000034e0| 6d 49 28 29 20 69 6e 74 | 6f 20 66 72 6f 6d 53 63 |mI() int|o fromSc|
|000034f0| 72 61 70 62 6f 6f 6b 0d | 67 6f 20 73 74 61 63 6b |rapbook.|go stack|
|00003500| 20 73 63 72 61 70 46 69 | 6c 65 0d 69 66 20 74 68 | scrapFi|le.if th|
|00003510| 65 20 72 65 73 75 6c 74 | 20 69 73 20 22 63 61 6e |e result| is "can|
|00003520| 63 65 6c 22 20 74 68 65 | 6e 0d 70 6f 70 20 63 61 |cel" the|n.pop ca|
|00003530| 72 64 20 69 6e 74 6f 20 | 74 72 61 73 68 20 2d 2d |rd into |trash --|
|00003540| 20 63 6c 65 61 6e 20 75 | 70 20 73 74 61 63 6b 0d | clean u|p stack.|
|00003550| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00003560| 64 0d 65 6e 64 20 69 66 | 0d 2d 2d 20 67 65 74 20 |d.end if|.-- get |
|00003570| 67 66 69 6e 64 57 68 61 | 74 2c 67 66 69 6e 64 57 |gfindWha|t,gfindW|
|00003580| 68 65 72 65 2c 67 66 69 | 6e 64 48 6f 77 20 26 20 |here,gfi|ndHow & |
|00003590| 67 4e 65 78 74 53 74 61 | 63 6b 0d 70 75 74 20 73 |gNextSta|ck.put s|
|000035a0| 65 61 72 63 68 44 69 61 | 6c 6f 67 28 66 72 6f 6d |earchDia|log(from|
|000035b0| 53 63 72 61 70 62 6f 6f | 6b 29 20 69 6e 74 6f 20 |Scrapboo|k) into |
|000035c0| 6d 79 52 65 73 75 6c 74 | 0d 69 66 20 6d 79 52 65 |myResult|.if myRe|
|000035d0| 73 75 6c 74 20 69 73 20 | 22 53 53 22 20 74 68 65 |sult is |"SS" the|
|000035e0| 6e 0d 70 6f 70 20 63 61 | 72 64 0d 73 65 74 20 6c |n.pop ca|rd.set l|
|000035f0| 6f 63 6b 6d 65 73 73 61 | 67 65 73 20 74 6f 20 66 |ockmessa|ges to f|
|00003600| 61 6c 73 65 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |alse.unl|ock scre|
|00003610| 65 6e 0d 64 6f 53 53 0d | 65 78 69 74 20 73 65 61 |en.doSS.|exit sea|
|00003620| 72 63 68 0d 65 6e 64 20 | 69 66 0d 69 66 20 6d 79 |rch.end |if.if my|
|00003630| 52 65 73 75 6c 74 20 69 | 73 20 22 43 61 6e 63 65 |Result i|s "Cance|
|00003640| 6c 22 20 74 68 65 6e 0d | 70 6f 70 20 63 61 72 64 |l" then.|pop card|
|00003650| 0d 73 65 74 20 6c 6f 63 | 6b 6d 65 73 73 61 67 65 |.set loc|kmessage|
|00003660| 73 20 74 6f 20 66 61 6c | 73 65 0d 75 6e 6c 6f 63 |s to fal|se.unloc|
|00003670| 6b 20 73 63 72 65 65 6e | 0d 65 78 69 74 20 73 65 |k screen|.exit se|
|00003680| 61 72 63 68 0d 65 6e 64 | 20 69 66 0d 69 66 20 6d |arch.end| if.if m|
|00003690| 79 52 65 73 75 6c 74 20 | 69 73 20 22 42 6f 6f 6b |yResult |is "Book|
|000036a0| 6d 61 72 6b 22 20 74 68 | 65 6e 0d 70 6f 70 20 63 |mark" th|en.pop c|
|000036b0| 61 72 64 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 |ard.set |lockmess|
|000036c0| 61 67 65 73 20 74 6f 20 | 66 61 6c 73 65 0d 62 6f |ages to |false.bo|
|000036d0| 6f 6b 6d 61 72 6b 0d 70 | 75 73 68 20 63 61 72 64 |okmark.p|ush card|
|000036e0| 0d 2d 2d 20 74 68 65 6e | 20 63 6f 6e 74 69 6e 75 |.-- then| continu|
|000036f0| 65 20 73 65 61 72 63 68 | 0d 65 6e 64 20 69 66 0d |e search|.end if.|
|00003700| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 67 |put empt|y into g|
|00003710| 46 69 72 73 74 43 68 75 | 6e 6b 20 2d 2d 20 72 65 |FirstChu|nk -- re|
|00003720| 73 65 74 20 76 61 72 69 | 61 62 6c 65 73 0d 70 75 |set vari|ables.pu|
|00003730| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 46 69 |t empty |into gFi|
|00003740| 72 73 74 43 61 72 64 0d | 70 75 74 20 74 68 65 20 |rstCard.|put the |
|00003750| 76 69 73 69 62 6c 65 20 | 6f 66 20 74 68 65 20 6d |visible |of the m|
|00003760| 73 67 20 69 6e 74 6f 20 | 76 69 73 69 4d 73 67 0d |sg into |visiMsg.|
|00003770| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6d |put empt|y into m|
|00003780| 73 67 20 2d 2d 20 73 6f | 20 72 65 74 75 72 6e 2f |sg -- so| return/|
|00003790| 65 6e 74 65 72 20 77 69 | 6c 6c 20 77 6f 72 6b 2e |enter wi|ll work.|
|000037a0| 20 20 53 65 65 20 62 65 | 6c 6f 77 2e 0d 73 65 74 | See be|low..set|
|000037b0| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 6f 66 20 | the vis|ible of |
|000037c0| 74 68 65 20 6d 73 67 20 | 74 6f 20 76 69 73 69 6d |the msg |to visim|
|000037d0| 73 67 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 67 46 |sg.put 0| into gF|
|000037e0| 69 6e 64 43 6f 75 6e 74 | 0d 70 75 74 20 31 20 69 |indCount|.put 1 i|
|000037f0| 6e 74 6f 20 67 57 68 69 | 63 68 53 74 61 63 6b 0d |nto gWhi|chStack.|
|00003800| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 67 46 |put true| into gF|
|00003810| 69 6e 64 46 6c 61 67 20 | 2d 2d 20 73 65 61 72 63 |indFlag |-- searc|
|00003820| 68 20 69 73 20 76 61 6c | 69 64 0d 70 6f 70 20 63 |h is val|id.pop c|
|00003830| 61 72 64 0d 70 75 73 68 | 20 63 61 72 64 20 2d 2d |ard.push| card --|
|00003840| 20 73 6f 20 77 65 20 63 | 61 6e 20 63 6f 6d 65 20 | so we c|an come |
|00003850| 62 61 63 6b 20 6c 61 74 | 65 72 0d 75 6e 6c 6f 63 |back lat|er.unloc|
|00003860| 6b 20 73 63 72 65 65 6e | 20 2d 2d 20 73 63 72 65 |k screen| -- scre|
|00003870| 65 6e 20 72 65 66 72 65 | 73 68 0d 6c 6f 63 6b 20 |en refre|sh.lock |
|00003880| 73 63 72 65 65 6e 0d 70 | 75 74 20 74 68 65 20 6e |screen.p|ut the n|
|00003890| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 64 |umber of| this cd|
|000038a0| 20 69 6e 74 6f 20 67 53 | 74 61 72 74 43 61 72 64 | into gS|tartCard|
|000038b0| 0d 69 66 20 6e 6f 74 20 | 66 72 6f 6d 53 63 72 61 |.if not |fromScra|
|000038c0| 70 62 6f 6f 6b 20 74 68 | 65 6e 20 73 61 76 65 4d |pbook th|en saveM|
|000038d0| 79 50 6c 61 63 65 20 2d | 2d 20 74 6f 20 67 65 74 |yPlace -|- to get|
|000038e0| 20 62 61 63 6b 20 66 72 | 6f 6d 20 67 6c 6f 73 73 | back fr|om gloss|
|000038f0| 61 72 79 0d 70 75 74 20 | 74 68 65 20 73 68 6f 72 |ary.put |the shor|
|00003900| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|00003910| 74 61 63 6b 20 69 6e 74 | 6f 20 67 46 69 72 73 74 |tack int|o gFirst|
|00003920| 53 74 61 63 6b 0d 2d 2d | 20 69 6e 69 74 69 61 6c |Stack.--| initial|
|00003930| 69 7a 65 20 69 6e 64 65 | 78 20 66 6f 72 20 73 65 |ize inde|x for se|
|00003940| 61 72 63 68 69 6e 67 20 | 74 68 72 6f 75 67 68 20 |arching |through |
|00003950| 6d 75 6c 74 69 70 6c 65 | 20 73 74 61 63 6b 73 0d |multiple| stacks.|
|00003960| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00003970| 66 20 69 74 65 6d 73 20 | 69 6e 20 67 4e 65 78 74 |f items |in gNext|
|00003980| 53 74 61 63 6b 20 69 6e | 74 6f 20 67 4e 75 6d 73 |Stack in|to gNums|
|00003990| 74 61 63 6b 73 0d 70 75 | 74 20 66 61 6c 73 65 20 |tacks.pu|t false |
|000039a0| 69 6e 74 6f 20 69 6e 4c | 69 73 74 0d 72 65 70 65 |into inL|ist.repe|
|000039b0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|000039c0| 20 67 4e 75 6d 53 74 61 | 63 6b 73 0d 69 66 20 28 | gNumSta|cks.if (|
|000039d0| 69 74 65 6d 20 69 20 6f | 66 20 67 4e 65 78 74 53 |item i o|f gNextS|
|000039e0| 74 61 63 6b 20 63 6f 6e | 74 61 69 6e 73 20 67 46 |tack con|tains gF|
|000039f0| 69 72 73 74 53 74 61 63 | 6b 29 20 74 68 65 6e 0d |irstStac|k) then.|
|00003a00| 70 75 74 20 69 20 69 6e | 74 6f 20 67 57 68 69 63 |put i in|to gWhic|
|00003a10| 68 53 74 61 63 6b 0d 70 | 75 74 20 74 72 75 65 20 |hStack.p|ut true |
|00003a20| 69 6e 74 6f 20 69 6e 4c | 69 73 74 0d 65 78 69 74 |into inL|ist.exit|
|00003a30| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00003a40| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 6e 6f 74 |nd repea|t.if not|
|00003a50| 20 69 6e 4c 69 73 74 20 | 74 68 65 6e 0d 70 75 74 | inList |then.put|
|00003a60| 20 31 20 69 6e 74 6f 20 | 67 57 68 69 63 68 53 74 | 1 into |gWhichSt|
|00003a70| 61 63 6b 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f |ack.put |item 1 o|
|00003a80| 66 20 67 4e 65 78 74 53 | 74 61 63 6b 20 69 6e 74 |f gNextS|tack int|
|00003a90| 6f 20 67 46 69 72 73 74 | 53 74 61 63 6b 0d 73 65 |o gFirst|Stack.se|
|00003aa0| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|00003ab0| 6f 20 74 72 75 65 0d 67 | 6f 20 73 74 61 63 6b 20 |o true.g|o stack |
|00003ac0| 67 46 69 72 73 74 53 74 | 61 63 6b 0d 70 75 74 20 |gFirstSt|ack.put |
|00003ad0| 31 20 69 6e 74 6f 20 67 | 53 74 61 72 74 43 61 72 |1 into g|StartCar|
|00003ae0| 64 0d 65 6e 64 20 69 66 | 0d 73 65 61 72 63 68 46 |d.end if|.searchF|
|00003af0| 6f 72 49 74 0d 0d 65 6e | 64 20 53 65 61 72 63 68 |orIt..en|d Search|
|00003b00| 0d 0d 6f 6e 20 72 65 74 | 75 72 6e 4b 65 79 0d 67 |..on ret|urnKey.g|
|00003b10| 6c 6f 62 61 6c 20 67 46 | 69 6e 64 57 68 61 74 2c |lobal gF|indWhat,|
|00003b20| 67 46 69 6e 64 46 6c 61 | 67 2c 67 4e 65 78 74 53 |gFindFla|g,gNextS|
|00003b30| 74 61 63 6b 0d 69 66 20 | 28 67 46 69 6e 64 57 68 |tack.if |(gFindWh|
|00003b40| 61 74 20 ad 20 65 6d 70 | 74 79 29 20 61 6e 64 20 |at . emp|ty) and |
|00003b50| 28 67 46 69 6e 64 46 6c | 61 67 20 3d 20 74 72 75 |(gFindFl|ag = tru|
|00003b60| 65 29 20 61 6e 64 c2 0d | 28 74 68 65 20 6d 73 67 |e) and..|(the msg|
|00003b70| 20 69 73 20 65 6d 70 74 | 79 29 20 74 68 65 6e 0d | is empt|y) then.|
|00003b80| 73 65 61 72 63 68 46 6f | 72 49 74 0d 65 6c 73 65 |searchFo|rIt.else|
|00003b90| 0d 2d 2d 20 2a 2a 20 70 | 75 74 20 65 6d 70 74 79 |.-- ** p|ut empty|
|00003ba0| 20 69 6e 74 6f 20 67 4e | 65 78 74 53 74 61 63 6b | into gN|extStack|
|00003bb0| 20 2d 2d 20 63 6c 65 61 | 72 20 70 6f 73 73 69 62 | -- clea|r possib|
|00003bc0| 6c 79 20 62 69 67 20 76 | 61 72 69 61 62 6c 65 0d |ly big v|ariable.|
|00003bd0| 70 61 73 73 20 72 65 74 | 75 72 6e 4b 65 79 0d 65 |pass ret|urnKey.e|
|00003be0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 74 75 72 6e |nd if.en|d return|
|00003bf0| 4b 65 79 0d 0d 6f 6e 20 | 65 6e 74 65 72 4b 65 79 |Key..on |enterKey|
|00003c00| 0d 67 6c 6f 62 61 6c 20 | 67 46 69 6e 64 57 68 61 |.global |gFindWha|
|00003c10| 74 2c 67 46 69 6e 64 46 | 6c 61 67 2c 67 4e 65 78 |t,gFindF|lag,gNex|
|00003c20| 74 53 74 61 63 6b 0d 69 | 66 20 28 67 46 69 6e 64 |tStack.i|f (gFind|
|00003c30| 57 68 61 74 20 ad 20 65 | 6d 70 74 79 29 20 61 6e |What . e|mpty) an|
|00003c40| 64 20 28 67 46 69 6e 64 | 46 6c 61 67 20 3d 20 74 |d (gFind|Flag = t|
|00003c50| 72 75 65 29 20 61 6e 64 | c2 0d 28 74 68 65 20 6d |rue) and|..(the m|
|00003c60| 73 67 20 69 73 20 65 6d | 70 74 79 29 20 74 68 65 |sg is em|pty) the|
|00003c70| 6e 0d 73 65 61 72 63 68 | 46 6f 72 49 74 0d 65 6c |n.search|ForIt.el|
|00003c80| 73 65 0d 2d 2d 2a 2a 20 | 70 75 74 20 65 6d 70 74 |se.--** |put empt|
|00003c90| 79 20 69 6e 74 6f 20 67 | 4e 65 78 74 53 74 61 63 |y into g|NextStac|
|00003ca0| 6b 20 2d 2d 20 63 6c 65 | 61 72 20 70 6f 73 73 69 |k -- cle|ar possi|
|00003cb0| 62 6c 79 20 62 69 67 20 | 76 61 72 69 61 62 6c 65 |bly big |variable|
|00003cc0| 0d 70 61 73 73 20 65 6e | 74 65 72 4b 65 79 0d 65 |.pass en|terKey.e|
|00003cd0| 6e 64 20 69 66 0d 65 6e | 64 20 65 6e 74 65 72 4b |nd if.en|d enterK|
|00003ce0| 65 79 0d 0d 6f 6e 20 73 | 65 61 72 63 68 46 6f 72 |ey..on s|earchFor|
|00003cf0| 49 74 0d 67 6c 6f 62 61 | 6c 20 67 46 69 6e 64 57 |It.globa|l gFindW|
|00003d00| 68 61 74 2c 67 46 69 6e | 64 48 6f 77 2c 67 46 69 |hat,gFin|dHow,gFi|
|00003d10| 6e 64 57 68 65 72 65 2c | 67 57 68 69 63 68 53 74 |ndWhere,|gWhichSt|
|00003d20| 61 63 6b 2c 67 4e 75 6d | 53 74 61 63 6b 73 2c c2 |ack,gNum|Stacks,.|
|00003d30| 0d 67 53 74 61 72 74 43 | 61 72 64 2c 67 46 69 6e |.gStartC|ard,gFin|
|00003d40| 64 46 6c 61 67 2c 67 46 | 69 72 73 74 43 61 72 64 |dFlag,gF|irstCard|
|00003d50| 2c 67 46 69 6e 64 43 6f | 75 6e 74 2c 67 46 69 72 |,gFindCo|unt,gFir|
|00003d60| 73 74 43 68 75 6e 6b 2c | 67 4c 61 73 74 43 61 72 |stChunk,|gLastCar|
|00003d70| 64 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |d.set cu|rsor to |
|00003d80| 62 75 73 79 0d 2d 2d 2a | 2a 20 6c 6f 63 6b 20 73 |busy.--*|* lock s|
|00003d90| 63 72 65 65 6e 0d 70 75 | 74 20 74 68 65 20 6e 75 |creen.pu|t the nu|
|00003da0| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 64 20 |mber of |this cd |
|00003db0| 69 6e 74 6f 20 67 4c 61 | 73 74 43 61 72 64 0d 73 |into gLa|stCard.s|
|00003dc0| 65 74 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |et lockm|essages |
|00003dd0| 74 6f 20 74 72 75 65 0d | 72 65 70 65 61 74 0d 73 |to true.|repeat.s|
|00003de0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00003df0| 79 0d 69 66 20 67 46 69 | 6e 64 48 6f 77 20 3d 20 |y.if gFi|ndHow = |
|00003e00| 22 45 78 61 63 74 20 53 | 74 72 69 6e 67 22 20 74 |"Exact S|tring" t|
|00003e10| 68 65 6e 20 66 69 6e 64 | 20 73 74 72 69 6e 67 20 |hen find| string |
|00003e20| 67 46 69 6e 64 57 68 61 | 74 0d 65 6c 73 65 20 69 |gFindWha|t.else i|
|00003e30| 66 20 67 46 69 6e 64 48 | 6f 77 20 3d 20 22 46 69 |f gFindH|ow = "Fi|
|00003e40| 72 73 74 20 43 68 61 72 | 61 63 74 65 72 73 22 20 |rst Char|acters" |
|00003e50| 74 68 65 6e 20 66 69 6e | 64 20 67 46 69 6e 64 57 |then fin|d gFindW|
|00003e60| 68 61 74 0d 65 6c 73 65 | 20 69 66 20 67 46 69 6e |hat.else| if gFin|
|00003e70| 64 48 6f 77 20 3d 20 22 | 57 68 6f 6c 65 20 57 6f |dHow = "|Whole Wo|
|00003e80| 72 64 28 73 29 22 20 74 | 68 65 6e 20 66 69 6e 64 |rd(s)" t|hen find|
|00003e90| 20 77 68 6f 6c 65 20 67 | 46 69 6e 64 57 68 61 74 | whole g|FindWhat|
|00003ea0| 0d 0d 70 75 74 20 74 68 | 65 20 46 6f 75 6e 64 43 |..put th|e FoundC|
|00003eb0| 68 75 6e 6b 20 69 6e 74 | 6f 20 68 6f 6c 64 65 72 |hunk int|o holder|
|00003ec0| 20 2d 2d 20 65 67 20 63 | 68 61 72 20 31 20 74 6f | -- eg c|har 1 to|
|00003ed0| 20 36 20 6f 66 20 63 64 | 20 66 6c 64 20 34 0d 70 | 6 of cd| fld 4.p|
|00003ee0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |ut the s|hort nam|
|00003ef0| 65 20 6f 66 20 74 68 65 | 20 46 6f 75 6e 64 46 69 |e of the| FoundFi|
|00003f00| 65 6c 64 20 69 6e 74 6f | 20 63 68 65 63 6b 65 72 |eld into| checker|
|00003f10| 0d 0d 69 66 20 68 6f 6c | 64 65 72 20 69 73 20 65 |..if hol|der is e|
|00003f20| 6d 70 74 79 20 74 68 65 | 6e 20 20 2d 2d 20 6e 6f |mpty the|n -- no|
|00003f30| 74 20 66 6f 75 6e 64 20 | 61 6e 79 77 68 65 72 65 |t found |anywhere|
|00003f40| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 0d 2d 2d | in the |stack.--|
|00003f50| 20 69 66 20 77 65 20 77 | 65 72 65 20 6f 6e 6c 79 | if we w|ere only|
|00003f60| 20 6c 6f 6f 6b 69 6e 67 | 20 69 6e 20 6f 6e 65 20 | looking| in one |
|00003f70| 73 74 61 63 6b 2c 20 74 | 68 65 6e 20 6c 65 61 76 |stack, t|hen leav|
|00003f80| 65 0d 69 66 20 67 4e 75 | 6d 73 74 61 63 6b 73 20 |e.if gNu|mstacks |
|00003f90| 3d 20 31 20 74 68 65 6e | 0d 70 6f 70 20 63 61 72 |= 1 then|.pop car|
|00003fa0| 64 20 2d 2d 20 67 6f 20 | 62 61 63 6b 20 77 68 65 |d -- go |back whe|
|00003fb0| 72 65 20 77 65 20 73 74 | 61 72 74 65 64 0d 61 6e |re we st|arted.an|
|00003fc0| 73 77 65 72 20 22 43 6f | 75 6c 64 6e d5 74 20 66 |swer "Co|uldn.t f|
|00003fd0| 69 6e 64 20 d2 22 20 26 | 20 67 46 69 6e 64 57 68 |ind ." &| gFindWh|
|00003fe0| 61 74 20 26 20 22 2e d3 | 22 0d 70 75 74 20 66 61 |at & "..|".put fa|
|00003ff0| 6c 73 65 20 69 6e 74 6f | 20 67 46 69 6e 64 46 6c |lse into| gFindFl|
|00004000| 61 67 0d 73 65 74 20 6c | 6f 63 6b 6d 65 73 73 61 |ag.set l|ockmessa|
|00004010| 67 65 73 20 74 6f 20 66 | 61 6c 73 65 0d 65 78 69 |ges to f|alse.exi|
|00004020| 74 20 73 65 61 72 63 68 | 46 6f 72 49 74 0d 65 6c |t search|ForIt.el|
|00004030| 73 65 0d 53 77 69 74 63 | 68 53 74 61 63 6b 0d 6e |se.Switc|hStack.n|
|00004040| 65 78 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |ext repe|at.end i|
|00004050| 66 0d 65 6e 64 20 69 66 | 0d 0d 69 66 20 67 46 69 |f.end if|..if gFi|
|00004060| 72 73 74 43 68 75 6e 6b | 20 69 73 20 65 6d 70 74 |rstChunk| is empt|
|00004070| 79 20 74 68 65 6e 20 20 | 2d 2d 20 73 65 74 20 6f |y then |-- set o|
|00004080| 75 72 20 72 65 66 65 72 | 65 6e 63 65 73 0d 70 75 |ur refer|ences.pu|
|00004090| 74 20 68 6f 6c 64 65 72 | 20 69 6e 74 6f 20 67 46 |t holder| into gF|
|000040a0| 69 72 73 74 43 68 75 6e | 6b 20 2d 2d 20 65 67 20 |irstChun|k -- eg |
|000040b0| 63 68 61 72 20 31 20 74 | 6f 20 36 20 6f 66 20 63 |char 1 t|o 6 of c|
|000040c0| 64 20 66 6c 64 20 34 0d | 70 75 74 20 74 68 65 20 |d fld 4.|put the |
|000040d0| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 69 73 20 63 |number o|f this c|
|000040e0| 64 20 69 6e 74 6f 20 67 | 46 69 72 73 74 43 61 72 |d into g|FirstCar|
|000040f0| 64 0d 65 6c 73 65 0d 2d | 2d 20 69 73 20 74 68 69 |d.else.-|- is thi|
|00004100| 73 20 77 68 65 72 65 20 | 77 65 20 73 74 61 72 74 |s where |we start|
|00004110| 65 64 20 74 68 65 20 73 | 65 61 72 63 68 3f 0d 69 |ed the s|earch?.i|
|00004120| 66 20 28 68 6f 6c 64 65 | 72 20 3d 20 67 46 69 72 |f (holde|r = gFir|
|00004130| 73 74 43 68 75 6e 6b 29 | 20 61 6e 64 20 c2 0d 28 |stChunk)| and ..(|
|00004140| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |the numb|er of th|
|00004150| 69 73 20 63 61 72 64 20 | 3d 20 67 46 69 72 73 74 |is card |= gFirst|
|00004160| 43 61 72 64 29 20 74 68 | 65 6e 0d 69 66 20 67 4e |Card) th|en.if gN|
|00004170| 75 6d 53 74 61 63 6b 73 | 20 3e 20 31 20 74 68 65 |umStacks| > 1 the|
|00004180| 6e 0d 53 77 69 74 63 68 | 53 74 61 63 6b 0d 6e 65 |n.Switch|Stack.ne|
|00004190| 78 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |xt repea|t.end if|
|000041a0| 0d 69 66 20 67 46 69 6e | 64 43 6f 75 6e 74 20 3d |.if gFin|dCount =|
|000041b0| 20 30 20 74 68 65 6e 0d | 70 6f 70 20 63 61 72 64 | 0 then.|pop card|
|000041c0| 0d 61 6e 73 77 65 72 20 | 22 d2 22 20 26 20 67 46 |.answer |"." & gF|
|000041d0| 69 6e 64 57 68 61 74 20 | 26 20 22 d3 20 6e 6f 74 |indWhat |& ". not|
|000041e0| 20 66 6f 75 6e 64 2e 22 | 0d 70 75 74 20 66 61 6c | found."|.put fal|
|000041f0| 73 65 20 69 6e 74 6f 20 | 67 46 69 6e 64 46 6c 61 |se into |gFindFla|
|00004200| 67 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |g.put em|pty into|
|00004210| 20 67 4e 65 78 74 53 74 | 61 63 6b 20 2d 2d 20 66 | gNextSt|ack -- f|
|00004220| 72 65 65 20 74 68 65 20 | 6d 65 6d 6f 72 79 0d 73 |ree the |memory.s|
|00004230| 65 74 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |et lockm|essages |
|00004240| 74 6f 20 66 61 6c 73 65 | 0d 65 78 69 74 20 73 65 |to false|.exit se|
|00004250| 61 72 63 68 46 6f 72 49 | 74 0d 65 6c 73 65 0d 61 |archForI|t.else.a|
|00004260| 6e 73 77 65 72 20 22 4e | 6f 20 6d 6f 72 65 20 6f |nswer "N|o more o|
|00004270| 63 63 75 72 72 65 6e 63 | 65 73 20 6f 66 20 d2 22 |ccurrenc|es of ."|
|00004280| 20 26 20 67 46 69 6e 64 | 57 68 61 74 20 26 c2 0d | & gFind|What &..|
|00004290| 22 d3 20 77 65 72 65 20 | 66 6f 75 6e 64 2e 22 0d |". were |found.".|
|000042a0| 69 66 20 67 53 74 61 72 | 74 43 61 72 64 20 ad 20 |if gStar|tCard . |
|000042b0| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |(the num|ber of t|
|000042c0| 68 69 73 20 63 64 29 20 | 6f 72 c2 0d 67 4c 61 73 |his cd) |or..gLas|
|000042d0| 74 43 61 72 64 20 ad 20 | 28 74 68 65 20 6e 75 6d |tCard . |(the num|
|000042e0| 62 65 72 20 6f 66 20 74 | 68 69 73 20 63 64 29 20 |ber of t|his cd) |
|000042f0| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 53 74 61 |then.ans|wer "Sta|
|00004300| 79 20 68 65 72 65 20 6f | 72 20 67 6f 20 62 61 63 |y here o|r go bac|
|00004310| 6b 20 74 6f 20 62 65 67 | 69 6e 6e 69 6e 67 20 63 |k to beg|inning c|
|00004320| 61 72 64 3f 22 c2 0d 77 | 69 74 68 20 22 53 74 61 |ard?"..w|ith "Sta|
|00004330| 79 22 20 6f 72 20 22 47 | 6f 20 62 61 63 6b 22 0d |y" or "G|o back".|
|00004340| 69 66 20 69 74 20 69 73 | 20 22 67 6f 20 62 61 63 |if it is| "go bac|
|00004350| 6b 22 20 74 68 65 6e 20 | 70 6f 70 20 63 61 72 64 |k" then |pop card|
|00004360| 0d 65 6c 73 65 0d 70 6f | 70 20 63 64 20 69 6e 74 |.else.po|p cd int|
|00004370| 6f 20 74 68 72 6f 77 61 | 77 61 79 20 2d 2d 20 63 |o throwa|way -- c|
|00004380| 6c 65 61 6e 20 75 70 20 | 6f 75 72 20 70 6f 6f 2d |lean up |our poo-|
|00004390| 70 6f 6f 0d 69 66 20 74 | 68 65 20 73 68 6f 72 74 |poo.if t|he short|
|000043a0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 62 67 | name of| this bg|
|000043b0| 20 69 73 20 22 67 6c 6f | 73 73 61 72 79 22 20 6f | is "glo|ssary" o|
|000043c0| 72 c2 0d 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |r..the s|hort nam|
|000043d0| 65 20 6f 66 20 74 68 69 | 73 20 62 67 20 69 73 20 |e of thi|s bg is |
|000043e0| 22 73 6e 61 70 73 68 6f | 74 73 22 20 74 68 65 6e |"snapsho|ts" then|
|000043f0| 0d 2d 2d 20 75 70 64 61 | 74 65 20 72 65 74 75 72 |.-- upda|te retur|
|00004400| 6e 20 61 72 72 6f 77 20 | 61 6e 64 20 74 61 62 73 |n arrow |and tabs|
|00004410| 0d 73 65 6e 64 20 6f 70 | 65 6e 62 61 63 6b 67 72 |.send op|enbackgr|
|00004420| 6f 75 6e 64 20 74 6f 20 | 74 68 69 73 20 62 61 63 |ound to |this bac|
|00004430| 6b 67 72 6f 75 6e 64 0d | 65 6e 64 20 69 66 0d 65 |kground.|end if.e|
|00004440| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00004450| 20 69 66 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e | if.put |false in|
|00004460| 74 6f 20 67 46 69 6e 64 | 46 6c 61 67 0d 73 65 74 |to gFind|Flag.set|
|00004470| 20 6c 6f 63 6b 6d 65 73 | 73 61 67 65 73 20 74 6f | lockmes|sages to|
|00004480| 20 66 61 6c 73 65 0d 65 | 78 69 74 20 73 65 61 72 | false.e|xit sear|
|00004490| 63 68 46 6f 72 49 74 0d | 65 6e 64 20 69 66 0d 65 |chForIt.|end if.e|
|000044a0| 6e 64 20 69 66 0d 0d 2d | 2d 20 57 65 20 64 6f 20 |nd if..-|- We do |
|000044b0| 74 68 65 20 63 68 65 63 | 6b 20 66 6f 72 20 76 61 |the chec|k for va|
|000044c0| 6c 69 64 20 66 69 65 6c | 64 73 20 61 66 74 65 72 |lid fiel|ds after|
|000044d0| 20 73 65 74 74 69 6e 67 | 20 66 69 72 73 74 43 61 | setting| firstCa|
|000044e0| 72 64 0d 2d 2d 20 73 6f | 20 74 68 61 74 20 77 65 |rd.-- so| that we|
|000044f0| 20 6b 6e 6f 77 20 77 68 | 65 72 65 20 74 68 65 20 | know wh|ere the |
|00004500| 66 69 72 73 74 20 66 6f | 75 6e 64 20 69 74 65 6d |first fo|und item|
|00004510| 20 77 61 73 2c 20 65 76 | 65 6e 20 74 68 6f 75 67 | was, ev|en thoug|
|00004520| 68 0d 2d 2d 20 69 74 20 | 6d 69 67 68 74 20 6e 6f |h.-- it |might no|
|00004530| 74 20 62 65 20 76 69 73 | 69 62 6c 65 2e 0d 69 66 |t be vis|ible..if|
|00004540| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00004550| 6f 66 20 74 68 69 73 20 | 63 64 20 69 73 20 22 67 |of this |cd is "g|
|00004560| 6c 6f 73 73 61 72 79 22 | 20 74 68 65 6e 0d 69 66 |lossary"| then.if|
|00004570| 20 67 46 69 6e 64 57 68 | 65 72 65 20 63 6f 6e 74 | gFindWh|ere cont|
|00004580| 61 69 6e 73 20 22 67 6c | 6f 73 73 61 72 79 22 20 |ains "gl|ossary" |
|00004590| 74 68 65 6e 0d 73 65 6e | 64 20 6f 70 65 6e 62 61 |then.sen|d openba|
|000045a0| 63 6b 67 72 6f 75 6e 64 | 20 74 6f 20 62 67 20 22 |ckground| to bg "|
|000045b0| 67 6c 6f 73 73 61 72 79 | 22 20 2d 2d 20 74 6f 20 |glossary|" -- to |
|000045c0| 6d 61 73 6b 20 74 61 62 | 73 20 69 66 20 6e 65 65 |mask tab|s if nee|
|000045d0| 64 65 64 0d 61 64 64 20 | 31 20 74 6f 20 67 46 69 |ded.add |1 to gFi|
|000045e0| 6e 64 43 6f 75 6e 74 0d | 73 65 6e 64 20 67 6c 6f |ndCount.|send glo|
|000045f0| 73 73 46 69 6e 64 20 74 | 6f 20 62 67 20 22 67 6c |ssFind t|o bg "gl|
|00004600| 6f 73 73 61 72 79 22 0d | 65 78 69 74 20 73 65 61 |ossary".|exit sea|
|00004610| 72 63 68 66 6f 72 69 74 | 0d 65 6c 73 65 0d 6e 65 |rchforit|.else.ne|
|00004620| 78 74 20 72 65 70 65 61 | 74 20 2d 2d 20 73 6b 69 |xt repea|t -- ski|
|00004630| 70 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |p.end if|.end if.|
|00004640| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|00004650| 6f 66 20 74 68 65 20 46 | 6f 75 6e 64 46 69 65 6c |of the F|oundFiel|
|00004660| 64 20 69 73 20 66 61 6c | 73 65 20 74 68 65 6e 20 |d is fal|se then |
|00004670| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 69 66 20 6e |next rep|eat.if n|
|00004680| 6f 74 20 76 61 6c 69 64 | 46 69 65 6c 64 28 63 68 |ot valid|Field(ch|
|00004690| 65 63 6b 65 72 29 20 74 | 68 65 6e 20 6e 65 78 74 |ecker) t|hen next|
|000046a0| 20 72 65 70 65 61 74 0d | 0d 61 64 64 20 31 20 74 | repeat.|.add 1 t|
|000046b0| 6f 20 67 46 69 6e 64 43 | 6f 75 6e 74 0d 65 78 69 |o gFindC|ount.exi|
|000046c0| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|000046d0| 65 61 74 0d 65 6e 64 20 | 73 65 61 72 63 68 46 6f |eat.end |searchFo|
|000046e0| 72 49 74 0d 0d 2d 2d 20 | 54 65 73 74 20 77 68 65 |rIt..-- |Test whe|
|000046f0| 74 68 65 72 20 74 68 65 | 20 66 69 65 6c 64 20 69 |ther the| field i|
|00004700| 6e 20 77 68 69 63 68 20 | 74 68 65 20 74 65 78 74 |n which |the text|
|00004710| 20 77 61 73 20 66 6f 75 | 6e 64 20 69 73 20 61 20 | was fou|nd is a |
|00004720| 76 61 6c 69 64 20 6f 6e | 65 2e 0d 66 75 6e 63 74 |valid on|e..funct|
|00004730| 69 6f 6e 20 76 61 6c 69 | 64 46 69 65 6c 64 20 66 |ion vali|dField f|
|00004740| 69 65 6c 64 4e 61 6d 65 | 0d 69 66 20 74 68 65 72 |ieldName|.if ther|
|00004750| 65 20 69 73 20 61 20 63 | 64 20 66 6c 64 20 66 69 |e is a c|d fld fi|
|00004760| 65 6c 64 4e 61 6d 65 20 | 74 68 65 6e 20 69 66 20 |eldName |then if |
|00004770| 6e 6f 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |not the |visible |
|00004780| 6f 66 20 63 64 20 66 6c | 64 20 46 69 65 6c 64 4e |of cd fl|d FieldN|
|00004790| 61 6d 65 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |ame then| return |
|000047a0| 66 61 6c 73 65 0d 69 66 | 20 74 68 65 72 65 20 69 |false.if| there i|
|000047b0| 73 20 61 20 66 6c 64 20 | 66 69 65 6c 64 4e 61 6d |s a fld |fieldNam|
|000047c0| 65 20 74 68 65 6e 20 69 | 66 20 6e 6f 74 20 74 68 |e then i|f not th|
|000047d0| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 66 6c 64 |e visibl|e of fld|
|000047e0| 20 46 69 65 6c 64 4e 61 | 6d 65 20 74 68 65 6e 20 | FieldNa|me then |
|000047f0| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 0d 67 6c 6f |return f|alse.glo|
|00004800| 62 61 6c 20 67 66 69 6e | 64 57 68 65 72 65 0d 2d |bal gfin|dWhere.-|
|00004810| 2d 20 64 6f 20 61 20 71 | 75 69 63 6b 20 72 65 70 |- do a q|uick rep|
|00004820| 65 61 74 20 74 6f 20 65 | 6e 73 75 72 65 20 69 74 |eat to e|nsure it|
|00004830| 27 73 20 61 20 66 69 65 | 6c 64 20 77 65 20 77 61 |'s a fie|ld we wa|
|00004840| 6e 74 20 74 6f 20 66 69 | 6e 64 20 69 6e 0d 2d 2d |nt to fi|nd in.--|
|00004850| 20 4e 6f 74 65 20 74 68 | 61 74 20 74 68 69 73 20 | Note th|at this |
|00004860| 69 73 20 73 6c 6f 77 65 | 72 2c 20 62 75 74 20 6d |is slowe|r, but m|
|00004870| 6f 72 65 20 64 65 66 69 | 6e 69 74 69 76 65 20 74 |ore defi|nitive t|
|00004880| 68 61 6e 20 61 20 22 63 | 6f 6e 74 61 69 6e 73 22 |han a "c|ontains"|
|00004890| 0d 2d 2d 20 54 68 69 73 | 20 64 65 66 69 6e 65 73 |.-- This| defines|
|000048a0| 20 74 68 65 20 66 69 65 | 6c 64 73 20 74 68 61 74 | the fie|lds that|
|000048b0| 20 77 65 20 64 6f 6e 27 | 74 20 77 61 6e 74 20 74 | we don'|t want t|
|000048c0| 6f 20 66 69 6e 64 20 69 | 6e 2e 2e 2e 0d 69 66 20 |o find i|n....if |
|000048d0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000048e0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 63 6f 6e |f this s|tack con|
|000048f0| 74 61 69 6e 73 20 22 53 | 63 72 61 70 62 6f 6f 6b |tains "S|crapbook|
|00004900| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 54 69 74 6c |" then.p|ut "Titl|
|00004910| 65 2c 4c 69 6e 65 73 2c | 4c 69 73 74 20 68 6f 6c |e,Lines,|List hol|
|00004920| 64 65 72 2c 4d 79 4e 61 | 6d 65 2c 49 64 65 6e 74 |der,MyNa|me,Ident|
|00004930| 69 66 69 65 72 2c 44 61 | 74 65 2f 54 69 6d 65 2c |ifier,Da|te/Time,|
|00004940| 22 20 26 c2 0d 22 69 6e | 73 74 72 75 63 74 69 6f |" &.."in|structio|
|00004950| 6e 2c 63 6f 6d 6d 65 6e | 74 2c 74 68 65 20 77 6f |n,commen|t,the wo|
|00004960| 72 64 2c 64 65 66 69 6e | 69 74 69 6f 6e 22 20 69 |rd,defin|ition" i|
|00004970| 6e 74 6f 20 62 61 64 46 | 69 65 6c 64 73 0d 2d 2d |nto badF|ields.--|
|00004980| 20 64 6f 6e 27 74 20 73 | 65 61 72 63 68 20 6e 6f | don't s|earch no|
|00004990| 74 65 73 20 69 66 20 74 | 68 69 73 20 69 73 20 61 |tes if t|his is a|
|000049a0| 20 67 6c 6f 73 73 61 72 | 79 2d 6f 6e 6c 79 20 73 | glossar|y-only s|
|000049b0| 65 61 72 63 68 0d 69 66 | 20 6e 6f 74 20 28 67 66 |earch.if| not (gf|
|000049c0| 69 6e 64 57 68 65 72 65 | 20 63 6f 6e 74 61 69 6e |indWhere| contain|
|000049d0| 73 20 22 73 63 72 61 70 | 62 6f 6f 6b 22 29 20 74 |s "scrap|book") t|
|000049e0| 68 65 6e 0d 70 75 74 20 | 22 2c 6c 69 73 74 2c 4e |hen.put |",list,N|
|000049f0| 6f 74 65 22 20 61 66 74 | 65 72 20 62 61 64 46 69 |ote" aft|er badFi|
|00004a00| 65 6c 64 73 20 2d 2d 20 | 73 6b 69 70 20 6e 6f 74 |elds -- |skip not|
|00004a10| 65 20 63 61 72 64 73 0d | 65 6e 64 20 69 66 0d 65 |e cards.|end if.e|
|00004a20| 6c 73 65 0d 2d 2d 20 69 | 74 27 73 20 61 20 63 6f |lse.-- i|t's a co|
|00004a30| 75 72 73 65 20 6f 72 20 | 73 6e 61 70 73 68 6f 74 |urse or |snapshot|
|00004a40| 0d 70 75 74 20 22 53 74 | 61 63 6b 4e 61 6d 65 2c |.put "St|ackName,|
|00004a50| 49 6e 73 74 72 75 63 74 | 69 6f 6e 2c 69 6e 73 74 |Instruct|ion,inst|
|00004a60| 72 75 63 74 69 6f 6e 32 | 2c 22 20 26 c2 0d 22 49 |ruction2|," &.."I|
|00004a70| 6e 64 69 63 61 74 6f 72 | 2c 54 69 74 6c 65 22 20 |ndicator|,Title" |
|00004a80| 69 6e 74 6f 20 62 61 64 | 46 69 65 6c 64 73 0d 65 |into bad|Fields.e|
|00004a90| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 77 69 74 |nd if.re|peat wit|
|00004aa0| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h i = 1 |to numbe|
|00004ab0| 72 20 6f 66 20 69 74 65 | 6d 73 20 69 6e 20 62 61 |r of ite|ms in ba|
|00004ac0| 64 46 69 65 6c 64 73 0d | 69 66 20 66 69 65 6c 64 |dFields.|if field|
|00004ad0| 4e 61 6d 65 20 3d 20 69 | 74 65 6d 20 69 20 6f 66 |Name = i|tem i of|
|00004ae0| 20 62 61 64 46 69 65 6c | 64 73 20 74 68 65 6e 0d | badFiel|ds then.|
|00004af0| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 0d 65 6e 64 |return f|alse.end|
|00004b00| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 | if.end |repeat.r|
|00004b10| 65 74 75 72 6e 20 74 72 | 75 65 0d 65 6e 64 20 76 |eturn tr|ue.end v|
|00004b20| 61 6c 69 64 46 69 65 6c | 64 0d 0d 6f 6e 20 53 77 |alidFiel|d..on Sw|
|00004b30| 69 74 63 68 53 74 61 63 | 6b 0d 67 6c 6f 62 61 6c |itchStac|k.global|
|00004b40| 20 67 46 69 6e 64 57 68 | 61 74 2c 67 46 69 6e 64 | gFindWh|at,gFind|
|00004b50| 48 6f 77 2c 67 46 69 6e | 64 57 68 65 72 65 2c 67 |How,gFin|dWhere,g|
|00004b60| 57 68 69 63 68 53 74 61 | 63 6b 2c 67 46 69 72 73 |WhichSta|ck,gFirs|
|00004b70| 74 53 74 61 63 6b 2c c2 | 0d 67 53 74 61 72 74 43 |tStack,.|.gStartC|
|00004b80| 61 72 64 2c 67 46 69 6e | 64 46 6c 61 67 2c 67 46 |ard,gFin|dFlag,gF|
|00004b90| 69 72 73 74 43 61 72 64 | 2c 67 46 69 6e 64 43 6f |irstCard|,gFindCo|
|00004ba0| 75 6e 74 2c 67 46 69 72 | 73 74 43 68 75 6e 6b 2c |unt,gFir|stChunk,|
|00004bb0| 67 4e 65 78 74 53 74 61 | 63 6b 0d 73 65 74 20 63 |gNextSta|ck.set c|
|00004bc0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 69 66 |ursor to| busy.if|
|00004bd0| 20 67 57 68 69 63 68 53 | 74 61 63 6b 20 3c 20 28 | gWhichS|tack < (|
|00004be0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |the numb|er of it|
|00004bf0| 65 6d 73 20 69 6e 20 67 | 4e 65 78 74 53 74 61 63 |ems in g|NextStac|
|00004c00| 6b 29 20 74 68 65 6e 0d | 61 64 64 20 31 20 74 6f |k) then.|add 1 to|
|00004c10| 20 67 57 68 69 63 68 53 | 74 61 63 6b 0d 65 6c 73 | gWhichS|tack.els|
|00004c20| 65 0d 70 75 74 20 31 20 | 69 6e 74 6f 20 67 57 68 |e.put 1 |into gWh|
|00004c30| 69 63 68 53 74 61 63 6b | 0d 65 6e 64 20 69 66 0d |ichStack|.end if.|
|00004c40| 69 66 20 28 69 74 65 6d | 20 67 57 68 69 63 68 53 |if (item| gWhichS|
|00004c50| 74 61 63 6b 20 6f 66 20 | 67 4e 65 78 74 53 74 61 |tack of |gNextSta|
|00004c60| 63 6b 29 20 63 6f 6e 74 | 61 69 6e 73 20 67 46 69 |ck) cont|ains gFi|
|00004c70| 72 73 74 53 74 61 63 6b | 20 74 68 65 6e 0d 69 66 |rstStack| then.if|
|00004c80| 20 67 46 69 6e 64 43 6f | 75 6e 74 20 3d 20 30 20 | gFindCo|unt = 0 |
|00004c90| 74 68 65 6e 0d 70 6f 70 | 20 63 61 72 64 20 2d 2d |then.pop| card --|
|00004ca0| 20 62 61 63 6b 20 74 6f | 20 73 74 61 72 74 0d 61 | back to| start.a|
|00004cb0| 6e 73 77 65 72 20 22 d2 | 22 20 26 20 67 46 69 6e |nswer ".|" & gFin|
|00004cc0| 64 57 68 61 74 20 26 20 | 22 d3 20 6e 6f 74 20 66 |dWhat & |". not f|
|00004cd0| 6f 75 6e 64 2e 22 0d 70 | 75 74 20 66 61 6c 73 65 |ound.".p|ut false|
|00004ce0| 20 69 6e 74 6f 20 67 46 | 69 6e 64 46 6c 61 67 0d | into gF|indFlag.|
|00004cf0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 67 |put empt|y into g|
|00004d00| 4e 65 78 74 53 74 61 63 | 6b 20 2d 2d 20 66 72 65 |NextStac|k -- fre|
|00004d10| 65 20 74 68 65 20 6d 65 | 6d 6f 72 79 0d 73 65 74 |e the me|mory.set|
|00004d20| 20 6c 6f 63 6b 6d 65 73 | 73 61 67 65 73 20 74 6f | lockmes|sages to|
|00004d30| 20 66 61 6c 73 65 0d 65 | 78 69 74 20 74 6f 20 48 | false.e|xit to H|
|00004d40| 79 70 65 72 43 61 72 64 | 0d 65 6c 73 65 0d 61 6e |yperCard|.else.an|
|00004d50| 73 77 65 72 20 22 4e 6f | 20 6d 6f 72 65 20 6f 63 |swer "No| more oc|
|00004d60| 63 75 72 72 65 6e 63 65 | 73 20 6f 66 20 d2 22 20 |currence|s of ." |
|00004d70| 26 20 67 46 69 6e 64 57 | 68 61 74 20 26 c2 0d 22 |& gFindW|hat &.."|
|00004d80| d3 20 77 65 72 65 20 66 | 6f 75 6e 64 2e 22 0d 65 |. were f|ound.".e|
|00004d90| 6e 64 20 69 66 0d 69 66 | 20 67 46 69 6e 64 43 6f |nd if.if| gFindCo|
|00004da0| 75 6e 74 20 3e 20 30 20 | 74 68 65 6e 0d 61 6e 73 |unt > 0 |then.ans|
|00004db0| 77 65 72 20 22 53 74 61 | 79 20 68 65 72 65 20 6f |wer "Sta|y here o|
|00004dc0| 72 20 67 6f 20 62 61 63 | 6b 20 74 6f 20 62 65 67 |r go bac|k to beg|
|00004dd0| 69 6e 6e 69 6e 67 20 63 | 61 72 64 3f 22 c2 0d 77 |inning c|ard?"..w|
|00004de0| 69 74 68 20 22 53 74 61 | 79 22 20 6f 72 20 22 47 |ith "Sta|y" or "G|
|00004df0| 6f 20 62 61 63 6b 22 0d | 69 66 20 69 74 20 69 73 |o back".|if it is|
|00004e00| 20 22 67 6f 20 62 61 63 | 6b 22 20 74 68 65 6e 0d | "go bac|k" then.|
|00004e10| 73 65 74 20 6c 6f 63 6b | 6d 65 73 73 61 67 65 73 |set lock|messages|
|00004e20| 20 74 6f 20 74 72 75 65 | 0d 70 6f 70 20 63 61 72 | to true|.pop car|
|00004e30| 64 20 2d 2d 20 74 6f 20 | 72 65 74 75 72 6e 20 66 |d -- to |return f|
|00004e40| 72 6f 6d 20 77 68 65 6e | 63 65 20 77 65 20 63 61 |rom when|ce we ca|
|00004e50| 6d 65 2e 2e 2e 0d 73 65 | 74 20 6c 6f 63 6b 6d 65 |me....se|t lockme|
|00004e60| 73 73 61 67 65 73 20 74 | 6f 20 66 61 6c 73 65 0d |ssages t|o false.|
|00004e70| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|00004e80| 74 68 20 76 69 73 75 61 | 6c 20 69 72 69 73 20 63 |th visua|l iris c|
|00004e90| 6c 6f 73 65 0d 65 6c 73 | 65 0d 70 6f 70 20 63 61 |lose.els|e.pop ca|
|00004ea0| 72 64 20 69 6e 74 6f 20 | 74 72 61 73 68 20 2d 2d |rd into |trash --|
|00004eb0| 20 63 6c 65 61 6e 20 75 | 70 0d 69 66 20 74 68 65 | clean u|p.if the|
|00004ec0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00004ed0| 68 69 73 20 62 67 20 69 | 73 20 22 67 6c 6f 73 73 |his bg i|s "gloss|
|00004ee0| 61 72 79 22 20 6f 72 c2 | 0d 74 68 65 20 73 68 6f |ary" or.|.the sho|
|00004ef0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004f00| 62 67 20 69 73 20 22 73 | 6e 61 70 73 68 6f 74 73 |bg is "s|napshots|
|00004f10| 22 20 74 68 65 6e 0d 2d | 2d 20 75 70 64 61 74 65 |" then.-|- update|
|00004f20| 20 72 65 74 75 72 6e 20 | 61 72 72 6f 77 20 61 6e | return |arrow an|
|00004f30| 64 20 74 61 62 73 0d 73 | 65 6e 64 20 6f 70 65 6e |d tabs.s|end open|
|00004f40| 62 61 63 6b 67 72 6f 75 | 6e 64 20 74 6f 20 74 68 |backgrou|nd to th|
|00004f50| 69 73 20 62 61 63 6b 67 | 72 6f 75 6e 64 0d 65 6e |is backg|round.en|
|00004f60| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |d if.end| if.put |
|00004f70| 66 61 6c 73 65 20 69 6e | 74 6f 20 67 46 69 6e 64 |false in|to gFind|
|00004f80| 46 6c 61 67 0d 65 78 69 | 74 20 74 6f 20 68 79 70 |Flag.exi|t to hyp|
|00004f90| 65 72 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 65 6c |ercard.e|nd if.el|
|00004fa0| 73 65 20 2d 2d 20 67 6f | 20 6c 6f 6f 6b 20 69 6e |se -- go| look in|
|00004fb0| 20 6e 65 78 74 20 73 74 | 61 63 6b 0d 73 65 74 20 | next st|ack.set |
|00004fc0| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|00004fd0| 74 72 75 65 0d 73 65 74 | 20 6c 6f 63 6b 6d 65 73 |true.set| lockmes|
|00004fe0| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 67 6f |sages to| true.go|
|00004ff0| 20 73 74 61 63 6b 20 28 | 69 74 65 6d 20 67 57 68 | stack (|item gWh|
|00005000| 69 63 68 53 74 61 63 6b | 20 6f 66 20 67 4e 65 78 |ichStack| of gNex|
|00005010| 74 53 74 61 63 6b 29 0d | 73 65 74 20 6c 6f 63 6b |tStack).|set lock|
|00005020| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |messages| to fals|
|00005030| 65 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |e.unlock| screen |
|00005040| 77 69 74 68 20 76 69 73 | 75 61 6c 20 77 69 70 65 |with vis|ual wipe|
|00005050| 20 6c 65 66 74 0d 6c 6f | 63 6b 20 73 63 72 65 65 | left.lo|ck scree|
|00005060| 6e 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n.put em|pty into|
|00005070| 20 67 46 69 72 73 74 43 | 68 75 6e 6b 20 2d 2d 20 | gFirstC|hunk -- |
|00005080| 72 65 73 65 74 73 20 22 | 67 6f 6e 65 20 6f 6e 63 |resets "|gone onc|
|00005090| 65 20 61 72 6f 75 6e 64 | 20 73 74 61 63 6b 22 20 |e around| stack" |
|000050a0| 76 61 72 2e 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |var..end| if.end |
|000050b0| 53 77 69 74 63 68 53 74 | 61 63 6b 0d 0d 2d 2d 2d |SwitchSt|ack..---|
|000050c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 45 6e 64 |--------|---- End|
|000050d0| 20 6f 66 20 73 74 75 66 | 66 20 74 6f 20 63 6f 70 | of stuf|f to cop|
|000050e0| 79 20 74 6f 20 61 6c 6c | 20 63 6f 75 72 73 65 20 |y to all| course |
|000050f0| 73 74 61 63 6b 73 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |stacks -|--------|
|00005100| 2d 2d 0d 0d 2d 2d 20 54 | 68 69 73 20 68 61 6e 64 |--..-- T|his hand|
|00005110| 6c 65 72 20 69 73 20 63 | 61 6c 6c 65 64 20 66 72 |ler is c|alled fr|
|00005120| 6f 6d 20 6f 74 68 65 72 | 20 73 74 61 63 6b 73 20 |om other| stacks |
|00005130| 74 6f 6f 2e 0d 2d 2d 20 | 53 65 61 72 63 68 65 73 |too..-- |Searches|
|00005140| 20 69 6e 69 74 69 61 74 | 65 64 20 66 72 6f 6d 20 | initiat|ed from |
|00005150| 53 63 72 61 70 62 6f 6f | 6b 20 28 77 68 69 63 68 |Scrapboo|k (which|
|00005160| 20 69 6e 63 6c 75 64 65 | 73 20 74 68 65 20 73 65 | include|s the se|
|00005170| 70 61 72 61 74 65 0d 2d | 2d 20 73 74 61 63 6b 28 |parate.-|- stack(|
|00005180| 73 29 20 53 6e 61 70 73 | 68 6f 74 20 31 20 74 6f |s) Snaps|hot 1 to|
|00005190| 20 6e 29 20 64 6f 6e 27 | 74 20 70 72 6f 76 69 64 | n) don'|t provid|
|000051a0| 65 20 66 6f 72 20 62 6f | 6f 6b 6d 61 72 6b 73 2e |e for bo|okmarks.|
|000051b0| 0d 66 75 6e 63 74 69 6f | 6e 20 73 65 61 72 63 68 |.functio|n search|
|000051c0| 44 69 61 6c 6f 67 20 66 | 72 6f 6d 53 63 72 61 70 |Dialog f|romScrap|
|000051d0| 62 6f 6f 6b 0d 67 6c 6f | 62 61 6c 20 67 46 69 6e |book.glo|bal gFin|
|000051e0| 64 57 68 61 74 2c 67 46 | 69 6e 64 57 68 65 72 65 |dWhat,gF|indWhere|
|000051f0| 2c 67 46 69 6e 64 48 6f | 77 2c 67 4e 65 78 74 53 |,gFindHo|w,gNextS|
|00005200| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 73 63 72 61 |tack.glo|bal scra|
|00005210| 70 46 69 6c 65 20 2d 2d | 20 66 75 6c 6c 20 70 61 |pFile --| full pa|
|00005220| 74 68 20 6e 61 6d 65 20 | 6f 66 20 73 74 75 64 65 |th name |of stude|
|00005230| 6e 74 20 73 63 72 61 70 | 62 6f 6f 6b 0d 67 6c 6f |nt scrap|book.glo|
|00005240| 62 61 6c 20 63 6f 75 72 | 73 65 2c 75 73 65 53 53 |bal cour|se,useSS|
|00005250| 2c 73 6e 61 70 53 74 61 | 63 6b 2c 62 6f 6f 6b 6d |,snapSta|ck,bookm|
|00005260| 61 72 6b 50 72 65 66 0d | 67 6c 6f 62 61 6c 20 62 |arkPref.|global b|
|00005270| 74 6e 53 74 61 74 75 73 | 2c 61 6e 73 77 65 72 54 |tnStatus|,answerT|
|00005280| 72 61 63 6b 65 72 2c 42 | 54 4f 62 6a 65 63 74 4e |racker,B|TObjectN|
|00005290| 61 6d 65 0d 0d 2d 2d 20 | 4e 4f 54 45 3a 20 44 75 |ame..-- |NOTE: Du|
|000052a0| 65 20 74 6f 20 61 20 62 | 75 67 20 69 6e 20 74 68 |e to a b|ug in th|
|000052b0| 65 20 77 61 79 20 48 43 | 20 70 61 73 73 65 73 20 |e way HC| passes |
|000052c0| 67 6c 6f 62 61 6c 73 20 | 74 6f 20 58 43 4d 44 27 |globals |to XCMD'|
|000052d0| 73 2c 20 77 65 0d 2d 2d | 20 6e 65 65 64 20 74 6f |s, we.--| need to|
|000052e0| 20 70 75 74 20 74 68 65 | 20 67 46 69 6e 64 57 68 | put the| gFindWh|
|000052f0| 61 74 20 69 6e 74 6f 20 | 61 20 66 69 65 6c 64 20 |at into |a field |
|00005300| 61 6e 64 20 74 61 6b 65 | 20 69 74 20 66 72 6f 6d |and take| it from|
|00005310| 20 74 68 65 72 65 0d 2d | 2d 20 74 68 65 20 6e 65 | there.-|- the ne|
|00005320| 78 74 20 74 69 6d 65 20 | 74 68 69 73 20 68 61 6e |xt time |this han|
|00005330| 64 6c 65 72 20 69 73 20 | 63 61 6c 6c 65 64 2e 0d |dler is |called..|
|00005340| 70 75 74 20 63 64 20 66 | 6c 64 20 22 67 66 69 6e |put cd f|ld "gfin|
|00005350| 64 57 68 61 74 48 6f 6c | 64 65 72 22 20 69 6e 74 |dWhatHol|der" int|
|00005360| 6f 20 67 66 69 6e 64 57 | 68 61 74 20 2d 2d 20 70 |o gfindW|hat -- p|
|00005370| 72 6f 6d 70 74 20 66 6f | 72 20 65 64 69 74 54 65 |rompt fo|r editTe|
|00005380| 78 74 0d 0d 73 65 74 57 | 69 6e 64 6f 77 20 31 0d |xt..setW|indow 1.|
|00005390| 70 75 74 20 4e 65 77 57 | 69 6e 64 6f 77 28 22 43 |put NewW|indow("C|
|000053a0| 65 6e 74 65 72 65 64 22 | 2c 30 2c 33 32 32 2c 32 |entered"|,0,322,2|
|000053b0| 37 37 2c 31 2c 22 53 65 | 61 72 63 68 44 69 61 6c |77,1,"Se|archDial|
|000053c0| 6f 67 22 2c 22 6e 6f 47 | 6f 41 77 61 79 22 2c 22 |og","noG|oAway","|
|000053d0| 66 6c 6f 61 74 69 6e 67 | 22 29 20 69 6e 74 6f 20 |floating|") into |
|000053e0| 74 68 65 49 44 0d 0d 6e | 65 77 4f 62 6a 65 63 74 |theID..n|ewObject|
|000053f0| 20 22 73 74 61 74 69 63 | 54 65 78 74 22 2c 22 4c | "static|Text","L|
|00005400| 61 62 65 6c 22 2c 35 39 | 2b 31 35 2c 33 2c 32 39 |abel",59|+15,3,29|
|00005410| 32 2b 31 35 2c 34 35 2c | 22 53 74 75 64 65 6e 74 |2+15,45,|"Student|
|00005420| 20 53 65 72 76 69 63 65 | 73 22 20 26 20 72 65 74 | Service|s" & ret|
|00005430| 75 72 6e 20 26 20 22 53 | 65 61 72 63 68 22 2c 22 |urn & "S|earch","|
|00005440| 50 61 6c 61 74 69 6e 6f | 22 2c 31 38 2c 22 70 6c |Palatino|",18,"pl|
|00005450| 61 69 6e 22 2c 22 6c 22 | 2c 22 74 72 61 6e 73 70 |ain","l"|,"transp|
|00005460| 61 72 65 6e 74 22 0d 6e | 65 77 4f 62 6a 65 63 74 |arent".n|ewObject|
|00005470| 20 22 72 65 63 74 42 75 | 74 74 6f 6e 22 2c 22 49 | "rectBu|tton","I|
|00005480| 63 6f 6e 22 2c 31 37 2b | 31 35 2c 38 2c 36 31 2b |con",17+|15,8,61+|
|00005490| 31 35 2c 34 35 2c 22 22 | 2c 32 37 30 31 32 2c 22 |15,45,""|,27012,"|
|000054a0| 6e 6f 74 41 63 74 69 76 | 65 22 2c 22 64 6f 6e 74 |notActiv|e","dont|
|000054b0| 49 6e 76 65 72 74 22 2c | 22 22 2c 22 22 0d 6e 65 |Invert",|"","".ne|
|000054c0| 77 4f 62 6a 65 63 74 20 | 22 72 65 63 74 61 6e 67 |wObject |"rectang|
|000054d0| 6c 65 22 2c 22 72 65 63 | 74 31 22 2c 30 2c 35 33 |le","rec|t1",0,53|
|000054e0| 2c 32 39 30 2b 33 32 2c | 35 34 2c 31 0d 6e 65 77 |,290+32,|54,1.new|
|000054f0| 4f 62 6a 65 63 74 20 22 | 73 74 61 74 69 63 54 65 |Object "|staticTe|
|00005500| 78 74 22 2c 22 4c 61 62 | 65 6c 32 22 2c 32 34 2c |xt","Lab|el2",24,|
|00005510| 35 37 2c 31 35 37 2c 37 | 36 2c 22 53 65 61 72 63 |57,157,7|6,"Searc|
|00005520| 68 20 46 6f 72 22 2c 22 | 43 68 69 63 61 67 6f 22 |h For","|Chicago"|
|00005530| 2c 31 32 2c 22 70 6c 61 | 69 6e 22 2c 22 6c 22 2c |,12,"pla|in","l",|
|00005540| 22 74 72 61 6e 73 70 61 | 72 65 6e 74 22 0d 6e 65 |"transpa|rent".ne|
|00005550| 77 4f 62 6a 65 63 74 20 | 22 65 64 69 74 54 65 78 |wObject |"editTex|
|00005560| 74 22 2c 22 53 65 61 72 | 63 68 53 74 72 69 6e 67 |t","Sear|chString|
|00005570| 22 2c 32 37 2c 37 37 2c | 32 36 30 2b 33 30 2c 39 |",27,77,|260+30,9|
|00005580| 36 2c 67 46 69 6e 64 57 | 68 61 74 2c 22 43 68 69 |6,gFindW|hat,"Chi|
|00005590| 63 61 67 6f 22 2c 31 32 | 2c 22 70 6c 61 69 6e 22 |cago",12|,"plain"|
|000055a0| 2c 22 4e 6f 53 63 72 6f | 6c 6c 22 2c 22 68 61 73 |,"NoScro|ll","has|
|000055b0| 43 75 72 73 6f 72 22 0d | 6e 65 77 4f 62 6a 65 63 |Cursor".|newObjec|
|000055c0| 74 20 22 73 74 61 74 69 | 63 54 65 78 74 22 2c 22 |t "stati|cText","|
|000055d0| 49 6e 4c 61 62 65 6c 22 | 2c 32 34 2c 31 30 32 2c |InLabel"|,24,102,|
|000055e0| 39 30 2c 31 32 32 2c 22 | 49 6e 3a 22 2c 22 43 68 |90,122,"|In:","Ch|
|000055f0| 69 63 61 67 6f 22 2c 31 | 32 2c 22 70 6c 61 69 6e |icago",1|2,"plain|
|00005600| 22 2c 22 6c 22 2c 22 74 | 72 61 6e 73 70 61 72 65 |","l","t|ranspare|
|00005610| 6e 74 22 0d 6e 65 77 4f | 62 6a 65 63 74 20 22 73 |nt".newO|bject "s|
|00005620| 74 61 74 69 63 54 65 78 | 74 22 2c 22 42 79 4c 61 |taticTex|t","ByLa|
|00005630| 62 65 6c 22 2c 31 33 38 | 2b 33 30 2c 31 30 32 2c |bel",138|+30,102,|
|00005640| 32 30 34 2b 33 30 2c 31 | 32 32 2c 22 42 79 3a 22 |204+30,1|22,"By:"|
|00005650| 2c 22 43 68 69 63 61 67 | 6f 22 2c 31 32 2c 22 70 |,"Chicag|o",12,"p|
|00005660| 6c 61 69 6e 22 2c 22 6c | 22 2c 22 74 72 61 6e 73 |lain","l|","trans|
|00005670| 70 61 72 65 6e 74 22 0d | 69 66 20 63 6f 75 72 73 |parent".|if cours|
|00005680| 65 20 74 68 65 6e 0d 70 | 75 74 20 22 6f 6e 22 20 |e then.p|ut "on" |
|00005690| 69 6e 74 6f 20 73 74 61 | 74 75 73 0d 70 75 74 20 |into sta|tus.put |
|000056a0| 22 61 63 74 69 76 65 22 | 20 69 6e 74 6f 20 73 74 |"active"| into st|
|000056b0| 61 74 65 0d 65 6c 73 65 | 0d 70 75 74 20 22 6f 66 |ate.else|.put "of|
|000056c0| 66 22 20 69 6e 74 6f 20 | 73 74 61 74 75 73 0d 70 |f" into |status.p|
|000056d0| 75 74 20 22 6e 6f 74 41 | 63 74 69 76 65 22 20 69 |ut "notA|ctive" i|
|000056e0| 6e 74 6f 20 73 74 61 74 | 65 0d 65 6e 64 20 69 66 |nto stat|e.end if|
|000056f0| 0d 6e 65 77 4f 62 6a 65 | 63 74 20 22 63 68 65 63 |.newObje|ct "chec|
|00005700| 6b 42 6f 78 22 2c 22 43 | 6f 75 72 73 65 42 6f 78 |kBox","C|ourseBox|
|00005710| 22 2c 32 34 2c 31 32 32 | 2c 31 32 33 2c 31 34 35 |",24,122|,123,145|
|00005720| 2c 73 74 61 74 75 73 2c | 73 74 61 74 65 2c 22 43 |,status,|state,"C|
|00005730| 6f 75 72 73 65 22 2c 22 | 22 0d 69 66 20 75 73 65 |ourse","|".if use|
|00005740| 53 53 20 74 68 65 6e 0d | 70 75 74 20 22 6f 6e 22 |SS then.|put "on"|
|00005750| 20 69 6e 74 6f 20 73 74 | 61 74 75 73 0d 70 75 74 | into st|atus.put|
|00005760| 20 22 61 63 74 69 76 65 | 22 20 69 6e 74 6f 20 73 | "active|" into s|
|00005770| 74 61 74 65 0d 65 6c 73 | 65 0d 70 75 74 20 22 6f |tate.els|e.put "o|
|00005780| 66 66 22 20 69 6e 74 6f | 20 73 74 61 74 75 73 0d |ff" into| status.|
|00005790| 70 75 74 20 22 6e 6f 74 | 41 63 74 69 76 65 22 20 |put "not|Active" |
|000057a0| 69 6e 74 6f 20 73 74 61 | 74 65 0d 65 6e 64 20 69 |into sta|te.end i|
|000057b0| 66 0d 6e 65 77 4f 62 6a | 65 63 74 20 22 63 68 65 |f.newObj|ect "che|
|000057c0| 63 6b 42 6f 78 22 2c 22 | 53 68 6f 74 4e 6f 74 65 |ckBox","|ShotNote|
|000057d0| 42 6f 78 22 2c 32 34 2c | 31 34 35 2c 31 32 33 2b |Box",24,|145,123+|
|000057e0| 34 35 2c 31 36 38 2c 73 | 74 61 74 75 73 2c 73 74 |45,168,s|tatus,st|
|000057f0| 61 74 65 2c 22 53 6e 61 | 70 73 68 6f 74 73 20 26 |ate,"Sna|pshots &|
|00005800| 20 4e 6f 74 65 73 22 2c | 22 22 0d 6e 65 77 4f 62 | Notes",|"".newOb|
|00005810| 6a 65 63 74 20 22 63 68 | 65 63 6b 42 6f 78 22 2c |ject "ch|eckBox",|
|00005820| 22 47 6c 6f 73 73 61 72 | 79 42 6f 78 22 2c 32 34 |"Glossar|yBox",24|
|00005830| 2c 31 36 38 2c 31 32 33 | 2c 31 39 31 2c 22 6f 6e |,168,123|,191,"on|
|00005840| 22 2c 22 61 63 74 69 76 | 65 22 2c 22 47 6c 6f 73 |","activ|e","Glos|
|00005850| 73 61 72 79 22 2c 22 22 | 0d 6e 65 77 4f 62 6a 65 |sary",""|.newObje|
|00005860| 63 74 20 22 72 61 64 69 | 6f 42 75 74 74 6f 6e 22 |ct "radi|oButton"|
|00005870| 2c 22 46 69 72 73 74 43 | 68 61 72 22 2c 31 33 38 |,"FirstC|har",138|
|00005880| 2b 33 35 2c 31 32 32 2c | 32 36 38 2b 33 35 2c 31 |+35,122,|268+35,1|
|00005890| 34 35 2c 31 2c 22 74 72 | 75 65 22 2c 22 46 69 72 |45,1,"tr|ue","Fir|
|000058a0| 73 74 20 43 68 61 72 61 | 63 74 65 72 73 22 2c 22 |st Chara|cters","|
|000058b0| 22 0d 6e 65 77 4f 62 6a | 65 63 74 20 22 72 61 64 |".newObj|ect "rad|
|000058c0| 69 6f 42 75 74 74 6f 6e | 22 2c 22 57 68 6f 6c 65 |ioButton|","Whole|
|000058d0| 57 6f 72 64 22 2c 31 33 | 38 2b 33 35 2c 31 34 35 |Word",13|8+35,145|
|000058e0| 2c 32 36 38 2b 33 35 2c | 31 36 38 2c 31 2c 22 66 |,268+35,|168,1,"f|
|000058f0| 61 6c 73 65 22 2c 22 57 | 68 6f 6c 65 20 57 6f 72 |alse","W|hole Wor|
|00005900| 64 28 73 29 22 2c 22 22 | 0d 6e 65 77 4f 62 6a 65 |d(s)",""|.newObje|
|00005910| 63 74 20 22 72 61 64 69 | 6f 42 75 74 74 6f 6e 22 |ct "radi|oButton"|
|00005920| 2c 22 45 78 61 63 74 53 | 74 72 69 6e 67 22 2c 31 |,"ExactS|tring",1|
|00005930| 33 38 2b 33 35 2c 31 36 | 38 2c 32 36 38 2b 33 35 |38+35,16|8,268+35|
|00005940| 2c 31 39 31 2c 31 2c 22 | 66 61 6c 73 65 22 2c 22 |,191,1,"|false","|
|00005950| 45 78 61 63 74 20 53 74 | 72 69 6e 67 22 2c 22 22 |Exact St|ring",""|
|00005960| 0d 69 66 20 66 72 6f 6d | 53 63 72 61 70 62 6f 6f |.if from|Scrapboo|
|00005970| 6b 20 6f 72 20 6e 6f 74 | 20 55 73 65 53 53 20 74 |k or not| UseSS t|
|00005980| 68 65 6e 0d 70 75 74 20 | 22 6f 66 66 22 20 69 6e |hen.put |"off" in|
|00005990| 74 6f 20 73 74 61 74 75 | 73 0d 70 75 74 20 22 6e |to statu|s.put "n|
|000059a0| 6f 74 41 63 74 69 76 65 | 22 20 69 6e 74 6f 20 73 |otActive|" into s|
|000059b0| 74 61 74 65 0d 65 6c 73 | 65 0d 70 75 74 20 69 74 |tate.els|e.put it|
|000059c0| 65 6d 20 6f 66 66 73 65 | 74 28 63 68 61 72 20 31 |em offse|t(char 1|
|000059d0| 20 6f 66 20 42 6f 6f 6b | 6d 61 72 6b 50 72 65 66 | of Book|markPref|
|000059e0| 2c 22 74 66 22 29 20 6f | 66 20 22 6f 6e 2c 6f 66 |,"tf") o|f "on,of|
|000059f0| 66 22 20 69 6e 74 6f 20 | 73 74 61 74 75 73 0d 70 |f" into |status.p|
|00005a00| 75 74 20 22 61 63 74 69 | 76 65 22 20 69 6e 74 6f |ut "acti|ve" into|
|00005a10| 20 73 74 61 74 65 0d 65 | 6e 64 20 69 66 0d 6e 65 | state.e|nd if.ne|
|00005a20| 77 4f 62 6a 65 63 74 20 | 22 63 68 65 63 6b 42 6f |wObject |"checkBo|
|00005a30| 78 22 2c 22 4d 61 72 6b | 42 6f 78 22 2c 31 31 32 |x","Mark|Box",112|
|00005a40| 2b 33 35 2c 32 31 33 2d | 35 2c 32 37 34 2b 33 35 |+35,213-|5,274+35|
|00005a50| 2c 32 33 32 2d 35 2c 73 | 74 61 74 75 73 2c 73 74 |,232-5,s|tatus,st|
|00005a60| 61 74 65 2c 22 4c 65 61 | 76 65 20 41 20 42 6f 6f |ate,"Lea|ve A Boo|
|00005a70| 6b 6d 61 72 6b 3f 22 0d | 6e 65 77 4f 62 6a 65 63 |kmark?".|newObjec|
|00005a80| 74 20 22 72 6f 75 6e 64 | 42 75 74 74 6f 6e 22 2c |t "round|Button",|
|00005a90| 22 53 65 61 72 63 68 22 | 2c 31 37 31 2b 32 35 2c |"Search"|,171+25,|
|00005aa0| 32 33 38 2c 32 37 32 2b | 32 35 2c 32 36 36 2c 22 |238,272+|25,266,"|
|00005ab0| 53 65 61 72 63 68 22 2c | 31 33 2c 22 6e 6f 43 6f |Search",|13,"noCo|
|00005ac0| 6d 6d 61 6e 64 22 2c 22 | 68 69 64 65 20 77 69 6e |mmand","|hide win|
|00005ad0| 64 6f 77 20 53 65 61 72 | 63 68 44 69 61 6c 6f 67 |dow Sear|chDialog|
|00005ae0| 22 0d 6e 65 77 4f 62 6a | 65 63 74 20 22 72 6f 75 |".newObj|ect "rou|
|00005af0| 6e 64 42 75 74 74 6f 6e | 22 2c 22 43 61 6e 63 65 |ndButton|","Cance|
|00005b00| 6c 22 2c 37 35 2b 32 35 | 2c 32 34 32 2c 31 36 35 |l",75+25|,242,165|
|00005b10| 2b 32 35 2c 32 36 32 2c | 22 43 61 6e 63 65 6c 22 |+25,262,|"Cancel"|
|00005b20| 2c 34 36 2c 22 43 6f 6d | 6d 61 6e 64 22 2c 22 68 |,46,"Com|mand","h|
|00005b30| 69 64 65 20 77 69 6e 64 | 6f 77 20 53 65 61 72 63 |ide wind|ow Searc|
|00005b40| 68 44 69 61 6c 6f 67 22 | 0d 2d 2d 20 6e 65 77 4f |hDialog"|.-- newO|
|00005b50| 62 6a 65 63 74 20 22 72 | 65 63 74 42 75 74 74 6f |bject "r|ectButto|
|00005b60| 6e 22 2c 22 53 53 49 63 | 6f 6e 22 2c 32 30 2b 31 |n","SSIc|on",20+1|
|00005b70| 35 2c 32 33 38 2c 36 34 | 2b 31 35 2c 32 37 30 2c |5,238,64|+15,270,|
|00005b80| 22 22 2c 31 33 31 30 2c | 22 41 63 74 69 76 65 22 |"",1310,|"Active"|
|00005b90| 2c 22 69 6e 76 65 72 74 | 22 2c 22 6d 6f 75 73 65 |,"invert|","mouse|
|00005ba0| 55 70 22 2c 22 68 69 64 | 65 20 77 69 6e 64 6f 77 |Up","hid|e window|
|00005bb0| 20 53 65 61 72 63 68 44 | 69 61 6c 6f 67 22 0d 73 | SearchD|ialog".s|
|00005bc0| 65 74 56 61 6c 75 65 20 | 22 61 63 74 69 76 65 45 |etValue |"activeE|
|00005bd0| 64 69 74 22 2c 22 53 65 | 61 72 63 68 44 69 61 6c |dit","Se|archDial|
|00005be0| 6f 67 22 2c 22 53 65 61 | 72 63 68 53 74 72 69 6e |og","Sea|rchStrin|
|00005bf0| 67 22 0d 2d 2d 20 73 68 | 6f 77 20 77 69 6e 64 6f |g".-- sh|ow windo|
|00005c00| 77 20 69 64 20 74 68 65 | 49 44 0d 67 65 74 20 6d |w id the|ID.get m|
|00005c10| 6f 64 61 6c 44 69 73 70 | 6c 61 79 28 31 2c 31 38 |odalDisp|lay(1,18|
|00005c20| 30 29 0d 0d 69 66 20 69 | 74 20 3d 20 22 74 69 6d |0)..if i|t = "tim|
|00005c30| 65 6f 75 74 22 20 6f 72 | 20 69 74 20 3d 20 22 42 |eout" or| it = "B|
|00005c40| 22 20 74 68 65 6e 0d 6b | 69 6c 6c 57 69 6e 64 6f |" then.k|illWindo|
|00005c50| 77 0d 72 65 74 75 72 6e | 20 22 63 61 6e 63 65 6c |w.return| "cancel|
|00005c60| 22 0d 65 6e 64 20 69 66 | 0d 0d 6c 6f 63 6b 20 73 |".end if|..lock s|
|00005c70| 63 72 65 65 6e 20 2d 2d | 20 66 6f 72 63 65 20 73 |creen --| force s|
|00005c80| 63 72 65 65 6e 20 72 65 | 66 72 65 73 68 0d 75 6e |creen re|fresh.un|
|00005c90| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 0d 69 66 20 |lock scr|een..if |
|00005ca0| 42 54 4f 62 6a 65 63 74 | 4e 61 6d 65 20 3d 20 22 |BTObject|Name = "|
|00005cb0| 53 53 49 63 6f 6e 22 20 | 74 68 65 6e 0d 6b 69 6c |SSIcon" |then.kil|
|00005cc0| 6c 57 69 6e 64 6f 77 0d | 72 65 74 75 72 6e 20 22 |lWindow.|return "|
|00005cd0| 53 53 22 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 42 |SS".end |if..if B|
|00005ce0| 54 4f 62 6a 65 63 74 4e | 61 6d 65 20 3d 20 22 43 |TObjectN|ame = "C|
|00005cf0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 0d 6b 69 6c 6c |ancel" t|hen.kill|
|00005d00| 57 69 6e 64 6f 77 0d 72 | 65 74 75 72 6e 20 22 43 |Window.r|eturn "C|
|00005d10| 61 6e 63 65 6c 22 0d 65 | 6e 64 20 69 66 0d 0d 70 |ancel".e|nd if..p|
|00005d20| 75 74 20 67 65 74 76 61 | 6c 75 65 28 22 6f 62 6a |ut getva|lue("obj|
|00005d30| 65 63 74 54 65 78 74 22 | 2c 22 53 65 61 72 63 68 |ectText"|,"Search|
|00005d40| 53 74 72 69 6e 67 22 29 | 20 69 6e 74 6f 20 67 46 |String")| into gF|
|00005d50| 69 6e 64 57 68 61 74 0d | 69 66 20 67 46 69 6e 64 |indWhat.|if gFind|
|00005d60| 57 68 61 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |What is |empty th|
|00005d70| 65 6e 0d 61 6e 73 77 65 | 72 20 22 4e 6f 74 68 69 |en.answe|r "Nothi|
|00005d80| 6e 67 20 74 6f 20 73 65 | 61 72 63 68 20 66 6f 72 |ng to se|arch for|
|00005d90| 2e 22 0d 6b 69 6c 6c 57 | 69 6e 64 6f 77 0d 72 65 |.".killW|indow.re|
|00005da0| 74 75 72 6e 20 22 43 61 | 6e 63 65 6c 22 0d 65 6c |turn "Ca|ncel".el|
|00005db0| 73 65 0d 70 75 74 20 67 | 66 69 6e 64 57 68 61 74 |se.put g|findWhat|
|00005dc0| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 67 66 | into cd| fld "gf|
|00005dd0| 69 6e 64 57 68 61 74 48 | 6f 6c 64 65 72 22 0d 65 |indWhatH|older".e|
|00005de0| 6e 64 20 69 66 0d 0d 67 | 65 74 20 47 65 74 56 61 |nd if..g|et GetVa|
|00005df0| 6c 75 65 28 22 63 6c 75 | 73 74 65 72 22 2c 31 29 |lue("clu|ster",1)|
|00005e00| 0d 70 75 74 20 69 74 65 | 6d 20 33 20 6f 66 20 69 |.put ite|m 3 of i|
|00005e10| 74 20 69 6e 74 6f 20 67 | 46 69 6e 64 48 6f 77 0d |t into g|FindHow.|
|00005e20| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00005e30| 67 46 69 6e 64 57 68 65 | 72 65 0d 70 75 74 20 65 |gFindWhe|re.put e|
|00005e40| 6d 70 74 79 20 69 6e 74 | 6f 20 67 4e 65 78 74 53 |mpty int|o gNextS|
|00005e50| 74 61 63 6b 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |tack.put| empty i|
|00005e60| 6e 74 6f 20 74 68 65 43 | 6f 75 72 73 65 0d 70 75 |nto theC|ourse.pu|
|00005e70| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 68 65 |t empty |into the|
|00005e80| 53 63 72 61 70 62 6f 6f | 6b 0d 0d 67 65 74 20 47 |Scrapboo|k..get G|
|00005e90| 65 74 56 61 6c 75 65 20 | 28 22 6f 62 6a 65 63 74 |etValue |("object|
|00005ea0| 22 2c 22 63 6f 75 72 73 | 65 42 6f 78 22 29 20 2d |","cours|eBox") -|
|00005eb0| 2d 20 63 6f 75 72 73 65 | 20 63 68 65 63 6b 62 6f |- course| checkbo|
|00005ec0| 78 0d 69 66 20 6c 69 6e | 65 20 39 20 6f 66 20 69 |x.if lin|e 9 of i|
|00005ed0| 74 20 69 73 20 22 6f 6e | 22 20 74 68 65 6e 0d 70 |t is "on|" then.p|
|00005ee0| 75 74 20 22 63 6f 75 72 | 73 65 22 20 69 6e 74 6f |ut "cour|se" into|
|00005ef0| 20 67 46 69 6e 64 57 68 | 65 72 65 0d 65 6e 64 20 | gFindWh|ere.end |
|00005f00| 69 66 0d 0d 67 65 74 20 | 47 65 74 56 61 6c 75 65 |if..get |GetValue|
|00005f10| 20 28 22 6f 62 6a 65 63 | 74 22 2c 22 53 68 6f 74 | ("objec|t","Shot|
|00005f20| 4e 6f 74 65 42 6f 78 22 | 29 20 2d 2d 20 73 6e 61 |NoteBox"|) -- sna|
|00005f30| 70 73 68 6f 74 73 20 26 | 20 6e 6f 74 65 73 20 63 |pshots &| notes c|
|00005f40| 68 65 63 6b 62 6f 78 0d | 69 66 20 6c 69 6e 65 20 |heckbox.|if line |
|00005f50| 39 20 6f 66 20 69 74 20 | 69 73 20 22 6f 6e 22 20 |9 of it |is "on" |
|00005f60| 74 68 65 6e 0d 70 75 74 | 20 22 73 63 72 61 70 62 |then.put| "scrapb|
|00005f70| 6f 6f 6b 22 20 69 6e 74 | 6f 20 69 74 65 6d 20 28 |ook" int|o item (|
|00005f80| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00005f90| 6f 66 20 67 46 69 6e 64 | 57 68 65 72 65 29 20 2b |of gFind|Where) +|
|00005fa0| 31 c2 0d 6f 66 20 67 46 | 69 6e 64 57 68 65 72 65 |1..of gF|indWhere|
|00005fb0| 0d 65 6e 64 20 69 66 0d | 0d 67 65 74 20 67 65 74 |.end if.|.get get|
|00005fc0| 56 61 6c 75 65 20 28 22 | 6f 62 6a 65 63 74 22 2c |Value ("|object",|
|00005fd0| 22 47 6c 6f 73 73 61 72 | 79 42 6f 78 22 29 20 2d |"Glossar|yBox") -|
|00005fe0| 2d 20 67 6c 6f 73 73 61 | 72 79 20 63 68 65 63 6b |- glossa|ry check|
|00005ff0| 62 6f 78 0d 69 66 20 6c | 69 6e 65 20 39 20 6f 66 |box.if l|ine 9 of|
|00006000| 20 69 74 20 69 73 20 22 | 6f 6e 22 20 74 68 65 6e | it is "|on" then|
|00006010| 0d 70 75 74 20 22 67 6c | 6f 73 73 61 72 79 22 20 |.put "gl|ossary" |
|00006020| 69 6e 74 6f 20 69 74 65 | 6d 20 28 6e 75 6d 62 65 |into ite|m (numbe|
|00006030| 72 20 6f 66 20 69 74 65 | 6d 73 20 6f 66 20 67 46 |r of ite|ms of gF|
|00006040| 69 6e 64 57 68 65 72 65 | 29 20 2b 31 c2 0d 6f 66 |indWhere|) +1..of|
|00006050| 20 67 46 69 6e 64 57 68 | 65 72 65 0d 65 6e 64 20 | gFindWh|ere.end |
|00006060| 69 66 0d 0d 69 66 20 67 | 46 69 6e 64 57 68 65 72 |if..if g|FindWher|
|00006070| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |e is emp|ty then.|
|00006080| 61 6e 73 77 65 72 20 22 | 4e 6f 77 68 65 72 65 20 |answer "|Nowhere |
|00006090| 74 6f 20 73 65 61 72 63 | 68 2e 22 0d 6b 69 6c 6c |to searc|h.".kill|
|000060a0| 57 69 6e 64 6f 77 0d 72 | 65 74 75 72 6e 20 22 43 |Window.r|eturn "C|
|000060b0| 61 6e 63 65 6c 22 0d 65 | 6e 64 20 69 66 0d 0d 69 |ancel".e|nd if..i|
|000060c0| 66 20 67 46 69 6e 64 57 | 68 65 72 65 20 63 6f 6e |f gFindW|here con|
|000060d0| 74 61 69 6e 73 20 22 63 | 6f 75 72 73 65 22 20 20 |tains "c|ourse" |
|000060e0| 74 68 65 6e 0d 67 65 74 | 20 63 64 20 66 6c 64 20 |then.get| cd fld |
|000060f0| 22 63 6f 75 72 73 65 20 | 73 74 61 63 6b 73 22 20 |"course |stacks" |
|00006100| 6f 66 20 63 64 20 31 0d | 70 75 74 20 69 74 20 69 |of cd 1.|put it i|
|00006110| 6e 74 6f 20 74 68 65 43 | 6f 75 72 73 65 0d 70 75 |nto theC|ourse.pu|
|00006120| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 62 74 6e |t empty |into btn|
|00006130| 53 74 61 74 75 73 0d 70 | 75 74 20 65 6d 70 74 79 |Status.p|ut empty|
|00006140| 20 69 6e 74 6f 20 61 6e | 73 77 65 72 54 72 61 63 | into an|swerTrac|
|00006150| 6b 65 72 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 67 |ker.end |if..if g|
|00006160| 66 69 6e 64 57 68 65 72 | 65 20 63 6f 6e 74 61 69 |findWher|e contai|
|00006170| 6e 73 20 22 67 6c 6f 73 | 73 61 72 79 22 20 6f 72 |ns "glos|sary" or|
|00006180| c2 0d 67 66 69 6e 64 57 | 68 65 72 65 20 63 6f 6e |..gfindW|here con|
|00006190| 74 61 69 6e 73 20 22 73 | 63 72 61 70 62 6f 6f 6b |tains "s|crapbook|
|000061a0| 22 74 68 65 6e 0d 70 75 | 74 20 73 63 72 61 70 46 |"then.pu|t scrapF|
|000061b0| 69 6c 65 20 69 6e 74 6f | 20 74 68 65 53 63 72 61 |ile into| theScra|
|000061c0| 70 62 6f 6f 6b 20 2d 2d | 20 70 61 74 68 20 74 6f |pbook --| path to|
|000061d0| 20 67 6c 6f 73 73 61 72 | 79 0d 65 6e 64 20 69 66 | glossar|y.end if|
|000061e0| 0d 0d 69 66 20 20 67 66 | 69 6e 64 57 68 65 72 65 |..if gf|indWhere|
|000061f0| 20 63 6f 6e 74 61 69 6e | 73 20 22 73 63 72 61 70 | contain|s "scrap|
|00006200| 62 6f 6f 6b 22 74 68 65 | 6e 0d 69 66 20 73 6e 61 |book"the|n.if sna|
|00006210| 70 53 74 61 63 6b 20 3e | 20 30 20 74 68 65 6e 0d |pStack >| 0 then.|
|00006220| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 73 65 |put true| into se|
|00006230| 61 72 63 68 53 6e 61 70 | 73 0d 69 66 20 73 6e 61 |archSnap|s.if sna|
|00006240| 70 53 74 61 63 6b 20 3d | 20 31 20 74 68 65 6e 0d |pStack =| 1 then.|
|00006250| 70 75 73 68 20 63 64 0d | 6c 6f 63 6b 20 73 63 72 |push cd.|lock scr|
|00006260| 65 65 6e 0d 67 6f 20 73 | 74 61 63 6b 20 22 73 6e |een.go s|tack "sn|
|00006270| 61 70 73 68 6f 74 73 20 | 31 22 0d 69 66 20 74 68 |apshots |1".if th|
|00006280| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 20 |e number| of cds |
|00006290| 3d 20 31 20 74 68 65 6e | 20 2d 2d 20 6e 6f 74 68 |= 1 then| -- noth|
|000062a0| 69 6e 67 20 74 6f 20 73 | 65 61 72 63 68 0d 70 75 |ing to s|earch.pu|
|000062b0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 73 65 61 |t false |into sea|
|000062c0| 72 63 68 53 6e 61 70 73 | 0d 65 6e 64 20 69 66 0d |rchSnaps|.end if.|
|000062d0| 70 6f 70 20 63 64 0d 75 | 6e 6c 6f 63 6b 20 73 63 |pop cd.u|nlock sc|
|000062e0| 72 65 65 6e 20 2d 2d 2a | 2a 0d 69 66 20 73 65 61 |reen --*|*.if sea|
|000062f0| 72 63 68 53 6e 61 70 73 | 20 74 68 65 6e 0d 72 65 |rchSnaps| then.re|
|00006300| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00006310| 74 6f 20 73 6e 61 70 53 | 74 61 63 6b 0d 2d 2d 20 |to snapS|tack.-- |
|00006320| 70 75 74 20 73 6e 61 70 | 73 68 6f 74 20 73 74 61 |put snap|shot sta|
|00006330| 63 6b 20 6e 61 6d 65 73 | 20 61 66 74 65 72 20 69 |ck names| after i|
|00006340| 74 65 6d 20 31 0d 70 75 | 74 20 22 73 6e 61 70 73 |tem 1.pu|t "snaps|
|00006350| 68 6f 74 73 22 20 26 26 | 20 69 20 69 6e 74 6f 20 |hots" &&| i into |
|00006360| 69 74 65 6d 20 69 2b 31 | 20 6f 66 20 74 68 65 53 |item i+1| of theS|
|00006370| 63 72 61 70 62 6f 6f 6b | 0d 65 6e 64 20 72 65 70 |crapbook|.end rep|
|00006380| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |eat.end |if.end i|
|00006390| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |f.end if|.end if.|
|000063a0| 0d 69 66 20 74 68 65 43 | 6f 75 72 73 65 20 69 73 |.if theC|ourse is|
|000063b0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|000063c0| 70 75 74 20 74 68 65 43 | 6f 75 72 73 65 20 69 6e |put theC|ourse in|
|000063d0| 74 6f 20 67 4e 65 78 74 | 53 74 61 63 6b 0d 65 6e |to gNext|Stack.en|
|000063e0| 64 20 69 66 0d 0d 69 66 | 20 74 68 65 53 63 72 61 |d if..if| theScra|
|000063f0| 70 62 6f 6f 6b 20 69 73 | 20 6e 6f 74 20 65 6d 70 |pbook is| not emp|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.