home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh Fundamentals / MacintoshFundamentals-v2-0.iso / MacFun 2.0 / MF Networks < prev    next >
MacBinary  |  1990-03-08  |  570.6 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun May 1 06:19:55 1988, modified Thu Mar 8 12:56:19 1990, creator HyperCard, type HyperCard stack, 549984 bytes "MF Networks" , at 0x864e0 34093 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 4d 46 20 4e 65 74 | 77 6f 72 6b 73 00 00 00 |..MF Net|works...|
|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 08 64 60 00 | 00 85 2d 9e a0 ac 4b a2 |.....d`.|..-...K.|
|00000060| 1c 4d 43 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.MC.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ce 28 00 00 |........|.....(..|
|00000080| 00 00 7a 00 53 54 41 4b | ff ff ff ff e0 72 65 24 |..z.STAK|.....re$|
|00000090| 00 00 00 08 00 08 64 60 | 00 00 7a 00 00 00 00 00 |......d`|..z.....|
|000000a0| 00 00 00 02 00 00 00 19 | 00 00 7d b8 00 00 00 52 |........|..}....R|
|000000b0| 00 00 22 a2 00 00 96 52 | 00 00 00 00 00 00 00 00 |.."....R|........|
|000000c0| 00 00 0d 33 00 00 00 00 | 00 05 00 00 10 00 00 00 |...3....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |....."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 | e0 03 1c e0 03 1c e0 0c |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | 11 88 44 22 91 48 24 92 |..".....|..D".H$.|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 7c 20 56 65 72 73 | 69 6f 6e 20 32 2e 30 0d |--| Vers|ion 2.0.|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |-------.|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000720| 2d 2d 0d 2d 2d 20 20 28 | 43 29 20 31 39 39 30 20 |--.-- (|C) 1990 |
|00000730| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000740| 49 6e 63 2e 0d 2d 2d 0d | 2d 2d 20 20 41 70 70 6c |Inc..--.|-- Appl|
|00000750| 65 2c 20 54 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |e, The A|pple log|
|00000760| 6f 2c 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 48 79 |o, Macin|tosh, Hy|
|00000770| 70 65 72 43 61 72 64 0d | 2d 2d 20 20 61 72 65 20 |perCard.|-- are |
|00000780| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000790| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|000007a0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 2d 2d |omputer,| Inc..--|
|000007b0| 0d 2d 2d 20 20 54 68 69 | 73 20 73 6f 66 74 77 61 |.-- Thi|s softwa|
|000007c0| 72 65 20 6d 61 79 20 6e | 6f 74 20 62 65 20 63 6f |re may n|ot be co|
|000007d0| 70 69 65 64 20 77 69 74 | 68 6f 75 74 20 74 68 65 |pied wit|hout the|
|000007e0| 0d 2d 2d 20 20 65 78 70 | 72 65 73 73 20 77 72 69 |.-- exp|ress wri|
|000007f0| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000800| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000810| 72 2c 20 49 6e 63 2e 0d | 2d 2d 20 20 41 6c 6c 20 |r, Inc..|-- All |
|00000820| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000830| 0d 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.--.----|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 2d 2d 2d 2d |--------|---.----|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008c0| 2d 2d 2d 0d 2d 2d 20 55 | 70 64 61 74 65 20 74 68 |---.-- U|pdate th|
|000008d0| 65 20 65 76 61 6c 75 61 | 74 69 6f 6e 20 64 61 74 |e evalua|tion dat|
|000008e0| 61 20 66 6f 72 20 74 68 | 69 73 20 70 72 6f 62 6c |a for th|is probl|
|000008f0| 65 6d 0d d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |em......|........|
|00000900| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000910| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000920| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000930| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 0d 6f 6e 20 75 70 |........|...on up|
|00000940| 64 61 74 65 45 76 61 6c | 20 76 61 6c 75 65 0d 67 |dateEval| value.g|
|00000950| 6c 6f 62 61 6c 20 53 41 | 50 72 6f 62 6c 65 6d 4e |lobal SA|ProblemN|
|00000960| 75 6d 62 65 72 2c 20 53 | 41 45 76 61 6c 44 61 74 |umber, S|AEvalDat|
|00000970| 61 0d 69 66 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |a.if ite|m 1 of l|
|00000980| 69 6e 65 20 53 41 50 72 | 6f 62 6c 65 6d 4e 75 6d |ine SAPr|oblemNum|
|00000990| 62 65 72 20 6f 66 20 53 | 41 45 76 61 6c 44 61 74 |ber of S|AEvalDat|
|000009a0| 61 20 69 73 20 65 6d 70 | 74 79 20 c2 0d 74 68 65 |a is emp|ty ..the|
|000009b0| 6e 20 70 75 74 20 31 20 | 69 6e 74 6f 20 69 74 65 |n put 1 |into ite|
|000009c0| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 53 41 50 72 |m 1 of l|ine SAPr|
|000009d0| 6f 62 6c 65 6d 4e 75 6d | 62 65 72 20 6f 66 20 53 |oblemNum|ber of S|
|000009e0| 41 45 76 61 6c 44 61 74 | 61 0d 65 6c 73 65 20 61 |AEvalDat|a.else a|
|000009f0| 64 64 20 31 20 74 6f 20 | 69 74 65 6d 20 31 20 6f |dd 1 to |item 1 o|
|00000a00| 66 20 6c 69 6e 65 20 53 | 41 50 72 6f 62 6c 65 6d |f line S|AProblem|
|00000a10| 4e 75 6d 62 65 72 20 6f | 66 20 53 41 45 76 61 6c |Number o|f SAEval|
|00000a20| 44 61 74 61 0d 70 75 74 | 20 76 61 6c 75 65 20 69 |Data.put| value i|
|00000a30| 6e 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 6c 69 |nto item| 2 of li|
|00000a40| 6e 65 20 53 41 50 72 6f | 62 6c 65 6d 4e 75 6d 62 |ne SAPro|blemNumb|
|00000a50| 65 72 20 6f 66 20 53 41 | 45 76 61 6c 44 61 74 61 |er of SA|EvalData|
|00000a60| 0d 65 6e 64 20 75 70 64 | 61 74 65 45 76 61 6c 0d |.end upd|ateEval.|
|00000a70| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00000a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ab0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 2d 2d 20 74 65 78 74 |--------|.-- text|
|00000ac0| 20 63 75 72 72 65 6e 74 | 6c 79 20 64 69 73 70 6c | current|ly displ|
|00000ad0| 61 79 65 64 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |ayed.fun|ction ge|
|00000ae0| 74 44 69 73 70 6c 61 79 | 54 65 78 74 0d 72 65 74 |tDisplay|Text.ret|
|00000af0| 75 72 6e 20 66 6c 64 20 | 22 74 65 78 74 44 69 73 |urn fld |"textDis|
|00000b00| 70 6c 61 79 22 0d 65 6e | 64 20 67 65 74 44 69 73 |play".en|d getDis|
|00000b10| 70 6c 61 79 54 65 78 74 | 0d 0d 2d 2d 2d 2d 2d 2d |playText|..------|
|00000b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b60| 0d 6f 6e 20 66 65 65 64 | 62 61 63 6b 20 73 6e 64 |.on feed|back snd|
|00000b70| 0d 67 6c 6f 62 61 6c 20 | 67 46 65 65 64 62 61 63 |.global |gFeedbac|
|00000b80| 6b 54 72 69 65 73 0d 70 | 6c 61 79 20 73 6e 64 0d |kTries.p|lay snd.|
|00000b90| 69 66 20 73 6e 64 20 3d | 20 22 59 65 73 22 20 74 |if snd =| "Yes" t|
|00000ba0| 68 65 6e 20 70 75 74 20 | 30 20 69 6e 74 6f 20 67 |hen put |0 into g|
|00000bb0| 46 65 65 64 62 61 63 6b | 54 72 69 65 73 0d 65 6c |Feedback|Tries.el|
|00000bc0| 73 65 0d 61 64 64 20 31 | 20 74 6f 20 67 46 65 65 |se.add 1| to gFee|
|00000bd0| 64 62 61 63 6b 54 72 69 | 65 73 0d 69 66 20 67 46 |dbackTri|es.if gF|
|00000be0| 65 65 64 62 61 63 6b 54 | 72 69 65 73 20 3e 20 31 |eedbackT|ries > 1|
|00000bf0| 20 74 68 65 6e 0d 73 65 | 6e 64 20 22 70 73 48 65 | then.se|nd "psHe|
|00000c00| 6c 70 22 20 74 6f 20 74 | 68 69 73 20 63 61 72 64 |lp" to t|his card|
|00000c10| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00000c20| 6e 64 20 66 65 65 64 62 | 61 63 6b 0d 0d 2d 2d 20 |nd feedb|ack..-- |
|00000c30| 66 61 6c 6c 20 74 68 72 | 6f 75 67 68 20 66 6f 72 |fall thr|ough for|
|00000c40| 20 70 72 6f 62 6c 65 6d | 20 73 6f 6c 76 69 6e 67 | problem| solving|
|00000c50| 20 68 65 6c 70 0d 6f 6e | 20 70 73 48 65 6c 70 0d | help.on| psHelp.|
|00000c60| 65 6e 64 20 70 73 48 65 | 6c 70 0d 0d 2d 2d 20 74 |end psHe|lp..-- t|
|00000c70| 68 65 20 64 72 6f 70 64 | 6f 77 6e 20 6d 65 6e 75 |he dropd|own menu|
|00000c80| 20 41 50 50 4c 45 0d 66 | 75 6e 63 74 69 6f 6e 20 | APPLE.f|unction |
|00000c90| 64 65 73 6b 74 6f 70 41 | 70 70 6c 65 4d 65 6e 75 |desktopA|ppleMenu|
|00000ca0| 0d 72 65 74 75 72 6e 20 | 73 69 6d 4d 65 6e 75 28 |.return |simMenu(|
|00000cb0| 20 22 41 62 6f 75 74 20 | 74 68 65 20 46 69 6e 64 | "About |the Find|
|00000cc0| 65 72 2e 2e 2e 3b 28 2d | 29 3b 22 20 26 20 c2 0d |er...;(-|);" & ..|
|00000cd0| 22 41 63 63 65 73 73 20 | 50 72 69 76 69 6c 65 67 |"Access |Privileg|
|00000ce0| 65 73 3b 41 6c 61 72 6d | 20 43 6c 6f 63 6b 3b 43 |es;Alarm| Clock;C|
|00000cf0| 68 6f 6f 73 65 72 3b 22 | 20 26 20 c2 0d 22 43 6f |hooser;"| & .."Co|
|00000d00| 6e 74 72 6f 6c 20 50 61 | 6e 65 6c 3b 46 69 6e 64 |ntrol Pa|nel;Find|
|00000d10| 20 46 69 6c 65 3b 4e 6f | 74 65 20 50 61 64 22 20 | File;No|te Pad" |
|00000d20| 29 0d 65 6e 64 20 64 65 | 73 6b 74 6f 70 41 70 70 |).end de|sktopApp|
|00000d30| 6c 65 4d 65 6e 75 0d 0d | 2d 2d 20 74 68 65 20 64 |leMenu..|-- the d|
|00000d40| 72 6f 70 64 6f 77 6e 20 | 6d 65 6e 75 20 53 50 45 |ropdown |menu SPE|
|00000d50| 43 49 41 4c 0d 66 75 6e | 63 74 69 6f 6e 20 64 65 |CIAL.fun|ction de|
|00000d60| 73 6b 74 6f 70 53 70 65 | 63 69 61 6c 4d 65 6e 75 |sktopSpe|cialMenu|
|00000d70| 0d 72 65 74 75 72 6e 20 | 73 69 6d 4d 65 6e 75 28 |.return |simMenu(|
|00000d80| 20 22 28 43 6c 65 61 6e | 20 55 70 20 57 69 6e 64 | "(Clean| Up Wind|
|00000d90| 6f 77 3b 28 45 6d 70 74 | 79 20 54 72 61 73 68 3b |ow;(Empt|y Trash;|
|00000da0| 22 20 26 20 c2 0d 22 45 | 72 61 73 65 20 44 69 73 |" & .."E|rase Dis|
|00000db0| 6b 3b 53 65 74 20 53 74 | 61 72 74 75 70 2e 2e 2e |k;Set St|artup...|
|00000dc0| 3b 28 2d 29 3b 22 20 26 | 20 c2 0d 22 52 65 73 74 |;(-);" &| .."Rest|
|00000dd0| 61 72 74 3b 53 68 75 74 | 64 6f 77 6e 22 20 29 0d |art;Shut|down" ).|
|00000de0| 65 6e 64 20 64 65 73 6b | 74 6f 70 53 70 65 63 69 |end desk|topSpeci|
|00000df0| 61 6c 4d 65 6e 75 0d 0d | 6f 6e 20 66 61 6b 65 44 |alMenu..|on fakeD|
|00000e00| 72 61 67 54 61 72 67 0d | 65 6e 64 20 66 61 6b 65 |ragTarg.|end fake|
|00000e10| 44 72 61 67 54 61 72 67 | 0d 0d 2d 2d 20 61 63 74 |DragTarg|..-- act|
|00000e20| 73 20 6c 69 6b 65 20 61 | 20 64 72 6f 70 20 64 6f |s like a| drop do|
|00000e30| 77 6e 20 6d 65 6e 75 2c | 20 68 50 6f 73 2c 20 76 |wn menu,| hPos, v|
|00000e40| 50 6f 73 20 6f 70 74 69 | 6f 6e 61 6c 0d 2d 2d 20 |Pos opti|onal.-- |
|00000e50| 72 65 74 75 72 6e 73 20 | 6e 61 6d 65 20 28 6e 6f |returns |name (no|
|00000e60| 74 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 29 20 2c |t implem|ented) ,|
|00000e70| 20 69 74 65 6d 20 6e 75 | 6d 62 65 72 0d 66 75 6e | item nu|mber.fun|
|00000e80| 63 74 69 6f 6e 20 73 69 | 6d 4d 65 6e 75 20 6d 65 |ction si|mMenu me|
|00000e90| 6e 75 2c 20 68 50 6f 73 | 2c 20 76 50 6f 73 0d 73 |nu, hPos|, vPos.s|
|00000ea0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|00000eb0| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 74 | the tar|get to t|
|00000ec0| 72 75 65 0d 69 66 20 68 | 50 6f 73 20 69 73 20 65 |rue.if h|Pos is e|
|00000ed0| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 6d 65 |mpty the|n put me|
|00000ee0| 6e 75 4c 6f 63 48 28 29 | 20 69 6e 74 6f 20 68 50 |nuLocH()| into hP|
|00000ef0| 6f 73 0d 69 66 20 76 50 | 6f 73 20 69 73 20 65 6d |os.if vP|os is em|
|00000f00| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 6d 65 6e |pty then| put men|
|00000f10| 75 4c 6f 63 56 28 29 20 | 69 6e 74 6f 20 76 50 6f |uLocV() |into vPo|
|00000f20| 73 0d 70 75 74 20 6d 65 | 6e 75 20 69 6e 74 6f 20 |s.put me|nu into |
|00000f30| 6c 69 73 74 0d 2d 2d 67 | 65 74 20 48 50 6f 70 75 |list.--g|et HPopu|
|00000f40| 70 4d 65 6e 75 28 20 6c | 69 73 74 2c 30 2c 20 76 |pMenu( l|ist,0, v|
|00000f50| 50 6f 73 2c 20 68 50 6f | 73 29 0d 67 65 74 20 50 |Pos, hPo|s).get P|
|00000f60| 6f 70 4d 65 6e 75 28 76 | 50 6f 73 2c 68 50 6f 73 |opMenu(v|Pos,hPos|
|00000f70| 2c 30 2c 6d 65 6e 75 29 | 0d 69 66 20 69 74 20 69 |,0,menu)|.if it i|
|00000f80| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 61 6e 64 20 |s not em|pty and |
|00000f90| 69 74 65 6d 20 32 20 6f | 66 20 69 74 20 3e 20 30 |item 2 o|f it > 0|
|00000fa0| 20 74 68 65 6e 0d 67 65 | 74 20 28 69 74 65 6d 20 | then.ge|t (item |
|00000fb0| 32 20 6f 66 20 69 74 29 | 0d 65 6c 73 65 0d 67 65 |2 of it)|.else.ge|
|00000fc0| 74 20 30 0d 65 6e 64 20 | 69 66 0d 73 65 74 20 74 |t 0.end |if.set t|
|00000fd0| 68 65 20 68 69 6c 69 74 | 65 20 6f 66 20 74 68 65 |he hilit|e of the|
|00000fe0| 20 74 61 72 67 65 74 20 | 74 6f 20 66 61 6c 73 65 | target |to false|
|00000ff0| 0d 72 65 74 75 72 6e 20 | 65 6d 70 74 79 20 26 20 |.return |empty & |
|00001000| 22 2c 22 20 26 20 69 74 | 0d 65 6e 64 20 73 69 6d |"," & it|.end sim|
|00001010| 4d 65 6e 75 0d 0d 6f 6e | 20 63 68 65 63 6b 44 6f |Menu..on| checkDo|
|00001020| 75 62 6c 65 43 6c 69 63 | 6b 0d 73 65 74 20 74 68 |ubleClic|k.set th|
|00001030| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 74 68 65 20 |e hilite| of the |
|00001040| 74 61 72 67 65 74 20 74 | 6f 20 74 72 75 65 0d 70 |target t|o true.p|
|00001050| 75 74 20 74 68 65 20 74 | 69 63 6b 73 20 69 6e 74 |ut the t|icks int|
|00001060| 6f 20 73 74 61 72 74 54 | 69 63 6b 73 0d 72 65 70 |o startT|icks.rep|
|00001070| 65 61 74 20 77 68 69 6c | 65 20 74 68 65 20 74 69 |eat whil|e the ti|
|00001080| 63 6b 73 20 2d 20 73 74 | 61 72 74 54 69 63 6b 73 |cks - st|artTicks|
|00001090| 20 3c 20 36 30 0d 69 66 | 20 74 68 65 20 6d 6f 75 | < 60.if| the mou|
|000010a0| 73 65 43 6c 69 63 6b 20 | 74 68 65 6e 0d 73 65 6e |seClick |then.sen|
|000010b0| 64 20 64 6f 75 62 6c 65 | 43 6c 69 63 6b 20 74 6f |d double|Click to|
|000010c0| 20 74 61 72 67 65 74 0d | 65 78 69 74 20 72 65 70 | target.|exit rep|
|000010d0| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |eat.end |if.end r|
|000010e0| 65 70 65 61 74 0d 73 65 | 74 20 74 68 65 20 68 69 |epeat.se|t the hi|
|000010f0| 6c 69 74 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |lite of |the targ|
|00001100| 65 74 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |et to fa|lse.end |
|00001110| 63 68 65 63 6b 44 6f 75 | 62 6c 65 43 6c 69 63 6b |checkDou|bleClick|
|00001120| 0d 0d 0d 0d 0d 0d 0d 0d | 0d 0d 0d 0d 0d 0d 0d 0d |........|........|
|00001130| 0d 0d 0d 2d 2d 7c 7c 7c | 2d 2d 20 53 54 41 4e 44 |...--||||-- STAND|
|00001140| 41 52 44 20 53 54 41 43 | 4b 20 53 43 52 49 50 54 |ARD STAC|K SCRIPT|
|00001150| 53 20 53 54 41 52 54 20 | 2d 2d 7c 7c 7c 2d 2d 0d |S START |--|||--.|
|00001160| 2d 2d 20 66 65 62 20 32 | 38 2c 20 31 39 39 30 0d |-- feb 2|8, 1990.|
|00001170| 0d 2d 2d 2d 2d 7c 20 56 | 49 44 45 4f 20 53 43 52 |.----| V|IDEO SCR|
|00001180| 49 50 54 20 76 65 72 73 | 69 6f 6e 20 38 0d 0d 6f |IPT vers|ion 8..o|
|00001190| 6e 20 69 64 6c 65 0d 69 | 64 6c 65 56 69 64 65 6f |n idle.i|dleVideo|
|000011a0| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 70 61 73 73 20 |Controll|er.pass |
|000011b0| 69 64 6c 65 0d 65 6e 64 | 20 69 64 6c 65 0d 0d 6f |idle.end| idle..o|
|000011c0| 6e 20 67 6f 56 69 64 65 | 6f 53 65 74 75 70 0d 76 |n goVide|oSetup.v|
|000011d0| 69 73 75 61 6c 20 69 72 | 69 73 20 6f 70 65 6e 0d |isual ir|is open.|
|000011e0| 70 75 73 68 20 63 61 72 | 64 0d 67 6f 20 63 61 72 |push car|d.go car|
|000011f0| 64 20 22 56 69 64 65 6f | 64 69 73 63 20 53 65 74 |d "Video|disc Set|
|00001200| 75 70 22 20 6f 66 20 73 | 74 61 63 6b 20 22 48 6f |up" of s|tack "Ho|
|00001210| 6d 65 22 0d 65 6e 64 20 | 67 6f 56 69 64 65 6f 53 |me".end |goVideoS|
|00001220| 65 74 75 70 0d 0d 6f 6e | 20 73 74 65 70 56 69 64 |etup..on| stepVid|
|00001230| 65 6f 42 6f 75 6e 64 20 | 64 69 72 2c 20 62 6f 75 |eoBound |dir, bou|
|00001240| 6e 64 46 72 61 6d 65 0d | 69 66 20 64 69 72 20 2a |ndFrame.|if dir *|
|00001250| 20 76 69 64 65 6f 46 72 | 61 6d 65 28 29 20 3e 3d | videoFr|ame() >=|
|00001260| 20 64 69 72 20 2a 20 62 | 6f 75 6e 64 46 72 61 6d | dir * b|oundFram|
|00001270| 65 20 74 68 65 6e 0d 73 | 65 61 72 63 68 56 69 64 |e then.s|earchVid|
|00001280| 65 6f 20 62 6f 75 6e 64 | 46 72 61 6d 65 0d 62 65 |eo bound|Frame.be|
|00001290| 65 70 0d 65 6c 73 65 0d | 73 74 65 70 56 69 64 65 |ep.else.|stepVide|
|000012a0| 6f 20 64 69 72 0d 65 6e | 64 20 69 66 0d 65 6e 64 |o dir.en|d if.end|
|000012b0| 20 73 74 65 70 56 69 64 | 65 6f 42 6f 75 6e 64 0d | stepVid|eoBound.|
|000012c0| 0d 6f 6e 20 6d 61 6b 65 | 56 69 64 65 6f 43 6f 6e |.on make|VideoCon|
|000012d0| 74 72 6f 6c 6c 65 72 0d | 67 6c 6f 62 61 6c 20 67 |troller.|global g|
|000012e0| 43 6f 6e 74 72 6f 6c 43 | 6c 69 63 6b 0d 70 75 74 |ControlC|lick.put|
|000012f0| 20 30 20 69 6e 74 6f 20 | 67 43 6f 6e 74 72 6f 6c | 0 into |gControl|
|00001300| 43 6c 69 63 6b 0d 69 66 | 20 74 68 65 20 6e 75 6d |Click.if| the num|
|00001310| 62 65 72 20 6f 66 20 63 | 64 20 66 6c 64 73 20 3e |ber of c|d flds >|
|00001320| 20 30 20 74 68 65 6e 0d | 69 66 20 66 69 6e 64 46 | 0 then.|if findF|
|00001330| 69 65 6c 64 28 22 56 69 | 64 65 6f 20 43 6f 6e 74 |ield("Vi|deo Cont|
|00001340| 72 6f 6c 6c 65 72 22 29 | 20 69 73 20 6e 6f 74 20 |roller")| is not |
|00001350| 66 61 6c 73 65 20 74 68 | 65 6e 0d 73 68 6f 77 20 |false th|en.show |
|00001360| 63 64 20 66 6c 64 20 22 | 56 69 64 65 6f 20 43 6f |cd fld "|Video Co|
|00001370| 6e 74 72 6f 6c 6c 65 72 | 22 0d 65 78 69 74 20 6d |ntroller|".exit m|
|00001380| 61 6b 65 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |akeVideo|Controll|
|00001390| 65 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |er.end i|f.end if|
|000013a0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 74 |.lock sc|reen.put|
|000013b0| 20 6d 61 6b 65 4c 69 6e | 65 73 28 20 c2 0d 22 b1 | makeLin|es( ..".|
|000013c0| b1 b1 b1 b1 b1 b1 b1 22 | 2c 20 c2 0d 22 50 61 75 |......."|, .."Pau|
|000013d0| 73 65 22 2c 20 c2 0d 22 | 50 6c 61 79 22 2c 20 c2 |se", .."|Play", .|
|000013e0| 0d 22 46 61 73 74 20 46 | 77 64 22 2c 20 c2 0d 22 |."Fast F|wd", .."|
|000013f0| 46 61 73 74 20 52 65 76 | 22 2c c2 0d 22 53 74 65 |Fast Rev|",.."Ste|
|00001400| 70 20 46 77 64 22 2c 20 | c2 0d 22 53 74 65 70 20 |p Fwd", |.."Step |
|00001410| 52 65 76 22 2c 20 c2 0d | 22 51 75 69 74 22 2c 20 |Rev", ..|"Quit", |
|00001420| 22 30 3a 30 30 22 29 20 | 69 6e 74 6f 20 6d 65 6e |"0:00") |into men|
|00001430| 75 4c 69 73 74 0d 6d 61 | 6b 65 43 61 72 64 46 69 |uList.ma|keCardFi|
|00001440| 65 6c 64 20 6e 61 6d 65 | 2c 20 22 56 69 64 65 6f |eld name|, "Video|
|00001450| 20 43 6f 6e 74 72 6f 6c | 6c 65 72 22 2c 20 c2 0d | Control|ler", ..|
|00001460| 77 69 64 74 68 2c 20 38 | 32 2c 20 68 65 69 67 68 |width, 8|2, heigh|
|00001470| 74 2c 31 35 34 2c 20 c2 | 0d 74 6f 70 4c 65 66 74 |t,154, .|.topLeft|
|00001480| 2c 20 22 32 36 34 2c 31 | 36 36 22 2c c2 0d 6c 6f |, "264,1|66",..lo|
|00001490| 63 6b 54 65 78 74 2c 20 | 74 72 75 65 2c 20 74 65 |ckText, |true, te|
|000014a0| 78 74 46 6f 6e 74 2c 20 | 22 62 74 6e 65 72 61 73 |xtFont, |"btneras|
|000014b0| 20 64 65 6d 69 22 2c 20 | c2 0d 74 65 78 74 53 69 | demi", |..textSi|
|000014c0| 7a 65 2c 31 32 2c 73 74 | 79 6c 65 2c 20 22 73 68 |ze,12,st|yle, "sh|
|000014d0| 61 64 6f 77 22 2c 20 74 | 65 78 74 61 6c 69 67 6e |adow", t|extalign|
|000014e0| 2c 20 63 65 6e 74 65 72 | 2c 20 77 69 64 65 4d 61 |, center|, wideMa|
|000014f0| 72 67 69 6e 73 2c 74 72 | 75 65 0d 70 75 74 20 6d |rgins,tr|ue.put m|
|00001500| 65 6e 75 4c 69 73 74 20 | 69 6e 74 6f 20 63 64 20 |enuList |into cd |
|00001510| 66 6c 64 20 22 56 69 64 | 65 6f 20 43 6f 6e 74 72 |fld "Vid|eo Contr|
|00001520| 6f 6c 6c 65 72 22 0d 73 | 65 74 20 73 63 72 69 70 |oller".s|et scrip|
|00001530| 74 20 6f 66 20 63 64 20 | 66 6c 64 20 22 56 69 64 |t of cd |fld "Vid|
|00001540| 65 6f 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 22 20 74 |eo Contr|oller" t|
|00001550| 6f 20 c2 0d 6d 61 6b 65 | 4c 69 6e 65 73 28 22 6f |o ..make|Lines("o|
|00001560| 6e 20 6d 6f 75 73 65 44 | 6f 77 6e 22 2c 20 22 76 |n mouseD|own", "v|
|00001570| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 22 2c |ideoCont|roller",|
|00001580| 20 22 65 6e 64 20 6d 6f | 75 73 65 44 6f 77 6e 22 | "end mo|useDown"|
|00001590| 2c 20 c2 0d 22 6f 6e 20 | 6d 6f 75 73 65 55 70 22 |, .."on |mouseUp"|
|000015a0| 2c 20 22 65 6e 64 20 6d | 6f 75 73 65 55 70 22 20 |, "end m|ouseUp" |
|000015b0| 29 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |).choose| browse |
|000015c0| 74 6f 6f 6c 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |tool.unl|ock scre|
|000015d0| 65 6e 0d 65 6e 64 20 6d | 61 6b 65 56 69 64 65 6f |en.end m|akeVideo|
|000015e0| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 0d 6f 6e 20 76 |Controll|er..on v|
|000015f0| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 67 |ideoCont|roller.g|
|00001600| 6c 6f 62 61 6c 20 67 56 | 69 64 65 6f 46 69 72 73 |lobal gV|ideoFirs|
|00001610| 74 46 72 61 6d 65 2c 20 | 67 56 69 64 65 6f 4c 61 |tFrame, |gVideoLa|
|00001620| 73 74 46 72 61 6d 65 2c | 20 67 56 69 64 65 6f 4c |stFrame,| gVideoL|
|00001630| 61 73 74 43 6f 6d 6d 61 | 6e 64 0d 67 6c 6f 62 61 |astComma|nd.globa|
|00001640| 6c 20 47 76 69 64 65 6f | 54 79 70 65 0d 70 75 74 |l Gvideo|Type.put|
|00001650| 20 63 6c 69 63 6b 4c 69 | 6e 65 56 69 64 65 6f 28 | clickLi|neVideo(|
|00001660| 29 20 69 6e 74 6f 20 6c | 69 6e 65 4e 75 6d 0d 70 |) into l|ineNum.p|
|00001670| 75 74 20 6c 69 6e 65 20 | 6c 69 6e 65 4e 75 6d 20 |ut line |lineNum |
|00001680| 6f 66 20 63 64 20 66 6c | 64 20 22 76 69 64 65 6f |of cd fl|d "video|
|00001690| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 22 20 69 6e 74 | control|ler" int|
|000016a0| 6f 20 63 6d 64 4e 61 6d | 65 0d 69 66 20 6c 69 6e |o cmdNam|e.if lin|
|000016b0| 65 4e 75 6d 20 3e 20 31 | 20 74 68 65 6e 0d 70 75 |eNum > 1| then.pu|
|000016c0| 74 20 63 6d 64 4e 61 6d | 65 20 69 6e 74 6f 20 67 |t cmdNam|e into g|
|000016d0| 56 69 64 65 6f 4c 61 73 | 74 43 6f 6d 6d 61 6e 64 |VideoLas|tCommand|
|000016e0| 0d 65 6e 64 20 69 66 0d | 69 66 20 63 6d 64 4e 61 |.end if.|if cmdNa|
|000016f0| 6d 65 20 69 73 20 22 50 | 61 75 73 65 22 20 74 68 |me is "P|ause" th|
|00001700| 65 6e 0d 73 74 6f 70 56 | 69 64 65 6f 0d 65 6c 73 |en.stopV|ideo.els|
|00001710| 65 20 69 66 20 63 6d 64 | 4e 61 6d 65 20 69 73 20 |e if cmd|Name is |
|00001720| 22 50 6c 61 79 22 20 74 | 68 65 6e 0d 69 66 20 76 |"Play" t|hen.if v|
|00001730| 69 64 65 6f 46 72 61 6d | 65 28 29 20 3c 20 67 56 |ideoFram|e() < gV|
|00001740| 69 64 65 6f 4c 61 73 74 | 46 72 61 6d 65 20 74 68 |ideoLast|Frame th|
|00001750| 65 6e 0d 70 6c 61 79 56 | 69 64 65 6f 20 22 68 65 |en.playV|ideo "he|
|00001760| 72 65 22 2c 20 67 56 69 | 64 65 6f 4c 61 73 74 46 |re", gVi|deoLastF|
|00001770| 72 61 6d 65 0d 65 6c 73 | 65 0d 73 65 61 72 63 68 |rame.els|e.search|
|00001780| 56 69 64 65 6f 20 67 56 | 69 64 65 6f 4c 61 73 74 |Video gV|ideoLast|
|00001790| 46 72 61 6d 65 0d 65 6e | 64 20 69 66 0d 65 6c 73 |Frame.en|d if.els|
|000017a0| 65 20 69 66 20 63 6d 64 | 4e 61 6d 65 20 69 73 20 |e if cmd|Name is |
|000017b0| 22 46 61 73 74 20 46 77 | 64 22 20 74 68 65 6e 0d |"Fast Fw|d" then.|
|000017c0| 66 61 73 74 56 69 64 65 | 6f 42 6f 75 6e 64 20 31 |fastVide|oBound 1|
|000017d0| 2c 20 67 56 69 64 65 6f | 4c 61 73 74 46 72 61 6d |, gVideo|LastFram|
|000017e0| 65 0d 65 6c 73 65 20 69 | 66 20 63 6d 64 4e 61 6d |e.else i|f cmdNam|
|000017f0| 65 20 69 73 20 22 46 61 | 73 74 20 52 65 76 22 20 |e is "Fa|st Rev" |
|00001800| 74 68 65 6e 0d 66 61 73 | 74 56 69 64 65 6f 42 6f |then.fas|tVideoBo|
|00001810| 75 6e 64 20 2d 31 2c 20 | 67 56 69 64 65 6f 46 69 |und -1, |gVideoFi|
|00001820| 72 73 74 46 72 61 6d 65 | 0d 65 6c 73 65 20 69 66 |rstFrame|.else if|
|00001830| 20 63 6d 64 4e 61 6d 65 | 20 69 73 20 22 53 74 65 | cmdName| is "Ste|
|00001840| 70 20 46 77 64 22 20 74 | 68 65 6e 0d 73 74 65 70 |p Fwd" t|hen.step|
|00001850| 56 69 64 65 6f 42 6f 75 | 6e 64 20 31 2c 20 67 56 |VideoBou|nd 1, gV|
|00001860| 69 64 65 6f 4c 61 73 74 | 46 72 61 6d 65 0d 65 6c |ideoLast|Frame.el|
|00001870| 73 65 20 69 66 20 63 6d | 64 4e 61 6d 65 20 69 73 |se if cm|dName is|
|00001880| 20 22 53 74 65 70 20 52 | 65 76 22 20 74 68 65 6e | "Step R|ev" then|
|00001890| 0d 73 74 65 70 56 69 64 | 65 6f 42 6f 75 6e 64 20 |.stepVid|eoBound |
|000018a0| 2d 31 2c 20 67 56 69 64 | 65 6f 46 69 72 73 74 46 |-1, gVid|eoFirstF|
|000018b0| 72 61 6d 65 0d 65 6c 73 | 65 20 69 66 20 6c 69 6e |rame.els|e if lin|
|000018c0| 65 4e 75 6d 20 3d 20 31 | 20 74 68 65 6e 0d 64 72 |eNum = 1| then.dr|
|000018d0| 61 67 54 61 72 67 0d 65 | 6c 73 65 20 69 66 20 63 |agTarg.e|lse if c|
|000018e0| 6d 64 4e 61 6d 65 20 69 | 73 20 22 51 75 69 74 22 |mdName i|s "Quit"|
|000018f0| 20 74 68 65 6e 0d 64 65 | 6c 65 74 65 56 69 64 65 | then.de|leteVide|
|00001900| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 0d 65 6e 64 20 |oControl|ler.end |
|00001910| 69 66 0d 65 6e 64 20 76 | 69 64 65 6f 43 6f 6e 74 |if.end v|ideoCont|
|00001920| 72 6f 6c 6c 65 72 0d 0d | 66 75 6e 63 74 69 6f 6e |roller..|function|
|00001930| 20 63 6c 69 63 6b 4c 69 | 6e 65 56 69 64 65 6f 0d | clickLi|neVideo.|
|00001940| 2d 2d 20 4e 4f 54 45 3a | 20 63 6f 6e 74 72 6f 6c |-- NOTE:| control|
|00001950| 6c 65 72 20 70 61 72 61 | 6d 65 74 65 72 73 20 61 |ler para|meters a|
|00001960| 72 65 20 68 61 72 64 2d | 63 6f 64 65 64 20 68 65 |re hard-|coded he|
|00001970| 72 65 20 66 6f 72 20 73 | 70 65 65 64 2e 20 6d 77 |re for s|peed. mw|
|00001980| 0d 70 75 74 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |.put the| top of |
|00001990| 63 64 20 66 6c 64 20 22 | 76 69 64 65 6f 20 63 6f |cd fld "|video co|
|000019a0| 6e 74 72 6f 6c 6c 65 72 | 22 20 69 6e 74 6f 20 63 |ntroller|" into c|
|000019b0| 6f 6e 74 72 6f 6c 54 6f | 70 0d 72 65 74 75 72 6e |ontrolTo|p.return|
|000019c0| 20 74 72 75 6e 63 28 28 | 69 74 65 6d 20 32 20 6f | trunc((|item 2 o|
|000019d0| 66 20 74 68 65 20 6d 6f | 75 73 65 4c 6f 63 20 2d |f the mo|useLoc -|
|000019e0| 20 63 6f 6e 74 72 6f 6c | 54 6f 70 29 20 2f 20 31 | control|Top) / 1|
|000019f0| 36 29 20 2b 20 31 0d 65 | 6e 64 20 63 6c 69 63 6b |6) + 1.e|nd click|
|00001a00| 4c 69 6e 65 56 69 64 65 | 6f 0d 0d 6f 6e 20 66 61 |LineVide|o..on fa|
|00001a10| 73 74 56 69 64 65 6f 42 | 6f 75 6e 64 20 64 69 72 |stVideoB|ound dir|
|00001a20| 2c 20 62 6f 75 6e 64 46 | 72 61 6d 65 0d 67 6c 6f |, boundF|rame.glo|
|00001a30| 62 61 6c 20 67 56 69 64 | 65 6f 4c 61 73 74 46 72 |bal gVid|eoLastFr|
|00001a40| 61 6d 65 2c 20 67 54 69 | 6d 65 52 65 6d 61 69 6e |ame, gTi|meRemain|
|00001a50| 69 6e 67 2c 20 67 56 69 | 64 65 6f 4c 61 73 74 43 |ing, gVi|deoLastC|
|00001a60| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 76 69 64 65 6f |ommand.p|ut video|
|00001a70| 53 74 61 74 75 73 28 29 | 20 69 6e 74 6f 20 63 75 |Status()| into cu|
|00001a80| 72 53 74 61 74 0d 76 69 | 64 65 6f 46 72 61 6d 65 |rStat.vi|deoFrame|
|00001a90| 73 50 65 72 53 65 63 6f | 6e 64 20 22 66 61 73 74 |sPerSeco|nd "fast|
|00001aa0| 22 0d 70 75 74 20 76 69 | 64 65 6f 46 72 61 6d 65 |".put vi|deoFrame|
|00001ab0| 28 29 20 69 6e 74 6f 20 | 63 75 72 46 72 61 6d 65 |() into |curFrame|
|00001ac0| 0d 69 66 20 64 69 72 20 | 2a 20 63 75 72 46 72 61 |.if dir |* curFra|
|00001ad0| 6d 65 20 3c 20 64 69 72 | 20 2a 20 62 6f 75 6e 64 |me < dir| * bound|
|00001ae0| 46 72 61 6d 65 20 74 68 | 65 6e 0d 2d 2d 20 70 6c |Frame th|en.-- pl|
|00001af0| 61 79 65 72 20 62 75 67 | 20 3d 20 2d 3e 20 66 6f |ayer bug| = -> fo|
|00001b00| 72 77 61 72 64 0d 70 6c | 61 79 56 69 64 65 6f 20 |rward.pl|ayVideo |
|00001b10| 63 75 72 46 72 61 6d 65 | 2c 20 62 6f 75 6e 64 46 |curFrame|, boundF|
|00001b20| 72 61 6d 65 0d 72 65 70 | 65 61 74 20 77 68 69 6c |rame.rep|eat whil|
|00001b30| 65 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 64 |e the mo|use is d|
|00001b40| 6f 77 6e 0d 75 70 64 61 | 74 65 56 69 64 65 6f 54 |own.upda|teVideoT|
|00001b50| 69 6d 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |ime.end |repeat.e|
|00001b60| 6e 64 20 69 66 0d 69 66 | 20 69 74 65 6d 20 31 20 |nd if.if| item 1 |
|00001b70| 6f 66 20 63 75 72 53 74 | 61 74 20 69 73 20 22 70 |of curSt|at is "p|
|00001b80| 6c 61 79 22 20 74 68 65 | 6e 0d 69 66 20 76 69 64 |lay" the|n.if vid|
|00001b90| 65 6f 46 72 61 6d 65 28 | 29 20 3c 20 67 56 69 64 |eoFrame(|) < gVid|
|00001ba0| 65 6f 4c 61 73 74 46 72 | 61 6d 65 20 74 68 65 6e |eoLastFr|ame then|
|00001bb0| 0d 70 75 74 20 22 70 6c | 61 79 22 20 69 6e 74 6f |.put "pl|ay" into|
|00001bc0| 20 67 56 69 64 65 6f 4c | 61 73 74 43 6f 6d 6d 61 | gVideoL|astComma|
|00001bd0| 6e 64 0d 70 6c 61 79 56 | 69 64 65 6f 20 22 68 65 |nd.playV|ideo "he|
|00001be0| 72 65 22 2c 20 67 56 69 | 64 65 6f 4c 61 73 74 46 |re", gVi|deoLastF|
|00001bf0| 72 61 6d 65 0d 2d 2d 20 | 77 61 69 74 46 6f 72 4d |rame.-- |waitForM|
|00001c00| 6f 75 73 65 43 6c 69 63 | 6b 0d 65 6e 64 20 69 66 |ouseClic|k.end if|
|00001c10| 0d 65 6c 73 65 0d 73 74 | 6f 70 56 69 64 65 6f 0d |.else.st|opVideo.|
|00001c20| 65 6e 64 20 69 66 0d 65 | 6e 64 20 66 61 73 74 56 |end if.e|nd fastV|
|00001c30| 69 64 65 6f 42 6f 75 6e | 64 0d 0d 6f 6e 20 69 64 |ideoBoun|d..on id|
|00001c40| 6c 65 56 69 64 65 6f 43 | 6f 6e 74 72 6f 6c 6c 65 |leVideoC|ontrolle|
|00001c50| 72 0d 67 6c 6f 62 61 6c | 20 67 54 69 6d 65 52 65 |r.global| gTimeRe|
|00001c60| 6d 61 69 6e 69 6e 67 2c | 20 67 56 69 64 65 6f 4c |maining,| gVideoL|
|00001c70| 61 73 74 43 6f 6d 6d 61 | 6e 64 0d 69 66 20 74 68 |astComma|nd.if th|
|00001c80| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 20 66 |e number| of cd f|
|00001c90| 6c 64 73 20 3e 20 30 20 | 74 68 65 6e 0d 69 66 20 |lds > 0 |then.if |
|00001ca0| 28 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |(the sho|rt name |
|00001cb0| 6f 66 20 6c 61 73 74 20 | 63 64 20 66 6c 64 20 69 |of last |cd fld i|
|00001cc0| 73 20 22 76 69 64 65 6f | 20 63 6f 6e 74 72 6f 6c |s "video| control|
|00001cd0| 6c 65 72 22 29 20 74 68 | 65 6e 0d 67 6c 6f 62 61 |ler") th|en.globa|
|00001ce0| 6c 20 67 44 69 73 63 53 | 69 64 65 0d 69 66 20 67 |l gDiscS|ide.if g|
|00001cf0| 44 69 73 63 53 69 64 65 | 20 3c 3e 20 22 6e 6f 6e |DiscSide| <> "non|
|00001d00| 65 22 20 74 68 65 6e 0d | 75 70 64 61 74 65 56 69 |e" then.|updateVi|
|00001d10| 64 65 6f 54 69 6d 65 0d | 69 66 20 67 54 69 6d 65 |deoTime.|if gTime|
|00001d20| 52 65 6d 61 69 6e 69 6e | 67 20 b2 20 30 20 74 68 |Remainin|g . 0 th|
|00001d30| 65 6e 0d 69 66 20 67 56 | 69 64 65 6f 4c 61 73 74 |en.if gV|ideoLast|
|00001d40| 43 6f 6d 6d 61 6e 64 20 | 69 73 20 22 70 6c 61 79 |Command |is "play|
|00001d50| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 56 69 64 |" then d|eleteVid|
|00001d60| 65 6f 43 6f 6e 74 72 6f | 6c 6c 65 72 0d 70 75 74 |eoContro|ller.put|
|00001d70| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 67 54 69 6d | empty i|nto gTim|
|00001d80| 65 52 65 6d 61 69 6e 69 | 6e 67 0d 65 6e 64 20 69 |eRemaini|ng.end i|
|00001d90| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |f.end if|.end if.|
|00001da0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 64 6c 65 56 |end if.e|nd idleV|
|00001db0| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 0d |ideoCont|roller..|
|00001dc0| 6f 6e 20 77 61 69 74 46 | 6f 72 4d 6f 75 73 65 43 |on waitF|orMouseC|
|00001dd0| 6c 69 63 6b 0d 65 78 69 | 74 20 77 61 69 74 46 6f |lick.exi|t waitFo|
|00001de0| 72 4d 6f 75 73 65 43 6c | 69 63 6b 0d 67 6c 6f 62 |rMouseCl|ick.glob|
|00001df0| 61 6c 20 67 54 69 6d 65 | 52 65 6d 61 69 6e 69 6e |al gTime|Remainin|
|00001e00| 67 2c 20 67 43 6f 6e 74 | 72 6f 6c 43 6c 69 63 6b |g, gCont|rolClick|
|00001e10| 0d 2d 2d 20 67 43 6f 6e | 74 72 6f 6c 43 6c 69 63 |.-- gCon|trolClic|
|00001e20| 6b 20 63 6f 75 6e 74 73 | 20 68 6f 77 20 6d 61 6e |k counts| how man|
|00001e30| 79 20 74 69 6d 65 73 20 | 77 61 69 74 46 6f 72 4d |y times |waitForM|
|00001e40| 6f 75 73 65 43 6c 69 63 | 6b 20 68 61 73 20 62 65 |ouseClic|k has be|
|00001e50| 65 6e 0d 2d 2d 20 69 6e | 76 6f 6b 65 64 2e 20 49 |en.-- in|voked. I|
|00001e60| 66 20 74 68 65 20 75 73 | 65 72 20 63 6c 69 63 6b |f the us|er click|
|00001e70| 73 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |s the co|ntroller|
|00001e80| 20 28 64 72 61 67 20 6f | 72 20 70 6c 61 79 29 20 | (drag o|r play) |
|00001e90| 6d 6f 72 65 0d 2d 2d 20 | 74 68 61 6e 20 36 20 74 |more.-- |than 6 t|
|00001ea0| 69 6d 65 73 2c 20 74 68 | 65 20 76 69 64 65 6f 20 |imes, th|e video |
|00001eb0| 61 6e 64 20 74 68 65 20 | 63 6c 6f 63 6b 20 77 69 |and the |clock wi|
|00001ec0| 6c 6c 20 73 74 6f 70 2e | 0d 2d 2d 20 49 66 20 77 |ll stop.|.-- If w|
|00001ed0| 65 20 64 6f 6e 27 74 20 | 63 68 65 63 6b 20 74 68 |e don't |check th|
|00001ee0| 69 73 2c 20 74 68 65 20 | 75 73 65 72 20 63 6f 75 |is, the |user cou|
|00001ef0| 6c 64 20 67 65 74 20 61 | 20 22 74 6f 6f 20 6d 75 |ld get a| "too mu|
|00001f00| 63 68 20 72 65 63 75 72 | 73 69 6f 6e 22 0d 2d 2d |ch recur|sion".--|
|00001f10| 20 64 69 61 6c 6f 67 20 | 62 6f 78 2c 20 77 68 69 | dialog |box, whi|
|00001f20| 63 68 20 69 73 20 75 6e | 61 63 63 65 70 74 61 62 |ch is un|acceptab|
|00001f30| 6c 65 2e 0d 61 64 64 20 | 31 20 74 6f 20 67 43 6f |le..add |1 to gCo|
|00001f40| 6e 74 72 6f 6c 43 6c 69 | 63 6b 0d 69 66 20 67 43 |ntrolCli|ck.if gC|
|00001f50| 6f 6e 74 72 6f 6c 43 6c | 69 63 6b 20 3e 20 36 20 |ontrolCl|ick > 6 |
|00001f60| 74 68 65 6e 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |then.put| 0 into |
|00001f70| 67 43 6f 6e 74 72 6f 6c | 43 6c 69 63 6b 0d 2d 2d |gControl|Click.--|
|00001f80| 70 6c 61 79 20 62 6f 69 | 6e 67 0d 73 74 6f 70 56 |play boi|ng.stopV|
|00001f90| 69 64 65 6f 0d 65 78 69 | 74 20 77 61 69 74 46 6f |ideo.exi|t waitFo|
|00001fa0| 72 4d 6f 75 73 65 43 6c | 69 63 6b 0d 65 6e 64 20 |rMouseCl|ick.end |
|00001fb0| 69 66 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |if.repea|t until |
|00001fc0| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 64 6f 77 |the mous|e is dow|
|00001fd0| 6e 0d 69 66 20 67 54 69 | 6d 65 52 65 6d 61 69 6e |n.if gTi|meRemain|
|00001fe0| 69 6e 67 20 b2 20 30 20 | 74 68 65 6e 0d 64 65 6c |ing . 0 |then.del|
|00001ff0| 65 74 65 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |eteVideo|Controll|
|00002000| 65 72 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |er.put e|mpty int|
|00002010| 6f 20 67 54 69 6d 65 52 | 65 6d 61 69 6e 69 6e 67 |o gTimeR|emaining|
|00002020| 0d 65 78 69 74 20 74 6f | 20 48 79 70 65 72 43 61 |.exit to| HyperCa|
|00002030| 72 64 0d 65 6e 64 20 69 | 66 0d 75 70 64 61 74 65 |rd.end i|f.update|
|00002040| 56 69 64 65 6f 54 69 6d | 65 0d 65 6e 64 20 72 65 |VideoTim|e.end re|
|00002050| 70 65 61 74 0d 63 68 65 | 63 6b 56 69 64 65 6f 43 |peat.che|ckVideoC|
|00002060| 6f 6e 74 72 6f 6c 6c 65 | 72 0d 65 6e 64 20 77 61 |ontrolle|r.end wa|
|00002070| 69 74 46 6f 72 4d 6f 75 | 73 65 43 6c 69 63 6b 0d |itForMou|seClick.|
|00002080| 0d 6f 6e 20 75 70 64 61 | 74 65 56 69 64 65 6f 54 |.on upda|teVideoT|
|00002090| 69 6d 65 0d 67 6c 6f 62 | 61 6c 20 47 76 69 64 65 |ime.glob|al Gvide|
|000020a0| 6f 4c 61 73 74 46 72 61 | 6d 65 2c 20 67 54 69 6d |oLastFra|me, gTim|
|000020b0| 65 52 65 6d 61 69 6e 69 | 6e 67 0d 70 75 74 20 28 |eRemaini|ng.put (|
|000020c0| 47 76 69 64 65 6f 4c 61 | 73 74 46 72 61 6d 65 20 |GvideoLa|stFrame |
|000020d0| 2d 20 76 69 64 65 6f 46 | 72 61 6d 65 28 29 20 2b |- videoF|rame() +|
|000020e0| 20 32 39 29 20 64 69 76 | 20 33 30 20 69 6e 74 6f | 29) div| 30 into|
|000020f0| 20 67 54 69 6d 65 52 65 | 6d 61 69 6e 69 6e 67 0d | gTimeRe|maining.|
|00002100| 69 66 20 67 54 69 6d 65 | 52 65 6d 61 69 6e 69 6e |if gTime|Remainin|
|00002110| 67 20 b3 20 30 20 61 6e | 64 20 67 54 69 6d 65 52 |g . 0 an|d gTimeR|
|00002120| 65 6d 61 69 6e 69 6e 67 | 20 b2 20 36 30 30 20 74 |emaining| . 600 t|
|00002130| 68 65 6e 0d 70 75 74 20 | 67 54 69 6d 65 52 65 6d |hen.put |gTimeRem|
|00002140| 61 69 6e 69 6e 67 20 64 | 69 76 20 36 30 20 26 20 |aining d|iv 60 & |
|00002150| 22 3a 22 20 26 20 28 28 | 67 54 69 6d 65 52 65 6d |":" & ((|gTimeRem|
|00002160| 61 69 6e 69 6e 67 20 6d | 6f 64 20 36 30 29 20 64 |aining m|od 60) d|
|00002170| 69 76 20 31 30 29 20 c2 | 0d 26 20 28 67 54 69 6d |iv 10) .|.& (gTim|
|00002180| 65 52 65 6d 61 69 6e 69 | 6e 67 20 6d 6f 64 20 31 |eRemaini|ng mod 1|
|00002190| 30 29 20 69 6e 74 6f 20 | 6c 61 73 74 20 6c 69 6e |0) into |last lin|
|000021a0| 65 20 6f 66 20 63 64 20 | 66 6c 64 20 22 76 69 64 |e of cd |fld "vid|
|000021b0| 65 6f 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 22 0d 65 |eo contr|oller".e|
|000021c0| 6e 64 20 69 66 0d 65 6e | 64 20 75 70 64 61 74 65 |nd if.en|d update|
|000021d0| 56 69 64 65 6f 54 69 6d | 65 0d 0d 6f 6e 20 63 68 |VideoTim|e..on ch|
|000021e0| 65 63 6b 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |eckVideo|Controll|
|000021f0| 65 72 0d 69 66 20 74 68 | 65 20 6d 6f 75 73 65 4c |er.if th|e mouseL|
|00002200| 6f 63 20 69 73 20 77 69 | 74 68 69 6e 20 74 68 65 |oc is wi|thin the|
|00002210| 20 72 65 63 74 20 6f 66 | 20 63 64 20 66 6c 64 20 | rect of| cd fld |
|00002220| 22 76 69 64 65 6f 20 63 | 6f 6e 74 72 6f 6c 6c 65 |"video c|ontrolle|
|00002230| 72 22 20 74 68 65 6e 0d | 2d 2d 20 64 6f 20 74 68 |r" then.|-- do th|
|00002240| 69 73 20 77 69 74 68 6f | 75 74 20 72 65 63 75 72 |is witho|ut recur|
|00002250| 73 69 6f 6e 2c 20 73 6f | 6d 65 68 6f 77 0d 73 65 |sion, so|mehow.se|
|00002260| 6e 64 20 76 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |nd video|Controll|
|00002270| 65 72 20 74 6f 20 63 64 | 20 66 6c 64 20 22 76 69 |er to cd| fld "vi|
|00002280| 64 65 6f 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 22 0d |deo cont|roller".|
|00002290| 2d 2d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 43 |--exit t|o HyperC|
|000022a0| 61 72 64 0d 65 6c 73 65 | 0d 67 65 74 20 74 68 65 |ard.else|.get the|
|000022b0| 20 6d 6f 75 73 65 4c 6f | 63 0d 63 6c 69 63 6b 20 | mouseLo|c.click |
|000022c0| 61 74 20 69 74 0d 65 78 | 69 74 20 74 6f 20 48 79 |at it.ex|it to Hy|
|000022d0| 70 65 72 43 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |perCard.|end if.e|
|000022e0| 6e 64 20 63 68 65 63 6b | 56 69 64 65 6f 43 6f 6e |nd check|VideoCon|
|000022f0| 74 72 6f 6c 6c 65 72 0d | 0d 6f 6e 20 64 65 6c 65 |troller.|.on dele|
|00002300| 74 65 56 69 64 65 6f 43 | 6f 6e 74 72 6f 6c 6c 65 |teVideoC|ontrolle|
|00002310| 72 0d 67 6c 6f 62 61 6c | 20 67 44 69 73 63 53 69 |r.global| gDiscSi|
|00002320| 64 65 0d 69 66 20 67 44 | 69 73 63 53 69 64 65 20 |de.if gD|iscSide |
|00002330| 3c 3e 20 22 6e 6f 6e 65 | 22 20 74 68 65 6e 20 73 |<> "none|" then s|
|00002340| 74 6f 70 56 69 64 65 6f | 0d 69 66 20 74 68 65 20 |topVideo|.if the |
|00002350| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 20 66 6c 64 |number o|f cd fld|
|00002360| 73 20 3e 20 30 20 74 68 | 65 6e 0d 69 66 20 66 69 |s > 0 th|en.if fi|
|00002370| 6e 64 46 69 65 6c 64 28 | 22 56 69 64 65 6f 20 43 |ndField(|"Video C|
|00002380| 6f 6e 74 72 6f 6c 6c 65 | 72 22 29 20 69 73 20 6e |ontrolle|r") is n|
|00002390| 6f 74 20 66 61 6c 73 65 | 20 74 68 65 6e 0d 73 65 |ot false| then.se|
|000023a0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|000023b0| 68 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 4f 6b |h.lock s|creen.Ok|
|000023c0| 44 6f 4d 65 6e 75 0d 73 | 68 6f 77 20 63 64 20 66 |DoMenu.s|how cd f|
|000023d0| 6c 64 20 22 56 69 64 65 | 6f 20 43 6f 6e 74 72 6f |ld "Vide|o Contro|
|000023e0| 6c 6c 65 72 22 0d 73 65 | 6c 65 63 74 20 63 64 20 |ller".se|lect cd |
|000023f0| 66 6c 64 20 22 56 69 64 | 65 6f 20 43 6f 6e 74 72 |fld "Vid|eo Contr|
|00002400| 6f 6c 6c 65 72 22 0d 64 | 6f 4d 65 6e 75 20 22 43 |oller".d|oMenu "C|
|00002410| 6c 65 61 72 20 46 69 65 | 6c 64 22 0d 63 68 6f 6f |lear Fie|ld".choo|
|00002420| 73 65 20 62 72 6f 77 73 | 65 20 74 6f 6f 6c 0d 75 |se brows|e tool.u|
|00002430| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00002440| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 | if.end |if.end d|
|00002450| 65 6c 65 74 65 56 69 64 | 65 6f 43 6f 6e 74 72 6f |eleteVid|eoContro|
|00002460| 6c 6c 65 72 0d 0d 6f 6e | 20 76 69 64 65 6f 43 6c |ller..on| videoCl|
|00002470| 6f 73 65 43 61 72 64 0d | 69 66 20 74 68 65 20 6e |oseCard.|if the n|
|00002480| 75 6d 62 65 72 20 6f 66 | 20 63 64 20 66 6c 64 73 |umber of| cd flds|
|00002490| 20 3e 20 30 20 74 68 65 | 6e 0d 69 66 20 66 69 6e | > 0 the|n.if fin|
|000024a0| 64 46 69 65 6c 64 28 22 | 56 69 64 65 6f 20 43 6f |dField("|Video Co|
|000024b0| 6e 74 72 6f 6c 6c 65 72 | 22 29 20 69 73 20 6e 6f |ntroller|") is no|
|000024c0| 74 20 66 61 6c 73 65 20 | 74 68 65 6e 0d 64 65 6c |t false |then.del|
|000024d0| 65 74 65 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |eteVideo|Controll|
|000024e0| 65 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |er.end i|f.end if|
|000024f0| 0d 73 65 6e 64 20 22 74 | 75 72 6e 56 69 64 65 6f |.send "t|urnVideo|
|00002500| 4f 66 66 22 20 74 6f 20 | 63 64 20 22 56 69 64 65 |Off" to |cd "Vide|
|00002510| 6f 4c 69 73 74 22 0d 65 | 6e 64 20 76 69 64 65 6f |oList".e|nd video|
|00002520| 43 6c 6f 73 65 43 61 72 | 64 0d 0d 6f 6e 20 73 65 |CloseCar|d..on se|
|00002530| 74 4e 6f 56 69 64 65 6f | 0d 67 6c 6f 62 61 6c 20 |tNoVideo|.global |
|00002540| 67 44 69 73 63 53 69 64 | 65 0d 70 75 74 20 22 6e |gDiscSid|e.put "n|
|00002550| 6f 6e 65 22 20 69 6e 74 | 6f 20 67 44 69 73 63 53 |one" int|o gDiscS|
|00002560| 69 64 65 0d 65 6e 64 20 | 73 65 74 4e 6f 76 69 64 |ide.end |setNovid|
|00002570| 65 6f 0d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |eo..----|--------|
|00002580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002590| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000025a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000025b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 2d 2d 20 |--------|----.-- |
|000025c0| 45 6e 64 20 6f 66 20 56 | 69 64 65 6f 20 53 63 72 |End of V|ideo Scr|
|000025d0| 69 70 74 20 76 65 72 73 | 69 6f 6e 20 38 0d 0d 6f |ipt vers|ion 8..o|
|000025e0| 6e 20 67 6f 55 70 0d 67 | 6f 55 70 54 6f 20 22 6d |n goUp.g|oUpTo "m|
|000025f0| 61 69 6e 20 6d 65 6e 75 | 22 0d 65 6e 64 20 67 6f |ain menu|".end go|
|00002600| 55 70 0d 0d 2d 2d 2d 20 | 73 74 61 72 74 20 6f 66 |Up..--- |start of|
|00002610| 20 76 69 64 65 6f 20 62 | 75 74 74 6f 6e 20 73 63 | video b|utton sc|
|00002620| 72 69 70 74 73 0d 6f 6e | 20 76 69 64 65 6f 42 75 |ripts.on| videoBu|
|00002630| 74 74 6f 6e 0d 69 66 20 | 74 68 65 20 6c 6f 63 6b |tton.if |the lock|
|00002640| 73 63 72 65 65 6e 20 69 | 73 20 74 72 75 65 20 74 |screen i|s true t|
|00002650| 68 65 6e 20 65 78 69 74 | 20 76 69 64 65 6f 62 75 |hen exit| videobu|
|00002660| 74 74 6f 6e 0d 66 6c 61 | 73 68 42 74 6e 20 76 69 |tton.fla|shBtn vi|
|00002670| 64 65 6f 62 67 2c 20 32 | 0d 72 65 70 65 61 74 20 |deobg, 2|.repeat |
|00002680| 77 69 74 68 20 78 20 3d | 20 31 20 74 6f 20 33 0d |with x =| 1 to 3.|
|00002690| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 74 72 20 |repeat w|ith ctr |
|000026a0| 3d 20 31 20 74 6f 20 33 | 0d 69 66 20 74 68 65 20 |= 1 to 3|.if the |
|000026b0| 6d 6f 75 73 65 43 6c 69 | 63 6b 20 74 68 65 6e 0d |mouseCli|ck then.|
|000026c0| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|000026d0| 62 74 6e 20 22 76 69 64 | 65 6f 22 20 74 6f 20 22 |btn "vid|eo" to "|
|000026e0| 67 75 79 20 31 22 0d 63 | 6c 69 63 6b 20 61 74 20 |guy 1".c|lick at |
|000026f0| 74 68 65 20 63 6c 69 63 | 6b 6c 6f 63 0d 65 78 69 |the clic|kloc.exi|
|00002700| 74 20 76 69 64 65 6f 42 | 75 74 74 6f 6e 0d 65 6e |t videoB|utton.en|
|00002710| 64 20 69 66 0d 73 65 74 | 20 74 68 65 20 69 63 6f |d if.set| the ico|
|00002720| 6e 20 6f 66 20 62 74 6e | 20 22 76 69 64 65 6f 22 |n of btn| "video"|
|00002730| 20 74 6f 20 22 67 75 79 | 22 20 26 26 20 63 74 72 | to "guy|" && ctr|
|00002740| 0d 77 61 69 74 20 31 30 | 0d 65 6e 64 20 72 65 70 |.wait 10|.end rep|
|00002750| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 |eat.end |repeat.s|
|00002760| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|00002770| 74 6e 20 22 76 69 64 65 | 6f 22 20 74 6f 20 22 67 |tn "vide|o" to "g|
|00002780| 75 79 20 31 22 0d 65 6e | 64 20 76 69 64 65 6f 42 |uy 1".en|d videoB|
|00002790| 75 74 74 6f 6e 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |utton..-|--------|
|000027a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000027b0| 2d 2d 2d 2d 20 20 53 54 | 55 44 45 4e 54 20 4f 50 |---- ST|UDENT OP|
|000027c0| 54 49 4f 4e 53 20 66 6f | 6c 6c 6f 77 20 2d 2d 2d |TIONS fo|llow ---|
|000027d0| 2d 2d 2d 2d 2d 2d 2d 0d | 7c 2d 2d 20 74 68 65 20 |-------.||-- the |
|000027e0| 6f 70 74 69 6f 6e 73 20 | 62 75 74 74 6f 6e 20 63 |options |button c|
|000027f0| 61 6c 6c 73 20 75 70 20 | 61 20 70 61 6e 65 6c 20 |alls up |a panel |
|00002800| 6f 66 20 73 65 72 76 69 | 63 65 73 0d 6f 6e 20 6e |of servi|ces.on n|
|00002810| 65 77 4f 70 74 69 6f 6e | 73 0d 4f 70 74 69 6f 6e |ewOption|s.Option|
|00002820| 73 0d 65 6e 64 20 6e 65 | 77 4f 70 74 69 6f 6e 73 |s.end ne|wOptions|
|00002830| 0d 6f 6e 20 4f 70 74 69 | 6f 6e 73 0d 67 65 74 20 |.on Opti|ons.get |
|00002840| 53 53 50 61 6e 65 6c 28 | 29 0d 69 66 20 69 74 20 |SSPanel(|).if it |
|00002850| 69 73 20 6e 6f 74 20 22 | 63 61 6e 63 65 6c 22 20 |is not "|cancel" |
|00002860| 74 68 65 6e 20 64 6f 20 | 69 74 0d 65 6e 64 20 4f |then do |it.end O|
|00002870| 70 74 69 6f 6e 73 0d 0d | 66 75 6e 63 74 69 6f 6e |ptions..|function|
|00002880| 20 53 53 70 61 6e 65 6c | 0d 73 65 74 20 63 75 72 | SSpanel|.set cur|
|00002890| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 73 65 74 |sor to w|atch.set|
|000028a0| 57 69 6e 64 6f 77 20 31 | 0d 4e 65 77 57 69 6e 64 |Window 1|.NewWind|
|000028b0| 6f 77 20 32 31 37 2c 32 | 34 38 2c 63 65 6e 74 65 |ow 217,2|48,cente|
|000028c0| 72 65 64 2c 30 2c 32 2c | 22 53 53 20 44 69 61 6c |red,0,2,|"SS Dial|
|000028d0| 6f 67 22 2c 76 69 73 69 | 62 6c 65 0d 4e 65 77 49 |og",visi|ble.NewI|
|000028e0| 74 65 6d 20 70 69 63 74 | 75 72 65 2c 30 2c 30 2c |tem pict|ure,0,0,|
|000028f0| 32 31 37 2c 32 34 38 2c | 33 32 35 20 2d 2d 20 69 |217,248,|325 -- i|
|00002900| 74 65 6d 20 31 0d 4e 65 | 77 49 74 65 6d 20 52 65 |tem 1.Ne|wItem Re|
|00002910| 63 74 42 75 74 74 6f 6e | 2c 32 30 2c 38 33 2c 37 |ctButton|,20,83,7|
|00002920| 32 2c 31 33 33 2c 41 63 | 74 69 76 65 2c c2 0d 2d |2,133,Ac|tive,..-|
|00002930| 31 2c 22 69 6e 76 65 72 | 74 22 2c 22 42 6f 6f 6b |1,"inver|t","Book|
|00002940| 6d 61 72 6b 22 2c 6e 6f | 43 6f 6c 6f 72 2c 22 22 |mark",no|Color,""|
|00002950| 2c 22 22 20 2d 2d 20 42 | 6f 6f 6b 6d 61 72 6b 2c |,"" -- B|ookmark,|
|00002960| 20 69 74 65 6d 20 32 0d | 4e 65 77 49 74 65 6d 20 | item 2.|NewItem |
|00002970| 52 65 63 74 42 75 74 74 | 6f 6e 2c 38 32 2c 38 33 |RectButt|on,82,83|
|00002980| 2c 31 33 34 2c 31 33 33 | 2c 41 63 74 69 76 65 2c |,134,133|,Active,|
|00002990| c2 0d 2d 31 2c 22 69 6e | 76 65 72 74 22 2c 22 4e |..-1,"in|vert","N|
|000029a0| 6f 74 65 62 6f 6f 6b 22 | 2c 6e 6f 43 6f 6c 6f 72 |otebook"|,noColor|
|000029b0| 2c 22 22 2c 22 22 20 2d | 2d 20 4e 6f 74 65 2c 20 |,"","" -|- Note, |
|000029c0| 69 74 65 6d 20 33 0d 4e | 65 77 49 74 65 6d 20 52 |item 3.N|ewItem R|
|000029d0| 65 63 74 42 75 74 74 6f | 6e 2c 31 34 34 2c 38 33 |ectButto|n,144,83|
|000029e0| 2c 31 39 36 2c 31 33 33 | 2c 41 63 74 69 76 65 2c |,196,133|,Active,|
|000029f0| c2 0d 2d 31 2c 22 69 6e | 76 65 72 74 22 2c 22 53 |..-1,"in|vert","S|
|00002a00| 6e 61 70 73 68 6f 74 22 | 2c 6e 6f 43 6f 6c 6f 72 |napshot"|,noColor|
|00002a10| 2c 22 22 2c 22 22 20 2d | 2d 20 53 6e 61 70 53 68 |,"","" -|- SnapSh|
|00002a20| 6f 74 2c 20 20 49 74 65 | 6d 20 34 0d 4e 65 77 49 |ot, Ite|m 4.NewI|
|00002a30| 74 65 6d 20 52 65 63 74 | 42 75 74 74 6f 6e 2c 32 |tem Rect|Button,2|
|00002a40| 30 2c 31 34 33 2c 37 32 | 2c 31 39 33 2c 41 63 74 |0,143,72|,193,Act|
|00002a50| 69 76 65 2c c2 0d 2d 31 | 2c 22 69 6e 76 65 72 74 |ive,..-1|,"invert|
|00002a60| 22 2c 22 47 6c 6f 73 73 | 61 72 79 22 2c 6e 6f 43 |","Gloss|ary",noC|
|00002a70| 6f 6c 6f 72 2c 22 22 2c | 22 22 20 2d 2d 20 47 6c |olor,"",|"" -- Gl|
|00002a80| 6f 73 73 61 72 79 2c 20 | 49 74 65 6d 20 35 0d 4e |ossary, |Item 5.N|
|00002a90| 65 77 49 74 65 6d 20 52 | 65 63 74 42 75 74 74 6f |ewItem R|ectButto|
|00002aa0| 6e 2c 38 32 2c 31 34 33 | 2c 31 33 34 2c 31 39 33 |n,82,143|,134,193|
|00002ab0| 2c 41 63 74 69 76 65 2c | c2 0d 2d 31 2c 22 69 6e |,Active,|..-1,"in|
|00002ac0| 76 65 72 74 22 2c 22 4d | 61 70 22 2c 6e 6f 43 6f |vert","M|ap",noCo|
|00002ad0| 6c 6f 72 2c 22 22 2c 22 | 22 20 2d 2d 20 4d 61 70 |lor,"","|" -- Map|
|00002ae0| 2c 20 49 74 65 6d 20 36 | 0d 4e 65 77 49 74 65 6d |, Item 6|.NewItem|
|00002af0| 20 52 65 63 74 42 75 74 | 74 6f 6e 2c 31 34 34 2c | RectBut|ton,144,|
|00002b00| 31 34 33 2c 31 39 36 2c | 31 39 33 2c 41 63 74 69 |143,196,|193,Acti|
|00002b10| 76 65 2c c2 0d 2d 31 2c | 22 69 6e 76 65 72 74 22 |ve,..-1,|"invert"|
|00002b20| 2c 22 48 65 6c 70 22 2c | 6e 6f 43 6f 6c 6f 72 2c |,"Help",|noColor,|
|00002b30| 22 22 2c 22 22 20 2d 2d | 20 48 65 6c 70 2c 20 49 |"","" --| Help, I|
|00002b40| 74 65 6d 20 37 0d 4e 65 | 77 49 74 65 6d 20 52 65 |tem 7.Ne|wItem Re|
|00002b50| 63 74 42 75 74 74 6f 6e | 2c 31 39 2c 32 30 34 2c |ctButton|,19,204,|
|00002b60| 31 31 30 2c 32 33 30 2c | 41 63 74 69 76 65 2c c2 |110,230,|Active,.|
|00002b70| 0d 2d 31 2c 22 69 6e 76 | 65 72 74 22 2c 22 71 75 |.-1,"inv|ert","qu|
|00002b80| 69 74 4d 46 22 2c 6e 6f | 43 6f 6c 6f 72 2c 22 22 |itMF",no|Color,""|
|00002b90| 2c 22 22 20 2d 2d 20 51 | 75 69 74 2c 20 69 74 65 |,"" -- Q|uit, ite|
|00002ba0| 6d 20 38 0d 4e 65 77 49 | 74 65 6d 20 52 65 63 74 |m 8.NewI|tem Rect|
|00002bb0| 42 75 74 74 6f 6e 2c 31 | 32 34 2c 32 30 34 2c 31 |Button,1|24,204,1|
|00002bc0| 39 37 2c 32 33 30 2c 41 | 63 74 69 76 65 2c c2 0d |97,230,A|ctive,..|
|00002bd0| 2d 31 2c 22 69 6e 76 65 | 72 74 22 2c 22 63 61 6e |-1,"inve|rt","can|
|00002be0| 63 65 6c 22 2c 6e 6f 63 | 6f 6c 6f 72 2c 22 22 2c |cel",noc|olor,"",|
|00002bf0| 22 22 20 20 2d 2d 20 43 | 61 6e 63 65 6c 2c 20 69 |"" -- C|ancel, i|
|00002c00| 74 65 6d 20 39 0d 73 65 | 74 20 63 75 72 73 6f 72 |tem 9.se|t cursor|
|00002c10| 20 74 6f 20 61 72 72 6f | 77 0d 67 65 74 20 20 44 | to arro|w.get D|
|00002c20| 69 73 70 6c 61 79 20 28 | 31 35 2c 31 20 29 0d 69 |isplay (|15,1 ).i|
|00002c30| 66 20 69 74 20 3d 20 22 | 74 69 6d 65 6f 75 74 22 |f it = "|timeout"|
|00002c40| 20 74 68 65 6e 0d 6b 69 | 6c 6c 57 69 6e 64 6f 77 | then.ki|llWindow|
|00002c50| 0d 72 65 74 75 72 6e 20 | 22 22 20 2d 2d 20 64 6f |.return |"" -- do|
|00002c60| 20 6e 6f 74 68 69 6e 67 | 0d 65 6e 64 20 69 66 0d | nothing|.end if.|
|00002c70| 6b 69 6c 6c 57 69 6e 64 | 6f 77 20 2d 2d 20 63 6c |killWind|ow -- cl|
|00002c80| 65 61 6e 20 75 70 0d 72 | 65 74 75 72 6e 20 69 74 |ean up.r|eturn it|
|00002c90| 65 6d 20 34 20 6f 66 20 | 69 74 0d 65 6e 64 20 53 |em 4 of |it.end S|
|00002ca0| 53 70 61 6e 65 6c 0d 0d | 2d 2d 20 74 68 69 73 20 |Spanel..|-- this |
|00002cb0| 68 61 6e 64 6c 65 72 20 | 69 73 20 63 61 6c 6c 65 |handler |is calle|
|00002cc0| 64 20 66 72 6f 6d 20 61 | 6c 6c 20 73 74 61 63 6b |d from a|ll stack|
|00002cd0| 73 0d 6f 6e 20 42 6f 6f | 6b 4d 61 72 6b 0d 2d 2d |s.on Boo|kMark.--|
|00002ce0| 20 73 74 75 66 66 20 66 | 72 6f 6d 20 4d 46 42 20 | stuff f|rom MFB |
|00002cf0| 4d 61 72 6b 50 6c 61 63 | 65 0d 67 6c 6f 62 61 6c |MarkPlac|e.global|
|00002d00| 20 67 4c 61 73 74 50 6c | 61 63 65 2c 67 50 6c 61 | gLastPl|ace,gPla|
|00002d10| 63 65 4e 61 6d 65 73 2c | 20 67 50 6c 61 63 65 73 |ceNames,| gPlaces|
|00002d20| 2c 67 43 75 72 4e 6f 64 | 65 0d 73 65 74 57 69 6e |,gCurNod|e.setWin|
|00002d30| 64 6f 77 20 31 0d 4e 65 | 77 57 69 6e 64 6f 77 20 |dow 1.Ne|wWindow |
|00002d40| 32 39 30 2c 32 32 32 2c | 63 65 6e 74 65 72 65 64 |290,222,|centered|
|00002d50| 2c 30 2c 31 2c 22 42 6f | 6f 6b 6d 61 72 6b 20 44 |,0,1,"Bo|okmark D|
|00002d60| 69 61 6c 6f 67 22 2c 76 | 69 73 69 62 6c 65 0d 70 |ialog",v|isible.p|
|00002d70| 75 74 20 22 53 74 75 64 | 65 6e 74 20 53 65 72 76 |ut "Stud|ent Serv|
|00002d80| 69 63 65 73 22 20 26 20 | 72 65 74 75 72 6e 20 26 |ices" & |return &|
|00002d90| 20 22 42 6f 6f 6b 6d 61 | 72 6b 22 20 69 6e 74 6f | "Bookma|rk" into|
|00002da0| 20 74 68 65 54 65 78 74 | 0d 4e 65 77 49 74 65 6d | theText|.NewItem|
|00002db0| 20 53 74 61 74 69 63 54 | 65 78 74 2c 35 39 2c 36 | StaticT|ext,59,6|
|00002dc0| 2c 31 39 32 2c 34 38 2c | 74 68 65 54 65 78 74 2c |,192,48,|theText,|
|00002dd0| 22 42 20 67 61 72 61 6d | 6f 6e 64 20 62 6f 6c 64 |"B garam|ond bold|
|00002de0| 22 2c 32 30 2c 70 6c 61 | 69 6e 0d 2d 2d 20 69 74 |",20,pla|in.-- it|
|00002df0| 65 6d 20 31 0d 4e 65 77 | 49 74 65 6d 20 52 65 63 |em 1.New|Item Rec|
|00002e00| 74 42 75 74 74 6f 6e 2c | 31 37 2c 38 2c 36 31 2c |tButton,|17,8,61,|
|00002e10| 34 35 2c c2 0d 22 4e 6f | 74 41 63 74 69 76 65 22 |45,.."No|tActive"|
|00002e20| 2c 31 37 34 32 2c 22 64 | 6f 6e 74 69 6e 76 65 72 |,1742,"d|ontinver|
|00002e30| 74 22 2c 65 6d 70 74 79 | 2c 6e 6f 43 6f 6c 6f 72 |t",empty|,noColor|
|00002e40| 2c 22 22 2c 22 22 0d 2d | 2d 20 20 62 6f 6f 6b 6d |,"","".-|- bookm|
|00002e50| 61 72 6b 20 67 72 61 70 | 68 69 63 20 69 74 65 6d |ark grap|hic item|
|00002e60| 20 32 0d 4e 65 77 49 74 | 65 6d 20 52 65 63 74 61 | 2.NewIt|em Recta|
|00002e70| 6e 67 6c 65 2c 30 2c 35 | 33 2c 32 39 30 2c 35 34 |ngle,0,5|3,290,54|
|00002e80| 2c 31 20 2d 2d 20 69 74 | 65 6d 20 33 2c 20 64 65 |,1 -- it|em 3, de|
|00002e90| 63 6f 72 61 74 69 76 65 | 20 72 75 6c 65 0d 4e 65 |corative| rule.Ne|
|00002ea0| 77 49 74 65 6d 20 53 74 | 61 74 69 63 54 65 78 74 |wItem St|aticText|
|00002eb0| 2c 32 34 2c 36 30 2c 31 | 35 37 2c 37 39 2c c2 0d |,24,60,1|57,79,..|
|00002ec0| 22 42 6f 6f 6b 6d 61 72 | 6b 20 69 6e 3a 22 2c 47 |"Bookmar|k in:",G|
|00002ed0| 61 72 61 6d 6f 6e 64 2c | 31 36 2c 70 6c 61 69 6e |aramond,|16,plain|
|00002ee0| 20 2d 2d 20 69 74 65 6d | 20 34 0d 4e 65 77 49 74 | -- item| 4.NewIt|
|00002ef0| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 32 34 |em Stati|cText,24|
|00002f00| 2b 33 2c 37 39 2c 32 36 | 30 2c 39 35 2c c2 0d 6d |+3,79,26|0,95,..m|
|00002f10| 61 6b 65 53 74 61 6d 70 | 28 29 2c 22 43 68 69 63 |akeStamp|(),"Chic|
|00002f20| 61 67 6f 22 2c 31 32 2c | 70 6c 61 69 6e 20 2d 2d |ago",12,|plain --|
|00002f30| 20 69 74 65 6d 20 35 0d | 4e 65 77 49 74 65 6d 20 | item 5.|NewItem |
|00002f40| 52 65 63 74 61 6e 67 6c | 65 2c 32 34 2c 37 38 2c |Rectangl|e,24,78,|
|00002f50| 32 36 38 2c 39 37 2c 31 | 20 2d 2d 49 74 65 6d 20 |268,97,1| --Item |
|00002f60| 36 0d 4e 65 77 49 74 65 | 6d 20 53 74 61 74 69 63 |6.NewIte|m Static|
|00002f70| 54 65 78 74 2c 32 34 2c | 31 30 33 2c 32 36 38 2c |Text,24,|103,268,|
|00002f80| 31 32 33 2c c2 0d 22 42 | 6f 6f 6b 6d 61 72 6b 20 |123,.."B|ookmark |
|00002f90| 6e 61 6d 65 20 28 6f 70 | 74 69 6f 6e 61 6c 29 3a |name (op|tional):|
|00002fa0| 22 2c 47 61 72 61 6d 6f | 6e 64 2c 31 36 2c 70 6c |",Garamo|nd,16,pl|
|00002fb0| 61 69 6e 20 2d 2d 20 69 | 74 65 6d 20 37 0d 4e 65 |ain -- i|tem 7.Ne|
|00002fc0| 77 49 74 65 6d 20 45 64 | 69 74 54 65 78 74 2c 32 |wItem Ed|itText,2|
|00002fd0| 34 2c 31 32 30 2c 32 36 | 38 2c 31 34 31 2c c2 0d |4,120,26|8,141,..|
|00002fe0| 65 6d 70 74 79 2c 22 43 | 68 69 63 61 67 6f 22 2c |empty,"C|hicago",|
|00002ff0| 31 32 2c 70 6c 61 69 6e | 2c 6e 6f 53 63 72 6f 6c |12,plain|,noScrol|
|00003000| 6c 2c 68 61 73 43 75 72 | 73 6f 72 20 2d 2d 20 69 |l,hasCur|sor -- i|
|00003010| 74 65 6d 20 38 0d 4e 65 | 77 49 74 65 6d 20 52 6f |tem 8.Ne|wItem Ro|
|00003020| 75 6e 64 42 75 74 74 6f | 6e 2c 32 34 2c 31 36 31 |undButto|n,24,161|
|00003030| 2c 31 34 30 2c 31 38 37 | 2c c2 0d 22 43 72 65 61 |,140,187|,.."Crea|
|00003040| 74 65 20 6d 61 72 6b 22 | 2c 31 33 2c 6e 6f 43 6f |te mark"|,13,noCo|
|00003050| 6d 6d 61 6e 64 2c 22 22 | 20 2d 2d 20 69 74 65 6d |mmand,""| -- item|
|00003060| 20 38 0d 4e 65 77 49 74 | 65 6d 20 52 6f 75 6e 64 | 8.NewIt|em Round|
|00003070| 42 75 74 74 6f 6e 2c 31 | 35 32 2c 31 36 34 2c 32 |Button,1|52,164,2|
|00003080| 36 38 2c 31 38 34 20 2c | c2 0d 22 43 61 6e 63 65 |68,184 ,|.."Cance|
|00003090| 6c 22 2c 63 68 61 72 54 | 6f 4e 75 6d 28 22 2e 22 |l",charT|oNum("."|
|000030a0| 29 2c 43 6f 6d 6d 61 6e | 64 2c 22 22 20 2d 2d 20 |),Comman|d,"" -- |
|000030b0| 69 74 65 6d 20 31 30 0d | 4e 65 77 49 74 65 6d 20 |item 10.|NewItem |
|000030c0| 52 6f 75 6e 64 42 75 74 | 74 6f 6e 2c 32 34 2c 31 |RoundBut|ton,24,1|
|000030d0| 39 36 2c 31 34 30 2c 32 | 31 36 2c c2 0d 22 47 6f |96,140,2|16,.."Go|
|000030e0| 20 74 6f 20 6c 61 73 74 | 20 6d 61 72 6b 22 2c 31 | to last| mark",1|
|000030f0| 34 2c 6e 6f 43 6f 6d 6d | 61 6e 64 2c 22 22 20 2d |4,noComm|and,"" -|
|00003100| 2d 20 69 74 65 6d 20 31 | 31 0d 4e 65 77 49 74 65 |- item 1|1.NewIte|
|00003110| 6d 20 52 6f 75 6e 64 42 | 75 74 74 6f 6e 2c 31 35 |m RoundB|utton,15|
|00003120| 32 2c 31 39 36 2c 32 36 | 38 2c 32 31 36 2c c2 0d |2,196,26|8,216,..|
|00003130| 22 53 65 6c 65 63 74 20 | 61 20 6d 61 72 6b 22 2c |"Select |a mark",|
|00003140| 31 35 2c 6e 6f 43 6f 6d | 6d 61 6e 64 2c 22 22 20 |15,noCom|mand,"" |
|00003150| 2d 2d 20 69 74 65 6d 20 | 31 32 0d 73 65 74 20 63 |-- item |12.set c|
|00003160| 75 72 73 6f 72 20 74 6f | 20 61 72 72 6f 77 0d 67 |ursor to| arrow.g|
|00003170| 65 74 20 20 44 69 73 70 | 6c 61 79 20 28 31 38 30 |et Disp|lay (180|
|00003180| 2c 31 29 0d 2d 2d 20 4b | 69 6c 6c 20 74 68 65 20 |,1).-- K|ill the |
|00003190| 77 69 6e 64 6f 77 20 61 | 66 74 65 72 20 61 20 74 |window a|fter a t|
|000031a0| 69 6d 65 6f 75 74 0d 69 | 66 20 69 74 20 3d 20 22 |imeout.i|f it = "|
|000031b0| 74 69 6d 65 6f 75 74 22 | 20 74 68 65 6e 0d 2d 2d |timeout"| then.--|
|000031c0| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 69 74 65 | delete |last ite|
|000031d0| 6d 20 6f 66 20 77 68 65 | 72 65 57 65 43 61 6d 65 |m of whe|reWeCame|
|000031e0| 46 72 6f 6d 0d 6b 69 6c | 6c 57 69 6e 64 6f 77 0d |From.kil|lWindow.|
|000031f0| 72 65 74 75 72 6e 20 22 | 63 61 6e 63 65 6c 22 0d |return "|cancel".|
|00003200| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 69 66 20 69 74 |end if..|-- if it|
|00003210| 20 64 69 64 6e 27 74 20 | 74 69 6d 65 20 6f 75 74 | didn't |time out|
|00003220| 2c 20 73 65 65 20 77 68 | 61 74 20 74 68 65 20 75 |, see wh|at the u|
|00003230| 73 65 72 20 63 68 6f 73 | 65 0d 70 75 74 20 69 74 |ser chos|e.put it|
|00003240| 65 6d 20 34 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 4 of |it into |
|00003250| 75 73 65 72 50 69 63 6b | 65 64 0d 69 66 20 75 73 |userPick|ed.if us|
|00003260| 65 72 50 69 63 6b 65 64 | 20 69 73 20 22 43 72 65 |erPicked| is "Cre|
|00003270| 61 74 65 20 6d 61 72 6b | 22 20 74 68 65 6e 20 2d |ate mark|" then -|
|00003280| 2d 20 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 62 |- create| a new b|
|00003290| 6f 6f 6b 6d 61 72 6b 0d | 70 75 74 20 69 74 65 6d |ookmark.|put item|
|000032a0| 20 32 20 6f 66 20 20 47 | 65 74 56 61 6c 75 65 28 | 2 of G|etValue(|
|000032b0| 22 49 74 65 6d 22 2c 35 | 29 20 69 6e 74 6f 20 70 |"Item",5|) into p|
|000032c0| 6c 61 63 65 6e 61 6d 65 | 2d 2d 20 74 68 65 20 62 |lacename|-- the b|
|000032d0| 6f 6f 6b 6d 61 72 6b 20 | 73 74 61 6d 70 0d 67 65 |ookmark |stamp.ge|
|000032e0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 67 65 74 56 |t item 2| of getV|
|000032f0| 61 6c 75 65 28 22 49 74 | 65 6d 22 2c 38 29 20 2d |alue("It|em",8) -|
|00003300| 2d 20 74 68 65 20 6f 70 | 74 69 6f 6e 61 6c 20 74 |- the op|tional t|
|00003310| 69 74 6c 65 0d 69 66 20 | 69 74 20 69 73 20 6e 6f |itle.if |it is no|
|00003320| 74 20 22 22 20 74 68 65 | 6e 20 70 75 74 20 22 20 |t "" the|n put " |
|00003330| a5 20 22 20 26 20 69 74 | 20 61 66 74 65 72 20 70 |. " & it| after p|
|00003340| 6c 61 63 65 4e 61 6d 65 | 0d 69 66 20 70 6c 61 63 |laceName|.if plac|
|00003350| 65 4e 61 6d 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 |eName is| not emp|
|00003360| 74 79 20 74 68 65 6e 0d | 70 75 74 20 70 6c 61 63 |ty then.|put plac|
|00003370| 65 4e 61 6d 65 20 26 20 | 72 65 74 75 72 6e 20 62 |eName & |return b|
|00003380| 65 66 6f 72 65 20 67 50 | 6c 61 63 65 4e 61 6d 65 |efore gP|laceName|
|00003390| 73 0d 70 75 74 20 67 65 | 74 43 61 72 64 4e 61 6d |s.put ge|tCardNam|
|000033a0| 65 28 29 20 69 6e 74 6f | 20 67 4c 61 73 74 50 6c |e() into| gLastPl|
|000033b0| 61 63 65 0d 70 75 74 20 | 67 4c 61 73 74 50 6c 61 |ace.put |gLastPla|
|000033c0| 63 65 20 26 20 22 2c 22 | 20 26 20 67 43 75 72 4e |ce & ","| & gCurN|
|000033d0| 6f 64 65 20 26 20 72 65 | 74 75 72 6e 20 62 65 66 |ode & re|turn bef|
|000033e0| 6f 72 65 20 67 50 6c 61 | 63 65 73 0d 65 6e 64 20 |ore gPla|ces.end |
|000033f0| 69 66 0d 6b 69 6c 6c 57 | 69 6e 64 6f 77 0d 65 6c |if.killW|indow.el|
|00003400| 73 65 20 69 66 20 75 73 | 65 72 50 69 63 6b 65 64 |se if us|erPicked|
|00003410| 20 69 73 20 22 47 6f 20 | 74 6f 20 6c 61 73 74 20 | is "Go |to last |
|00003420| 6d 61 72 6b 22 20 74 68 | 65 6e 20 2d 2d 20 67 6f |mark" th|en -- go|
|00003430| 20 74 6f 20 6c 61 73 74 | 20 6d 61 72 6b 0d 6b 69 | to last| mark.ki|
|00003440| 6c 6c 57 69 6e 64 6f 77 | 0d 4c 61 73 74 50 6c 61 |llWindow|.LastPla|
|00003450| 63 65 0d 65 6c 73 65 20 | 69 66 20 75 73 65 72 50 |ce.else |if userP|
|00003460| 69 63 6b 65 64 20 69 73 | 20 22 53 65 6c 65 63 74 |icked is| "Select|
|00003470| 20 61 20 6d 61 72 6b 22 | 20 74 68 65 6e 20 2d 2d | a mark"| then --|
|00003480| 20 73 65 6c 65 63 74 20 | 6d 61 72 6b 20 66 72 6d | select |mark frm|
|00003490| 20 62 6f 6f 6b 6d 61 72 | 6b 0d 6b 69 6c 6c 57 69 | bookmar|k.killWi|
|000034a0| 6e 64 6f 77 0d 67 6f 42 | 6f 6f 6b 4d 61 72 6b 0d |ndow.goB|ookMark.|
|000034b0| 65 6c 73 65 20 2d 2d 20 | 6d 75 73 74 20 62 65 20 |else -- |must be |
|000034c0| 43 61 6e 63 65 6c 0d 6b | 69 6c 6c 57 69 6e 64 6f |Cancel.k|illWindo|
|000034d0| 77 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 42 6f 6f |w.end if|.end Boo|
|000034e0| 6b 4d 61 72 6b 0d 0d 6f | 6e 20 4c 61 73 74 50 6c |kMark..o|n LastPl|
|000034f0| 61 63 65 0d 67 6c 6f 62 | 61 6c 20 67 4c 61 73 74 |ace.glob|al gLast|
|00003500| 50 6c 61 63 65 2c 20 67 | 43 75 72 4e 6f 64 65 0d |Place, g|CurNode.|
|00003510| 70 75 74 20 67 65 74 43 | 61 72 64 4e 61 6d 65 28 |put getC|ardName(|
|00003520| 29 20 26 20 22 2c 22 20 | 26 20 67 43 75 72 4e 6f |) & "," |& gCurNo|
|00003530| 64 65 20 69 6e 74 6f 20 | 6c 61 73 74 50 6c 61 63 |de into |lastPlac|
|00003540| 65 0d 67 65 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |e.get it|em 1 of |
|00003550| 67 4c 61 73 74 50 6c 61 | 63 65 0d 69 66 20 69 74 |gLastPla|ce.if it|
|00003560| 20 69 73 20 6e 6f 74 20 | 22 22 20 74 68 65 6e 0d | is not |"" then.|
|00003570| 67 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 67 4c 61 |go item |1 of gLa|
|00003580| 73 74 50 6c 61 63 65 0d | 70 75 74 20 6c 61 73 74 |stPlace.|put last|
|00003590| 50 6c 61 63 65 20 69 6e | 74 6f 20 67 4c 61 73 74 |Place in|to gLast|
|000035a0| 50 6c 61 63 65 0d 65 6c | 73 65 0d 61 6e 73 77 65 |Place.el|se.answe|
|000035b0| 72 20 22 53 6f 72 72 79 | 2c 20 79 6f 75 20 68 61 |r "Sorry|, you ha|
|000035c0| 76 65 6e d5 74 20 6d 61 | 64 65 20 61 6e 79 20 42 |ven.t ma|de any B|
|000035d0| 6f 6f 6b 6d 61 72 6b 73 | 2e 22 20 77 69 74 68 20 |ookmarks|." with |
|000035e0| 22 4f 4b 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |"OK".end| if.end |
|000035f0| 4c 61 73 74 50 6c 61 63 | 65 0d 0d 6f 6e 20 67 6f |LastPlac|e..on go|
|00003600| 42 6f 6f 6b 4d 61 72 6b | 0d 67 6c 6f 62 61 6c 20 |BookMark|.global |
|00003610| 67 4c 61 73 74 50 6c 61 | 63 65 2c 67 50 6c 61 63 |gLastPla|ce,gPlac|
|00003620| 65 4e 61 6d 65 73 2c 20 | 67 50 6c 61 63 65 73 2c |eNames, |gPlaces,|
|00003630| 20 67 52 65 63 65 6e 74 | 50 6c 61 63 65 2c 67 43 | gRecent|Place,gC|
|00003640| 75 72 4e 6f 64 65 0d 70 | 75 73 68 20 63 61 72 64 |urNode.p|ush card|
|00003650| 0d 70 75 74 20 67 65 74 | 43 61 72 64 4e 61 6d 65 |.put get|CardName|
|00003660| 28 29 20 26 20 22 2c 22 | 20 26 20 67 43 75 72 4e |() & ","| & gCurN|
|00003670| 6f 64 65 20 69 6e 74 6f | 20 67 52 65 63 65 6e 74 |ode into| gRecent|
|00003680| 50 6c 61 63 65 0d 6c 6f | 63 6b 20 73 63 72 65 65 |Place.lo|ck scree|
|00003690| 6e 0d 67 6f 20 74 6f 20 | 63 61 72 64 20 22 42 6f |n.go to |card "Bo|
|000036a0| 6f 6b 4d 61 72 6b 22 20 | 6f 66 20 73 74 61 63 6b |okMark" |of stack|
|000036b0| 20 22 4d 46 20 42 6f 6f | 6b 4d 61 72 6b 22 0d 70 | "MF Boo|kMark".p|
|000036c0| 75 74 20 67 50 6c 61 63 | 65 4e 61 6d 65 73 20 69 |ut gPlac|eNames i|
|000036d0| 6e 74 6f 20 66 69 65 6c | 64 20 22 50 6c 61 63 65 |nto fiel|d "Place|
|000036e0| 4c 69 73 74 22 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |List".un|lock scr|
|000036f0| 65 65 6e 20 77 69 74 68 | 20 76 69 73 75 61 6c 20 |een with| visual |
|00003700| 65 66 66 65 63 74 20 69 | 72 69 73 20 6f 70 65 6e |effect i|ris open|
|00003710| 0d 65 6e 64 20 67 6f 42 | 6f 6f 6b 4d 61 72 6b 0d |.end goB|ookMark.|
|00003720| 0d 2d 2d 20 74 68 69 73 | 20 68 61 6e 64 6c 65 72 |.-- this| handler|
|00003730| 20 69 73 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 | is call|ed from |
|00003740| 61 6c 6c 20 73 74 61 63 | 6b 73 0d 6f 6e 20 4e 6f |all stac|ks.on No|
|00003750| 74 65 42 6f 6f 6b 0d 67 | 6c 6f 62 61 6c 20 67 53 |teBook.g|lobal gS|
|00003760| 74 75 64 65 6e 74 4e 61 | 6d 65 0d 73 65 74 57 69 |tudentNa|me.setWi|
|00003770| 6e 64 6f 77 20 31 0d 4e | 65 77 57 69 6e 64 6f 77 |ndow 1.N|ewWindow|
|00003780| 20 32 39 30 2c 32 39 30 | 2c 63 65 6e 74 65 72 65 | 290,290|,centere|
|00003790| 64 2c 30 2c 31 2c 22 4e | 6f 74 65 22 2c 76 69 73 |d,0,1,"N|ote",vis|
|000037a0| 69 62 6c 65 0d 70 75 74 | 20 22 53 74 75 64 65 6e |ible.put| "Studen|
|000037b0| 74 20 53 65 72 76 69 63 | 65 73 22 20 26 20 72 65 |t Servic|es" & re|
|000037c0| 74 75 72 6e 20 26 20 22 | 4e 6f 74 65 22 20 69 6e |turn & "|Note" in|
|000037d0| 74 6f 20 74 68 65 54 65 | 78 74 0d 4e 65 77 49 74 |to theTe|xt.NewIt|
|000037e0| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 35 39 |em Stati|cText,59|
|000037f0| 2c 36 2c 31 39 32 2c 34 | 38 2c 74 68 65 54 65 78 |,6,192,4|8,theTex|
|00003800| 74 2c 22 42 20 67 61 72 | 61 6d 6f 6e 64 20 62 6f |t,"B gar|amond bo|
|00003810| 6c 64 22 2c 32 30 2c 70 | 6c 61 69 6e 0d 2d 2d 20 |ld",20,p|lain.-- |
|00003820| 69 74 65 6d 20 31 0d 4e | 65 77 49 74 65 6d 20 52 |item 1.N|ewItem R|
|00003830| 65 63 74 42 75 74 74 6f | 6e 2c 31 37 2c 38 2c 36 |ectButto|n,17,8,6|
|00003840| 31 2c 34 35 2c 4e 6f 74 | 41 63 74 69 76 65 2c c2 |1,45,Not|Active,.|
|00003850| 0d 31 37 35 32 36 2c 22 | 64 6f 6e 74 69 6e 76 65 |.17526,"|dontinve|
|00003860| 72 74 22 2c 65 6d 70 74 | 79 2c 6e 6f 43 6f 6c 6f |rt",empt|y,noColo|
|00003870| 72 2c 22 22 2c 22 22 20 | 2d 2d 20 4e 6f 74 65 20 |r,"","" |-- Note |
|00003880| 69 63 6f 6e 2c 20 20 49 | 74 65 6d 20 32 0d 4e 65 |icon, I|tem 2.Ne|
|00003890| 77 49 74 65 6d 20 52 65 | 63 74 61 6e 67 6c 65 2c |wItem Re|ctangle,|
|000038a0| 30 2c 35 33 2c 32 39 30 | 2c 35 34 2c 31 20 2d 2d |0,53,290|,54,1 --|
|000038b0| 20 69 74 65 6d 20 33 2c | 20 64 65 63 6f 72 61 74 | item 3,| decorat|
|000038c0| 69 76 65 20 72 75 6c 65 | 0d 4e 65 77 49 74 65 6d |ive rule|.NewItem|
|000038d0| 20 53 74 61 74 69 63 54 | 65 78 74 2c 32 34 2c 36 | StaticT|ext,24,6|
|000038e0| 30 2c 31 35 37 2c 37 39 | 2c c2 0d 22 4e 6f 74 65 |0,157,79|,.."Note|
|000038f0| 20 69 6e 3a 22 2c 47 61 | 72 61 6d 6f 6e 64 2c 31 | in:",Ga|ramond,1|
|00003900| 36 2c 70 6c 61 69 6e 20 | 2d 2d 20 69 74 65 6d 20 |6,plain |-- item |
|00003910| 34 0d 4e 65 77 49 74 65 | 6d 20 53 74 61 74 69 63 |4.NewIte|m Static|
|00003920| 54 65 78 74 2c 32 34 2b | 33 2c 37 39 2c 32 36 30 |Text,24+|3,79,260|
|00003930| 2c 39 35 2c c2 0d 6d 61 | 6b 65 53 74 61 6d 70 28 |,95,..ma|keStamp(|
|00003940| 29 2c 22 43 68 69 63 61 | 67 6f 22 2c 31 32 2c 70 |),"Chica|go",12,p|
|00003950| 6c 61 69 6e 20 2d 2d 20 | 69 74 65 6d 20 35 0d 4e |lain -- |item 5.N|
|00003960| 65 77 49 74 65 6d 20 52 | 65 63 74 61 6e 67 6c 65 |ewItem R|ectangle|
|00003970| 2c 32 34 2c 37 38 2c 32 | 36 38 2c 39 37 2c 31 20 |,24,78,2|68,97,1 |
|00003980| 2d 2d 49 74 65 6d 20 36 | 0d 4e 65 77 49 74 65 6d |--Item 6|.NewItem|
|00003990| 20 53 74 61 74 69 63 54 | 65 78 74 2c 32 34 2c 31 | StaticT|ext,24,1|
|000039a0| 30 33 2c 32 36 38 2c 31 | 32 33 2c c2 0d 22 54 79 |03,268,1|23,.."Ty|
|000039b0| 70 65 20 6e 6f 74 65 20 | 68 65 72 65 3a 22 2c 47 |pe note |here:",G|
|000039c0| 61 72 61 6d 6f 6e 64 2c | 31 36 2c 70 6c 61 69 6e |aramond,|16,plain|
|000039d0| 20 2d 2d 20 49 74 65 6d | 20 37 0d 4e 65 77 49 74 | -- Item| 7.NewIt|
|000039e0| 65 6d 20 45 64 69 74 54 | 65 78 74 2c 32 34 2c 31 |em EditT|ext,24,1|
|000039f0| 32 30 2c 32 36 39 2c 32 | 32 30 2c c2 0d 22 22 2c |20,269,2|20,.."",|
|00003a00| 47 65 6e 65 76 61 2c 31 | 32 2c 70 6c 61 69 6e 2c |Geneva,1|2,plain,|
|00003a10| 68 61 73 53 63 72 6f 6c | 6c 2c 68 61 73 43 75 72 |hasScrol|l,hasCur|
|00003a20| 73 6f 72 20 2d 2d 20 49 | 74 65 6d 20 38 0d 4e 65 |sor -- I|tem 8.Ne|
|00003a30| 77 49 74 65 6d 20 52 6f | 75 6e 64 42 75 74 74 6f |wItem Ro|undButto|
|00003a40| 6e 2c 32 34 2c 32 32 39 | 2c 31 34 30 2c 32 35 35 |n,24,229|,140,255|
|00003a50| 2c c2 0d 22 53 61 76 65 | 20 6e 6f 74 65 22 2c 31 |,.."Save| note",1|
|00003a60| 33 2c 6e 6f 43 6f 6d 6d | 61 6e 64 2c 22 22 20 2d |3,noComm|and,"" -|
|00003a70| 2d 20 69 74 65 6d 20 39 | 0d 4e 65 77 49 74 65 6d |- item 9|.NewItem|
|00003a80| 20 52 6f 75 6e 64 42 75 | 74 74 6f 6e 2c 31 35 32 | RoundBu|tton,152|
|00003a90| 2c 32 33 32 2c 32 36 38 | 2c 32 35 32 20 2c c2 0d |,232,268|,252 ,..|
|00003aa0| 22 54 65 6c 6c 20 41 70 | 70 6c 65 22 2c 31 30 2c |"Tell Ap|ple",10,|
|00003ab0| 6e 6f 43 6f 6d 6d 61 6e | 64 2c 22 22 20 2d 2d 20 |noComman|d,"" -- |
|00003ac0| 69 74 65 6d 20 31 30 0d | 4e 65 77 49 74 65 6d 20 |item 10.|NewItem |
|00003ad0| 52 6f 75 6e 64 42 75 74 | 74 6f 6e 2c 32 34 2c 32 |RoundBut|ton,24,2|
|00003ae0| 36 34 2c 31 34 30 2c 32 | 38 34 2c c2 0d 22 47 6f |64,140,2|84,.."Go|
|00003af0| 20 74 6f 20 4e 6f 74 65 | 62 6f 6f 6b 22 2c 31 31 | to Note|book",11|
|00003b00| 2c 6e 6f 43 6f 6d 6d 61 | 6e 64 2c 22 22 20 2d 2d |,noComma|nd,"" --|
|00003b10| 20 69 74 65 6d 20 31 31 | 0d 4e 65 77 49 74 65 6d | item 11|.NewItem|
|00003b20| 20 52 6f 75 6e 64 42 75 | 74 74 6f 6e 2c 31 35 32 | RoundBu|tton,152|
|00003b30| 2c 32 36 34 2c 32 36 38 | 2c 32 38 34 20 2c c2 0d |,264,268|,284 ,..|
|00003b40| 22 43 61 6e 63 65 6c 22 | 2c 63 68 61 72 54 6f 4e |"Cancel"|,charToN|
|00003b50| 75 6d 28 22 2e 22 29 2c | 43 6f 6d 6d 61 6e 64 2c |um("."),|Command,|
|00003b60| 22 22 20 2d 2d 20 69 74 | 65 6d 20 31 32 0d 73 65 |"" -- it|em 12.se|
|00003b70| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 61 72 72 6f |t cursor| to arro|
|00003b80| 77 0d 67 65 74 20 20 44 | 69 73 70 6c 61 79 20 28 |w.get D|isplay (|
|00003b90| 33 36 30 30 2c 31 29 0d | 0d 2d 2d 20 4b 69 6c 6c |3600,1).|.-- Kill|
|00003ba0| 20 74 68 65 20 77 69 6e | 64 6f 77 20 61 66 74 65 | the win|dow afte|
|00003bb0| 72 20 61 20 74 69 6d 65 | 6f 75 74 0d 69 66 20 69 |r a time|out.if i|
|00003bc0| 74 20 3d 20 22 74 69 6d | 65 6f 75 74 22 20 74 68 |t = "tim|eout" th|
|00003bd0| 65 6e 0d 2d 2d 20 64 65 | 6c 65 74 65 20 6c 61 73 |en.-- de|lete las|
|00003be0| 74 20 69 74 65 6d 20 6f | 66 20 77 68 65 72 65 57 |t item o|f whereW|
|00003bf0| 65 43 61 6d 65 46 72 6f | 6d 0d 6b 69 6c 6c 57 69 |eCameFro|m.killWi|
|00003c00| 6e 64 6f 77 0d 72 65 74 | 75 72 6e 20 22 63 61 6e |ndow.ret|urn "can|
|00003c10| 63 65 6c 22 0d 65 6e 64 | 20 69 66 0d 0d 2d 2d 20 |cel".end| if..-- |
|00003c20| 69 66 20 69 74 20 64 69 | 64 6e 27 74 20 74 69 6d |if it di|dn't tim|
|00003c30| 65 20 6f 75 74 2c 20 73 | 65 65 20 77 68 61 74 20 |e out, s|ee what |
|00003c40| 74 68 65 20 75 73 65 72 | 20 63 68 6f 73 65 0d 70 |the user| chose.p|
|00003c50| 75 74 20 69 74 65 6d 20 | 34 20 6f 66 20 69 74 20 |ut item |4 of it |
|00003c60| 69 6e 74 6f 20 75 73 65 | 72 50 69 63 6b 65 64 0d |into use|rPicked.|
|00003c70| 69 66 20 75 73 65 72 50 | 69 63 6b 65 64 20 69 73 |if userP|icked is|
|00003c80| 20 22 53 61 76 65 20 6e | 6f 74 65 22 20 74 68 65 | "Save n|ote" the|
|00003c90| 6e 20 2d 2d 20 63 72 65 | 61 74 65 20 61 20 6e 65 |n -- cre|ate a ne|
|00003ca0| 77 20 6e 6f 74 65 0d 73 | 65 74 20 63 75 72 73 6f |w note.s|et curso|
|00003cb0| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 69 |r to wat|ch.put i|
|00003cc0| 74 65 6d 20 32 20 6f 66 | 20 20 47 65 74 56 61 6c |tem 2 of| GetVal|
|00003cd0| 75 65 28 22 49 74 65 6d | 22 2c 35 29 20 69 6e 74 |ue("Item|",5) int|
|00003ce0| 6f 20 70 6c 61 63 65 4e | 61 6d 65 0d 2d 2d 20 74 |o placeN|ame.-- t|
|00003cf0| 68 65 20 6e 6f 74 65 20 | 74 69 6d 65 2f 70 6c 61 |he note |time/pla|
|00003d00| 63 65 20 73 74 61 6d 70 | 0d 70 75 74 20 47 65 74 |ce stamp|.put Get|
|00003d10| 56 61 6c 75 65 28 22 49 | 74 65 6d 22 2c 38 29 20 |Value("I|tem",8) |
|00003d20| 69 6e 74 6f 20 6e 6f 74 | 65 54 65 78 74 20 2d 2d |into not|eText --|
|00003d30| 20 74 68 65 20 61 63 74 | 75 61 6c 20 74 65 78 74 | the act|ual text|
|00003d40| 0d 64 65 6c 65 74 65 20 | 69 74 65 6d 20 31 20 6f |.delete |item 1 o|
|00003d50| 66 20 6e 6f 74 65 54 65 | 78 74 20 2d 2d 20 64 6f |f noteTe|xt -- do|
|00003d60| 20 74 68 69 73 20 62 65 | 63 61 75 73 65 20 6f 66 | this be|cause of|
|00003d70| 20 74 65 78 74 20 63 6f | 6d 6d 61 73 0d 70 75 74 | text co|mmas.put|
|00003d80| 20 73 74 72 69 70 52 65 | 74 75 72 6e 73 28 6e 6f | stripRe|turns(no|
|00003d90| 74 65 54 65 78 74 29 20 | 69 6e 74 6f 20 6e 6f 74 |teText) |into not|
|00003da0| 65 74 65 78 74 0d 6b 69 | 6c 6c 57 69 6e 64 6f 77 |etext.ki|llWindow|
|00003db0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00003dc0| 61 74 63 68 0d 69 66 20 | 67 6f 53 74 75 64 65 6e |atch.if |goStuden|
|00003dd0| 74 53 74 61 63 6b 28 22 | 61 73 6b 22 29 20 69 73 |tStack("|ask") is|
|00003de0| 20 22 74 72 75 65 22 20 | 74 68 65 6e 0d 67 6f 20 | "true" |then.go |
|00003df0| 63 64 20 22 6e 6f 74 65 | 62 6f 6f 6b 22 0d 65 6c |cd "note|book".el|
|00003e00| 73 65 0d 65 78 69 74 20 | 6e 6f 74 65 62 6f 6f 6b |se.exit |notebook|
|00003e10| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 65 20 6e |.end if.|if the n|
|00003e20| 75 6d 62 65 72 20 6f 66 | 20 63 68 61 72 73 20 69 |umber of| chars i|
|00003e30| 6e 20 66 6c 64 20 22 6e | 6f 74 65 73 22 20 3e 20 |n fld "n|otes" > |
|00003e40| 32 39 30 30 30 20 74 68 | 65 6e 0d 61 6e 73 77 65 |29000 th|en.answe|
|00003e50| 72 20 22 53 6f 72 72 79 | 2c 20 79 6f 75 72 20 6e |r "Sorry|, your n|
|00003e60| 6f 74 65 62 6f 6f 6b 20 | 69 73 20 74 6f 6f 20 66 |otebook |is too f|
|00003e70| 75 6c 6c 20 74 6f 20 73 | 61 76 65 20 61 6e 79 20 |ull to s|ave any |
|00003e80| 6d 6f 72 65 20 6e 6f 74 | 65 73 2e 22 0d 65 6c 73 |more not|es.".els|
|00003e90| 65 0d 70 75 74 20 70 6c | 61 63 65 4e 61 6d 65 20 |e.put pl|aceName |
|00003ea0| 26 20 72 65 74 75 72 6e | 20 26 20 6e 6f 74 65 54 |& return| & noteT|
|00003eb0| 65 78 74 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |ext & re|turn & r|
|00003ec0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 66 6c 64 20 |eturn af|ter fld |
|00003ed0| 22 6e 6f 74 65 73 22 0d | 65 6e 64 20 69 66 0d 70 |"notes".|end if.p|
|00003ee0| 6f 70 20 63 61 72 64 0d | 65 6c 73 65 20 69 66 20 |op card.|else if |
|00003ef0| 75 73 65 72 50 69 63 6b | 65 64 20 69 73 20 22 54 |userPick|ed is "T|
|00003f00| 65 6c 6c 20 41 70 70 6c | 65 22 20 74 68 65 6e 0d |ell Appl|e" then.|
|00003f10| 2d 2d 20 70 75 74 20 74 | 68 65 20 63 6f 6d 6d 65 |-- put t|he comme|
|00003f20| 6e 74 20 69 6e 74 6f 20 | 41 70 70 6c 65 20 66 65 |nt into |Apple fe|
|00003f30| 65 64 62 61 63 6b 20 73 | 74 61 63 6b 20 28 63 6f |edback s|tack (co|
|00003f40| 6d 6d 65 6e 74 73 29 0d | 2d 2d 20 61 73 20 77 65 |mments).|-- as we|
|00003f50| 6c 6c 20 61 73 20 75 73 | 65 72 20 6e 6f 74 65 62 |ll as us|er noteb|
|00003f60| 6f 6f 6b 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |ook.put |item 2 o|
|00003f70| 66 20 20 47 65 74 56 61 | 6c 75 65 28 22 49 74 65 |f GetVa|lue("Ite|
|00003f80| 6d 22 2c 35 29 20 69 6e | 74 6f 20 70 6c 61 63 65 |m",5) in|to place|
|00003f90| 4e 61 6d 65 0d 2d 2d 20 | 74 68 65 20 6e 6f 74 65 |Name.-- |the note|
|00003fa0| 20 74 69 6d 65 2f 70 6c | 61 63 65 20 73 74 61 6d | time/pl|ace stam|
|00003fb0| 70 0d 70 75 74 20 47 65 | 74 56 61 6c 75 65 28 22 |p.put Ge|tValue("|
|00003fc0| 49 74 65 6d 22 2c 38 29 | 20 69 6e 74 6f 20 6e 6f |Item",8)| into no|
|00003fd0| 74 65 54 65 78 74 20 2d | 2d 20 74 68 65 20 61 63 |teText -|- the ac|
|00003fe0| 74 75 61 6c 20 74 65 78 | 74 0d 64 65 6c 65 74 65 |tual tex|t.delete|
|00003ff0| 20 69 74 65 6d 20 31 20 | 6f 66 20 6e 6f 74 65 54 | item 1 |of noteT|
|00004000| 65 78 74 20 2d 2d 20 64 | 6f 20 74 68 69 73 20 62 |ext -- d|o this b|
|00004010| 65 63 61 75 73 65 20 6f | 66 20 74 65 78 74 20 63 |ecause o|f text c|
|00004020| 6f 6d 6d 61 73 0d 70 75 | 74 20 73 74 72 69 70 52 |ommas.pu|t stripR|
|00004030| 65 74 75 72 6e 73 28 6e | 6f 74 65 54 65 78 74 29 |eturns(n|oteText)|
|00004040| 20 69 6e 74 6f 20 6e 6f | 74 65 74 65 78 74 0d 70 | into no|tetext.p|
|00004050| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |ut the s|hort nam|
|00004060| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00004070| 26 26 20 22 2a 22 20 26 | 26 20 74 68 65 20 69 64 |&& "*" &|& the id|
|00004080| 20 6f 66 20 74 68 69 73 | 20 63 64 20 69 6e 74 6f | of this| cd into|
|00004090| 20 63 64 6e 61 6d 65 0d | 6b 69 6c 6c 57 69 6e 64 | cdname.|killWind|
|000040a0| 6f 77 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ow.set c|ursor to|
|000040b0| 20 77 61 74 63 68 0d 62 | 65 51 75 69 65 74 0d 67 | watch.b|eQuiet.g|
|000040c0| 6f 20 63 64 20 22 6e 6f | 74 65 62 6f 6f 6b 22 20 |o cd "no|tebook" |
|000040d0| 6f 66 20 73 74 61 63 6b | 20 22 4d 46 20 41 70 70 |of stack| "MF App|
|000040e0| 6c 65 20 46 65 65 64 62 | 61 63 6b 22 0d 69 66 20 |le Feedb|ack".if |
|000040f0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00004100| 74 20 22 22 20 74 68 65 | 6e 0d 70 75 74 20 22 53 |t "" the|n.put "S|
|00004110| 6f 72 72 79 2c 74 68 65 | 20 41 70 70 6c 65 20 46 |orry,the| Apple F|
|00004120| 65 65 64 62 61 63 6b 20 | 73 74 61 63 6b 20 69 73 |eedback |stack is|
|00004130| 20 6e 6f 74 20 61 76 61 | 69 6c 61 62 6c 65 20 66 | not ava|ilable f|
|00004140| 6f 72 20 22 26 26 c2 0d | 22 74 61 6b 69 6e 67 20 |or "&&..|"taking |
|00004150| 79 6f 75 72 20 63 6f 6d | 6d 65 6e 74 73 2e 22 20 |your com|ments." |
|00004160| 69 6e 74 6f 20 73 74 72 | 69 6e 67 0d 61 6e 73 77 |into str|ing.answ|
|00004170| 65 72 20 73 74 72 69 6e | 67 20 77 69 74 68 20 22 |er strin|g with "|
|00004180| 4f 4b 22 0d 65 78 69 74 | 20 6e 6f 74 65 62 6f 6f |OK".exit| noteboo|
|00004190| 6b 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 20 |k.end if|.if the |
|000041a0| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 73 20 |number o|f chars |
|000041b0| 69 6e 20 66 6c 64 20 22 | 6e 6f 74 65 73 22 20 3e |in fld "|notes" >|
|000041c0| 20 32 39 30 30 30 20 74 | 68 65 6e 0d 61 6e 73 77 | 29000 t|hen.answ|
|000041d0| 65 72 20 22 53 6f 72 72 | 79 2c 20 74 68 65 20 41 |er "Sorr|y, the A|
|000041e0| 70 70 6c 65 20 46 65 65 | 64 62 61 63 6b 20 73 74 |pple Fee|dback st|
|000041f0| 61 63 6b 20 69 73 20 74 | 6f 6f 20 66 75 6c 6c 20 |ack is t|oo full |
|00004200| 74 6f 20 73 61 76 65 20 | 61 6e 79 20 6d 6f 72 65 |to save |any more|
|00004210| 20 6e 6f 74 65 73 2e 22 | 0d 65 6c 73 65 0d 70 75 | notes."|.else.pu|
|00004220| 74 20 67 53 74 75 64 65 | 6e 74 4e 61 6d 65 20 26 |t gStude|ntName &|
|00004230| 20 72 65 74 75 72 6e 20 | 26 26 20 63 64 6e 61 6d | return |&& cdnam|
|00004240| 65 20 26 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |e && ret|urn afte|
|00004250| 72 20 66 6c 64 20 22 6e | 6f 74 65 73 22 0d 70 75 |r fld "n|otes".pu|
|00004260| 74 20 70 6c 61 63 65 4e | 61 6d 65 20 26 20 72 65 |t placeN|ame & re|
|00004270| 74 75 72 6e 20 26 20 6e | 6f 74 65 54 65 78 74 20 |turn & n|oteText |
|00004280| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00004290| 6e 20 61 66 74 65 72 20 | 66 6c 64 20 22 6e 6f 74 |n after |fld "not|
|000042a0| 65 73 22 0d 65 6e 64 20 | 69 66 0d 72 65 74 75 72 |es".end |if.retur|
|000042b0| 6e 51 75 69 65 74 0d 65 | 6c 73 65 20 69 66 20 75 |nQuiet.e|lse if u|
|000042c0| 73 65 72 50 69 63 6b 65 | 64 20 69 73 20 22 47 6f |serPicke|d is "Go|
|000042d0| 20 74 6f 20 6e 6f 74 65 | 62 6f 6f 6b 22 20 74 68 | to note|book" th|
|000042e0| 65 6e 20 2d 2d 20 6f 70 | 65 6e 20 74 68 65 20 6e |en -- op|en the n|
|000042f0| 6f 74 65 62 6f 6f 6b 0d | 73 65 74 20 63 75 72 73 |otebook.|set curs|
|00004300| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|00004310| 47 65 74 56 61 6c 75 65 | 28 22 49 74 65 6d 22 2c |GetValue|("Item",|
|00004320| 38 29 20 69 6e 74 6f 20 | 6e 6f 74 65 54 65 78 74 |8) into |noteText|
|00004330| 20 2d 2d 20 74 68 65 20 | 61 63 74 75 61 6c 20 74 | -- the |actual t|
|00004340| 65 78 74 0d 69 66 20 6e | 6f 74 65 54 65 78 74 20 |ext.if n|oteText |
|00004350| 69 73 20 6e 6f 74 20 22 | 22 20 74 68 65 6e 0d 70 |is not "|" then.p|
|00004360| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 20 47 65 |ut item |2 of Ge|
|00004370| 74 56 61 6c 75 65 28 22 | 49 74 65 6d 22 2c 35 29 |tValue("|Item",5)|
|00004380| 20 69 6e 74 6f 20 70 6c | 61 63 65 4e 61 6d 65 0d | into pl|aceName.|
|00004390| 64 65 6c 65 74 65 20 69 | 74 65 6d 20 31 20 6f 66 |delete i|tem 1 of|
|000043a0| 20 6e 6f 74 65 54 65 78 | 74 20 2d 2d 20 64 6f 20 | noteTex|t -- do |
|000043b0| 74 68 69 73 20 62 65 63 | 61 75 73 65 20 6f 66 20 |this bec|ause of |
|000043c0| 74 65 78 74 20 63 6f 6d | 6d 61 73 0d 70 75 74 20 |text com|mas.put |
|000043d0| 73 74 72 69 70 52 65 74 | 75 72 6e 73 28 6e 6f 74 |stripRet|urns(not|
|000043e0| 65 54 65 78 74 29 20 69 | 6e 74 6f 20 6e 6f 74 65 |eText) i|nto note|
|000043f0| 74 65 78 74 0d 65 6e 64 | 20 69 66 0d 6b 69 6c 6c |text.end| if.kill|
|00004400| 57 69 6e 64 6f 77 0d 69 | 66 20 67 6f 53 74 75 64 |Window.i|f goStud|
|00004410| 65 6e 74 53 74 61 63 6b | 28 22 61 73 6b 22 29 20 |entStack|("ask") |
|00004420| 69 73 20 66 61 6c 73 65 | 20 74 68 65 6e 20 65 78 |is false| then ex|
|00004430| 69 74 20 6e 6f 74 65 62 | 6f 6f 6b 0d 67 6f 20 63 |it noteb|ook.go c|
|00004440| 64 20 22 6e 6f 74 65 62 | 6f 6f 6b 22 0d 69 66 20 |d "noteb|ook".if |
|00004450| 6e 6f 74 65 54 65 78 74 | 20 69 73 20 6e 6f 74 20 |noteText| is not |
|00004460| 22 22 20 74 68 65 6e 0d | 70 75 74 20 70 6c 61 63 |"" then.|put plac|
|00004470| 65 4e 61 6d 65 20 26 20 | 72 65 74 75 72 6e 20 26 |eName & |return &|
|00004480| 20 6e 6f 74 65 54 65 78 | 74 20 26 20 72 65 74 75 | noteTex|t & retu|
|00004490| 72 6e 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |rn & ret|urn afte|
|000044a0| 72 20 66 6c 64 20 22 6e | 6f 74 65 73 22 0d 65 6e |r fld "n|otes".en|
|000044b0| 64 20 69 66 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |d if.unl|ock scre|
|000044c0| 65 6e 20 77 69 74 68 20 | 69 72 69 73 20 6f 70 65 |en with |iris ope|
|000044d0| 6e 0d 65 6c 73 65 20 2d | 2d 20 6d 75 73 74 20 62 |n.else -|- must b|
|000044e0| 65 20 43 61 6e 63 65 6c | 0d 6b 69 6c 6c 57 69 6e |e Cancel|.killWin|
|000044f0| 64 6f 77 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 4e |dow.end |if.end N|
|00004500| 6f 74 65 42 6f 6f 6b 0d | 0d 66 75 6e 63 74 69 6f |oteBook.|.functio|
|00004510| 6e 20 73 74 72 69 70 52 | 65 74 75 72 6e 73 20 73 |n stripR|eturns s|
|00004520| 74 72 69 6e 67 0d 72 65 | 70 65 61 74 0d 67 65 74 |tring.re|peat.get|
|00004530| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 73 74 | last ch|ar of st|
|00004540| 72 69 6e 67 0d 69 66 20 | 69 74 20 3d 20 72 65 74 |ring.if |it = ret|
|00004550| 75 72 6e 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |urn then| delete |
|00004560| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 53 74 72 |last cha|r of Str|
|00004570| 69 6e 67 0d 65 6c 73 65 | 20 65 78 69 74 20 72 65 |ing.else| exit re|
|00004580| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00004590| 72 65 74 75 72 6e 20 73 | 74 72 69 6e 67 0d 65 6e |return s|tring.en|
|000045a0| 64 20 73 74 72 69 70 52 | 65 74 75 72 6e 73 0d 0d |d stripR|eturns..|
|000045b0| 2d 2d 20 74 68 69 73 20 | 68 61 6e 64 6c 65 72 20 |-- this |handler |
|000045c0| 69 73 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 61 |is calle|d from a|
|000045d0| 6c 6c 20 73 74 61 63 6b | 73 0d 6f 6e 20 53 6e 61 |ll stack|s.on Sna|
|000045e0| 70 73 68 6f 74 0d 73 65 | 74 57 69 6e 64 6f 77 20 |pshot.se|tWindow |
|000045f0| 31 0d 4e 65 77 57 69 6e | 64 6f 77 20 32 39 30 2c |1.NewWin|dow 290,|
|00004600| 32 32 32 2c 63 65 6e 74 | 65 72 65 64 2c 30 2c 31 |222,cent|ered,0,1|
|00004610| 2c 22 53 6e 61 70 73 68 | 6f 74 20 44 69 61 6c 6f |,"Snapsh|ot Dialo|
|00004620| 67 22 2c 76 69 73 69 62 | 6c 65 0d 70 75 74 20 22 |g",visib|le.put "|
|00004630| 53 74 75 64 65 6e 74 20 | 53 65 72 76 69 63 65 73 |Student |Services|
|00004640| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 22 53 6e |" & retu|rn & "Sn|
|00004650| 61 70 73 68 6f 74 22 20 | 69 6e 74 6f 20 74 68 65 |apshot" |into the|
|00004660| 54 65 78 74 0d 4e 65 77 | 49 74 65 6d 20 53 74 61 |Text.New|Item Sta|
|00004670| 74 69 63 54 65 78 74 2c | 35 39 2c 36 2c 31 39 32 |ticText,|59,6,192|
|00004680| 2c 34 38 2c 74 68 65 54 | 65 78 74 2c 22 42 20 67 |,48,theT|ext,"B g|
|00004690| 61 72 61 6d 6f 6e 64 20 | 62 6f 6c 64 22 2c 32 30 |aramond |bold",20|
|000046a0| 2c 70 6c 61 69 6e 0d 2d | 2d 20 69 74 65 6d 20 31 |,plain.-|- item 1|
|000046b0| 0d 4e 65 77 49 74 65 6d | 20 52 65 63 74 42 75 74 |.NewItem| RectBut|
|000046c0| 74 6f 6e 2c 31 37 2c 38 | 2c 36 31 2c 34 35 2c c2 |ton,17,8|,61,45,.|
|000046d0| 0d 22 4e 6f 74 41 63 74 | 69 76 65 22 2c 32 36 34 |."NotAct|ive",264|
|000046e0| 37 35 2c 22 64 6f 6e 74 | 69 6e 76 65 72 74 22 2c |75,"dont|invert",|
|000046f0| 65 6d 70 74 79 2c 6e 6f | 43 6f 6c 6f 72 2c 22 22 |empty,no|Color,""|
|00004700| 2c 22 22 0d 2d 2d 20 20 | 62 6f 6f 6b 6d 61 72 6b |,"".-- |bookmark|
|00004710| 20 67 72 61 70 68 69 63 | 20 69 74 65 6d 20 32 0d | graphic| item 2.|
|00004720| 4e 65 77 49 74 65 6d 20 | 52 65 63 74 61 6e 67 6c |NewItem |Rectangl|
|00004730| 65 2c 30 2c 35 33 2c 32 | 39 30 2c 35 34 2c 31 20 |e,0,53,2|90,54,1 |
|00004740| 2d 2d 20 69 74 65 6d 20 | 33 2c 20 64 65 63 6f 72 |-- item |3, decor|
|00004750| 61 74 69 76 65 20 72 75 | 6c 65 0d 4e 65 77 49 74 |ative ru|le.NewIt|
|00004760| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 32 34 |em Stati|cText,24|
|00004770| 2c 36 30 2c 31 35 37 2c | 37 39 2c c2 0d 22 53 6e |,60,157,|79,.."Sn|
|00004780| 61 70 73 68 6f 74 20 69 | 6e 3a 22 2c 47 61 72 61 |apshot i|n:",Gara|
|00004790| 6d 6f 6e 64 2c 31 36 2c | 70 6c 61 69 6e 20 2d 2d |mond,16,|plain --|
|000047a0| 20 69 74 65 6d 20 34 0d | 4e 65 77 49 74 65 6d 20 | item 4.|NewItem |
|000047b0| 53 74 61 74 69 63 54 65 | 78 74 2c 32 34 2b 33 2c |StaticTe|xt,24+3,|
|000047c0| 37 39 2c 32 36 30 2c 39 | 35 2c c2 0d 6d 61 6b 65 |79,260,9|5,..make|
|000047d0| 53 74 61 6d 70 28 29 2c | 22 43 68 69 63 61 67 6f |Stamp(),|"Chicago|
|000047e0| 22 2c 31 32 2c 70 6c 61 | 69 6e 20 2d 2d 20 69 74 |",12,pla|in -- it|
|000047f0| 65 6d 20 35 0d 4e 65 77 | 49 74 65 6d 20 52 65 63 |em 5.New|Item Rec|
|00004800| 74 61 6e 67 6c 65 2c 32 | 34 2c 37 38 2c 32 36 38 |tangle,2|4,78,268|
|00004810| 2c 39 37 2c 31 20 2d 2d | 49 74 65 6d 20 36 0d 4e |,97,1 --|Item 6.N|
|00004820| 65 77 49 74 65 6d 20 53 | 74 61 74 69 63 54 65 78 |ewItem S|taticTex|
|00004830| 74 2c 32 34 2c 31 30 33 | 2c 32 36 38 2c 31 32 33 |t,24,103|,268,123|
|00004840| 2c c2 0d 22 53 6e 61 70 | 73 68 6f 74 20 6e 61 6d |,.."Snap|shot nam|
|00004850| 65 20 28 6f 70 74 69 6f | 6e 61 6c 29 3a 22 2c 47 |e (optio|nal):",G|
|00004860| 61 72 61 6d 6f 6e 64 2c | 31 36 2c 70 6c 61 69 6e |aramond,|16,plain|
|00004870| 20 2d 2d 20 69 74 65 6d | 20 37 0d 4e 65 77 49 74 | -- item| 7.NewIt|
|00004880| 65 6d 20 45 64 69 74 54 | 65 78 74 2c 32 34 2c 31 |em EditT|ext,24,1|
|00004890| 32 30 2c 32 36 38 2c 31 | 34 31 2c c2 0d 65 6d 70 |20,268,1|41,..emp|
|000048a0| 74 79 2c 22 43 68 69 63 | 61 67 6f 22 2c 31 32 2c |ty,"Chic|ago",12,|
|000048b0| 70 6c 61 69 6e 2c 6e 6f | 53 63 72 6f 6c 6c 2c 68 |plain,no|Scroll,h|
|000048c0| 61 73 43 75 72 73 6f 72 | 20 2d 2d 20 69 74 65 6d |asCursor| -- item|
|000048d0| 20 38 0d 4e 65 77 49 74 | 65 6d 20 52 6f 75 6e 64 | 8.NewIt|em Round|
|000048e0| 42 75 74 74 6f 6e 2c 32 | 34 2c 31 36 31 2c 31 34 |Button,2|4,161,14|
|000048f0| 30 2c 31 38 37 2c c2 0d | 22 54 61 6b 65 20 53 6e |0,187,..|"Take Sn|
|00004900| 61 70 73 68 6f 74 22 2c | 31 33 2c 6e 6f 43 6f 6d |apshot",|13,noCom|
|00004910| 6d 61 6e 64 2c 22 22 20 | 2d 2d 20 69 74 65 6d 20 |mand,"" |-- item |
|00004920| 38 0d 4e 65 77 49 74 65 | 6d 20 52 6f 75 6e 64 42 |8.NewIte|m RoundB|
|00004930| 75 74 74 6f 6e 2c 31 35 | 32 2c 31 36 34 2c 32 36 |utton,15|2,164,26|
|00004940| 38 2c 31 38 34 20 2c c2 | 0d 22 50 72 69 6e 74 20 |8,184 ,.|."Print |
|00004950| 53 6e 61 70 73 68 6f 74 | 22 2c 31 34 2c 6e 6f 43 |Snapshot|",14,noC|
|00004960| 6f 6d 6d 61 6e 64 2c 22 | 22 20 2d 2d 20 69 74 65 |ommand,"|" -- ite|
|00004970| 6d 20 39 0d 4e 65 77 49 | 74 65 6d 20 52 6f 75 6e |m 9.NewI|tem Roun|
|00004980| 64 42 75 74 74 6f 6e 2c | 32 34 2c 31 39 36 2c 31 |dButton,|24,196,1|
|00004990| 34 30 2c 32 31 36 2c c2 | 0d 22 56 69 65 77 20 53 |40,216,.|."View S|
|000049a0| 6e 61 70 73 68 6f 74 73 | 22 2c 31 34 2c 6e 6f 43 |napshots|",14,noC|
|000049b0| 6f 6d 6d 61 6e 64 2c 22 | 22 20 2d 2d 20 69 74 65 |ommand,"|" -- ite|
|000049c0| 6d 20 31 30 0d 4e 65 77 | 49 74 65 6d 20 52 6f 75 |m 10.New|Item Rou|
|000049d0| 6e 64 42 75 74 74 6f 6e | 2c 31 35 32 2c 31 39 36 |ndButton|,152,196|
|000049e0| 2c 32 36 38 2c 32 31 36 | 2c c2 0d 22 43 61 6e 63 |,268,216|,.."Canc|
|000049f0| 65 6c 22 2c 63 68 61 72 | 54 6f 4e 75 6d 28 22 2e |el",char|ToNum(".|
|00004a00| 22 29 2c 43 6f 6d 6d 61 | 6e 64 2c 22 22 20 2d 2d |"),Comma|nd,"" --|
|00004a10| 20 69 74 65 6d 20 31 31 | 0d 0d 73 65 74 20 63 75 | item 11|..set cu|
|00004a20| 72 73 6f 72 20 74 6f 20 | 61 72 72 6f 77 0d 67 65 |rsor to |arrow.ge|
|00004a30| 74 20 20 44 69 73 70 6c | 61 79 20 28 31 38 30 2c |t Displ|ay (180,|
|00004a40| 31 29 0d 0d 2d 2d 20 4b | 69 6c 6c 20 74 68 65 20 |1)..-- K|ill the |
|00004a50| 77 69 6e 64 6f 77 20 61 | 66 74 65 72 20 61 20 74 |window a|fter a t|
|00004a60| 69 6d 65 6f 75 74 0d 69 | 66 20 69 74 20 3d 20 22 |imeout.i|f it = "|
|00004a70| 74 69 6d 65 6f 75 74 22 | 20 74 68 65 6e 0d 2d 2d |timeout"| then.--|
|00004a80| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 69 74 65 | delete |last ite|
|00004a90| 6d 20 6f 66 20 77 68 65 | 72 65 57 65 43 61 6d 65 |m of whe|reWeCame|
|00004aa0| 46 72 6f 6d 0d 6b 69 6c | 6c 57 69 6e 64 6f 77 0d |From.kil|lWindow.|
|00004ab0| 72 65 74 75 72 6e 20 22 | 63 61 6e 63 65 6c 22 0d |return "|cancel".|
|00004ac0| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 69 66 20 69 74 |end if..|-- if it|
|00004ad0| 20 64 69 64 6e 27 74 20 | 74 69 6d 65 20 6f 75 74 | didn't |time out|
|00004ae0| 2c 20 73 65 65 20 77 68 | 61 74 20 74 68 65 20 75 |, see wh|at the u|
|00004af0| 73 65 72 20 63 68 6f 73 | 65 0d 70 75 74 20 69 74 |ser chos|e.put it|
|00004b00| 65 6d 20 34 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 4 of |it into |
|00004b10| 75 73 65 72 50 69 63 6b | 65 64 0d 69 66 20 75 73 |userPick|ed.if us|
|00004b20| 65 72 50 69 63 6b 65 64 | 20 69 73 20 22 54 61 6b |erPicked| is "Tak|
|00004b30| 65 20 73 6e 61 70 73 68 | 6f 74 22 20 74 68 65 6e |e snapsh|ot" then|
|00004b40| 20 2d 2d 20 74 61 6b 65 | 20 73 6e 61 70 73 68 6f | -- take| snapsho|
|00004b50| 74 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |t.set cu|rsor to |
|00004b60| 77 61 74 63 68 0d 70 75 | 74 20 69 74 65 6d 20 32 |watch.pu|t item 2|
|00004b70| 20 6f 66 20 20 47 65 74 | 56 61 6c 75 65 28 22 49 | of Get|Value("I|
|00004b80| 74 65 6d 22 2c 35 29 20 | 69 6e 74 6f 20 73 68 6f |tem",5) |into sho|
|00004b90| 74 4e 61 6d 65 0d 67 65 | 74 20 69 74 65 6d 20 32 |tName.ge|t item 2|
|00004ba0| 20 6f 66 20 67 65 74 56 | 61 6c 75 65 28 22 49 74 | of getV|alue("It|
|00004bb0| 65 6d 22 2c 38 29 0d 69 | 66 20 69 74 20 69 73 20 |em",8).i|f it is |
|00004bc0| 6e 6f 74 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |not "" t|hen put |
|00004bd0| 22 20 a5 20 22 20 26 20 | 69 74 20 61 66 74 65 72 |" . " & |it after|
|00004be0| 20 73 68 6f 74 4e 61 6d | 65 0d 6b 69 6c 6c 57 69 | shotNam|e.killWi|
|00004bf0| 6e 64 6f 77 0d 6d 61 6b | 65 53 6e 61 70 53 68 6f |ndow.mak|eSnapSho|
|00004c00| 74 20 73 68 6f 74 4e 61 | 6d 65 0d 0d 65 6c 73 65 |t shotNa|me..else|
|00004c10| 20 69 66 20 75 73 65 72 | 50 69 63 6b 65 64 20 69 | if user|Picked i|
|00004c20| 73 20 22 50 72 69 6e 74 | 20 53 6e 61 70 73 68 6f |s "Print| Snapsho|
|00004c30| 74 22 20 74 68 65 6e 0d | 64 6f 6d 65 6e 75 20 22 |t" then.|domenu "|
|00004c40| 70 72 69 6e 74 20 63 61 | 72 64 22 20 2d 2d 20 70 |print ca|rd" -- p|
|00004c50| 72 69 6e 74 20 73 63 72 | 65 65 6e 0d 6b 69 6c 6c |rint scr|een.kill|
|00004c60| 57 69 6e 64 6f 77 0d 65 | 6c 73 65 20 69 66 20 75 |Window.e|lse if u|
|00004c70| 73 65 72 50 69 63 6b 65 | 64 20 69 73 20 22 56 69 |serPicke|d is "Vi|
|00004c80| 65 77 20 53 6e 61 70 73 | 68 6f 74 73 22 20 74 68 |ew Snaps|hots" th|
|00004c90| 65 6e 20 2d 2d 20 6e 65 | 77 20 73 6e 61 70 73 68 |en -- ne|w snapsh|
|00004ca0| 6f 74 20 64 69 73 6b 0d | 6b 69 6c 6c 57 69 6e 64 |ot disk.|killWind|
|00004cb0| 6f 77 0d 62 65 71 75 69 | 65 74 0d 67 65 74 20 67 |ow.bequi|et.get g|
|00004cc0| 6f 53 6e 61 70 73 68 6f | 74 28 29 0d 65 6c 73 65 |oSnapsho|t().else|
|00004cd0| 20 2d 2d 20 6d 75 73 74 | 20 62 65 20 43 61 6e 63 | -- must| be Canc|
|00004ce0| 65 6c 0d 6b 69 6c 6c 57 | 69 6e 64 6f 77 0d 65 6e |el.killW|indow.en|
|00004cf0| 64 20 69 66 0d 65 6e 64 | 20 53 6e 61 70 73 68 6f |d if.end| Snapsho|
|00004d00| 74 0d 0d 6f 6e 20 6d 61 | 6b 65 53 6e 61 70 53 68 |t..on ma|keSnapSh|
|00004d10| 6f 74 20 73 68 6f 74 4e | 61 6d 65 0d 73 65 74 20 |ot shotN|ame.set |
|00004d20| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00004d30| 62 65 51 75 69 65 74 0d | 75 6e 6c 6f 63 6b 20 73 |beQuiet.|unlock s|
|00004d40| 63 72 65 65 6e 20 2d 2d | 20 66 6f 72 20 72 65 66 |creen --| for ref|
|00004d50| 72 65 73 68 2c 20 73 69 | 6e 63 65 20 77 65 27 72 |resh, si|nce we'r|
|00004d60| 65 20 74 61 6b 69 6e 67 | 20 61 20 70 69 63 74 75 |e taking| a pictu|
|00004d70| 72 65 20 6f 66 20 69 74 | 0d 6c 6f 63 6b 20 73 63 |re of it|.lock sc|
|00004d80| 72 65 65 6e 0d 43 6f 70 | 79 53 63 72 65 65 6e 0d |reen.Cop|yScreen.|
|00004d90| 69 66 20 67 6f 53 6e 61 | 70 73 68 6f 74 28 29 20 |if goSna|pshot() |
|00004da0| 69 73 20 74 72 75 65 20 | 74 68 65 6e 0d 67 6f 20 |is true |then.go |
|00004db0| 6c 61 73 74 20 63 64 0d | 73 65 6e 64 20 22 74 61 |last cd.|send "ta|
|00004dc0| 6b 65 53 6e 61 70 53 68 | 6f 74 20 73 68 6f 74 4e |keSnapSh|ot shotN|
|00004dd0| 61 6d 65 22 20 74 6f 20 | 74 68 69 73 20 62 67 0d |ame" to |this bg.|
|00004de0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 61 6b 65 53 |end if.e|nd makeS|
|00004df0| 6e 61 70 73 68 6f 74 0d | 0d 66 75 6e 63 74 69 6f |napshot.|.functio|
|00004e00| 6e 20 6d 61 6b 65 53 74 | 61 6d 70 0d 2d 2d 20 6d |n makeSt|amp.-- m|
|00004e10| 61 6b 65 20 61 20 6d 6f | 64 75 6c 65 2c 64 61 74 |ake a mo|dule,dat|
|00004e20| 65 20 61 6e 64 20 74 69 | 6d 65 20 73 74 61 63 6b |e and ti|me stack|
|00004e30| 20 66 6f 72 20 62 6f 6f | 6b 6d 61 72 6b 73 2c 73 | for boo|kmarks,s|
|00004e40| 6e 61 70 73 68 6f 74 73 | 20 61 6e 64 20 6e 6f 74 |napshots| and not|
|00004e50| 65 73 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |es.put t|he short|
|00004e60| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00004e70| 61 63 6b 20 69 6e 74 6f | 20 73 74 61 6d 70 0d 0d |ack into| stamp..|
|00004e80| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 64 61 |put the |short da|
|00004e90| 74 65 20 69 6e 74 6f 20 | 74 6f 64 61 79 0d 67 65 |te into |today.ge|
|00004ea0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00004eb0| 63 68 61 72 73 20 69 6e | 20 74 6f 64 61 79 0d 64 |chars in| today.d|
|00004ec0| 65 6c 65 74 65 20 63 68 | 61 72 20 28 69 74 2d 32 |elete ch|ar (it-2|
|00004ed0| 29 20 74 6f 20 69 74 20 | 6f 66 20 74 6f 64 61 79 |) to it |of today|
|00004ee0| 20 2d 2d 20 64 6f 6e 27 | 74 20 6e 65 65 64 20 74 | -- don'|t need t|
|00004ef0| 68 65 20 79 65 61 72 0d | 70 75 74 20 22 20 a5 22 |he year.|put " ."|
|00004f00| 20 26 26 20 74 6f 64 61 | 79 20 26 26 20 22 61 74 | && toda|y && "at|
|00004f10| 20 22 20 61 66 74 65 72 | 20 73 74 61 6d 70 0d 70 | " after| stamp.p|
|00004f20| 75 74 20 74 68 65 20 74 | 69 6d 65 20 69 6e 74 6f |ut the t|ime into|
|00004f30| 20 74 69 6d 65 53 74 61 | 6d 70 0d 67 65 74 20 74 | timeSta|mp.get t|
|00004f40| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00004f50| 72 73 20 69 6e 20 74 69 | 6d 65 53 74 61 6d 70 0d |rs in ti|meStamp.|
|00004f60| 70 75 74 20 63 68 61 72 | 20 28 69 74 2d 31 29 20 |put char| (it-1) |
|00004f70| 74 6f 20 69 74 20 6f 66 | 20 74 69 6d 65 53 74 61 |to it of| timeSta|
|00004f80| 6d 70 20 69 6e 74 6f 20 | 74 6f 64 0d 69 66 20 74 |mp into |tod.if t|
|00004f90| 6f 64 20 3d 20 22 50 4d | 22 20 74 68 65 6e 20 70 |od = "PM|" then p|
|00004fa0| 75 74 20 22 70 6d 22 20 | 69 6e 74 6f 20 74 6f 64 |ut "pm" |into tod|
|00004fb0| 0d 65 6c 73 65 20 69 66 | 20 74 6f 64 20 3d 20 22 |.else if| tod = "|
|00004fc0| 41 4d 22 20 74 68 65 6e | 20 70 75 74 20 22 61 6d |AM" then| put "am|
|00004fd0| 22 20 69 6e 74 6f 20 74 | 6f 64 0d 70 75 74 20 74 |" into t|od.put t|
|00004fe0| 6f 64 20 69 6e 74 6f 20 | 63 68 61 72 20 28 69 74 |od into |char (it|
|00004ff0| 2d 31 29 20 74 6f 20 69 | 74 20 6f 66 20 74 69 6d |-1) to i|t of tim|
|00005000| 65 53 74 61 6d 70 0d 70 | 75 74 20 74 69 6d 65 53 |eStamp.p|ut timeS|
|00005010| 74 61 6d 70 20 61 66 74 | 65 72 20 73 74 61 6d 70 |tamp aft|er stamp|
|00005020| 0d 72 65 74 75 72 6e 20 | 73 74 61 6d 70 0d 65 6e |.return |stamp.en|
|00005030| 64 20 6d 61 6b 65 53 74 | 61 6d 70 0d 0d 6f 6e 20 |d makeSt|amp..on |
|00005040| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 2d 2d 20 66 72 |killWind|ow.-- fr|
|00005050| 65 65 20 6d 65 6d 6f 72 | 79 20 28 74 65 6d 70 6f |ee memor|y (tempo|
|00005060| 72 61 72 79 2c 20 75 6e | 74 69 6c 20 6b 69 6c 6c |rary, un|til kill|
|00005070| 41 6c 6c 20 77 6f 72 6b | 73 29 20 2a 2a 0d 53 65 |All work|s) **.Se|
|00005080| 74 57 69 6e 64 6f 77 20 | 31 0d 4e 65 77 57 69 6e |tWindow |1.NewWin|
|00005090| 64 6f 77 20 35 30 2c 35 | 30 2c 63 65 6e 74 65 72 |dow 50,5|0,center|
|000050a0| 65 64 2c 30 2c 31 2c 22 | 22 2c 69 6e 76 69 73 69 |ed,0,1,"|",invisi|
|000050b0| 62 6c 65 0d 67 6f 20 74 | 68 69 73 20 63 64 20 2d |ble.go t|his cd -|
|000050c0| 2d 20 6b 76 73 20 61 64 | 64 65 64 20 74 6f 20 72 |- kvs ad|ded to r|
|000050d0| 65 66 72 65 73 68 20 73 | 63 72 65 65 6e 0d 65 6e |efresh s|creen.en|
|000050e0| 64 20 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 0d 2d 2d |d killWi|ndow..--|
|000050f0| 20 4d 41 50 0d 6f 6e 20 | 4d 61 70 0d 67 6c 6f 62 | MAP.on |Map.glob|
|00005100| 61 6c 20 67 54 6f 54 68 | 65 4d 61 70 0d 73 65 74 |al gToTh|eMap.set|
|00005110| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00005120| 0d 70 75 74 20 67 65 74 | 43 61 72 64 4e 61 6d 65 |.put get|CardName|
|00005130| 28 29 20 69 6e 74 6f 20 | 67 54 6f 54 68 65 4d 61 |() into |gToTheMa|
|00005140| 70 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |p.lock s|creen.go|
|00005150| 20 22 4d 46 20 4d 61 70 | 22 0d 75 6e 6c 6f 63 6b | "MF Map|".unlock|
|00005160| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 69 72 69 | screen |with iri|
|00005170| 73 20 6f 70 65 6e 0d 65 | 6e 64 20 4d 61 70 0d 0d |s open.e|nd Map..|
|00005180| 2d 2d 2d 20 48 45 4c 50 | 0d 6f 6e 20 48 65 6c 70 |--- HELP|.on Help|
|00005190| 0d 70 75 73 68 20 63 61 | 72 64 0d 6c 6f 63 6b 20 |.push ca|rd.lock |
|000051a0| 73 63 72 65 65 6e 0d 67 | 6f 20 73 74 61 63 6b 20 |screen.g|o stack |
|000051b0| 22 4d 46 20 48 65 6c 70 | 22 0d 75 6e 6c 6f 63 6b |"MF Help|".unlock|
|000051c0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 69 72 69 | screen |with iri|
|000051d0| 73 20 6f 70 65 6e 0d 73 | 65 6e 64 20 6f 70 65 6e |s open.s|end open|
|000051e0| 41 63 74 69 6f 6e 20 74 | 6f 20 74 68 69 73 20 63 |Action t|o this c|
|000051f0| 64 0d 65 6e 64 20 48 65 | 6c 70 0d 0d 6f 6e 20 47 |d.end He|lp..on G|
|00005200| 6c 6f 73 73 61 72 79 0d | 70 75 73 68 20 63 61 72 |lossary.|push car|
|00005210| 64 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |d.lock s|creen.go|
|00005220| 20 74 6f 20 63 61 72 64 | 20 22 47 6c 6f 73 73 61 | to card| "Glossa|
|00005230| 72 79 42 72 6f 77 73 65 | 72 22 20 6f 66 20 73 74 |ryBrowse|r" of st|
|00005240| 61 63 6b 20 22 4d 46 20 | 47 6c 6f 73 73 61 72 79 |ack "MF |Glossary|
|00005250| 22 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |".unlock| screen |
|00005260| 77 69 74 68 20 69 72 69 | 73 20 6f 70 65 6e 0d 65 |with iri|s open.e|
|00005270| 6e 64 20 47 6c 6f 73 73 | 61 72 79 0d 0d 6f 6e 20 |nd Gloss|ary..on |
|00005280| 72 65 66 72 65 73 68 0d | 70 75 74 20 74 68 65 20 |refresh.|put the |
|00005290| 6c 6f 63 6b 73 63 72 65 | 65 6e 20 69 6e 74 6f 20 |lockscre|en into |
|000052a0| 73 61 76 65 4c 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |saveL.un|lock scr|
|000052b0| 65 65 6e 0d 67 6f 20 74 | 68 69 73 20 43 64 0d 73 |een.go t|his Cd.s|
|000052c0| 65 74 20 74 68 65 20 6c | 6f 63 6b 73 63 72 65 65 |et the l|ockscree|
|000052d0| 6e 20 74 6f 20 73 61 76 | 65 4c 0d 65 6e 64 20 72 |n to sav|eL.end r|
|000052e0| 65 66 72 65 73 68 0d 0d | 2d 2d 20 65 6e 64 20 6f |efresh..|-- end o|
|000052f0| 66 20 73 74 75 64 65 6e | 74 20 6f 70 74 69 6f 6e |f studen|t option|
|00005300| 73 0d 0d 2d 2d 2f 20 66 | 6f 72 20 73 65 6c 66 61 |s..--/ f|or selfa|
|00005310| 73 73 65 73 73 6d 65 6e | 74 73 0d 2d 2d 2f 20 41 |ssessmen|ts.--/ A|
|00005320| 6c 6c 20 53 65 6c 6c 2d | 41 73 73 65 73 73 6d 65 |ll Sell-|Assessme|
|00005330| 6e 74 20 62 61 63 6b 67 | 72 6f 75 6e 64 73 20 73 |nt backg|rounds s|
|00005340| 68 6f 75 6c 64 20 62 65 | 20 6e 61 6d 65 64 20 73 |hould be| named s|
|00005350| 74 61 72 74 69 6e 67 20 | 77 69 74 68 20 22 a7 8c |tarting |with "..|
|00005360| 22 0d 0d 6f 6e 20 63 6c | 6f 73 65 42 61 63 6b 67 |"..on cl|oseBackg|
|00005370| 72 6f 75 6e 64 0d 67 6c | 6f 62 61 6c 20 67 42 61 |round.gl|obal gBa|
|00005380| 63 6b 67 72 6f 75 6e 64 | 4e 61 6d 65 0d 70 75 74 |ckground|Name.put|
|00005390| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|000053a0| 6f 66 20 74 68 69 73 20 | 62 67 20 69 6e 74 6f 20 |of this |bg into |
|000053b0| 67 42 61 63 6b 67 72 6f | 75 6e 64 4e 61 6d 65 0d |gBackgro|undName.|
|000053c0| 65 6e 64 20 63 6c 6f 73 | 65 42 61 63 6b 67 72 6f |end clos|eBackgro|
|000053d0| 75 6e 64 0d 0d 6f 6e 20 | 6f 70 65 6e 42 61 63 6b |und..on |openBack|
|000053e0| 67 72 6f 75 6e 64 0d 67 | 6c 6f 62 61 6c 20 67 42 |ground.g|lobal gB|
|000053f0| 61 63 6b 67 72 6f 75 6e | 64 4e 61 6d 65 2c 67 53 |ackgroun|dName,gS|
|00005400| 74 61 63 6b 4e 61 6d 65 | 2c 53 41 45 76 61 6c 44 |tackName|,SAEvalD|
|00005410| 61 74 61 2c 67 4e 6f 44 | 69 73 6b 0d 69 66 20 67 |ata,gNoD|isk.if g|
|00005420| 42 61 63 6b 67 72 6f 75 | 6e 64 4e 61 6d 65 20 69 |Backgrou|ndName i|
|00005430| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 61 6e 64 20 |s not em|pty and |
|00005440| 53 41 45 76 61 6c 44 61 | 74 61 20 69 73 20 6e 6f |SAEvalDa|ta is no|
|00005450| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 69 66 20 |t empty |then.if |
|00005460| 63 68 61 72 20 31 20 74 | 6f 20 32 20 6f 66 20 67 |char 1 t|o 2 of g|
|00005470| 42 61 63 6b 67 72 6f 75 | 6e 64 4e 61 6d 65 20 69 |Backgrou|ndName i|
|00005480| 73 20 22 a7 8c 22 20 61 | 6e 64 20 c2 0d 63 68 61 |s ".." a|nd ..cha|
|00005490| 72 20 31 20 74 6f 20 32 | 20 6f 66 20 74 68 65 20 |r 1 to 2| of the |
|000054a0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|000054b0| 69 73 20 62 67 20 69 73 | 20 6e 6f 74 20 22 a7 8c |is bg is| not "..|
|000054c0| 22 20 74 68 65 6e 0d 69 | 66 20 67 4e 6f 44 69 73 |" then.i|f gNoDis|
|000054d0| 6b 20 69 73 20 6e 6f 74 | 20 22 74 72 75 65 22 20 |k is not| "true" |
|000054e0| 74 68 65 6e 0d 70 75 74 | 20 74 68 65 20 73 68 6f |then.put| the sho|
|000054f0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00005500| 63 64 20 69 6e 74 6f 20 | 66 69 6e 61 6c 63 61 72 |cd into |finalcar|
|00005510| 64 6e 61 6d 65 0d 70 75 | 74 20 74 68 65 20 73 68 |dname.pu|t the sh|
|00005520| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00005530| 20 73 74 61 63 6b 20 69 | 6e 74 6f 20 67 53 74 61 | stack i|nto gSta|
|00005540| 63 6b 4e 61 6d 65 0d 64 | 6f 57 61 72 6e 69 6e 67 |ckName.d|oWarning|
|00005550| 20 2d 2d 20 69 66 20 74 | 68 65 79 20 61 72 65 20 | -- if t|hey are |
|00005560| 75 73 69 6e 67 20 61 20 | 73 74 75 64 65 6e 74 20 |using a |student |
|00005570| 64 69 73 6b 2c 20 70 75 | 74 20 75 70 20 6d 73 67 |disk, pu|t up msg|
|00005580| 0d 72 65 66 72 65 73 68 | 0d 69 66 20 67 6f 53 74 |.refresh|.if goSt|
|00005590| 75 64 65 6e 74 53 74 61 | 63 6b 28 29 20 69 73 20 |udentSta|ck() is |
|000055a0| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 67 6f 20 74 |"true" t|hen.go t|
|000055b0| 6f 20 63 64 20 72 65 70 | 6f 72 74 0d 73 65 6e 64 |o cd rep|ort.send|
|000055c0| 20 6c 69 73 74 52 65 73 | 75 6c 74 73 20 74 6f 20 | listRes|ults to |
|000055d0| 74 68 69 73 20 63 61 72 | 64 0d 67 6f 20 74 6f 20 |this car|d.go to |
|000055e0| 63 64 20 66 69 6e 61 6c | 43 61 72 64 6e 61 6d 65 |cd final|Cardname|
|000055f0| 20 6f 66 20 67 73 74 61 | 63 6b 6e 61 6d 65 0d 65 | of gsta|ckname.e|
|00005600| 6e 64 20 69 66 0d 6b 69 | 6c 6c 57 61 72 6e 69 6e |nd if.ki|llWarnin|
|00005610| 67 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |g.end if|.end if.|
|00005620| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6f 70 65 6e 42 |end if.e|nd openB|
|00005630| 61 63 6b 67 72 6f 75 6e | 64 0d 0d 6f 6e 20 64 6f |ackgroun|d..on do|
|00005640| 57 61 72 6e 69 6e 67 0d | 69 66 20 74 68 65 20 6e |Warning.|if the n|
|00005650| 75 6d 62 65 72 20 6f 66 | 20 63 64 20 66 6c 64 73 |umber of| cd flds|
|00005660| 20 3e 20 30 20 74 68 65 | 6e 0d 69 66 20 66 69 6e | > 0 the|n.if fin|
|00005670| 64 46 69 65 6c 64 28 22 | 57 61 72 6e 69 6e 67 22 |dField("|Warning"|
|00005680| 29 20 69 73 20 6e 6f 74 | 20 66 61 6c 73 65 20 74 |) is not| false t|
|00005690| 68 65 6e 0d 73 68 6f 77 | 20 63 64 20 66 6c 64 20 |hen.show| cd fld |
|000056a0| 22 57 61 72 6e 69 6e 67 | 22 0d 75 6e 6c 6f 63 6b |"Warning|".unlock|
|000056b0| 20 73 63 72 65 65 6e 0d | 65 78 69 74 20 64 6f 57 | screen.|exit doW|
|000056c0| 61 72 6e 69 6e 67 0d 65 | 6e 64 20 69 66 0d 65 6e |arning.e|nd if.en|
|000056d0| 64 20 69 66 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |d if.loc|k screen|
|000056e0| 0d 70 75 74 20 6d 61 6b | 65 4c 69 6e 65 73 28 20 |.put mak|eLines( |
|000056f0| c2 0d 22 22 2c c2 0d 22 | 53 61 76 69 6e 67 20 74 |.."",.."|Saving t|
|00005700| 68 65 20 72 65 73 75 6c | 74 73 20 6f 66 20 79 6f |he resul|ts of yo|
|00005710| 75 72 20 53 65 6c 66 2d | 41 73 73 65 73 73 6d 65 |ur Self-|Assessme|
|00005720| 6e 74 2e 2e 2e 22 2c 20 | c2 0d 22 70 6c 65 61 73 |nt...", |.."pleas|
|00005730| 65 20 77 61 69 74 2e 22 | 29 20 69 6e 74 6f 20 6d |e wait."|) into m|
|00005740| 65 6e 75 4c 69 73 74 0d | 6d 61 6b 65 43 61 72 64 |enuList.|makeCard|
|00005750| 46 69 65 6c 64 20 6e 61 | 6d 65 2c 20 22 57 61 72 |Field na|me, "War|
|00005760| 6e 69 6e 67 22 2c 20 c2 | 0d 77 69 64 74 68 2c 20 |ning", .|.width, |
|00005770| 33 32 30 2c 20 68 65 69 | 67 68 74 2c 38 32 2c 20 |320, hei|ght,82, |
|00005780| c2 0d 74 6f 70 4c 65 66 | 74 2c 20 22 39 32 2c 37 |..topLef|t, "92,7|
|00005790| 38 22 2c c2 0d 6c 6f 63 | 6b 54 65 78 74 2c 20 74 |8",..loc|kText, t|
|000057a0| 72 75 65 2c 20 74 65 78 | 74 46 6f 6e 74 2c 20 22 |rue, tex|tFont, "|
|000057b0| 65 72 61 73 20 64 65 6d | 69 22 2c 20 c2 0d 74 65 |eras dem|i", ..te|
|000057c0| 78 74 53 69 7a 65 2c 31 | 34 2c 73 74 79 6c 65 2c |xtSize,1|4,style,|
|000057d0| 20 22 73 68 61 64 6f 77 | 22 2c 20 74 65 78 74 61 | "shadow|", texta|
|000057e0| 6c 69 67 6e 2c 20 6c 65 | 66 74 2c 20 77 69 64 65 |lign, le|ft, wide|
|000057f0| 4d 61 72 67 69 6e 73 2c | 74 72 75 65 0d 70 75 74 |Margins,|true.put|
|00005800| 20 6d 65 6e 75 4c 69 73 | 74 20 69 6e 74 6f 20 6c | menuLis|t into l|
|00005810| 61 73 74 20 63 64 20 66 | 6c 64 0d 70 75 74 20 22 |ast cd f|ld.put "|
|00005820| 6f 6e 20 6d 6f 75 73 65 | 55 70 22 20 26 20 72 65 |on mouse|Up" & re|
|00005830| 74 75 72 6e 20 26 20 22 | 68 69 64 65 20 6d 65 22 |turn & "|hide me"|
|00005840| 20 26 20 72 65 74 75 72 | 6e 20 26 20 22 65 6e 64 | & retur|n & "end|
|00005850| 20 6d 6f 75 73 65 55 70 | 22 20 69 6e 74 6f 20 73 | mouseUp|" into s|
|00005860| 74 72 69 6e 67 0d 73 65 | 74 20 74 68 65 20 73 63 |tring.se|t the sc|
|00005870| 72 69 70 74 20 6f 66 20 | 6c 61 73 74 20 63 64 20 |ript of |last cd |
|00005880| 66 6c 64 20 74 6f 20 73 | 74 72 69 6e 67 0d 63 68 |fld to s|tring.ch|
|00005890| 6f 6f 73 65 20 62 72 6f | 77 73 65 20 74 6f 6f 6c |oose bro|wse tool|
|000058a0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|000058b0| 6e 64 20 64 6f 57 61 72 | 6e 69 6e 67 0d 0d 6f 6e |nd doWar|ning..on|
|000058c0| 20 6b 69 6c 6c 57 61 72 | 6e 69 6e 67 0d 69 66 20 | killWar|ning.if |
|000058d0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000058e0| 66 20 6c 61 73 74 20 63 | 64 20 66 6c 64 20 69 73 |f last c|d fld is|
|000058f0| 20 22 57 61 72 6e 69 6e | 67 22 20 74 68 65 6e 0d | "Warnin|g" then.|
|00005900| 73 65 6c 65 63 74 20 63 | 64 20 66 6c 64 20 22 77 |select c|d fld "w|
|00005910| 61 72 6e 69 6e 67 22 0d | 64 6f 6d 65 6e 75 20 22 |arning".|domenu "|
|00005920| 63 6c 65 61 72 20 66 69 | 65 6c 64 22 0d 63 68 6f |clear fi|eld".cho|
|00005930| 6f 73 65 20 62 72 6f 77 | 73 65 20 74 6f 6f 6c 0d |ose brow|se tool.|
|00005940| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6b 69 6c 6c 57 |end if.e|nd killW|
|00005950| 61 72 6e 69 6e 67 0d 2d | 2d 2f 20 65 6e 64 20 73 |arning.-|-/ end s|
|00005960| 65 6c 66 61 73 73 65 73 | 73 6d 65 6e 74 73 0d 0d |elfasses|sments..|
|00005970| 66 75 6e 63 74 69 6f 6e | 20 67 6f 73 74 75 64 65 |function| gostude|
|00005980| 6e 74 53 74 61 63 6b 20 | 6f 70 74 41 73 6b 0d 67 |ntStack |optAsk.g|
|00005990| 6c 6f 62 61 6c 20 67 53 | 74 75 64 65 6e 74 53 74 |lobal gS|tudentSt|
|000059a0| 61 63 6b 4e 61 6d 65 2c | 67 4e 6f 44 69 73 6b 2c |ackName,|gNoDisk,|
|000059b0| 67 53 74 75 64 65 6e 74 | 4e 61 6d 65 0d 2d 2d 20 |gStudent|Name.-- |
|000059c0| 6f 70 74 41 73 6b 20 77 | 69 6c 6c 20 6f 76 65 72 |optAsk w|ill over|
|000059d0| 72 69 64 65 20 74 68 65 | 20 67 4e 6f 44 69 73 6b |ride the| gNoDisk|
|000059e0| 20 73 6f 20 74 68 65 79 | 20 63 61 6e 20 61 64 64 | so they| can add|
|000059f0| 20 74 68 65 20 64 69 73 | 6b 20 61 74 20 74 68 69 | the dis|k at thi|
|00005a00| 73 20 74 69 65 6d 0d 69 | 66 20 6f 70 74 41 73 6b |s tiem.i|f optAsk|
|00005a10| 20 69 73 20 22 22 20 61 | 6e 64 20 67 4e 6f 44 69 | is "" a|nd gNoDi|
|00005a20| 73 6b 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 20 |sk is tr|ue then |
|00005a30| 65 78 69 74 20 67 6f 53 | 74 75 64 65 6e 74 53 74 |exit goS|tudentSt|
|00005a40| 61 63 6b 0d 62 65 71 75 | 69 65 74 0d 69 66 20 67 |ack.bequ|iet.if g|
|00005a50| 53 74 75 64 65 6e 74 53 | 74 61 63 6b 4e 61 6d 65 |StudentS|tackName|
|00005a60| 20 69 73 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 | is "" t|hen.put |
|00005a70| 22 53 74 75 64 65 6e 74 | 20 44 69 73 6b 3a 4d 46 |"Student| Disk:MF|
|00005a80| 20 53 74 75 64 65 6e 74 | 20 53 74 61 63 6b 22 20 | Student| Stack" |
|00005a90| 69 6e 74 6f 20 67 53 74 | 75 64 65 6e 74 53 74 61 |into gSt|udentSta|
|00005aa0| 63 6b 4e 61 6d 65 0d 65 | 6e 64 20 69 66 0d 0d 69 |ckName.e|nd if..i|
|00005ab0| 66 20 66 69 6c 65 45 78 | 69 73 74 73 28 67 53 74 |f fileEx|ists(gSt|
|00005ac0| 75 64 65 6e 74 53 74 61 | 63 6b 4e 61 6d 65 29 20 |udentSta|ckName) |
|00005ad0| 74 68 65 6e 0d 67 6f 20 | 67 53 74 75 64 65 6e 74 |then.go |gStudent|
|00005ae0| 53 74 61 63 6b 4e 61 6d | 65 0d 72 65 74 75 72 6e |StackNam|e.return|
|00005af0| 20 22 74 72 75 65 22 0d | 65 6c 73 65 0d 70 75 74 | "true".|else.put|
|00005b00| 20 22 59 6f 75 20 6e 65 | 65 64 20 79 6f 75 72 20 | "You ne|ed your |
|00005b10| 53 74 75 64 65 6e 74 20 | 44 69 73 6b 20 74 6f 20 |Student |Disk to |
|00005b20| 73 61 76 65 20 79 6f 75 | 72 20 77 6f 72 6b 2e 22 |save you|r work."|
|00005b30| 20 26 26 20 c2 0d 22 49 | 66 20 79 6f 75 20 77 61 | && .."I|f you wa|
|00005b40| 6e 74 20 74 6f 20 75 73 | 65 20 69 74 2c 20 69 6e |nt to us|e it, in|
|00005b50| 73 65 72 74 20 69 74 20 | 69 6e 74 6f 20 74 68 65 |sert it |into the|
|00005b60| 20 64 72 69 76 65 20 74 | 68 65 6e 20 22 20 26 20 | drive t|hen " & |
|00005b70| c2 0d 22 63 6c 69 63 6b | 20 d2 4f 4b 2e d3 22 20 |.."click| .OK.." |
|00005b80| 69 6e 74 6f 20 73 74 72 | 69 6e 67 0d 61 6e 73 77 |into str|ing.answ|
|00005b90| 65 72 20 73 74 72 69 6e | 67 20 77 69 74 68 20 22 |er strin|g with "|
|00005ba0| 4e 6f 20 64 69 73 6b 22 | 20 6f 72 20 22 4f 4b 22 |No disk"| or "OK"|
|00005bb0| 0d 69 66 20 69 74 20 69 | 73 20 22 4e 6f 20 64 69 |.if it i|s "No di|
|00005bc0| 73 6b 22 20 74 68 65 6e | 0d 70 75 74 20 22 74 72 |sk" then|.put "tr|
|00005bd0| 75 65 22 20 69 6e 74 6f | 20 67 4e 6f 44 69 73 6b |ue" into| gNoDisk|
|00005be0| 0d 72 65 74 75 72 6e 20 | 22 66 61 6c 73 65 22 20 |.return |"false" |
|00005bf0| 2d 2d 20 6e 6f 20 73 74 | 75 64 65 6e 74 20 64 69 |-- no st|udent di|
|00005c00| 73 6b 0d 65 6c 73 65 20 | 69 66 20 69 74 20 69 73 |sk.else |if it is|
|00005c10| 20 22 4f 4b 22 20 74 68 | 65 6e 0d 67 6f 20 67 53 | "OK" th|en.go gS|
|00005c20| 74 75 64 65 6e 74 53 74 | 61 63 6b 4e 61 6d 65 20 |tudentSt|ackName |
|00005c30| 2d 2d 20 6a 75 73 74 20 | 68 61 76 65 20 74 6f 20 |-- just |have to |
|00005c40| 68 61 76 65 20 61 20 64 | 69 61 6c 6f 67 20 62 6f |have a d|ialog bo|
|00005c50| 78 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |x.if the| result |
|00005c60| 69 73 20 22 22 20 74 68 | 65 6e 0d 67 65 74 20 63 |is "" th|en.get c|
|00005c70| 68 65 63 6b 4e 61 6d 65 | 28 29 0d 69 66 20 69 74 |heckName|().if it|
|00005c80| 20 69 73 20 74 72 75 65 | 20 74 68 65 6e 0d 70 75 | is true| then.pu|
|00005c90| 74 20 22 66 61 6c 73 65 | 22 20 69 6e 74 6f 20 67 |t "false|" into g|
|00005ca0| 4e 6f 44 69 73 6b 0d 72 | 65 74 75 72 6e 20 22 74 |NoDisk.r|eturn "t|
|00005cb0| 72 75 65 22 20 2d 2d 20 | 66 6f 75 6e 64 20 69 74 |rue" -- |found it|
|00005cc0| 20 6f 6e 20 74 68 65 20 | 73 65 63 6f 6e 64 20 74 | on the |second t|
|00005cd0| 72 79 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ry.end i|f.end if|
|00005ce0| 0d 65 6e 64 20 69 66 0d | 2d 2d 20 69 66 20 79 6f |.end if.|-- if yo|
|00005cf0| 75 20 67 65 74 20 68 65 | 72 65 2c 20 69 74 27 73 |u get he|re, it's|
|00005d00| 20 64 75 65 20 74 6f 20 | 61 20 62 61 64 20 73 74 | due to |a bad st|
|00005d10| 75 64 65 6e 74 20 64 69 | 73 6b 20 6f 72 20 63 61 |udent di|sk or ca|
|00005d20| 6e 63 65 6c 2e 0d 72 65 | 66 72 65 73 68 0d 70 75 |ncel..re|fresh.pu|
|00005d30| 74 20 22 74 72 75 65 22 | 20 69 6e 74 6f 20 67 4e |t "true"| into gN|
|00005d40| 6f 44 69 73 6b 0d 72 65 | 74 75 72 6e 20 22 66 61 |oDisk.re|turn "fa|
|00005d50| 6c 73 65 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |lse".end| if.end |
|00005d60| 67 6f 73 74 75 64 65 6e | 74 53 74 61 63 6b 0d 0d |gostuden|tStack..|
|00005d70| 66 75 6e 63 74 69 6f 6e | 20 63 68 65 63 6b 4e 61 |function| checkNa|
|00005d80| 6d 65 0d 67 6c 6f 62 61 | 6c 20 67 53 74 75 64 65 |me.globa|l gStude|
|00005d90| 6e 74 4e 61 6d 65 0d 69 | 66 20 20 6e 61 6d 65 20 |ntName.i|f name |
|00005da0| 6f 66 20 74 68 69 73 20 | 62 67 20 69 73 20 6e 6f |of this |bg is no|
|00005db0| 74 20 22 73 74 75 64 65 | 6e 74 20 73 74 61 63 6b |t "stude|nt stack|
|00005dc0| 22 20 74 68 65 6e 0d 67 | 6f 20 62 61 63 6b 0d 65 |" then.g|o back.e|
|00005dd0| 6a 65 63 74 44 69 73 6b | 20 31 0d 70 75 74 20 22 |jectDisk| 1.put "|
|00005de0| 54 68 69 73 20 69 73 20 | 6e 6f 74 20 61 20 53 74 |This is |not a St|
|00005df0| 75 64 65 6e 74 20 44 69 | 73 6b 2e 22 20 26 26 20 |udent Di|sk." && |
|00005e00| c2 0d 22 49 74 20 77 6f | 6e d5 74 20 62 65 20 70 |.."It wo|n.t be p|
|00005e10| 6f 73 73 69 62 6c 65 20 | 74 6f 20 73 61 76 65 20 |ossible |to save |
|00005e20| 79 6f 75 72 20 77 6f 72 | 6b 2e 22 20 69 6e 74 6f |your wor|k." into|
|00005e30| 20 73 74 72 69 6e 67 0d | 61 6e 73 77 65 72 20 73 | string.|answer s|
|00005e40| 74 72 69 6e 67 20 77 69 | 74 68 20 22 4f 4b 22 0d |tring wi|th "OK".|
|00005e50| 72 65 74 75 72 6e 20 22 | 66 61 6c 73 65 22 0d 65 |return "|false".e|
|00005e60| 6e 64 20 69 66 0d 70 75 | 74 20 66 6c 64 20 22 67 |nd if.pu|t fld "g|
|00005e70| 6c 6f 62 61 6c 22 20 6f | 66 20 63 64 20 22 67 53 |lobal" o|f cd "gS|
|00005e80| 74 75 64 65 6e 74 4e 61 | 6d 65 22 20 69 6e 74 6f |tudentNa|me" into|
|00005e90| 20 73 61 76 65 64 4e 61 | 6d 65 0d 69 66 20 73 61 | savedNa|me.if sa|
|00005ea0| 76 65 64 4e 61 6d 65 20 | 69 73 20 22 22 20 74 68 |vedName |is "" th|
|00005eb0| 65 6e 20 20 2d 2d 20 6e | 65 77 20 73 74 61 63 6b |en -- n|ew stack|
|00005ec0| 0d 70 75 74 20 67 53 74 | 75 64 65 6e 74 4e 61 6d |.put gSt|udentNam|
|00005ed0| 65 20 69 6e 74 6f 20 66 | 6c 64 20 22 67 6c 6f 62 |e into f|ld "glob|
|00005ee0| 61 6c 22 20 6f 66 20 63 | 64 20 22 67 53 74 75 64 |al" of c|d "gStud|
|00005ef0| 65 6e 74 4e 61 6d 65 22 | 0d 72 65 74 75 72 6e 20 |entName"|.return |
|00005f00| 22 74 72 75 65 22 0d 65 | 6e 64 20 69 66 0d 69 66 |"true".e|nd if.if|
|00005f10| 20 73 61 76 65 64 4e 61 | 6d 65 20 69 73 20 6e 6f | savedNa|me is no|
|00005f20| 74 20 67 53 74 75 64 65 | 6e 74 4e 61 6d 65 20 74 |t gStude|ntName t|
|00005f30| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 49 73 20 79 |hen.answ|er "Is y|
|00005f40| 6f 75 72 20 6e 61 6d 65 | 20 d2 22 20 26 20 73 61 |our name| ." & sa|
|00005f50| 76 65 64 4e 61 6d 65 20 | 26 20 22 3f d3 22 20 77 |vedName |& "?." w|
|00005f60| 69 74 68 20 22 57 72 6f | 6e 67 20 6e 61 6d 65 22 |ith "Wro|ng name"|
|00005f70| 20 c2 0d 6f 72 20 22 59 | 65 73 22 0d 69 66 20 69 | ..or "Y|es".if i|
|00005f80| 74 20 69 73 20 22 57 72 | 6f 6e 67 20 6e 61 6d 65 |t is "Wr|ong name|
|00005f90| 22 20 74 68 65 6e 0d 65 | 6a 65 63 74 44 69 73 6b |" then.e|jectDisk|
|00005fa0| 20 31 0d 72 65 74 75 72 | 6e 20 66 61 6c 73 65 20 | 1.retur|n false |
|00005fb0| 2d 2d 20 6e 6f 20 6d 61 | 74 63 68 0d 65 6c 73 65 |-- no ma|tch.else|
|00005fc0| 0d 70 75 74 20 73 61 76 | 65 64 4e 61 6d 65 20 69 |.put sav|edName i|
|00005fd0| 6e 74 6f 20 67 53 74 75 | 64 65 6e 74 4e 61 6d 65 |nto gStu|dentName|
|00005fe0| 20 2d 2d 20 63 68 61 6e | 67 65 20 74 68 65 20 67 | -- chan|ge the g|
|00005ff0| 6c 6f 62 61 6c 20 74 6f | 20 6d 61 74 63 68 20 74 |lobal to| match t|
|00006000| 68 65 20 64 69 73 6b 0d | 72 65 74 75 72 6e 20 74 |he disk.|return t|
|00006010| 72 75 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |rue.end |if.end i|
|00006020| 66 0d 72 65 74 75 72 6e | 20 74 72 75 65 20 2d 2d |f.return| true --|
|00006030| 20 74 68 65 79 20 6d 61 | 74 63 68 65 64 0d 65 6e | they ma|tched.en|
|00006040| 64 20 63 68 65 63 6b 4e | 61 6d 65 0d 0d 66 75 6e |d checkN|ame..fun|
|00006050| 63 74 69 6f 6e 20 67 6f | 4e 6f 74 65 62 6f 6f 6b |ction go|Notebook|
|00006060| 0d 69 66 20 67 6f 53 74 | 75 64 65 6e 74 53 74 61 |.if goSt|udentSta|
|00006070| 63 6b 28 22 22 29 20 69 | 73 20 22 74 72 75 65 22 |ck("") i|s "true"|
|00006080| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 22 6e 6f 74 | then.go| cd "not|
|00006090| 65 62 6f 6f 6b 22 0d 72 | 65 74 75 72 6e 20 74 72 |ebook".r|eturn tr|
|000060a0| 75 65 0d 65 6c 73 65 0d | 72 65 74 75 72 6e 20 66 |ue.else.|return f|
|000060b0| 61 6c 73 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |alse.end| if.end |
|000060c0| 67 6f 4e 6f 74 65 62 6f | 6f 6b 0d 0d 66 75 6e 63 |goNotebo|ok..func|
|000060d0| 74 69 6f 6e 20 67 6f 53 | 6e 61 70 73 68 6f 74 0d |tion goS|napshot.|
|000060e0| 62 65 71 75 69 65 74 0d | 70 75 74 20 22 53 74 75 |bequiet.|put "Stu|
|000060f0| 64 65 6e 74 20 44 69 73 | 6b 3a 53 6e 61 70 73 68 |dent Dis|k:Snapsh|
|00006100| 6f 74 22 20 69 6e 74 6f | 20 73 6e 61 70 4e 61 6d |ot" into| snapNam|
|00006110| 65 0d 69 66 20 66 69 6c | 65 45 78 69 73 74 73 28 |e.if fil|eExists(|
|00006120| 73 6e 61 70 4e 61 6d 65 | 29 20 74 68 65 6e 0d 67 |snapName|) then.g|
|00006130| 6f 20 73 6e 61 70 4e 61 | 6d 65 0d 72 65 74 75 72 |o snapNa|me.retur|
|00006140| 6e 20 22 74 72 75 65 22 | 0d 65 6c 73 65 0d 70 75 |n "true"|.else.pu|
|00006150| 74 20 22 59 6f 75 20 6e | 65 65 64 20 79 6f 75 72 |t "You n|eed your|
|00006160| 20 53 74 75 64 65 6e 74 | 20 44 69 73 6b 20 66 6f | Student| Disk fo|
|00006170| 72 20 73 6e 61 70 73 68 | 6f 74 73 2e 20 50 6c 65 |r snapsh|ots. Ple|
|00006180| 61 73 65 20 22 20 26 26 | 20 c2 0d 22 69 6e 73 65 |ase " &&| .."inse|
|00006190| 72 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 20 64 |rt it in|to the d|
|000061a0| 72 69 76 65 20 61 6e 64 | 20 63 6c 69 63 6b 20 74 |rive and| click t|
|000061b0| 68 65 20 d2 4f 4b d3 20 | 62 75 74 74 6f 6e 20 62 |he .OK. |button b|
|000061c0| 65 6c 6f 77 2e 22 20 c2 | 0d 69 6e 74 6f 20 73 74 |elow." .|.into st|
|000061d0| 72 69 6e 67 0d 61 6e 73 | 77 65 72 20 73 74 72 69 |ring.ans|wer stri|
|000061e0| 6e 67 20 77 69 74 68 20 | 22 4e 6f 20 64 69 73 6b |ng with |"No disk|
|000061f0| 22 20 6f 72 20 22 4f 4b | 22 0d 69 66 20 69 74 20 |" or "OK|".if it |
|00006200| 69 73 20 22 4f 4b 22 20 | 74 68 65 6e 20 2d 2d 20 |is "OK" |then -- |
|00006210| 74 72 79 20 61 67 61 69 | 6e 0d 69 66 20 66 69 6c |try agai|n.if fil|
|00006220| 65 45 78 69 73 74 73 28 | 73 6e 61 70 4e 61 6d 65 |eExists(|snapName|
|00006230| 29 20 74 68 65 6e 0d 67 | 6f 20 73 6e 61 70 4e 61 |) then.g|o snapNa|
|00006240| 6d 65 0d 72 65 74 75 72 | 6e 20 22 74 72 75 65 22 |me.retur|n "true"|
|00006250| 0d 65 6c 73 65 0d 70 75 | 74 20 22 53 6f 72 72 79 |.else.pu|t "Sorry|
|00006260| 2c 20 63 61 6e d5 74 20 | 6c 6f 63 61 74 65 20 74 |, can.t |locate t|
|00006270| 68 65 20 53 74 75 64 65 | 6e 74 20 44 69 73 6b 2e |he Stude|nt Disk.|
|00006280| 22 20 69 6e 74 6f 20 73 | 74 72 69 6e 67 0d 61 6e |" into s|tring.an|
|00006290| 73 77 65 72 20 73 74 72 | 69 6e 67 20 77 69 74 68 |swer str|ing with|
|000062a0| 20 22 4f 4b 22 0d 72 65 | 74 75 72 6e 20 22 66 61 | "OK".re|turn "fa|
|000062b0| 6c 73 65 22 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |lse".end| if.else|
|000062c0| 0d 2d 2d 20 61 6e 73 77 | 65 72 65 64 20 6e 6f 20 |.-- answ|ered no |
|000062d0| 64 69 73 6b 0d 72 65 74 | 75 72 6e 20 22 66 61 6c |disk.ret|urn "fal|
|000062e0| 73 65 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |se".end |if.end i|
|000062f0| 66 0d 65 6e 64 20 67 6f | 53 6e 61 70 73 68 6f 74 |f.end go|Snapshot|
|00006300| 0d 0d 2d 2d 7c 7c 7c 2d | 2d 20 53 54 41 4e 44 41 |..--|||-|- STANDA|
|00006310| 52 44 20 53 54 41 43 4b | 20 53 43 52 49 50 54 53 |RD STACK| SCRIPTS|
|00006320| 20 45 4e 44 20 2d 2d 7c | 7c 7c 2d 2d 00 61 6d 65 | END --||||--.ame|
|00006330| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00006340| 6e 74 6f 20 73 74 61 6d | 70 0d 69 66 20 66 69 72 |nto stam|p.if fir|
|00006350| 73 74 20 77 6f 72 64 20 | 6f 66 20 73 74 61 6d 70 |st word |of stamp|
|00006360| 20 69 73 20 22 4d 46 42 | 22 20 74 68 65 6e 0d 64 | is "MFB|" then.d|
|00006370| 65 6c 65 74 65 20 66 69 | 72 73 74 20 77 6f 72 64 |elete fi|rst word|
|00006380| 20 6f 66 20 73 74 61 6d | 70 0d 65 6e 64 20 69 66 | of stam|p.end if|
|00006390| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 64 |.put the| short d|
|000063a0| 61 74 65 20 69 6e 74 6f | 20 74 6f 64 61 79 0d 67 |ate into| today.g|
|000063b0| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |et the n|umber of|
|000063c0| 20 63 68 61 72 73 20 69 | 6e 20 74 6f 64 61 79 0d | chars i|n today.|
|000063d0| 64 65 6c 65 74 65 20 63 | 68 61 72 20 28 69 74 2d |delete c|har (it-|
|000063e0| 32 29 20 74 6f 20 69 74 | 20 6f 66 20 74 6f 64 61 |2) to it| of toda|
|000063f0| 79 20 2d 2d 20 64 6f 6e | 27 74 20 6e 65 65 64 20 |y -- don|'t need |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.