home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Spring / ARPL-Spring-93-Partner-Edition.iso / ARPL Resources < prev    next >
MacBinary  |  1993-03-16  |  149.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: ARPL Resources

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue May 12 18:09:40 1992, modified Tue Mar 16 08:52:57 1993, creator HyperCard, type HyperCard stack, 28544 bytes "ARPL Resources" , at 0x7000 124781 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 52 50 4c 20 52 | 65 73 6f 75 72 63 65 73 |..ARPL R|esources|
|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 00 6f 80 00 | 01 e7 6d a6 35 f2 a4 a7 |.....o..|..m.5...|
|00000060| cb 8c 39 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..9.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 03 cb 00 00 |........|........|
|00000080| 00 00 64 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..d.STAK|........|
|00000090| 00 00 00 0a 00 00 6f 80 | 00 00 64 00 00 00 00 00 |......o.|..d.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 09 48 00 00 00 01 |........|...H....|
|000000b0| 00 00 10 33 00 00 0a 82 | 00 00 00 00 00 00 00 00 |...3....|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| de 3b e2 5e 00 00 00 00 | 00 86 00 50 01 76 01 f0 |.;.^....|...P.v..|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 98 00 00 0c 11 | 00 f0 01 a0 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 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 66 75 6e 63 74 69 6f 6e | 20 46 69 6e 64 43 6f 72 |function| FindCor|
|00000690| 72 65 63 74 56 6f 6c 20 | 66 50 61 74 68 2c 63 75 |rectVol |fPath,cu|
|000006a0| 72 56 6f 6c 75 6d 65 0d | 67 6c 6f 62 61 6c 20 67 |rVolume.|global g|
|000006b0| 45 72 72 6f 72 53 74 72 | 0d 69 66 20 74 68 65 72 |ErrorStr|.if ther|
|000006c0| 65 20 69 73 20 61 20 66 | 69 6c 65 20 66 50 61 74 |e is a f|ile fPat|
|000006d0| 68 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 66 50 |h then r|eturn fP|
|000006e0| 61 74 68 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ath.if t|here is |
|000006f0| 61 20 66 69 6c 65 20 63 | 75 72 56 6f 6c 75 6d 65 |a file c|urVolume|
|00000700| 20 26 20 66 50 61 74 68 | 20 74 68 65 6e 20 72 65 | & fPath| then re|
|00000710| 74 75 72 6e 20 63 75 72 | 56 6f 6c 75 6d 65 20 26 |turn cur|Volume &|
|00000720| 20 66 50 61 74 68 0d 70 | 75 74 20 76 6f 6c 75 6d | fPath.p|ut volum|
|00000730| 65 4c 69 73 74 28 22 6e | 6f 44 69 61 6c 6f 67 3a |eList("n|oDialog:|
|00000740| 67 45 72 72 6f 72 53 74 | 72 22 29 20 69 6e 74 6f |gErrorSt|r") into|
|00000750| 20 76 6f 6c 4c 69 73 74 | 0d 69 66 20 67 45 72 72 | volList|.if gErr|
|00000760| 6f 72 53 74 72 20 ad 20 | 22 22 20 74 68 65 6e 0d |orStr . |"" then.|
|00000770| 65 72 72 6f 72 4f 63 63 | 75 72 72 65 64 20 22 76 |errorOcc|urred "v|
|00000780| 6f 6c 75 6d 65 4c 69 73 | 74 2f 46 69 6e 64 43 6f |olumeLis|t/FindCo|
|00000790| 72 72 65 63 74 56 6f 6c | 22 0d 72 65 74 75 72 6e |rrectVol|".return|
|000007a0| 20 46 41 4c 53 45 0d 65 | 6e 64 20 69 66 0d 72 65 | FALSE.e|nd if.re|
|000007b0| 70 65 61 74 20 77 69 74 | 68 20 6e 20 3d 20 31 20 |peat wit|h n = 1 |
|000007c0| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |to numbe|r of lin|
|000007d0| 65 73 20 6f 66 20 76 6f | 6c 4c 69 73 74 0d 70 75 |es of vo|lList.pu|
|000007e0| 74 20 6c 69 6e 65 20 6e | 20 6f 66 20 76 6f 6c 4c |t line n| of volL|
|000007f0| 69 73 74 20 69 6e 74 6f | 20 74 68 69 73 56 6f 6c |ist into| thisVol|
|00000800| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |.if ther|e is a f|
|00000810| 69 6c 65 20 74 68 69 73 | 56 6f 6c 20 26 20 66 50 |ile this|Vol & fP|
|00000820| 61 74 68 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |ath then| return |
|00000830| 74 68 69 73 56 6f 6c 20 | 26 20 66 50 61 74 68 0d |thisVol |& fPath.|
|00000840| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 74 75 72 |end repe|at.retur|
|00000850| 6e 20 46 41 4c 53 45 0d | 65 6e 64 20 46 69 6e 64 |n FALSE.|end Find|
|00000860| 43 6f 72 72 65 63 74 56 | 6f 6c 0d 0d 66 75 6e 63 |CorrectV|ol..func|
|00000870| 74 69 6f 6e 20 73 65 74 | 43 6f 6c 6f 72 44 65 70 |tion set|ColorDep|
|00000880| 74 68 20 72 44 2c 6d 4e | 0d 67 6c 6f 62 61 6c 20 |th rD,mN|.global |
|00000890| 67 45 72 72 6f 72 53 74 | 72 0d 69 66 20 72 44 20 |gErrorSt|r.if rD |
|000008a0| 3d 20 31 20 74 68 65 6e | 0d 70 75 74 20 22 67 72 |= 1 then|.put "gr|
|000008b0| 61 79 22 20 69 6e 74 6f | 20 63 6f 6c 6f 72 54 79 |ay" into| colorTy|
|000008c0| 70 65 0d 65 6c 73 65 20 | 70 75 74 20 22 43 6f 6c |pe.else |put "Col|
|000008d0| 6f 72 22 20 69 6e 74 6f | 20 63 6f 6c 6f 72 54 79 |or" into| colorTy|
|000008e0| 70 65 0d 69 66 20 6d 4e | 20 3d 20 22 22 20 74 68 |pe.if mN| = "" th|
|000008f0| 65 6e 20 70 75 74 20 30 | 20 69 6e 74 6f 20 6d 4e |en put 0| into mN|
|00000900| 0d 53 77 69 74 63 68 58 | 52 6f 6f 20 72 44 2c 63 |.SwitchX|Roo rD,c|
|00000910| 6f 6c 6f 72 54 79 70 65 | 2c 6d 4e 0d 70 75 74 20 |olorType|,mN.put |
|00000920| 74 68 65 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |the resu|lt into |
|00000930| 74 65 6d 70 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |temp.if |line 1 o|
|00000940| 66 20 74 65 6d 70 20 63 | 6f 6e 74 61 69 6e 73 20 |f temp c|ontains |
|00000950| 22 45 72 72 6f 72 22 20 | 74 68 65 6e 0d 62 65 65 |"Error" |then.bee|
|00000960| 70 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |p.put li|ne 1 of |
|00000970| 74 65 6d 70 20 69 6e 74 | 6f 20 67 45 72 72 6f 72 |temp int|o gError|
|00000980| 53 74 72 0d 65 72 72 6f | 72 4f 63 63 75 72 72 65 |Str.erro|rOccurre|
|00000990| 64 20 22 53 77 69 74 63 | 68 58 52 6f 6f 2f 73 65 |d "Switc|hXRoo/se|
|000009a0| 74 43 6f 6c 6f 72 44 65 | 70 74 68 22 0d 65 6e 64 |tColorDe|pth".end|
|000009b0| 20 69 66 0d 72 65 74 75 | 72 6e 20 54 52 55 45 0d | if.retu|rn TRUE.|
|000009c0| 65 6e 64 20 73 65 74 43 | 6f 6c 6f 72 44 65 70 74 |end setC|olorDept|
|000009d0| 68 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 63 68 65 63 |h..funct|ion chec|
|000009e0| 6b 43 50 55 20 61 43 50 | 55 2c 64 43 50 55 2c 61 |kCPU aCP|U,dCPU,a|
|000009f0| 4d 61 74 68 2c 64 4d 61 | 74 68 0d 69 66 20 64 43 |Math,dMa|th.if dC|
|00000a00| 50 55 20 3d 20 22 41 6e | 79 22 20 74 68 65 6e 20 |PU = "An|y" then |
|00000a10| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 64 43 50 55 |put "" i|nto dCPU|
|00000a20| 0d 69 66 20 61 43 50 55 | 20 3d 20 22 41 6e 79 22 |.if aCPU| = "Any"|
|00000a30| 20 74 68 65 6e 20 70 75 | 74 20 22 22 20 69 6e 74 | then pu|t "" int|
|00000a40| 6f 20 61 43 50 55 0d 70 | 75 74 20 6d 61 78 28 61 |o aCPU.p|ut max(a|
|00000a50| 43 50 55 2c 64 43 50 55 | 29 20 69 6e 74 6f 20 43 |CPU,dCPU|) into C|
|00000a60| 50 55 52 65 71 0d 70 75 | 74 20 6d 61 63 54 79 70 |PUReq.pu|t macTyp|
|00000a70| 65 28 29 20 69 6e 74 6f | 20 73 79 73 49 6e 66 6f |e() into| sysInfo|
|00000a80| 0d 70 75 74 20 69 74 65 | 6d 20 33 20 6f 66 20 73 |.put ite|m 3 of s|
|00000a90| 79 73 49 6e 66 6f 20 69 | 6e 74 6f 20 74 68 69 73 |ysInfo i|nto this|
|00000aa0| 43 50 55 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |CPU.dele|te char |
|00000ab0| 31 20 74 6f 20 32 20 6f | 66 20 74 68 69 73 43 50 |1 to 2 o|f thisCP|
|00000ac0| 55 0d 69 66 20 43 50 55 | 52 65 71 20 69 73 20 6e |U.if CPU|Req is n|
|00000ad0| 6f 74 20 22 22 20 74 68 | 65 6e 0d 69 66 20 74 68 |ot "" th|en.if th|
|00000ae0| 69 73 43 50 55 20 3c 20 | 43 50 55 52 65 71 20 74 |isCPU < |CPUReq t|
|00000af0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 53 6f 72 72 |hen.answ|er "Sorr|
|00000b00| 79 2c 20 74 68 69 73 20 | 70 72 65 73 65 6e 74 61 |y, this |presenta|
|00000b10| 74 69 6f 6e 20 72 65 71 | 75 69 72 65 73 20 61 20 |tion req|uires a |
|00000b20| 4d 6f 74 6f 72 6f 6c 61 | 20 22 26 20 43 50 55 52 |Motorola| "& CPUR|
|00000b30| 65 71 20 26 22 20 6f 72 | 20 66 61 73 74 65 72 20 |eq &" or| faster |
|00000b40| 70 72 6f 63 65 73 73 6f | 72 2e 22 20 77 69 74 68 |processo|r." with|
|00000b50| 20 22 43 61 6e 63 65 6c | 22 0d 72 65 74 75 72 6e | "Cancel|".return|
|00000b60| 20 46 41 4c 53 45 0d 65 | 6e 64 20 69 66 0d 65 6e | FALSE.e|nd if.en|
|00000b70| 64 20 69 66 0d 70 75 74 | 20 28 61 4d 61 74 68 20 |d if.put| (aMath |
|00000b80| 3d 20 22 54 72 75 65 22 | 20 4f 52 20 64 4d 61 74 |= "True"| OR dMat|
|00000b90| 68 20 3d 20 22 54 72 75 | 65 22 29 20 69 6e 74 6f |h = "Tru|e") into|
|00000ba0| 20 6d 61 74 68 52 65 71 | 0d 69 66 20 6d 61 74 68 | mathReq|.if math|
|00000bb0| 52 65 71 20 74 68 65 6e | 0d 69 66 20 28 69 74 65 |Req then|.if (ite|
|00000bc0| 6d 20 34 20 6f 66 20 73 | 79 73 49 6e 66 6f 29 20 |m 4 of s|ysInfo) |
|00000bd0| 69 73 20 6e 6f 74 20 74 | 72 75 65 20 74 68 65 6e |is not t|rue then|
|00000be0| 0d 61 6e 73 77 65 72 20 | 22 53 6f 72 72 79 2c 20 |.answer |"Sorry, |
|00000bf0| 74 68 69 73 20 70 72 65 | 73 65 6e 74 61 74 69 6f |this pre|sentatio|
|00000c00| 6e 20 72 65 71 75 69 72 | 65 73 20 61 20 4d 61 74 |n requir|es a Mat|
|00000c10| 68 20 43 6f 2d 50 72 6f | 63 65 73 73 6f 72 2e 22 |h Co-Pro|cessor."|
|00000c20| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 0d 72 | with "C|ancel".r|
|00000c30| 65 74 75 72 6e 20 46 41 | 4c 53 45 0d 65 6e 64 20 |eturn FA|LSE.end |
|00000c40| 69 66 0d 65 6e 64 20 69 | 66 0d 72 65 74 75 72 6e |if.end i|f.return|
|00000c50| 20 54 52 55 45 0d 65 6e | 64 20 63 68 65 63 6b 43 | TRUE.en|d checkC|
|00000c60| 50 55 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 63 68 65 |PU..func|tion che|
|00000c70| 63 6b 4d 6f 6e 53 69 7a | 65 20 64 4d 2c 61 4d 2c |ckMonSiz|e dM,aM,|
|00000c80| 74 53 0d 69 66 20 64 4d | 20 3d 20 22 41 6e 79 22 |tS.if dM| = "Any"|
|00000c90| 20 74 68 65 6e 20 70 75 | 74 20 22 22 20 69 6e 74 | then pu|t "" int|
|00000ca0| 6f 20 64 4d 0d 69 66 20 | 61 4d 20 3d 20 22 41 6e |o dM.if |aM = "An|
|00000cb0| 79 22 20 74 68 65 6e 20 | 70 75 74 20 22 22 20 69 |y" then |put "" i|
|00000cc0| 6e 74 6f 20 61 4d 0d 70 | 75 74 20 6d 61 78 28 64 |nto aM.p|ut max(d|
|00000cd0| 4d 2c 61 4d 29 20 69 6e | 74 6f 20 6d 53 0d 69 66 |M,aM) in|to mS.if|
|00000ce0| 20 6d 53 20 69 73 20 6e | 6f 74 20 22 22 20 61 6e | mS is n|ot "" an|
|00000cf0| 64 20 6d 53 20 69 73 20 | 6e 6f 74 20 30 20 74 68 |d mS is |not 0 th|
|00000d00| 65 6e 0d 69 66 20 6d 53 | 20 3d 20 39 20 74 68 65 |en.if mS| = 9 the|
|00000d10| 6e 0d 70 75 74 20 22 35 | 31 32 2c 33 34 32 22 20 |n.put "5|12,342" |
|00000d20| 69 6e 74 6f 20 72 51 0d | 65 6c 73 65 20 69 66 20 |into rQ.|else if |
|00000d30| 6d 53 20 3d 20 31 31 20 | 74 68 65 6e 0d 70 75 74 |mS = 11 |then.put|
|00000d40| 20 22 36 34 30 2c 34 30 | 30 22 20 69 6e 74 6f 20 | "640,40|0" into |
|00000d50| 72 51 0d 65 6c 73 65 20 | 69 66 20 6d 53 20 3d 20 |rQ.else |if mS = |
|00000d60| 31 32 20 74 68 65 6e 0d | 70 75 74 20 22 35 31 32 |12 then.|put "512|
|00000d70| 2c 33 38 34 22 20 69 6e | 74 6f 20 72 51 0d 65 6c |,384" in|to rQ.el|
|00000d80| 73 65 20 69 66 20 6d 53 | 20 3d 20 31 33 20 74 68 |se if mS| = 13 th|
|00000d90| 65 6e 0d 70 75 74 20 22 | 36 34 30 2c 34 38 30 22 |en.put "|640,480"|
|00000da0| 20 69 6e 74 6f 20 72 51 | 0d 65 6c 73 65 20 69 66 | into rQ|.else if|
|00000db0| 20 6d 53 20 3d 20 31 35 | 20 74 68 65 6e 0d 70 75 | mS = 15| then.pu|
|00000dc0| 74 20 22 36 34 30 2c 38 | 37 30 22 20 69 6e 74 6f |t "640,8|70" into|
|00000dd0| 20 72 51 0d 65 6c 73 65 | 20 69 66 20 6d 53 20 3d | rQ.else| if mS =|
|00000de0| 20 31 39 20 74 68 65 6e | 0d 70 75 74 20 22 31 30 | 19 then|.put "10|
|00000df0| 32 34 2c 37 36 38 22 20 | 69 6e 74 6f 20 72 51 0d |24,768" |into rQ.|
|00000e00| 65 6c 73 65 20 69 66 20 | 6d 53 20 3d 20 32 31 20 |else if |mS = 21 |
|00000e10| 74 68 65 6e 0d 70 75 74 | 20 22 31 31 35 32 2c 38 |then.put| "1152,8|
|00000e20| 37 30 22 20 69 6e 74 6f | 20 72 51 0d 65 6c 73 65 |70" into| rQ.else|
|00000e30| 20 70 75 74 20 22 35 31 | 32 2c 33 34 32 22 20 69 | put "51|2,342" i|
|00000e40| 6e 74 6f 20 72 51 0d 69 | 66 20 28 69 74 65 6d 20 |nto rQ.i|f (item |
|00000e50| 31 20 6f 66 20 74 53 20 | 3c 20 69 74 65 6d 20 31 |1 of tS |< item 1|
|00000e60| 20 6f 66 20 72 51 29 20 | 6f 72 20 28 69 74 65 6d | of rQ) |or (item|
|00000e70| 20 32 20 6f 66 20 74 53 | 20 3c 20 69 74 65 6d 20 | 2 of tS| < item |
|00000e80| 32 20 6f 66 20 72 51 29 | 20 74 68 65 6e 0d 62 65 |2 of rQ)| then.be|
|00000e90| 65 70 0d 61 6e 73 77 65 | 72 20 22 59 6f 75 72 20 |ep.answe|r "Your |
|00000ea0| 6d 6f 6e 69 74 6f 72 20 | 69 73 20 6e 6f 74 20 6c |monitor |is not l|
|00000eb0| 61 72 67 65 20 65 6e 6f | 75 67 68 20 74 6f 20 64 |arge eno|ugh to d|
|00000ec0| 69 73 70 6c 61 79 20 74 | 68 69 73 20 22 26 c2 0d |isplay t|his "&..|
|00000ed0| 22 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 2e 20 49 |"present|ation. I|
|00000ee0| 74 20 72 65 71 75 69 72 | 65 73 20 61 20 22 26 20 |t requir|es a "& |
|00000ef0| 6d 53 20 26 22 d3 20 73 | 63 72 65 65 6e 20 28 6f |mS &". s|creen (o|
|00000f00| 72 20 6c 61 72 67 65 72 | 29 2e 22 c2 0d 77 69 74 |r larger|)."..wit|
|00000f10| 68 20 22 54 72 79 20 41 | 6e 79 77 61 79 22 20 6f |h "Try A|nyway" o|
|00000f20| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00000f30| 20 3d 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e | = "Canc|el" then|
|00000f40| 20 72 65 74 75 72 6e 20 | 46 41 4c 53 45 0d 65 6e | return |FALSE.en|
|00000f50| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 72 65 74 75 |d if.end| if.retu|
|00000f60| 72 6e 20 54 52 55 45 0d | 65 6e 64 20 63 68 65 63 |rn TRUE.|end chec|
|00000f70| 6b 4d 6f 6e 53 69 7a 65 | 0d 0d 66 75 6e 63 74 69 |kMonSize|..functi|
|00000f80| 6f 6e 20 61 70 70 4f 70 | 65 6e 20 61 43 72 65 61 |on appOp|en aCrea|
|00000f90| 74 6f 72 2c 61 70 70 4e | 61 6d 65 0d 67 6c 6f 62 |tor,appN|ame.glob|
|00000fa0| 61 6c 20 67 45 72 72 6f | 72 53 74 72 0d 69 66 20 |al gErro|rStr.if |
|00000fb0| 61 43 72 65 61 74 6f 72 | 20 ad 20 22 57 49 4c 44 |aCreator| . "WILD|
|00000fc0| 22 20 74 68 65 6e 0d 69 | 66 20 61 43 72 65 61 74 |" then.i|f aCreat|
|00000fd0| 6f 72 20 3d 20 22 47 45 | 4f 4c 22 20 74 68 65 6e |or = "GE|OL" then|
|00000fe0| 0d 70 75 74 20 22 4d 53 | 57 44 22 20 69 6e 74 6f |.put "MS|WD" into|
|00000ff0| 20 61 43 72 65 61 74 6f | 72 0d 70 75 74 20 22 4d | aCreato|r.put "M|
|00001000| 69 63 72 6f 73 6f 66 74 | 20 57 6f 72 64 22 20 69 |icrosoft| Word" i|
|00001010| 6e 74 6f 20 61 70 70 4e | 61 6d 65 0d 65 6e 64 20 |nto appN|ame.end |
|00001020| 69 66 0d 70 75 74 20 41 | 70 70 6c 69 63 61 74 69 |if.put A|pplicati|
|00001030| 6f 6e 4c 69 73 74 28 29 | 20 26 20 72 65 74 75 72 |onList()| & retur|
|00001040| 6e 20 69 6e 74 6f 20 61 | 70 70 73 4f 70 65 6e 0d |n into a|ppsOpen.|
|00001050| 69 66 20 67 45 72 72 6f | 72 53 74 72 20 ad 20 22 |if gErro|rStr . "|
|00001060| 22 20 74 68 65 6e 20 65 | 72 72 6f 72 4f 63 63 75 |" then e|rrorOccu|
|00001070| 72 72 65 64 20 22 41 70 | 70 6c 69 63 61 74 69 6f |rred "Ap|plicatio|
|00001080| 6e 4c 69 73 74 2f 61 70 | 70 4f 70 65 6e 22 0d 69 |nList/ap|pOpen".i|
|00001090| 66 20 22 20 22 20 26 20 | 61 43 72 65 61 74 6f 72 |f " " & |aCreator|
|000010a0| 20 26 20 72 65 74 75 72 | 6e 20 69 73 20 69 6e 20 | & retur|n is in |
|000010b0| 61 70 70 73 4f 70 65 6e | 20 74 68 65 6e 0d 61 6e |appsOpen| then.an|
|000010c0| 73 77 65 72 20 22 53 6f | 72 72 79 2c 20 74 68 65 |swer "So|rry, the|
|000010d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 d2 22 26 | applica|tion ."&|
|000010e0| 61 70 70 4e 61 6d 65 26 | 22 d3 20 69 73 20 61 6c |appName&|". is al|
|000010f0| 72 65 61 64 79 20 6f 70 | 65 6e 2e 22 26 20 72 65 |ready op|en."& re|
|00001100| 74 75 72 6e 20 26 c2 0d | 22 d2 43 6f 6e 74 69 6e |turn &..|".Contin|
|00001110| 75 65 d3 20 77 69 6c 6c | 20 73 77 69 74 63 68 20 |ue. will| switch |
|00001120| 74 6f 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |to the a|pplicati|
|00001130| 6f 6e 20 2d 20 22 26 c2 | 0d 22 66 72 6f 6d 20 74 |on - "&.|."from t|
|00001140| 68 65 72 65 20 79 6f 75 | 20 6d 61 79 20 75 73 65 |here you| may use|
|00001150| 20 74 68 65 20 d2 4f 70 | 65 6e d3 20 6d 65 6e 75 | the .Op|en. menu|
|00001160| 20 69 74 65 6d 20 6f 72 | 20 51 75 69 74 20 74 68 | item or| Quit th|
|00001170| 65 20 22 26 c2 0d 22 61 | 70 70 6c 69 63 61 74 69 |e "&.."a|pplicati|
|00001180| 6f 6e 20 61 6e 64 20 72 | 65 2d 63 6c 69 63 6b 20 |on and r|e-click |
|00001190| 74 68 65 20 d2 56 69 65 | 77 d3 20 62 75 74 74 6f |the .Vie|w. butto|
|000011a0| 6e 2e 22 c2 0d 77 69 74 | 68 20 22 43 6f 6e 74 69 |n."..wit|h "Conti|
|000011b0| 6e 75 65 22 20 6f 72 20 | 22 43 61 6e 63 65 6c 22 |nue" or |"Cancel"|
|000011c0| 0d 69 66 20 69 74 20 69 | 73 20 22 43 61 6e 63 65 |.if it i|s "Cance|
|000011d0| 6c 22 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 69 |l" then |return i|
|000011e0| 74 0d 72 65 74 75 72 6e | 20 74 72 75 65 0d 65 6e |t.return| true.en|
|000011f0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 72 65 74 75 |d if.end| if.retu|
|00001200| 72 6e 20 46 61 6c 73 65 | 0d 65 6e 64 20 61 70 70 |rn False|.end app|
|00001210| 4f 70 65 6e 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 63 |Open..fu|nction c|
|00001220| 68 65 63 6b 44 65 70 74 | 68 20 64 44 2c 61 44 65 |heckDept|h dD,aDe|
|00001230| 70 74 68 2c 74 68 65 4d | 6f 6e 69 74 6f 72 49 6e |pth,theM|onitorIn|
|00001240| 66 6f 0d 69 66 20 64 44 | 20 3d 20 22 41 6e 79 22 |fo.if dD| = "Any"|
|00001250| 20 74 68 65 6e 0d 69 66 | 20 61 44 65 70 74 68 20 | then.if| aDepth |
|00001260| 3d 20 22 22 20 6f 72 20 | 61 44 65 70 74 68 20 3d |= "" or |aDepth =|
|00001270| 20 22 41 6e 79 22 20 74 | 68 65 6e 0d 72 65 74 75 | "Any" t|hen.retu|
|00001280| 72 6e 20 22 41 6e 79 22 | 0d 65 6c 73 65 20 70 75 |rn "Any"|.else pu|
|00001290| 74 20 22 31 20 32 20 34 | 20 38 20 31 36 20 32 34 |t "1 2 4| 8 16 24|
|000012a0| 20 33 32 22 20 69 6e 74 | 6f 20 64 44 0d 65 6c 73 | 32" int|o dD.els|
|000012b0| 65 20 69 66 20 61 44 65 | 70 74 68 20 3d 20 22 41 |e if aDe|pth = "A|
|000012c0| 6e 79 22 20 74 68 65 6e | 0d 70 75 74 20 22 22 20 |ny" then|.put "" |
|000012d0| 69 6e 74 6f 20 61 44 65 | 70 74 68 0d 65 6e 64 20 |into aDe|pth.end |
|000012e0| 69 66 0d 70 75 74 20 6c | 69 6e 65 20 33 20 6f 66 |if.put l|ine 3 of|
|000012f0| 20 74 68 65 4d 6f 6e 69 | 74 6f 72 49 6e 66 6f 20 | theMoni|torInfo |
|00001300| 69 6e 74 6f 20 74 68 65 | 4d 61 78 44 65 70 74 68 |into the|MaxDepth|
|00001310| 0d 70 75 74 20 46 41 4c | 53 45 20 69 6e 74 6f 20 |.put FAL|SE into |
|00001320| 6d 75 6c 74 69 44 65 70 | 74 68 0d 69 66 20 6e 75 |multiDep|th.if nu|
|00001330| 6d 62 65 72 20 6f 66 20 | 77 6f 72 64 73 20 69 6e |mber of |words in|
|00001340| 20 64 44 20 b3 20 32 20 | 74 68 65 6e 0d 70 75 74 | dD . 2 |then.put|
|00001350| 20 54 52 55 45 20 69 6e | 74 6f 20 6d 75 6c 74 69 | TRUE in|to multi|
|00001360| 44 65 70 74 68 0d 72 65 | 70 65 61 74 20 77 69 74 |Depth.re|peat wit|
|00001370| 68 20 6e 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h n = 1 |to numbe|
|00001380| 72 20 6f 66 20 77 6f 72 | 64 73 20 69 6e 20 64 44 |r of wor|ds in dD|
|00001390| 0d 70 75 74 20 77 6f 72 | 64 20 6e 20 6f 66 20 64 |.put wor|d n of d|
|000013a0| 44 20 26 20 22 2c 22 20 | 61 66 74 65 72 20 64 44 |D & "," |after dD|
|000013b0| 4c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |List.end| repeat.|
|000013c0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|000013d0| 20 6f 66 20 64 44 4c 69 | 73 74 0d 70 75 74 20 6d | of dDLi|st.put m|
|000013e0| 61 78 28 64 44 4c 69 73 | 74 29 20 69 6e 74 6f 20 |ax(dDLis|t) into |
|000013f0| 64 4d 61 78 44 65 70 74 | 68 0d 65 6c 73 65 0d 70 |dMaxDept|h.else.p|
|00001400| 75 74 20 64 44 20 26 22 | 2c 22 20 69 6e 74 6f 20 |ut dD &"|," into |
|00001410| 64 44 4c 69 73 74 0d 70 | 75 74 20 64 44 20 69 6e |dDList.p|ut dD in|
|00001420| 74 6f 20 64 4d 61 78 44 | 65 70 74 68 0d 65 6e 64 |to dMaxD|epth.end|
|00001430| 20 69 66 0d 69 66 20 6e | 75 6d 62 65 72 20 6f 66 | if.if n|umber of|
|00001440| 20 77 6f 72 64 73 20 69 | 6e 20 61 44 65 70 74 68 | words i|n aDepth|
|00001450| 20 b3 20 32 20 74 68 65 | 6e 0d 70 75 74 20 54 52 | . 2 the|n.put TR|
|00001460| 55 45 20 69 6e 74 6f 20 | 6d 75 6c 74 69 44 65 70 |UE into |multiDep|
|00001470| 74 68 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6e |th.repea|t with n|
|00001480| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 62 65 72 20 6f | = 1 to |number o|
|00001490| 66 20 77 6f 72 64 73 20 | 69 6e 20 61 44 65 70 74 |f words |in aDept|
|000014a0| 68 0d 70 75 74 20 77 6f | 72 64 20 6e 20 6f 66 20 |h.put wo|rd n of |
|000014b0| 61 44 65 70 74 68 20 26 | 20 22 2c 22 20 61 66 74 |aDepth &| "," aft|
|000014c0| 65 72 20 61 44 65 70 74 | 68 4c 69 73 74 0d 65 6e |er aDept|hList.en|
|000014d0| 64 20 72 65 70 65 61 74 | 0d 64 65 6c 65 74 65 20 |d repeat|.delete |
|000014e0| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 61 44 65 |last cha|r of aDe|
|000014f0| 70 74 68 4c 69 73 74 0d | 70 75 74 20 6d 61 78 28 |pthList.|put max(|
|00001500| 61 44 65 70 74 68 4c 69 | 73 74 29 20 69 6e 74 6f |aDepthLi|st) into|
|00001510| 20 61 4d 61 78 44 65 70 | 74 68 0d 65 6c 73 65 0d | aMaxDep|th.else.|
|00001520| 70 75 74 20 61 44 65 70 | 74 68 20 69 6e 74 6f 20 |put aDep|th into |
|00001530| 61 4d 61 78 44 65 70 74 | 68 0d 65 6e 64 20 69 66 |aMaxDept|h.end if|
|00001540| 0d 70 75 74 20 6d 61 78 | 28 64 4d 61 78 44 65 70 |.put max|(dMaxDep|
|00001550| 74 68 2c 61 4d 61 78 44 | 65 70 74 68 29 20 69 6e |th,aMaxD|epth) in|
|00001560| 74 6f 20 64 65 70 74 68 | 0d 69 66 20 64 65 70 74 |to depth|.if dept|
|00001570| 68 20 3d 20 22 22 20 6f | 72 20 64 65 70 74 68 20 |h = "" o|r depth |
|00001580| 3d 20 30 20 74 68 65 6e | 0d 72 65 74 75 72 6e 20 |= 0 then|.return |
|00001590| 22 31 20 32 20 34 20 38 | 20 31 36 20 32 34 20 33 |"1 2 4 8| 16 24 3|
|000015a0| 32 22 0d 65 6c 73 65 20 | 69 66 20 74 68 65 4d 61 |2".else |if theMa|
|000015b0| 78 44 65 70 74 68 20 3d | 20 31 20 74 68 65 6e 0d |xDepth =| 1 then.|
|000015c0| 69 66 20 22 31 2c 22 20 | 69 73 20 69 6e 20 64 44 |if "1," |is in dD|
|000015d0| 4c 69 73 74 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |List the|n.return|
|000015e0| 20 31 0d 65 6c 73 65 0d | 62 65 65 70 0d 61 6e 73 | 1.else.|beep.ans|
|000015f0| 77 65 72 20 22 54 68 69 | 73 20 70 72 65 73 65 6e |wer "Thi|s presen|
|00001600| 74 61 74 69 6f 6e 20 72 | 65 71 75 69 72 65 73 20 |tation r|equires |
|00001610| 61 20 63 6f 6c 6f 72 20 | 6d 6f 6e 69 74 6f 72 21 |a color |monitor!|
|00001620| 22 0d 72 65 74 75 72 6e | 20 46 41 4c 53 45 0d 65 |".return| FALSE.e|
|00001630| 6e 64 20 69 66 0d 65 6c | 73 65 20 69 66 20 6d 75 |nd if.el|se if mu|
|00001640| 6c 74 69 44 65 70 74 68 | 20 3d 20 54 52 55 45 20 |ltiDepth| = TRUE |
|00001650| 74 68 65 6e 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |then.put| "" into|
|00001660| 20 70 4c 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 | pL.put |"" into |
|00001670| 6e 65 77 44 65 70 74 68 | 73 0d 72 65 70 65 61 74 |newDepth|s.repeat|
|00001680| 20 77 69 74 68 20 7a 20 | 3d 20 31 20 74 6f 20 6e | with z |= 1 to n|
|00001690| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|000016a0| 66 20 64 44 4c 69 73 74 | 0d 70 75 74 20 69 74 65 |f dDList|.put ite|
|000016b0| 6d 20 7a 20 6f 66 20 64 | 44 4c 69 73 74 20 69 6e |m z of d|DList in|
|000016c0| 74 6f 20 74 68 69 73 44 | 65 70 74 68 0d 69 66 20 |to thisD|epth.if |
|000016d0| 74 68 69 73 44 65 70 74 | 68 20 3d 20 31 20 74 68 |thisDept|h = 1 th|
|000016e0| 65 6e 0d 70 75 74 20 31 | 20 26 20 72 65 74 75 72 |en.put 1| & retur|
|000016f0| 6e 20 61 66 74 65 72 20 | 6e 65 77 44 65 70 74 68 |n after |newDepth|
|00001700| 73 0d 70 75 74 20 22 42 | 6c 61 63 6b 20 26 20 57 |s.put "B|lack & W|
|00001710| 68 69 74 65 22 20 26 20 | 72 65 74 75 72 6e 20 61 |hite" & |return a|
|00001720| 66 74 65 72 20 70 4c 0d | 65 6c 73 65 20 69 66 20 |fter pL.|else if |
|00001730| 74 68 69 73 44 65 70 74 | 68 20 3d 20 32 20 74 68 |thisDept|h = 2 th|
|00001740| 65 6e 0d 70 75 74 20 32 | 20 26 20 72 65 74 75 72 |en.put 2| & retur|
|00001750| 6e 20 61 66 74 65 72 20 | 6e 65 77 44 65 70 74 68 |n after |newDepth|
|00001760| 73 0d 70 75 74 20 22 34 | 22 20 26 20 72 65 74 75 |s.put "4|" & retu|
|00001770| 72 6e 20 61 66 74 65 72 | 20 70 4c 0d 65 6c 73 65 |rn after| pL.else|
|00001780| 20 69 66 20 74 68 69 73 | 44 65 70 74 68 20 3d 20 | if this|Depth = |
|00001790| 34 20 74 68 65 6e 0d 70 | 75 74 20 34 20 26 20 72 |4 then.p|ut 4 & r|
|000017a0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 6e 65 77 44 |eturn af|ter newD|
|000017b0| 65 70 74 68 73 0d 70 75 | 74 20 22 31 36 22 20 26 |epths.pu|t "16" &|
|000017c0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 70 4c | return |after pL|
|000017d0| 0d 65 6c 73 65 20 69 66 | 20 74 68 69 73 44 65 70 |.else if| thisDep|
|000017e0| 74 68 20 3d 20 38 20 74 | 68 65 6e 0d 70 75 74 20 |th = 8 t|hen.put |
|000017f0| 38 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |8 & retu|rn after|
|00001800| 20 6e 65 77 44 65 70 74 | 68 73 0d 70 75 74 20 22 | newDept|hs.put "|
|00001810| 32 35 36 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |256" & r|eturn af|
|00001820| 74 65 72 20 70 4c 0d 65 | 6c 73 65 20 69 66 20 74 |ter pL.e|lse if t|
|00001830| 68 69 73 44 65 70 74 68 | 20 3d 20 31 36 20 74 68 |hisDepth| = 16 th|
|00001840| 65 6e 0d 70 75 74 20 31 | 36 20 26 20 72 65 74 75 |en.put 1|6 & retu|
|00001850| 72 6e 20 61 66 74 65 72 | 20 6e 65 77 44 65 70 74 |rn after| newDept|
|00001860| 68 73 0d 70 75 74 20 22 | 54 68 6f 75 73 61 6e 64 |hs.put "|Thousand|
|00001870| 73 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |s" & ret|urn afte|
|00001880| 72 20 70 4c 0d 65 6c 73 | 65 20 69 66 20 74 68 69 |r pL.els|e if thi|
|00001890| 73 44 65 70 74 68 20 3d | 20 32 34 20 61 6e 64 20 |sDepth =| 24 and |
|000018a0| 74 68 65 4d 61 78 44 65 | 70 74 68 20 b3 20 32 34 |theMaxDe|pth . 24|
|000018b0| 20 74 68 65 6e 0d 69 66 | 20 6d 69 6c 6c 69 6f 6e | then.if| million|
|000018c0| 73 20 69 73 20 6e 6f 74 | 20 69 6e 20 70 4c 20 74 |s is not| in pL t|
|000018d0| 68 65 6e 0d 70 75 74 20 | 33 32 20 26 20 72 65 74 |hen.put |32 & ret|
|000018e0| 75 72 6e 20 61 66 74 65 | 72 20 6e 65 77 44 65 70 |urn afte|r newDep|
|000018f0| 74 68 73 0d 70 75 74 20 | 22 4d 69 6c 6c 69 6f 6e |ths.put |"Million|
|00001900| 73 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |s" & ret|urn afte|
|00001910| 72 20 70 4c 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |r pL.end| if.else|
|00001920| 20 69 66 20 74 68 69 73 | 44 65 70 74 68 20 3d 20 | if this|Depth = |
|00001930| 33 32 20 61 6e 64 20 74 | 68 65 4d 61 78 44 65 70 |32 and t|heMaxDep|
|00001940| 74 68 20 b3 20 33 32 20 | 74 68 65 6e 0d 69 66 20 |th . 32 |then.if |
|00001950| 6d 69 6c 6c 69 6f 6e 73 | 20 69 73 20 6e 6f 74 20 |millions| is not |
|00001960| 69 6e 20 70 4c 20 74 68 | 65 6e 0d 70 75 74 20 33 |in pL th|en.put 3|
|00001970| 32 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |2 & retu|rn after|
|00001980| 20 6e 65 77 44 65 70 74 | 68 73 0d 70 75 74 20 22 | newDept|hs.put "|
|00001990| 4d 69 6c 6c 69 6f 6e 73 | 22 20 26 20 72 65 74 75 |Millions|" & retu|
|000019a0| 72 6e 20 61 66 74 65 72 | 20 70 4c 0d 65 6e 64 20 |rn after| pL.end |
|000019b0| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |if.end i|f.end re|
|000019c0| 70 65 61 74 0d 69 66 20 | 6e 75 6d 62 65 72 20 6f |peat.if |number o|
|000019d0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 70 4c 20 3d 20 |f lines |of pL = |
|000019e0| 31 20 74 68 65 6e 0d 72 | 65 74 75 72 6e 20 6c 69 |1 then.r|eturn li|
|000019f0| 6e 65 20 31 20 6f 66 20 | 6e 65 77 44 65 70 74 68 |ne 1 of |newDepth|
|00001a00| 73 0d 65 6c 73 65 0d 70 | 75 74 20 73 68 6f 77 4c |s.else.p|ut showL|
|00001a10| 69 73 74 28 70 4c 2c 22 | 44 69 73 70 6c 61 79 20 |ist(pL,"|Display |
|00001a20| 74 68 65 20 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |the pres|entation|
|00001a30| 20 69 6e 20 68 6f 77 20 | 6d 61 6e 79 20 63 6f 6c | in how |many col|
|00001a40| 6f 72 73 3a 22 2c 74 72 | 75 65 2c 74 72 75 65 2c |ors:",tr|ue,true,|
|00001a50| 22 43 68 6f 6f 73 65 2c | 43 61 6e 63 65 6c 22 2c |"Choose,|Cancel",|
|00001a60| 31 29 20 69 6e 74 6f 20 | 64 52 65 73 75 6c 74 0d |1) into |dResult.|
|00001a70| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 64 52 65 |if line |1 of dRe|
|00001a80| 73 75 6c 74 20 3d 20 22 | 43 61 6e 63 65 6c 22 20 |sult = "|Cancel" |
|00001a90| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 46 41 4c 53 |then ret|urn FALS|
|00001aa0| 45 0d 67 6f 20 74 68 69 | 73 20 63 64 0d 72 65 74 |E.go thi|s cd.ret|
|00001ab0| 75 72 6e 20 6c 69 6e 65 | 20 28 6c 69 6e 65 20 32 |urn line| (line 2|
|00001ac0| 20 6f 66 20 64 52 65 73 | 75 6c 74 29 20 6f 66 20 | of dRes|ult) of |
|00001ad0| 6e 65 77 44 65 70 74 68 | 73 0d 65 6e 64 20 69 66 |newDepth|s.end if|
|00001ae0| 0d 65 6c 73 65 20 72 65 | 74 75 72 6e 20 64 65 70 |.else re|turn dep|
|00001af0| 74 68 0d 65 6e 64 20 63 | 68 65 63 6b 44 65 70 74 |th.end c|heckDept|
|00001b00| 68 0d 0d 6f 6e 20 6f 75 | 74 4f 66 4d 65 6d 6f 72 |h..on ou|tOfMemor|
|00001b10| 79 0d 70 75 74 20 61 70 | 70 6c 4d 65 6d 6f 72 79 |y.put ap|plMemory|
|00001b20| 28 22 6e 6f 44 69 61 6c | 6f 67 3a 67 45 72 72 6f |("noDial|og:gErro|
|00001b30| 72 53 74 72 22 29 20 69 | 6e 74 6f 20 61 70 70 4d |rStr") i|nto appM|
|00001b40| 65 6d 0d 69 66 20 67 45 | 72 72 6f 72 53 74 72 20 |em.if gE|rrorStr |
|00001b50| ad 20 22 22 20 74 68 65 | 6e 20 65 72 72 6f 72 4f |. "" the|n errorO|
|00001b60| 63 63 75 72 72 65 64 20 | 22 61 70 70 6c 4d 65 6d |ccurred |"applMem|
|00001b70| 6f 72 79 2f 6f 75 74 4f | 66 4d 65 6d 6f 72 79 22 |ory/outO|fMemory"|
|00001b80| 0d 70 75 74 20 61 70 70 | 4d 65 6d 20 64 69 76 20 |.put app|Mem div |
|00001b90| 31 30 32 34 20 69 6e 74 | 6f 20 66 72 65 65 4d 65 |1024 int|o freeMe|
|00001ba0| 6d 0d 70 75 74 20 22 54 | 68 65 72 65 20 69 73 20 |m.put "T|here is |
|00001bb0| 6e 6f 74 20 65 6e 6f 75 | 67 68 20 6d 65 6d 6f 72 |not enou|gh memor|
|00001bc0| 79 20 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 76 |y availa|ble to v|
|00001bd0| 69 65 77 20 74 68 69 73 | 20 70 72 65 73 65 6e 74 |iew this| present|
|00001be0| 61 74 69 6f 6e 21 22 20 | 26 c2 0d 72 65 74 75 72 |ation!" |&..retur|
|00001bf0| 6e 20 26 20 22 41 76 61 | 69 6c 61 62 6c 65 20 6d |n & "Ava|ilable m|
|00001c00| 65 6d 6f 72 79 3a 20 22 | 26 66 72 65 65 4d 65 6d |emory: "|&freeMem|
|00001c10| 20 26 20 22 4b 22 20 69 | 6e 74 6f 20 70 72 6f 6d | & "K" i|nto prom|
|00001c20| 70 74 0d 69 66 20 6e 75 | 6d 62 65 72 20 6f 66 20 |pt.if nu|mber of |
|00001c30| 6c 69 6e 65 73 20 6f 66 | 20 41 70 70 6c 69 63 61 |lines of| Applica|
|00001c40| 74 69 6f 6e 4c 69 73 74 | 28 29 20 3e 20 32 20 74 |tionList|() > 2 t|
|00001c50| 68 65 6e 0d 70 75 74 20 | 72 65 74 75 72 6e 20 26 |hen.put |return &|
|00001c60| 20 72 65 74 75 72 6e 20 | 26 20 22 28 54 72 79 20 | return |& "(Try |
|00001c70| 71 75 69 74 74 69 6e 67 | 20 73 6f 6d 65 20 6f 66 |quitting| some of|
|00001c80| 20 74 68 65 20 6f 74 68 | 65 72 20 6f 70 65 6e 20 | the oth|er open |
|00001c90| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 74 6f 20 |applicat|ions to |
|00001ca0| 66 72 65 65 20 6d 65 6d | 6f 72 79 2e 29 22 20 61 |free mem|ory.)" a|
|00001cb0| 66 74 65 72 20 70 72 6f | 6d 70 74 0d 65 6e 64 20 |fter pro|mpt.end |
|00001cc0| 69 66 0d 62 65 65 70 0d | 61 6e 73 77 65 72 20 70 |if.beep.|answer p|
|00001cd0| 72 6f 6d 70 74 0d 65 6e | 64 20 6f 75 74 4f 66 4d |rompt.en|d outOfM|
|00001ce0| 65 6d 6f 72 79 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |emory..f|unction |
|00001cf0| 43 68 65 63 6b 4d 65 6d | 6f 72 79 20 61 4d 65 6d |CheckMem|ory aMem|
|00001d00| 6f 72 79 2c 64 4d 65 6d | 6f 72 79 2c 69 6e 4d 75 |ory,dMem|ory,inMu|
|00001d10| 6c 74 69 46 69 6e 64 65 | 72 0d 70 75 74 20 61 70 |ltiFinde|r.put ap|
|00001d20| 70 6c 4d 65 6d 6f 72 79 | 28 22 6e 6f 44 69 61 6c |plMemory|("noDial|
|00001d30| 6f 67 3a 67 45 72 72 6f | 72 53 74 72 22 29 20 69 |og:gErro|rStr") i|
|00001d40| 6e 74 6f 20 61 70 70 4d | 65 6d 0d 69 66 20 67 45 |nto appM|em.if gE|
|00001d50| 72 72 6f 72 53 74 72 20 | ad 20 22 22 20 74 68 65 |rrorStr |. "" the|
|00001d60| 6e 20 65 72 72 6f 72 4f | 63 63 75 72 72 65 64 20 |n errorO|ccurred |
|00001d70| 22 61 70 70 6c 4d 65 6d | 6f 72 79 2f 43 68 65 63 |"applMem|ory/Chec|
|00001d80| 6b 4d 65 6d 6f 72 79 22 | 0d 70 75 74 20 61 70 70 |kMemory"|.put app|
|00001d90| 4d 65 6d 20 64 69 76 20 | 31 30 32 34 20 69 6e 74 |Mem div |1024 int|
|00001da0| 6f 20 66 72 65 65 4d 65 | 6d 0d 69 66 20 69 6e 4d |o freeMe|m.if inM|
|00001db0| 75 6c 74 69 46 69 6e 64 | 65 72 20 69 73 20 54 52 |ultiFind|er is TR|
|00001dc0| 55 45 20 74 68 65 6e 0d | 69 66 20 61 4d 65 6d 6f |UE then.|if aMemo|
|00001dd0| 72 79 20 3e 20 66 72 65 | 65 4d 65 6d 20 74 68 65 |ry > fre|eMem the|
|00001de0| 6e 0d 62 65 65 70 0d 61 | 6e 73 77 65 72 20 22 54 |n.beep.a|nswer "T|
|00001df0| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 65 6e 6f 75 |here is |not enou|
|00001e00| 67 68 20 6d 65 6d 6f 72 | 79 20 61 76 61 69 6c 61 |gh memor|y availa|
|00001e10| 62 6c 65 20 74 6f 20 76 | 69 65 77 20 74 68 69 73 |ble to v|iew this|
|00001e20| 20 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 21 22 20 | present|ation!" |
|00001e30| 26 c2 0d 72 65 74 75 72 | 6e 20 26 20 22 52 65 71 |&..retur|n & "Req|
|00001e40| 75 69 72 65 64 20 3a 20 | 22 26 20 61 4d 65 6d 6f |uired : |"& aMemo|
|00001e50| 72 79 20 26 20 22 4b 22 | 20 26 20 72 65 74 75 72 |ry & "K"| & retur|
|00001e60| 6e 20 26 20 22 41 76 61 | 69 6c 61 62 6c 65 20 3a |n & "Ava|ilable :|
|00001e70| 20 22 26 66 72 65 65 4d | 65 6d 20 26 20 22 4b 22 | "&freeM|em & "K"|
|00001e80| 0d 72 65 74 75 72 6e 20 | 46 41 4c 53 45 0d 65 6c |.return |FALSE.el|
|00001e90| 73 65 20 69 66 20 64 4d | 65 6d 6f 72 79 20 3e 20 |se if dM|emory > |
|00001ea0| 66 72 65 65 4d 65 6d 20 | 74 68 65 6e 0d 62 65 65 |freeMem |then.bee|
|00001eb0| 70 0d 61 6e 73 77 65 72 | 20 22 53 6f 72 72 79 2c |p.answer| "Sorry,|
|00001ec0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 72 | this do|cument r|
|00001ed0| 65 71 75 69 72 65 73 20 | 6d 6f 72 65 20 6d 65 6d |equires |more mem|
|00001ee0| 6f 72 79 20 74 6f 20 76 | 69 65 77 2e 22 26 20 c2 |ory to v|iew."& .|
|00001ef0| 0d 72 65 74 75 72 6e 20 | 26 20 22 52 65 71 75 69 |.return |& "Requi|
|00001f00| 72 65 64 20 3a 20 22 26 | 20 64 4d 65 6d 6f 72 79 |red : "&| dMemory|
|00001f10| 20 26 20 22 4b 22 20 26 | 20 72 65 74 75 72 6e 20 | & "K" &| return |
|00001f20| 26 20 22 41 76 61 69 6c | 61 62 6c 65 20 3a 20 22 |& "Avail|able : "|
|00001f30| 26 66 72 65 65 4d 65 6d | 20 26 20 22 4b 22 0d 72 |&freeMem| & "K".r|
|00001f40| 65 74 75 72 6e 20 46 41 | 4c 53 45 0d 65 6e 64 20 |eturn FA|LSE.end |
|00001f50| 69 66 0d 65 6c 73 65 20 | 69 66 20 64 4d 65 6d 6f |if.else |if dMemo|
|00001f60| 72 79 20 3e 20 66 72 65 | 65 4d 65 6d 20 74 68 65 |ry > fre|eMem the|
|00001f70| 6e 0d 62 65 65 70 0d 61 | 6e 73 77 65 72 20 22 53 |n.beep.a|nswer "S|
|00001f80| 6f 72 72 79 2c 20 74 68 | 69 73 20 64 6f 63 75 6d |orry, th|is docum|
|00001f90| 65 6e 74 20 72 65 71 75 | 69 72 65 73 20 6d 6f 72 |ent requ|ires mor|
|00001fa0| 65 20 6d 65 6d 6f 72 79 | 20 74 6f 20 76 69 65 77 |e memory| to view|
|00001fb0| 2e 22 26 c2 0d 72 65 74 | 75 72 6e 20 26 20 22 52 |."&..ret|urn & "R|
|00001fc0| 65 71 75 69 72 65 64 20 | 3a 20 22 26 20 64 4d 65 |equired |: "& dMe|
|00001fd0| 6d 6f 72 79 20 26 20 22 | 4b 22 20 26 20 72 65 74 |mory & "|K" & ret|
|00001fe0| 75 72 6e 20 26 20 22 41 | 76 61 69 6c 61 62 6c 65 |urn & "A|vailable|
|00001ff0| 20 3a 20 22 26 66 72 65 | 65 4d 65 6d 20 26 20 22 | : "&fre|eMem & "|
|00002000| 4b 22 0d 72 65 74 75 72 | 6e 20 46 41 4c 53 45 0d |K".retur|n FALSE.|
|00002010| 65 6e 64 20 69 66 0d 72 | 65 74 75 72 6e 20 54 52 |end if.r|eturn TR|
|00002020| 55 45 0d 65 6e 64 20 43 | 68 65 63 6b 6d 65 6d 6f |UE.end C|heckmemo|
|00002030| 72 79 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |ry..on o|penStack|
|00002040| 0d 67 6c 6f 62 61 6c 20 | 67 41 52 50 4c 32 49 6e |.global |gARPL2In|
|00002050| 69 74 0d 69 66 20 73 68 | 6f 72 74 20 6e 61 6d 65 |it.if sh|ort name|
|00002060| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00002070| 73 20 6e 6f 74 20 22 41 | 52 50 4c 20 52 65 73 6f |s not "A|RPL Reso|
|00002080| 75 72 63 65 73 22 20 74 | 68 65 6e 20 70 61 73 73 |urces" t|hen pass|
|00002090| 20 6f 70 65 6e 73 74 61 | 63 6b 0d 69 66 20 67 41 | opensta|ck.if gA|
|000020a0| 52 50 4c 32 49 6e 69 74 | 20 69 73 20 6e 6f 74 20 |RPL2Init| is not |
|000020b0| 74 72 75 65 20 74 68 65 | 6e 0d 67 6f 20 73 74 61 |true the|n.go sta|
|000020c0| 63 6b 20 22 20 41 52 50 | 4c 20 53 d5 39 33 20 49 |ck " ARP|L S.93 I|
|000020d0| 6e 74 65 72 6e 61 6c 20 | 52 65 61 64 65 72 22 0d |nternal |Reader".|
|000020e0| 65 6c 73 65 20 70 61 73 | 73 20 6f 70 65 6e 73 74 |else pas|s openst|
|000020f0| 61 63 6b 0d 65 6e 64 20 | 6f 70 65 6e 73 74 61 63 |ack.end |openstac|
|00002100| 6b 0d 0d 6f 6e 20 4c 69 | 6e 6b 54 6f 48 65 6c 70 |k..on Li|nkToHelp|
|00002110| 0d 67 6c 6f 62 61 6c 20 | 67 43 75 72 4d 6f 76 69 |.global |gCurMovi|
|00002120| 65 31 0d 73 65 6e 64 20 | 22 68 65 6c 70 54 65 78 |e1.send |"helpTex|
|00002130| 74 22 20 74 6f 20 74 68 | 69 73 20 63 64 0d 67 65 |t" to th|is cd.ge|
|00002140| 74 20 74 68 65 20 72 65 | 73 75 6c 74 0d 70 75 74 |t the re|sult.put|
|00002150| 20 69 74 20 69 6e 74 6f | 20 68 65 6c 70 54 65 78 | it into| helpTex|
|00002160| 74 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |t.put li|ne 1 of |
|00002170| 68 65 6c 70 54 65 78 74 | 20 69 6e 74 6f 20 74 68 |helpText| into th|
|00002180| 65 54 69 74 6c 65 0d 64 | 65 6c 65 74 65 20 6c 69 |eTitle.d|elete li|
|00002190| 6e 65 20 31 20 6f 66 20 | 68 65 6c 70 54 65 78 74 |ne 1 of |helpText|
|000021a0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|000021b0| 69 6e 64 6f 77 20 67 43 | 75 72 4d 6f 76 69 65 31 |indow gC|urMovie1|
|000021c0| 20 74 68 65 6e 0d 74 6f | 67 67 6c 65 47 75 69 64 | then.to|ggleGuid|
|000021d0| 65 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 77 69 6e |e.end if|.put win|
|000021e0| 64 6f 77 53 63 72 69 70 | 74 20 28 22 48 65 6c 70 |dowScrip|t ("Help|
|000021f0| 22 2c 74 68 65 54 69 74 | 6c 65 2c 68 65 6c 70 54 |",theTit|le,helpT|
|00002200| 65 78 74 29 20 69 6e 74 | 6f 20 61 63 74 69 6f 6e |ext) int|o action|
|00002210| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 61 63 |.if line| 1 of ac|
|00002220| 74 69 6f 6e 20 3d 20 22 | 50 72 69 6e 74 22 20 74 |tion = "|Print" t|
|00002230| 68 65 6e 0d 70 72 69 6e | 74 20 74 68 65 54 69 74 |hen.prin|t theTit|
|00002240| 6c 65 20 26 20 72 65 74 | 75 72 6e 20 26 20 72 65 |le & ret|urn & re|
|00002250| 74 75 72 6e 20 26 20 68 | 65 6c 70 54 65 78 74 0d |turn & h|elpText.|
|00002260| 65 6e 64 20 69 66 0d 65 | 6e 64 20 4c 69 6e 6b 54 |end if.e|nd LinkT|
|00002270| 6f 48 65 6c 70 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |oHelp..f|unction |
|00002280| 56 6f 6c 75 6d 65 4e 61 | 6d 65 0d 70 75 74 20 74 |VolumeNa|me.put t|
|00002290| 72 69 6d 28 6c 6f 6e 67 | 20 6e 61 6d 65 20 6f 66 |rim(long| name of|
|000022a0| 20 74 68 69 73 20 73 74 | 61 63 6b 29 20 69 6e 74 | this st|ack) int|
|000022b0| 6f 20 74 68 65 46 69 6c | 65 0d 72 65 70 65 61 74 |o theFil|e.repeat|
|000022c0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|000022d0| 75 6d 62 65 72 20 6f 66 | 20 63 68 61 72 73 20 6f |umber of| chars o|
|000022e0| 66 20 74 68 65 46 69 6c | 65 0d 69 66 20 63 68 61 |f theFil|e.if cha|
|000022f0| 72 20 69 20 6f 66 20 74 | 68 65 46 69 6c 65 20 3d |r i of t|heFile =|
|00002300| 20 22 3a 22 20 74 68 65 | 6e 20 65 78 69 74 20 72 | ":" the|n exit r|
|00002310| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00002320| 0d 72 65 74 75 72 6e 20 | 28 63 68 61 72 20 31 20 |.return |(char 1 |
|00002330| 74 6f 20 69 20 6f 66 20 | 74 68 65 46 69 6c 65 29 |to i of |theFile)|
|00002340| 0d 65 6e 64 20 56 6f 6c | 75 6d 65 4e 61 6d 65 0d |.end Vol|umeName.|
|00002350| 0d 6f 6e 20 43 6f 70 79 | 20 74 68 65 46 69 6c 65 |.on Copy| theFile|
|00002360| 73 2c 74 68 65 41 70 70 | 0d 67 6c 6f 62 61 6c 20 |s,theApp|.global |
|00002370| 67 54 68 65 45 72 72 6f | 72 2c 67 43 44 56 6f 6c |gTheErro|r,gCDVol|
|00002380| 75 6d 65 36 2c 67 41 70 | 70 73 44 61 74 61 0d 53 |ume6,gAp|psData.S|
|00002390| 70 69 6e 43 75 72 73 6f | 72 0d 70 75 74 20 22 22 |pinCurso|r.put ""|
|000023a0| 20 69 6e 74 6f 20 67 54 | 68 65 45 72 72 6f 72 0d | into gT|heError.|
|000023b0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 22 c6 22 |repeat u|ntil "."|
|000023c0| 20 69 73 20 6e 6f 74 20 | 69 6e 20 74 68 65 46 69 | is not |in theFi|
|000023d0| 6c 65 73 0d 70 75 74 20 | 71 75 6f 74 65 20 69 6e |les.put |quote in|
|000023e0| 74 6f 20 63 68 61 72 20 | 6f 66 66 73 65 74 28 22 |to char |offset("|
|000023f0| c6 22 2c 74 68 65 46 69 | 6c 65 73 29 20 6f 66 20 |.",theFi|les) of |
|00002400| 74 68 65 46 69 6c 65 73 | 0d 65 6e 64 20 72 65 70 |theFiles|.end rep|
|00002410| 65 61 74 0d 69 66 20 6e | 75 6d 62 65 72 20 6f 66 |eat.if n|umber of|
|00002420| 20 69 74 65 6d 73 20 6f | 66 20 74 68 65 46 69 6c | items o|f theFil|
|00002430| 65 73 20 3e 20 31 20 74 | 68 65 6e 20 70 75 74 20 |es > 1 t|hen put |
|00002440| 6c 61 73 74 20 69 74 65 | 6d 20 6f 66 20 74 68 65 |last ite|m of the|
|00002450| 46 69 6c 65 73 20 69 6e | 74 6f 20 74 68 65 46 69 |Files in|to theFi|
|00002460| 6c 65 73 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c |les.repe|at until|
|00002470| 20 22 c5 22 20 69 73 20 | 6e 6f 74 20 69 6e 20 74 | "." is |not in t|
|00002480| 68 65 46 69 6c 65 73 0d | 70 75 74 20 22 2c 22 20 |heFiles.|put "," |
|00002490| 69 6e 74 6f 20 63 68 61 | 72 20 6f 66 66 73 65 74 |into cha|r offset|
|000024a0| 28 22 c5 22 2c 74 68 65 | 46 69 6c 65 73 29 20 6f |(".",the|Files) o|
|000024b0| 66 20 74 68 65 46 69 6c | 65 73 0d 65 6e 64 20 72 |f theFil|es.end r|
|000024c0| 65 70 65 61 74 0d 70 75 | 74 20 66 61 6c 73 65 20 |epeat.pu|t false |
|000024d0| 69 6e 74 6f 20 63 6f 6d | 70 72 65 73 73 65 64 0d |into com|pressed.|
|000024e0| 69 66 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |if last |char of |
|000024f0| 74 68 65 46 69 6c 65 73 | 20 69 73 20 22 3a 22 20 |theFiles| is ":" |
|00002500| 74 68 65 6e 0d 70 75 74 | 20 70 61 74 68 77 61 79 |then.put| pathway|
|00002510| 28 6c 69 6e 65 20 31 20 | 6f 66 20 74 68 65 46 69 |(line 1 |of theFi|
|00002520| 6c 65 73 29 20 69 6e 74 | 6f 20 73 6f 75 72 63 65 |les) int|o source|
|00002530| 50 61 74 68 0d 70 75 74 | 20 66 6f 6c 64 65 72 53 |Path.put| folderS|
|00002540| 69 7a 65 28 73 6f 75 72 | 63 65 50 61 74 68 29 20 |ize(sour|cePath) |
|00002550| 69 6e 74 6f 20 72 65 71 | 53 70 61 63 65 0d 69 66 |into req|Space.if|
|00002560| 20 72 65 71 53 70 61 63 | 65 20 69 73 20 6e 6f 74 | reqSpac|e is not|
|00002570| 20 61 20 6e 75 6d 62 65 | 72 20 74 68 65 6e 20 65 | a numbe|r then e|
|00002580| 78 69 74 20 63 6f 70 79 | 0d 70 75 74 20 73 6f 75 |xit copy|.put sou|
|00002590| 72 63 65 50 61 74 68 20 | 69 6e 74 6f 20 74 65 6d |rcePath |into tem|
|000025a0| 70 0d 64 65 6c 65 74 65 | 20 6c 61 73 74 20 63 68 |p.delete| last ch|
|000025b0| 61 72 20 6f 66 20 74 65 | 6d 70 0d 70 75 74 20 72 |ar of te|mp.put r|
|000025c0| 65 6d 6f 76 65 50 61 74 | 68 28 74 65 6d 70 29 20 |emovePat|h(temp) |
|000025d0| 69 6e 74 6f 20 74 65 6d | 70 0d 70 75 74 20 22 66 |into tem|p.put "f|
|000025e0| 6f 6c 64 65 72 20 d2 22 | 26 74 65 6d 70 26 22 d3 |older ."|&temp&".|
|000025f0| 22 20 69 6e 74 6f 20 70 | 72 6f 6d 70 74 0d 65 6c |" into p|rompt.el|
|00002600| 73 65 0d 70 75 74 20 6c | 69 6e 65 20 31 20 6f 66 |se.put l|ine 1 of|
|00002610| 20 74 68 65 46 69 6c 65 | 73 20 69 6e 74 6f 20 73 | theFile|s into s|
|00002620| 6f 75 72 63 65 50 61 74 | 68 0d 70 75 74 20 66 69 |ourcePat|h.put fi|
|00002630| 6c 65 53 69 7a 65 28 73 | 6f 75 72 63 65 50 61 74 |leSize(s|ourcePat|
|00002640| 68 29 20 69 6e 74 6f 20 | 72 65 71 53 70 61 63 65 |h) into |reqSpace|
|00002650| 0d 69 66 20 72 65 71 53 | 70 61 63 65 20 69 73 20 |.if reqS|pace is |
|00002660| 6e 6f 74 20 61 20 6e 75 | 6d 62 65 72 20 74 68 65 |not a nu|mber the|
|00002670| 6e 20 65 78 69 74 20 63 | 6f 70 79 0d 70 75 74 20 |n exit c|opy.put |
|00002680| 73 6f 75 72 63 65 50 61 | 74 68 20 69 6e 74 6f 20 |sourcePa|th into |
|00002690| 74 65 6d 70 0d 70 75 74 | 20 72 65 6d 6f 76 65 50 |temp.put| removeP|
|000026a0| 61 74 68 28 74 65 6d 70 | 29 20 69 6e 74 6f 20 74 |ath(temp|) into t|
|000026b0| 65 6d 70 0d 70 75 74 20 | 6c 65 6e 67 74 68 20 6f |emp.put |length o|
|000026c0| 66 20 74 65 6d 70 20 69 | 6e 74 6f 20 74 68 65 4c |f temp i|nto theL|
|000026d0| 0d 69 66 20 63 68 61 72 | 20 74 68 65 4c 2d 32 20 |.if char| theL-2 |
|000026e0| 74 6f 20 74 68 65 4c 20 | 6f 66 20 74 65 6d 70 20 |to theL |of temp |
|000026f0| 3d 20 22 2e 64 64 22 20 | 74 68 65 6e 0d 64 65 6c |= ".dd" |then.del|
|00002700| 65 74 65 20 63 68 61 72 | 20 74 68 65 4c 2d 32 20 |ete char| theL-2 |
|00002710| 74 6f 20 74 68 65 4c 20 | 6f 66 20 74 65 6d 70 0d |to theL |of temp.|
|00002720| 70 75 74 20 22 63 6f 6d | 70 72 65 73 73 65 64 20 |put "com|pressed |
|00002730| 66 6f 6c 64 65 72 20 d2 | 22 26 74 65 6d 70 26 22 |folder .|"&temp&"|
|00002740| d3 22 20 69 6e 74 6f 20 | 70 72 6f 6d 70 74 0d 70 |." into |prompt.p|
|00002750| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 63 6f 6d |ut true |into com|
|00002760| 70 72 65 73 73 65 64 0d | 65 6c 73 65 20 70 75 74 |pressed.|else put|
|00002770| 20 22 66 69 6c 65 20 d2 | 22 26 74 65 6d 70 26 22 | "file .|"&temp&"|
|00002780| d3 22 20 69 6e 74 6f 20 | 70 72 6f 6d 70 74 0d 65 |." into |prompt.e|
|00002790| 6e 64 20 69 66 0d 69 66 | 20 72 65 71 53 70 61 63 |nd if.if| reqSpac|
|000027a0| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 45 72 72 6f |e contai|ns "Erro|
|000027b0| 72 22 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |r" then.|answer "|
|000027c0| 53 6f 72 72 79 2c 20 75 | 6e 61 62 6c 65 20 74 6f |Sorry, u|nable to|
|000027d0| 20 63 6f 70 79 20 22 26 | 70 72 6f 6d 70 74 26 22 | copy "&|prompt&"|
|000027e0| 3a 20 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |: " & re|turn & r|
|000027f0| 65 71 53 70 61 63 65 0d | 65 78 69 74 20 43 6f 70 |eqSpace.|exit Cop|
|00002800| 79 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 41 |y.end if|.if theA|
|00002810| 70 70 20 3d 20 22 41 70 | 70 6c 69 63 61 74 69 6f |pp = "Ap|plicatio|
|00002820| 6e 22 20 6f 72 20 74 68 | 65 41 70 70 20 3d 20 22 |n" or th|eApp = "|
|00002830| 48 79 70 65 72 43 61 72 | 64 22 20 6f 72 c2 0d 74 |HyperCar|d" or..t|
|00002840| 68 65 41 70 70 20 3d 20 | 22 51 75 69 63 6b 54 69 |heApp = |"QuickTi|
|00002850| 6d 65 22 20 6f 72 20 74 | 68 65 41 70 70 20 3d 20 |me" or t|heApp = |
|00002860| 22 41 70 70 6c 65 4c 69 | 6e 6b 22 20 74 68 65 6e |"AppleLi|nk" then|
|00002870| 20 70 75 74 20 22 22 20 | 69 6e 74 6f 20 74 68 65 | put "" |into the|
|00002880| 41 70 70 0d 69 66 20 74 | 68 65 41 70 70 20 69 73 |App.if t|heApp is|
|00002890| 20 6e 6f 74 20 22 22 20 | 74 68 65 6e 0d 69 66 20 | not "" |then.if |
|000028a0| 74 68 65 41 70 70 20 3d | 20 22 50 68 6f 74 6f 73 |theApp =| "Photos|
|000028b0| 68 6f 70 22 20 74 68 65 | 6e 20 70 75 74 20 22 41 |hop" the|n put "A|
|000028c0| 64 6f 62 65 20 50 68 6f | 74 6f 73 68 6f 70 20 32 |dobe Pho|toshop 2|
|000028d0| 2e 30 2e 31 22 20 69 6e | 74 6f 20 74 68 65 41 70 |.0.1" in|to theAp|
|000028e0| 70 0d 69 66 20 74 68 65 | 41 70 70 20 3d 20 22 50 |p.if the|App = "P|
|000028f0| 61 67 65 4d 61 6b 65 72 | 22 20 74 68 65 6e 20 70 |ageMaker|" then p|
|00002900| 75 74 20 22 41 6c 64 75 | 73 20 50 61 67 65 4d 61 |ut "Aldu|s PageMa|
|00002910| 6b 65 72 20 34 2e 32 22 | 20 69 6e 74 6f 20 74 68 |ker 4.2"| into th|
|00002920| 65 41 70 70 0d 69 66 20 | 67 41 70 70 73 44 61 74 |eApp.if |gAppsDat|
|00002930| 61 20 3d 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |a = "" t|hen put |
|00002940| 66 69 6c 65 44 61 74 61 | 28 22 41 70 70 6c 69 63 |fileData|("Applic|
|00002950| 61 74 69 6f 6e 73 20 44 | 61 74 61 22 29 20 69 6e |ations D|ata") in|
|00002960| 74 6f 20 67 41 70 70 73 | 44 61 74 61 0d 70 75 74 |to gApps|Data.put|
|00002970| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00002980| 20 6f 66 20 63 68 61 72 | 20 31 20 74 6f 20 6f 66 | of char| 1 to of|
|00002990| 66 73 65 74 28 74 68 65 | 41 70 70 2c 67 41 70 70 |fset(the|App,gApp|
|000029a0| 73 44 61 74 61 29 20 6f | 66 20 67 41 70 70 73 44 |sData) o|f gAppsD|
|000029b0| 61 74 61 20 69 6e 74 6f | 20 74 68 65 4c 69 6e 65 |ata into| theLine|
|000029c0| 0d 70 75 74 20 6c 69 6e | 65 20 74 68 65 4c 69 6e |.put lin|e theLin|
|000029d0| 65 20 6f 66 20 67 41 70 | 70 73 44 61 74 61 20 69 |e of gAp|psData i|
|000029e0| 6e 74 6f 20 74 68 65 44 | 61 74 61 0d 73 65 74 20 |nto theD|ata.set |
|000029f0| 74 68 65 20 69 74 65 6d | 44 65 6c 69 6d 69 74 65 |the item|Delimite|
|00002a00| 72 20 74 6f 20 22 c5 22 | 0d 70 75 74 20 69 74 65 |r to "."|.put ite|
|00002a10| 6d 20 36 20 6f 66 20 74 | 68 65 44 61 74 61 20 69 |m 6 of t|heData i|
|00002a20| 6e 74 6f 20 74 68 65 43 | 6f 70 79 53 63 72 69 70 |nto theC|opyScrip|
|00002a30| 74 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 44 65 |t.set th|e itemDe|
|00002a40| 6c 69 6d 69 74 65 72 20 | 74 6f 20 22 2c 22 0d 69 |limiter |to ",".i|
|00002a50| 66 20 74 68 65 4c 69 6e | 65 20 3e 20 30 20 74 68 |f theLin|e > 0 th|
|00002a60| 65 6e 0d 61 6e 73 77 65 | 72 20 22 57 68 69 6c 65 |en.answe|r "While|
|00002a70| 20 63 6f 70 79 69 6e 67 | 20 74 68 65 20 22 26 20 | copying| the "& |
|00002a80| 70 72 6f 6d 70 74 20 26 | 20 22 2c 20 77 6f 75 6c |prompt &| ", woul|
|00002a90| 64 20 79 6f 75 20 6c 69 | 6b 65 20 74 6f 20 63 6f |d you li|ke to co|
|00002aa0| 70 79 20 22 26 74 68 65 | 41 70 70 26 22 20 61 6c |py "&the|App&" al|
|00002ab0| 73 6f 3f 22 c2 0d 77 69 | 74 68 20 22 43 61 6e 63 |so?"..wi|th "Canc|
|00002ac0| 65 6c 22 20 6f 72 20 22 | 4e 6f 22 20 6f 72 20 22 |el" or "|No" or "|
|00002ad0| 59 65 73 22 0d 65 6c 73 | 65 20 69 66 20 28 72 65 |Yes".els|e if (re|
|00002ae0| 71 53 70 61 63 65 2a 31 | 2e 30 35 29 20 b3 20 38 |qSpace*1|.05) . 8|
|00002af0| 30 30 30 30 30 20 74 68 | 65 6e 0d 61 6e 73 77 65 |00000 th|en.answe|
|00002b00| 72 20 22 54 68 65 20 22 | 26 70 72 6f 6d 70 74 20 |r "The "|&prompt |
|00002b10| 26 22 20 69 73 20 22 20 | 26 20 28 72 65 71 53 70 |&" is " |& (reqSp|
|00002b20| 61 63 65 2a 31 2e 30 35 | 29 20 64 69 76 20 31 30 |ace*1.05|) div 10|
|00002b30| 32 34 26 22 4b 20 61 6e | 64 20 77 69 6c 6c 20 74 |24&"K an|d will t|
|00002b40| 61 6b 65 20 61 20 77 68 | 69 6c 65 20 74 6f 20 63 |ake a wh|ile to c|
|00002b50| 6f 70 79 2e 22 20 77 69 | 74 68 20 22 43 61 6e 63 |opy." wi|th "Canc|
|00002b60| 65 6c 22 20 6f 72 20 22 | 43 6f 6e 74 69 6e 75 65 |el" or "|Continue|
|00002b70| 22 0d 65 6e 64 20 69 66 | 0d 69 66 20 69 74 20 3d |".end if|.if it =|
|00002b80| 20 22 59 65 73 22 20 74 | 68 65 6e 20 70 75 74 20 | "Yes" t|hen put |
|00002b90| 74 72 75 65 20 69 6e 74 | 6f 20 63 6f 70 79 41 70 |true int|o copyAp|
|00002ba0| 70 0d 65 6c 73 65 20 69 | 66 20 69 74 20 3d 20 22 |p.else i|f it = "|
|00002bb0| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 65 78 69 |Cancel" |then.exi|
|00002bc0| 74 20 63 6f 70 79 0d 65 | 6e 64 20 69 66 0d 65 6c |t copy.e|nd if.el|
|00002bd0| 73 65 20 69 66 20 28 72 | 65 71 53 70 61 63 65 2a |se if (r|eqSpace*|
|00002be0| 31 2e 30 35 29 20 b3 20 | 38 30 30 30 30 30 20 74 |1.05) . |800000 t|
|00002bf0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 65 20 |hen.answ|er "The |
|00002c00| 22 26 70 72 6f 6d 70 74 | 20 26 22 20 69 73 20 22 |"&prompt| &" is "|
|00002c10| 20 26 20 28 72 65 71 53 | 70 61 63 65 2a 31 2e 30 | & (reqS|pace*1.0|
|00002c20| 35 29 20 64 69 76 20 31 | 30 32 34 26 22 4b 20 61 |5) div 1|024&"K a|
|00002c30| 6e 64 20 77 69 6c 6c 20 | 74 61 6b 65 20 61 20 77 |nd will |take a w|
|00002c40| 68 69 6c 65 20 74 6f 20 | 63 6f 70 79 2e 22 20 77 |hile to |copy." w|
|00002c50| 69 74 68 20 22 43 61 6e | 63 65 6c 22 20 6f 72 20 |ith "Can|cel" or |
|00002c60| 22 43 6f 6e 74 69 6e 75 | 65 22 0d 65 6c 73 65 0d |"Continu|e".else.|
|00002c70| 67 65 74 20 22 43 6f 6e | 74 69 6e 75 65 22 0d 65 |get "Con|tinue".e|
|00002c80| 6e 64 20 69 66 0d 67 6f | 20 74 68 69 73 20 63 64 |nd if.go| this cd|
|00002c90| 0d 69 66 20 69 74 20 3d | 20 22 43 61 6e 63 65 6c |.if it =| "Cancel|
|00002ca0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 43 6f 70 79 |" then e|xit Copy|
|00002cb0| 0d 53 70 69 6e 43 75 72 | 73 6f 72 0d 69 66 20 22 |.SpinCur|sor.if "|
|00002cc0| 46 6f 6c 64 65 72 22 20 | 69 73 20 69 6e 20 70 72 |Folder" |is in pr|
|00002cd0| 6f 6d 70 74 20 61 6e 64 | 20 6e 6f 74 20 63 6f 6d |ompt and| not com|
|00002ce0| 70 72 65 73 73 65 64 20 | 74 68 65 6e 0d 70 75 74 |pressed |then.put|
|00002cf0| 20 6c 61 73 74 46 6f 6c | 64 65 72 28 73 6f 75 72 | lastFol|der(sour|
|00002d00| 63 65 50 61 74 68 29 20 | 69 6e 74 6f 20 64 65 66 |cePath) |into def|
|00002d10| 61 75 6c 74 0d 69 66 20 | 6c 61 73 74 20 63 68 61 |ault.if |last cha|
|00002d20| 72 20 6f 66 20 64 65 66 | 61 75 6c 74 20 69 73 20 |r of def|ault is |
|00002d30| 22 3a 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |":" then| delete |
|00002d40| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 64 65 66 |last cha|r of def|
|00002d50| 61 75 6c 74 0d 61 73 6b | 20 66 69 6c 65 20 22 53 |ault.ask| file "S|
|00002d60| 61 76 65 20 66 6f 6c 64 | 65 72 20 61 73 3a 22 20 |ave fold|er as:" |
|00002d70| 77 69 74 68 20 64 65 66 | 61 75 6c 74 0d 65 6c 73 |with def|ault.els|
|00002d80| 65 0d 70 75 74 20 72 65 | 6d 6f 76 65 50 61 74 68 |e.put re|movePath|
|00002d90| 28 73 6f 75 72 63 65 50 | 61 74 68 29 20 69 6e 74 |(sourceP|ath) int|
|00002da0| 6f 20 64 65 66 61 75 6c | 74 0d 61 73 6b 20 66 69 |o defaul|t.ask fi|
|00002db0| 6c 65 20 22 53 61 76 65 | 20 66 69 6c 65 20 61 73 |le "Save| file as|
|00002dc0| 3a 22 20 77 69 74 68 20 | 64 65 66 61 75 6c 74 0d |:" with |default.|
|00002dd0| 65 6e 64 20 69 66 0d 69 | 66 20 69 74 20 3d 20 22 |end if.i|f it = "|
|00002de0| 22 20 74 68 65 6e 0d 65 | 78 69 74 20 43 6f 70 79 |" then.e|xit Copy|
|00002df0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 69 74 20 69 |.end if.|put it i|
|00002e00| 6e 74 6f 20 74 68 65 50 | 61 74 68 0d 67 6f 20 74 |nto theP|ath.go t|
|00002e10| 68 69 73 20 63 64 0d 70 | 75 74 20 63 68 61 72 20 |his cd.p|ut char |
|00002e20| 31 20 74 6f 20 6f 66 66 | 73 65 74 28 22 3a 22 2c |1 to off|set(":",|
|00002e30| 74 68 65 50 61 74 68 29 | 20 6f 66 20 74 68 65 50 |thePath)| of theP|
|00002e40| 61 74 68 20 69 6e 74 6f | 20 74 68 65 56 6f 6c 75 |ath into| theVolu|
|00002e50| 6d 65 0d 70 75 74 20 64 | 69 73 6b 53 70 61 63 65 |me.put d|iskSpace|
|00002e60| 41 76 61 69 6c 28 74 68 | 65 56 6f 6c 75 6d 65 29 |Avail(th|eVolume)|
|00002e70| 20 69 6e 74 6f 20 73 70 | 61 63 65 41 76 61 69 6c | into sp|aceAvail|
|00002e80| 0d 69 66 20 67 54 68 65 | 45 72 72 6f 72 20 69 73 |.if gThe|Error is|
|00002e90| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00002ea0| 61 6e 73 77 65 72 20 22 | 53 6f 72 72 79 2c 20 75 |answer "|Sorry, u|
|00002eb0| 6e 61 62 6c 65 20 74 6f | 20 63 6f 70 79 20 22 26 |nable to| copy "&|
|00002ec0| 70 72 6f 6d 70 74 26 22 | 3a 20 22 20 26 20 72 65 |prompt&"|: " & re|
|00002ed0| 74 75 72 6e 20 26 20 67 | 54 68 65 45 72 72 6f 72 |turn & g|TheError|
|00002ee0| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 67 54 68 |.put "" |into gTh|
|00002ef0| 65 45 72 72 6f 72 0d 65 | 78 69 74 20 43 6f 70 79 |eError.e|xit Copy|
|00002f00| 0d 65 6e 64 20 69 66 0d | 69 66 20 73 70 61 63 65 |.end if.|if space|
|00002f10| 41 76 61 69 6c 20 3c 20 | 72 65 71 53 70 61 63 65 |Avail < |reqSpace|
|00002f20| 2a 31 2e 30 35 20 74 68 | 65 6e 0d 64 65 6c 65 74 |*1.05 th|en.delet|
|00002f30| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 74 |e last c|har of t|
|00002f40| 68 65 56 6f 6c 75 6d 65 | 0d 62 65 65 70 0d 61 6e |heVolume|.beep.an|
|00002f50| 73 77 65 72 20 22 54 68 | 65 72 65 20 69 73 20 6e |swer "Th|ere is n|
|00002f60| 6f 74 20 65 6e 6f 75 67 | 68 20 73 70 61 63 65 20 |ot enoug|h space |
|00002f70| 6f 6e 20 74 68 65 20 76 | 6f 6c 75 6d 65 20 d2 22 |on the v|olume ."|
|00002f80| 26 20 74 68 65 56 6f 6c | 75 6d 65 20 26 22 d3 20 |& theVol|ume &". |
|00002f90| 74 6f 20 63 6f 70 79 20 | 74 68 65 22 20 26 20 70 |to copy |the" & p|
|00002fa0| 72 6f 6d 70 74 20 26 22 | 2e 22 26 c2 0d 72 65 74 |rompt &"|."&..ret|
|00002fb0| 75 72 6e 20 26 20 22 53 | 70 61 63 65 20 72 65 71 |urn & "S|pace req|
|00002fc0| 75 69 72 65 64 20 20 3a | 20 22 26 20 72 65 71 53 |uired :| "& reqS|
|00002fd0| 70 61 63 65 2a 31 2e 30 | 35 20 64 69 76 20 31 30 |pace*1.0|5 div 10|
|00002fe0| 32 34 20 26 20 22 4b 22 | 20 26 20 72 65 74 75 72 |24 & "K"| & retur|
|00002ff0| 6e 20 26 c2 0d 22 53 70 | 61 63 65 20 61 76 61 69 |n &.."Sp|ace avai|
|00003000| 6c 61 62 6c 65 20 3a 20 | 22 20 26 20 73 70 61 63 |lable : |" & spac|
|00003010| 65 41 76 61 69 6c 20 64 | 69 76 20 31 30 32 34 20 |eAvail d|iv 1024 |
|00003020| 26 20 22 4b 22 20 77 69 | 74 68 20 22 43 61 6e 63 |& "K" wi|th "Canc|
|00003030| 65 6c 22 0d 65 78 69 74 | 20 43 6f 70 79 0d 65 6e |el".exit| Copy.en|
|00003040| 64 20 69 66 0d 0d 53 70 | 69 6e 43 75 72 73 6f 72 |d if..Sp|inCursor|
|00003050| 0d 69 66 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |.if leng|th of th|
|00003060| 65 50 61 74 68 2b 33 31 | 20 3e 20 32 35 30 20 74 |ePath+31| > 250 t|
|00003070| 68 65 6e 0d 62 65 65 70 | 0d 61 6e 73 77 65 72 20 |hen.beep|.answer |
|00003080| 22 59 6f 75 20 73 70 65 | 63 69 66 69 65 64 20 61 |"You spe|cified a|
|00003090| 20 70 61 74 68 20 74 6f | 6f 20 66 61 72 20 64 6f | path to|o far do|
|000030a0| 77 6e 20 28 6d 6f 72 65 | 20 74 68 61 6e 20 32 35 |wn (more| than 25|
|000030b0| 30 20 63 68 61 72 73 29 | 2e 22 26 20 72 65 74 75 |0 chars)|."& retu|
|000030c0| 72 6e 20 26 c2 0d 22 49 | 66 20 79 6f 75 20 77 69 |rn &.."I|f you wi|
|000030d0| 73 68 20 74 6f 20 63 6f | 70 79 20 74 68 69 73 2c |sh to co|py this,|
|000030e0| 20 70 6c 65 61 73 65 20 | 74 72 79 20 61 67 61 69 | please |try agai|
|000030f0| 6e 2e 22 20 77 69 74 68 | 20 22 43 61 6e 63 65 6c |n." with| "Cancel|
|00003100| 22 0d 65 78 69 74 20 43 | 6f 70 79 0d 65 6e 64 20 |".exit C|opy.end |
|00003110| 69 66 0d 2d 2d 20 70 72 | 6f 6d 70 74 20 31 2c 22 |if.-- pr|ompt 1,"|
|00003120| 43 6f 70 79 69 6e 67 20 | 22 26 20 70 72 6f 6d 70 |Copying |"& promp|
|00003130| 74 20 26 22 2e 2e 2e 50 | 6c 65 61 73 65 20 77 61 |t &"...P|lease wa|
|00003140| 69 74 2e 2e 2e 22 0d 53 | 70 69 6e 43 75 72 73 6f |it...".S|pinCurso|
|00003150| 72 0d 69 66 20 70 72 6f | 6d 70 74 20 63 6f 6e 74 |r.if pro|mpt cont|
|00003160| 61 69 6e 73 20 22 46 6f | 6c 64 65 72 22 20 61 6e |ains "Fo|lder" an|
|00003170| 64 20 6e 6f 74 20 63 6f | 6d 70 72 65 73 73 65 64 |d not co|mpressed|
|00003180| 20 74 68 65 6e 0d 43 6f | 70 79 46 6f 6c 64 65 72 | then.Co|pyFolder|
|00003190| 20 73 6f 75 72 63 65 50 | 61 74 68 2c 74 68 65 50 | sourceP|ath,theP|
|000031a0| 61 74 68 2c 74 72 75 65 | 0d 65 6c 73 65 0d 46 69 |ath,true|.else.Fi|
|000031b0| 6c 65 43 6f 70 79 20 73 | 6f 75 72 63 65 50 61 74 |leCopy s|ourcePat|
|000031c0| 68 2c 74 68 65 50 61 74 | 68 2c 74 72 75 65 0d 65 |h,thePat|h,true.e|
|000031d0| 6e 64 20 69 66 0d 70 75 | 74 20 74 68 65 20 72 65 |nd if.pu|t the re|
|000031e0| 73 75 6c 74 20 69 6e 74 | 6f 20 4f 73 45 72 72 0d |sult int|o OsErr.|
|000031f0| 2d 2d 20 70 72 6f 6d 70 | 74 20 33 0d 69 66 20 4f |-- promp|t 3.if O|
|00003200| 73 45 72 72 20 63 6f 6e | 74 61 69 6e 73 20 22 45 |sErr con|tains "E|
|00003210| 72 72 6f 72 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |rror" th|en.answe|
|00003220| 72 20 22 53 6f 72 72 79 | 2c 20 75 6e 61 62 6c 65 |r "Sorry|, unable|
|00003230| 20 74 6f 20 63 6f 70 79 | 20 22 26 70 72 6f 6d 70 | to copy| "&promp|
|00003240| 74 26 22 3a 20 22 20 26 | 20 72 65 74 75 72 6e 20 |t&": " &| return |
|00003250| 26 20 4f 73 45 72 72 0d | 65 78 69 74 20 43 6f 70 |& OsErr.|exit Cop|
|00003260| 79 0d 65 6e 64 20 69 66 | 0d 53 70 69 6e 43 75 72 |y.end if|.SpinCur|
|00003270| 73 6f 72 0d 69 66 20 63 | 6f 70 79 41 70 70 20 69 |sor.if c|opyApp i|
|00003280| 73 20 74 72 75 65 20 74 | 68 65 6e 20 64 6f 20 74 |s true t|hen do t|
|00003290| 68 65 43 6f 70 79 53 63 | 72 69 70 74 0d 45 6e 64 |heCopySc|ript.End|
|000032a0| 20 43 6f 70 79 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 | Copy..f|unction |
|000032b0| 6c 61 73 74 46 6f 6c 64 | 65 72 20 74 68 65 50 61 |lastFold|er thePa|
|000032c0| 74 68 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |th.put n|umber of|
|000032d0| 20 63 68 61 72 73 20 6f | 66 20 74 68 65 50 61 74 | chars o|f thePat|
|000032e0| 68 20 69 6e 74 6f 20 50 | 61 74 68 4c 65 6e 67 74 |h into P|athLengt|
|000032f0| 68 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |h.repeat| with i |
|00003300| 3d 20 50 61 74 68 4c 65 | 6e 67 74 68 20 64 6f 77 |= PathLe|ngth dow|
|00003310| 6e 20 74 6f 20 31 0d 69 | 66 20 63 68 61 72 20 69 |n to 1.i|f char i|
|00003320| 20 6f 66 20 74 68 65 50 | 61 74 68 20 3d 20 22 3a | of theP|ath = ":|
|00003330| 22 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |" then e|xit repe|
|00003340| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 75 |at.end r|epeat.su|
|00003350| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 69 0d |btract 1| from i.|
|00003360| 72 65 70 65 61 74 20 77 | 69 74 68 20 7a 20 3d 20 |repeat w|ith z = |
|00003370| 69 20 64 6f 77 6e 20 74 | 6f 20 31 0d 69 66 20 63 |i down t|o 1.if c|
|00003380| 68 61 72 20 7a 20 6f 66 | 20 74 68 65 50 61 74 68 |har z of| thePath|
|00003390| 20 3d 20 22 3a 22 20 74 | 68 65 6e 20 65 78 69 74 | = ":" t|hen exit|
|000033a0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|000033b0| 61 74 0d 72 65 74 75 72 | 6e 20 63 68 61 72 20 7a |at.retur|n char z|
|000033c0| 2b 31 20 74 6f 20 69 20 | 6f 66 20 74 68 65 50 61 |+1 to i |of thePa|
|000033d0| 74 68 0d 65 6e 64 20 6c | 61 73 74 46 6f 6c 64 65 |th.end l|astFolde|
|000033e0| 72 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 74 68 65 72 |r..funct|ion ther|
|000033f0| 65 49 73 41 46 69 6c 65 | 20 74 46 0d 67 6c 6f 62 |eIsAFile| tF.glob|
|00003400| 61 6c 20 65 72 72 47 6c | 6f 62 61 6c 0d 72 65 74 |al errGl|obal.ret|
|00003410| 75 72 6e 20 66 69 6c 65 | 45 78 69 73 74 73 28 74 |urn file|Exists(t|
|00003420| 46 2c 22 6e 6f 64 69 61 | 6c 6f 67 3a 65 72 72 47 |F,"nodia|log:errG|
|00003430| 6c 6f 62 61 6c 22 29 0d | 65 6e 64 20 74 68 65 72 |lobal").|end ther|
|00003440| 65 49 73 41 46 69 6c 65 | 0d 0d 6f 6e 20 72 65 67 |eIsAFile|..on reg|
|00003450| 69 73 74 65 72 0d 67 6c | 6f 62 61 6c 20 67 55 73 |ister.gl|obal gUs|
|00003460| 65 72 4e 61 6d 65 2c 67 | 55 73 65 72 4c 6f 63 61 |erName,g|UserLoca|
|00003470| 74 69 6f 6e 2c 67 4d 61 | 72 6b 65 74 0d 73 70 69 |tion,gMa|rket.spi|
|00003480| 6e 43 75 72 73 6f 72 0d | 69 66 20 67 4d 61 72 6b |nCursor.|if gMark|
|00003490| 65 74 20 3d 20 22 22 20 | 74 68 65 6e 20 70 75 74 |et = "" |then put|
|000034a0| 20 22 41 6c 6c 22 20 69 | 6e 74 6f 20 67 4d 61 72 | "All" i|nto gMar|
|000034b0| 6b 65 74 0d 70 75 74 20 | 22 43 6f 6e 73 75 6d 65 |ket.put |"Consume|
|000034c0| 72 2c 48 69 67 68 65 72 | 20 45 64 75 63 61 74 69 |r,Higher| Educati|
|000034d0| 6f 6e 2c 4b 2d 31 32 2c | 45 6e 74 65 72 70 72 69 |on,K-12,|Enterpri|
|000034e0| 73 65 2c 42 75 73 69 6e | 65 73 73 20 4d 61 72 6b |se,Busin|ess Mark|
|000034f0| 65 74 73 2c 41 6c 6c 22 | 20 69 6e 74 6f 20 61 6c |ets,All"| into al|
|00003500| 6c 52 61 64 73 0d 72 65 | 70 65 61 74 20 77 69 74 |lRads.re|peat wit|
|00003510| 68 20 7a 20 3d 20 31 20 | 74 6f 20 36 0d 64 6f 20 |h z = 1 |to 6.do |
|00003520| 22 70 75 74 20 67 4d 61 | 72 6b 65 74 20 3d 20 69 |"put gMa|rket = i|
|00003530| 74 65 6d 20 7a 20 6f 66 | 20 61 6c 6c 52 61 64 73 |tem z of| allRads|
|00003540| 20 69 6e 74 6f 20 68 22 | 26 7a 0d 65 6e 64 20 72 | into h"|&z.end r|
|00003550| 65 70 65 61 74 0d 67 65 | 74 20 77 69 6e 64 6f 77 |epeat.ge|t window|
|00003560| 53 63 72 69 70 74 28 22 | 52 65 67 69 73 74 65 72 |Script("|Register|
|00003570| 22 2c 67 55 73 65 72 4e | 61 6d 65 2c 67 55 73 65 |",gUserN|ame,gUse|
|00003580| 72 4c 6f 63 61 74 69 6f | 6e 2c 68 31 2c 68 32 2c |rLocatio|n,h1,h2,|
|00003590| 68 33 2c 68 34 2c 68 35 | 2c 68 36 29 0d 69 66 20 |h3,h4,h5|,h6).if |
|000035a0| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 69 73 20 |line 1 o|f it is |
|000035b0| 6e 6f 74 20 22 43 61 6e | 63 65 6c 22 20 61 6e 64 |not "Can|cel" and|
|000035c0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 69 73 | line 1 |of it is|
|000035d0| 20 6e 6f 74 20 22 22 20 | 74 68 65 6e 0d 70 75 74 | not "" |then.put|
|000035e0| 20 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 20 69 6e | line 2 |of it in|
|000035f0| 74 6f 20 67 55 73 65 72 | 4e 61 6d 65 0d 70 75 74 |to gUser|Name.put|
|00003600| 20 6c 69 6e 65 20 33 20 | 6f 66 20 69 74 20 69 6e | line 3 |of it in|
|00003610| 74 6f 20 67 55 73 65 72 | 4c 6f 63 61 74 69 6f 6e |to gUser|Location|
|00003620| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 68 56 0d |.put "" |into hV.|
|00003630| 72 65 70 65 61 74 20 77 | 69 74 68 20 7a 20 3d 20 |repeat w|ith z = |
|00003640| 34 20 74 6f 20 39 0d 69 | 66 20 6c 69 6e 65 20 7a |4 to 9.i|f line z|
|00003650| 20 6f 66 20 69 74 20 3d | 20 74 72 75 65 20 74 68 | of it =| true th|
|00003660| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 7a 20 2d 20 |en.put i|tem z - |
|00003670| 33 20 6f 66 20 61 6c 6c | 52 61 64 73 20 69 6e 74 |3 of all|Rads int|
|00003680| 6f 20 67 4d 61 72 6b 65 | 74 0d 65 78 69 74 20 72 |o gMarke|t.exit r|
|00003690| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end|
|000036a0| 20 72 65 70 65 61 74 0d | 57 72 69 74 65 50 72 65 | repeat.|WritePre|
|000036b0| 66 73 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |fs.end i|f.end re|
|000036c0| 67 69 73 74 65 72 0d 0d | 6f 6e 20 57 72 69 74 65 |gister..|on Write|
|000036d0| 50 72 65 66 73 0d 67 6c | 6f 62 61 6c 20 67 55 73 |Prefs.gl|obal gUs|
|000036e0| 65 72 4e 61 6d 65 2c 67 | 55 73 65 72 4c 6f 63 61 |erName,g|UserLoca|
|000036f0| 74 69 6f 6e 2c 67 4d 61 | 72 6b 65 74 2c 67 41 74 |tion,gMa|rket,gAt|
|00003700| 74 61 63 68 65 4c 69 73 | 74 2c 67 41 52 50 4c 51 |tacheLis|t,gARPLQ|
|00003710| 54 41 75 64 69 6f 0d 73 | 70 69 6e 43 75 72 73 6f |TAudio.s|pinCurso|
|00003720| 72 0d 70 75 74 20 50 72 | 65 66 50 61 74 68 28 29 |r.put Pr|efPath()|
|00003730| 20 26 20 22 55 73 65 72 | 20 44 61 74 61 22 20 69 | & "User| Data" i|
|00003740| 6e 74 6f 20 74 68 65 46 | 69 6c 65 0d 6f 70 65 6e |nto theF|ile.open|
|00003750| 20 66 69 6c 65 20 74 68 | 65 46 69 6c 65 0d 77 72 | file th|eFile.wr|
|00003760| 69 74 65 20 67 55 73 65 | 72 4e 61 6d 65 20 26 20 |ite gUse|rName & |
|00003770| 22 c5 22 20 26 20 67 55 | 73 65 72 4c 6f 63 61 74 |"." & gU|serLocat|
|00003780| 69 6f 6e 20 26 20 22 c5 | 22 20 26 20 67 4d 61 72 |ion & ".|" & gMar|
|00003790| 6b 65 74 26 20 22 c5 22 | 20 26 20 67 41 52 50 4c |ket& "."| & gARPL|
|000037a0| 51 54 41 75 64 69 6f 20 | 26 c2 0d 22 c5 22 20 26 |QTAudio |&.."." &|
|000037b0| 20 67 41 74 74 61 63 68 | 65 4c 69 73 74 20 74 6f | gAttach|eList to|
|000037c0| 20 66 69 6c 65 20 74 68 | 65 46 69 6c 65 0d 63 6c | file th|eFile.cl|
|000037d0| 6f 73 65 20 66 69 6c 65 | 20 74 68 65 46 69 6c 65 |ose file| theFile|
|000037e0| 0d 65 6e 64 20 57 72 69 | 74 65 50 72 65 66 73 0d |.end Wri|tePrefs.|
|000037f0| 0d 6f 6e 20 72 65 61 64 | 50 72 65 66 73 0d 67 6c |.on read|Prefs.gl|
|00003800| 6f 62 61 6c 20 67 55 73 | 65 72 4e 61 6d 65 2c 67 |obal gUs|erName,g|
|00003810| 55 73 65 72 4c 6f 63 61 | 74 69 6f 6e 2c 67 4d 61 |UserLoca|tion,gMa|
|00003820| 72 6b 65 74 2c 67 41 74 | 74 61 63 68 65 4c 69 73 |rket,gAt|tacheLis|
|00003830| 74 2c 67 41 52 50 4c 51 | 54 41 75 64 69 6f 0d 73 |t,gARPLQ|TAudio.s|
|00003840| 70 69 6e 43 75 72 73 6f | 72 0d 70 75 74 20 50 72 |pinCurso|r.put Pr|
|00003850| 65 66 50 61 74 68 28 29 | 20 26 20 22 55 73 65 72 |efPath()| & "User|
|00003860| 20 44 61 74 61 22 20 69 | 6e 74 6f 20 74 68 65 46 | Data" i|nto theF|
|00003870| 69 6c 65 0d 6f 70 65 6e | 20 66 69 6c 65 20 74 68 |ile.open| file th|
|00003880| 65 46 69 6c 65 0d 72 65 | 61 64 20 66 72 6f 6d 20 |eFile.re|ad from |
|00003890| 66 69 6c 65 20 74 68 65 | 46 69 6c 65 20 75 6e 74 |file the|File unt|
|000038a0| 69 6c 20 65 6f 66 0d 63 | 6c 6f 73 65 20 66 69 6c |il eof.c|lose fil|
|000038b0| 65 20 74 68 65 46 69 6c | 65 0d 73 65 74 20 74 68 |e theFil|e.set th|
|000038c0| 65 20 69 74 65 6d 44 65 | 6c 69 6d 69 74 65 72 20 |e itemDe|limiter |
|000038d0| 74 6f 20 22 c5 22 0d 70 | 75 74 20 69 74 65 6d 20 |to ".".p|ut item |
|000038e0| 31 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 67 55 73 |1 of it |into gUs|
|000038f0| 65 72 4e 61 6d 65 0d 70 | 75 74 20 69 74 65 6d 20 |erName.p|ut item |
|00003900| 32 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 67 55 73 |2 of it |into gUs|
|00003910| 65 72 4c 6f 63 61 74 69 | 6f 6e 0d 70 75 74 20 69 |erLocati|on.put i|
|00003920| 74 65 6d 20 33 20 6f 66 | 20 69 74 20 69 6e 74 6f |tem 3 of| it into|
|00003930| 20 67 4d 61 72 6b 65 74 | 0d 69 66 20 67 4d 61 72 | gMarket|.if gMar|
|00003940| 6b 65 74 20 3d 20 22 4c | 61 72 67 65 20 42 75 73 |ket = "L|arge Bus|
|00003950| 69 6e 65 73 73 22 20 74 | 68 65 6e 20 70 75 74 20 |iness" t|hen put |
|00003960| 22 45 6e 74 65 72 70 72 | 69 73 65 22 20 69 6e 74 |"Enterpr|ise" int|
|00003970| 6f 20 67 4d 61 72 6b 65 | 74 0d 70 75 74 20 69 74 |o gMarke|t.put it|
|00003980| 65 6d 20 34 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 4 of |it into |
|00003990| 67 41 52 50 4c 51 54 41 | 75 64 69 6f 0d 64 65 6c |gARPLQTA|udio.del|
|000039a0| 65 74 65 20 69 74 65 6d | 20 31 20 74 6f 20 34 20 |ete item| 1 to 4 |
|000039b0| 6f 66 20 69 74 0d 70 75 | 74 20 69 74 20 69 6e 74 |of it.pu|t it int|
|000039c0| 6f 20 67 41 74 74 61 63 | 68 65 4c 69 73 74 0d 73 |o gAttac|heList.s|
|000039d0| 65 74 20 74 68 65 20 69 | 74 65 6d 44 65 6c 69 6d |et the i|temDelim|
|000039e0| 69 74 65 72 20 74 6f 20 | 22 2c 22 0d 65 6e 64 20 |iter to |",".end |
|000039f0| 72 65 61 64 50 72 65 66 | 73 0d 0d 6f 6e 20 6f 73 |readPref|s..on os|
|00003a00| 45 72 72 20 74 68 65 45 | 72 72 6f 72 0d 61 6e 73 |Err theE|rror.ans|
|00003a10| 77 65 72 20 22 41 6e 20 | 65 72 72 6f 72 20 68 61 |wer "An |error ha|
|00003a20| 73 20 6f 63 63 75 72 72 | 65 64 3a 22 20 26 20 72 |s occurr|ed:" & r|
|00003a30| 65 74 75 72 6e 20 26 20 | 74 68 65 45 72 72 6f 72 |eturn & |theError|
|00003a40| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 |.exit to| hyperCa|
|00003a50| 72 64 0d 65 6e 64 20 6f | 73 45 72 72 0d 0d 66 75 |rd.end o|sErr..fu|
|00003a60| 6e 63 74 69 6f 6e 20 50 | 72 65 66 50 61 74 68 0d |nction P|refPath.|
|00003a70| 70 75 74 20 73 79 73 74 | 65 6d 50 61 74 68 28 29 |put syst|emPath()|
|00003a80| 20 69 6e 74 6f 20 73 79 | 73 50 61 74 68 0d 69 66 | into sy|sPath.if|
|00003a90| 20 6e 6f 74 20 74 68 65 | 72 65 49 73 41 46 69 6c | not the|reIsAFil|
|00003aa0| 65 28 73 79 73 50 61 74 | 68 20 26 22 50 72 65 66 |e(sysPat|h &"Pref|
|00003ab0| 65 72 65 6e 63 65 73 3a | 22 29 20 74 68 65 6e 0d |erences:|") then.|
|00003ac0| 4e 65 77 46 6f 6c 64 65 | 72 20 73 79 73 50 61 74 |NewFolde|r sysPat|
|00003ad0| 68 20 26 22 50 72 65 66 | 65 72 65 6e 63 65 73 3a |h &"Pref|erences:|
|00003ae0| 22 0d 67 65 74 20 74 68 | 65 20 52 65 73 75 6c 74 |".get th|e Result|
|00003af0| 0d 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 30 20 |.if it i|s not 0 |
|00003b00| 74 68 65 6e 0d 69 66 20 | 69 74 20 69 73 20 6e 6f |then.if |it is no|
|00003b10| 74 20 2d 34 38 20 74 68 | 65 6e 20 6f 73 45 72 72 |t -48 th|en osErr|
|00003b20| 20 69 74 0d 65 6e 64 20 | 69 66 0d 4e 65 77 46 6f | it.end |if.NewFo|
|00003b30| 6c 64 65 72 20 73 79 73 | 50 61 74 68 20 26 22 50 |lder sys|Path &"P|
|00003b40| 72 65 66 65 72 65 6e 63 | 65 73 3a 41 52 50 4c 20 |referenc|es:ARPL |
|00003b50| 31 32 2e 30 3a 22 0d 67 | 65 74 20 74 68 65 20 52 |12.0:".g|et the R|
|00003b60| 65 73 75 6c 74 0d 69 66 | 20 69 74 20 69 73 20 6e |esult.if| it is n|
|00003b70| 6f 74 20 30 20 74 68 65 | 6e 0d 69 66 20 69 74 20 |ot 0 the|n.if it |
|00003b80| 69 73 20 6e 6f 74 20 2d | 34 38 20 74 68 65 6e 20 |is not -|48 then |
|00003b90| 6f 73 45 72 72 20 69 74 | 0d 65 6e 64 20 69 66 0d |osErr it|.end if.|
|00003ba0| 65 6c 73 65 20 69 66 20 | 6e 6f 74 20 74 68 65 72 |else if |not ther|
|00003bb0| 65 49 73 41 46 69 6c 65 | 28 73 79 73 50 61 74 68 |eIsAFile|(sysPath|
|00003bc0| 26 22 50 72 65 66 65 72 | 65 6e 63 65 73 3a 41 52 |&"Prefer|ences:AR|
|00003bd0| 50 4c 20 31 32 2e 30 3a | 22 29 20 74 68 65 6e 0d |PL 12.0:|") then.|
|00003be0| 4e 65 77 46 6f 6c 64 65 | 72 20 73 79 73 50 61 74 |NewFolde|r sysPat|
|00003bf0| 68 20 26 22 50 72 65 66 | 65 72 65 6e 63 65 73 3a |h &"Pref|erences:|
|00003c00| 41 52 50 4c 20 31 32 2e | 30 3a 22 0d 67 65 74 20 |ARPL 12.|0:".get |
|00003c10| 74 68 65 20 52 65 73 75 | 6c 74 0d 69 66 20 69 74 |the Resu|lt.if it|
|00003c20| 20 69 73 20 6e 6f 74 20 | 30 20 74 68 65 6e 0d 69 | is not |0 then.i|
|00003c30| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 2d 34 38 20 |f it is |not -48 |
|00003c40| 74 68 65 6e 20 6f 73 45 | 72 72 20 69 74 0d 65 6e |then osE|rr it.en|
|00003c50| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 72 65 74 75 |d if.end| if.retu|
|00003c60| 72 6e 20 73 79 73 50 61 | 74 68 20 26 20 22 50 72 |rn sysPa|th & "Pr|
|00003c70| 65 66 65 72 65 6e 63 65 | 73 3a 41 52 50 4c 20 31 |eference|s:ARPL 1|
|00003c80| 32 2e 30 3a 22 0d 65 6e | 64 20 50 72 65 66 50 61 |2.0:".en|d PrefPa|
|00003c90| 74 68 0d 0d 6f 6e 20 63 | 42 0d 70 75 74 20 43 64 |th..on c|B.put Cd|
|00003ca0| 4e 75 6d 62 65 72 49 6e | 42 67 28 29 0d 65 6e 64 |NumberIn|Bg().end|
|00003cb0| 20 63 42 0d 0d 66 75 6e | 63 74 69 6f 6e 20 43 64 | cB..fun|ction Cd|
|00003cc0| 4e 75 6d 62 65 72 49 6e | 42 67 0d 72 65 74 75 72 |NumberIn|Bg.retur|
|00003cd0| 6e 20 28 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 69 |n (numbe|r of thi|
|00003ce0| 73 20 63 64 20 2d 20 6e | 75 6d 62 65 72 20 6f 66 |s cd - n|umber of|
|00003cf0| 20 63 64 20 31 20 6f 66 | 20 74 68 69 73 20 62 67 | cd 1 of| this bg|
|00003d00| 29 20 2b 20 31 0d 65 6e | 64 20 43 64 4e 75 6d 62 |) + 1.en|d CdNumb|
|00003d10| 65 72 49 6e 42 67 0d 0d | 66 75 6e 63 74 69 6f 6e |erInBg..|function|
|00003d20| 20 64 61 74 61 50 61 74 | 68 0d 67 6c 6f 62 61 6c | dataPat|h.global|
|00003d30| 20 67 43 44 56 6f 6c 75 | 6d 65 36 0d 72 65 74 75 | gCDVolu|me6.retu|
|00003d40| 72 6e 20 67 43 44 56 6f | 6c 75 6d 65 36 0d 65 6e |rn gCDVo|lume6.en|
|00003d50| 64 20 64 61 74 61 50 61 | 74 68 0d 0d 66 75 6e 63 |d dataPa|th..func|
|00003d60| 74 69 6f 6e 20 70 72 65 | 73 4d 61 6b 65 72 44 61 |tion pre|sMakerDa|
|00003d70| 74 61 50 61 74 68 0d 67 | 6c 6f 62 61 6c 20 67 43 |taPath.g|lobal gC|
|00003d80| 44 56 6f 6c 75 6d 65 36 | 0d 72 65 74 75 72 6e 20 |DVolume6|.return |
|00003d90| 67 43 44 56 6f 6c 75 6d | 65 36 26 22 53 74 61 63 |gCDVolum|e6&"Stac|
|00003da0| 6b 20 44 61 74 61 3a 50 | 72 65 73 65 6e 74 61 74 |k Data:P|resentat|
|00003db0| 69 6f 6e 20 4d 61 6b 65 | 72 3a 22 0d 65 6e 64 20 |ion Make|r:".end |
|00003dc0| 70 72 65 73 4d 61 6b 65 | 72 44 61 74 61 50 61 74 |presMake|rDataPat|
|00003dd0| 68 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 61 70 70 6c |h..funct|ion appl|
|00003de0| 69 63 61 74 69 6f 6e 73 | 44 61 74 61 50 61 74 68 |ications|DataPath|
|00003df0| 0d 67 6c 6f 62 61 6c 20 | 67 43 44 56 6f 6c 75 6d |.global |gCDVolum|
|00003e00| 65 36 0d 72 65 74 75 72 | 6e 20 67 43 44 56 6f 6c |e6.retur|n gCDVol|
|00003e10| 75 6d 65 36 26 22 53 74 | 61 63 6b 20 44 61 74 61 |ume6&"St|ack Data|
|00003e20| 3a 41 70 70 6c 69 63 61 | 74 69 6f 6e 73 3a 22 0d |:Applica|tions:".|
|00003e30| 65 6e 64 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |end appl|ications|
|00003e40| 44 61 74 61 50 61 74 68 | 0d 0d 66 75 6e 63 74 69 |DataPath|..functi|
|00003e50| 6f 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 50 |on appli|cationsP|
|00003e60| 61 74 68 0d 67 6c 6f 62 | 61 6c 20 67 43 44 56 6f |ath.glob|al gCDVo|
|00003e70| 6c 75 6d 65 36 0d 72 65 | 74 75 72 6e 20 67 43 44 |lume6.re|turn gCD|
|00003e80| 56 6f 6c 75 6d 65 36 26 | 22 41 70 70 6c 69 63 61 |Volume6&|"Applica|
|00003e90| 74 69 6f 6e 73 3a 22 0d | 65 6e 64 20 61 70 70 6c |tions:".|end appl|
|00003ea0| 69 63 61 74 69 6f 6e 73 | 50 61 74 68 0d 0d 66 75 |ications|Path..fu|
|00003eb0| 6e 63 74 69 6f 6e 20 72 | 65 66 65 72 65 6e 63 65 |nction r|eference|
|00003ec0| 44 61 74 61 50 61 74 68 | 0d 67 6c 6f 62 61 6c 20 |DataPath|.global |
|00003ed0| 67 43 44 56 6f 6c 75 6d | 65 36 0d 72 65 74 75 72 |gCDVolum|e6.retur|
|00003ee0| 6e 20 67 43 44 56 6f 6c | 75 6d 65 36 26 22 53 74 |n gCDVol|ume6&"St|
|00003ef0| 61 63 6b 20 44 61 74 61 | 3a 52 65 66 65 72 65 6e |ack Data|:Referen|
|00003f00| 63 65 73 3a 22 0d 65 6e | 64 20 72 65 66 65 72 65 |ces:".en|d refere|
|00003f10| 6e 63 65 44 61 74 61 50 | 61 74 68 0d 0d 66 75 6e |nceDataP|ath..fun|
|00003f20| 63 74 69 6f 6e 20 72 65 | 66 65 72 65 6e 63 65 50 |ction re|ferenceP|
|00003f30| 61 74 68 0d 67 6c 6f 62 | 61 6c 20 67 43 44 56 6f |ath.glob|al gCDVo|
|00003f40| 6c 75 6d 65 36 0d 72 65 | 74 75 72 6e 20 67 43 44 |lume6.re|turn gCD|
|00003f50| 56 6f 6c 75 6d 65 36 26 | 22 52 65 66 65 72 65 6e |Volume6&|"Referen|
|00003f60| 63 65 73 3a 22 0d 65 6e | 64 20 72 65 66 65 72 65 |ces:".en|d refere|
|00003f70| 6e 63 65 50 61 74 68 0d | 0d 66 75 6e 63 74 69 6f |ncePath.|.functio|
|00003f80| 6e 20 69 6e 66 6f 43 65 | 6e 74 65 72 44 61 74 61 |n infoCe|nterData|
|00003f90| 50 61 74 68 0d 67 6c 6f | 62 61 6c 20 67 43 44 56 |Path.glo|bal gCDV|
|00003fa0| 6f 6c 75 6d 65 36 0d 72 | 65 74 75 72 6e 20 67 43 |olume6.r|eturn gC|
|00003fb0| 44 56 6f 6c 75 6d 65 36 | 26 22 53 74 61 63 6b 20 |DVolume6|&"Stack |
|00003fc0| 44 61 74 61 3a 49 6e 66 | 6f 20 43 65 6e 74 65 72 |Data:Inf|o Center|
|00003fd0| 3a 22 0d 65 6e 64 20 69 | 6e 66 6f 43 65 6e 74 65 |:".end i|nfoCente|
|00003fe0| 72 44 61 74 61 50 61 74 | 68 0d 0d 66 75 6e 63 74 |rDataPat|h..funct|
|00003ff0| 69 6f 6e 20 69 6e 66 6f | 43 65 6e 74 65 72 50 61 |ion info|CenterPa|
|00004000| 74 68 0d 67 6c 6f 62 61 | 6c 20 67 43 44 56 6f 6c |th.globa|l gCDVol|
|00004010| 75 6d 65 36 0d 72 65 74 | 75 72 6e 20 67 43 44 56 |ume6.ret|urn gCDV|
|00004020| 6f 6c 75 6d 65 36 26 22 | 49 6e 66 6f 20 43 65 6e |olume6&"|Info Cen|
|00004030| 74 65 72 3a 22 0d 65 6e | 64 20 69 6e 66 6f 43 65 |ter:".en|d infoCe|
|00004040| 6e 74 65 72 50 61 74 68 | 0d 0d 6f 6e 20 63 6c 6f |nterPath|..on clo|
|00004050| 73 65 4d 6f 76 69 65 0d | 67 6c 6f 62 61 6c 20 67 |seMovie.|global g|
|00004060| 43 75 72 4d 6f 76 69 65 | 31 2c 67 41 52 50 4c 51 |CurMovie|1,gARPLQ|
|00004070| 54 41 75 64 69 6f 0d 73 | 70 69 6e 43 75 72 73 6f |TAudio.s|pinCurso|
|00004080| 72 0d 70 75 74 20 74 68 | 65 20 61 75 64 69 6f 4c |r.put th|e audioL|
|00004090| 65 76 65 6c 20 6f 66 20 | 77 69 6e 64 6f 77 20 67 |evel of |window g|
|000040a0| 43 75 72 4d 6f 76 69 65 | 31 20 69 6e 74 6f 20 67 |CurMovie|1 into g|
|000040b0| 41 52 50 4c 51 54 41 75 | 64 69 6f 0d 65 6e 64 20 |ARPLQTAu|dio.end |
|000040c0| 63 6c 6f 73 65 4d 6f 76 | 69 65 0d 0d 6f 6e 20 63 |closeMov|ie..on c|
|000040d0| 6c 65 61 72 4d 6f 76 69 | 65 0d 67 6c 6f 62 61 6c |learMovi|e.global|
|000040e0| 20 67 43 75 72 4d 6f 76 | 69 65 31 0d 69 66 20 74 | gCurMov|ie1.if t|
|000040f0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00004100| 20 67 43 75 72 4d 6f 76 | 69 65 31 20 74 68 65 6e | gCurMov|ie1 then|
|00004110| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 67 43 | close w|indow gC|
|00004120| 75 72 4d 6f 76 69 65 31 | 0d 70 75 74 20 22 22 20 |urMovie1|.put "" |
|00004130| 69 6e 74 6f 20 67 43 75 | 72 4d 6f 76 69 65 31 0d |into gCu|rMovie1.|
|00004140| 65 6e 64 20 63 6c 65 61 | 72 4d 6f 76 69 65 0d 0d |end clea|rMovie..|
|00004150| 66 75 6e 63 74 69 6f 6e | 20 74 68 65 72 65 49 73 |function| thereIs|
|00004160| 41 46 69 6c 65 20 74 46 | 0d 67 6c 6f 62 61 6c 20 |AFile tF|.global |
|00004170| 65 72 72 47 6c 6f 62 61 | 6c 0d 72 65 74 75 72 6e |errGloba|l.return|
|00004180| 20 66 69 6c 65 45 78 69 | 73 74 73 28 74 46 2c 22 | fileExi|sts(tF,"|
|00004190| 6e 6f 64 69 61 6c 6f 67 | 3a 65 72 72 47 6c 6f 62 |nodialog|:errGlob|
|000041a0| 61 6c 22 29 0d 65 6e 64 | 20 74 68 65 72 65 49 73 |al").end| thereIs|
|000041b0| 41 46 69 6c 65 0d 0d 6f | 6e 20 44 72 61 77 43 6f |AFile..o|n DrawCo|
|000041c0| 6c 6f 72 20 74 68 65 50 | 61 74 68 2c 74 68 65 52 |lor theP|ath,theR|
|000041d0| 65 63 74 2c 74 68 65 52 | 65 63 74 32 0d 67 6c 6f |ect,theR|ect2.glo|
|000041e0| 62 61 6c 20 75 73 65 72 | 4e 61 6d 65 2c 67 50 69 |bal user|Name,gPi|
|000041f0| 63 74 50 61 74 68 0d 69 | 66 20 74 68 65 50 61 74 |ctPath.i|f thePat|
|00004200| 68 20 3d 20 22 22 20 74 | 68 65 6e 20 65 78 69 74 |h = "" t|hen exit|
|00004210| 20 64 72 61 77 43 6f 6c | 6f 72 0d 69 66 20 74 68 | drawCol|or.if th|
|00004220| 65 50 61 74 68 20 69 73 | 20 69 6e 20 22 43 6c 65 |ePath is| in "Cle|
|00004230| 61 72 45 72 61 73 65 22 | 20 74 68 65 6e 0d 43 6f |arErase"| then.Co|
|00004240| 6c 6f 72 69 7a 65 48 43 | 20 22 45 72 61 73 65 22 |lorizeHC| "Erase"|
|00004250| 2c 72 65 63 74 20 6f 66 | 20 74 68 69 73 20 63 64 |,rect of| this cd|
|00004260| 0d 65 6c 73 65 0d 2d 2d | a5 a5 ca 54 6f 67 67 6c |.else.--|...Toggl|
|00004270| 65 20 63 6f 6d 6d 65 6e | 74 20 6f 66 20 6e 65 78 |e commen|t of nex|
|00004280| 74 20 35 20 6c 69 6e 65 | 73 20 74 6f 20 75 73 65 |t 5 line|s to use|
|00004290| 20 72 65 73 20 6f 72 20 | 66 69 6c 65 0d 69 66 20 | res or |file.if |
|000042a0| 67 50 69 63 74 50 61 74 | 68 20 3d 20 22 22 20 74 |gPictPat|h = "" t|
|000042b0| 68 65 6e 20 70 75 74 20 | 70 69 63 74 50 61 74 68 |hen put |pictPath|
|000042c0| 28 29 20 69 6e 74 6f 20 | 67 50 69 63 74 50 61 74 |() into |gPictPat|
|000042d0| 68 0d 69 66 20 22 3a 22 | 20 69 73 20 6e 6f 74 20 |h.if ":"| is not |
|000042e0| 69 6e 20 74 68 65 50 61 | 74 68 20 74 68 65 6e 0d |in thePa|th then.|
|000042f0| 70 75 74 20 67 50 69 63 | 74 50 61 74 68 26 20 74 |put gPic|tPath& t|
|00004300| 68 65 50 61 74 68 20 69 | 6e 74 6f 20 74 65 6d 70 |hePath i|nto temp|
|00004310| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |.if ther|e is a f|
|00004320| 69 6c 65 20 74 65 6d 70 | 20 74 68 65 6e 20 70 75 |ile temp| then pu|
|00004330| 74 20 74 65 6d 70 20 69 | 6e 74 6f 20 74 68 65 50 |t temp i|nto theP|
|00004340| 61 74 68 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 |ath.end |if.if th|
|00004350| 65 52 65 63 74 20 3d 20 | 22 22 20 61 6e 64 20 74 |eRect = |"" and t|
|00004360| 68 65 52 65 63 74 32 20 | 69 73 20 6e 6f 74 20 22 |heRect2 |is not "|
|00004370| 22 20 74 68 65 6e 20 70 | 75 74 20 72 65 63 74 20 |" then p|ut rect |
|00004380| 6f 66 20 63 64 20 77 69 | 6e 64 6f 77 20 69 6e 74 |of cd wi|ndow int|
|00004390| 6f 20 74 68 65 52 65 63 | 74 0d 2d 2d 20 69 66 20 |o theRec|t.-- if |
|000043a0| 74 68 65 72 65 20 69 73 | 20 61 20 66 69 6c 65 20 |there is| a file |
|000043b0| 74 68 65 50 61 74 68 20 | 74 68 65 6e 0d 63 6f 6c |thePath |then.col|
|000043c0| 6f 72 69 7a 65 48 43 20 | 22 61 64 64 22 2c 74 68 |orizeHC |"add",th|
|000043d0| 65 50 61 74 68 2c 74 68 | 65 52 65 63 74 2c 74 68 |ePath,th|eRect,th|
|000043e0| 65 52 65 63 74 32 0d 2d | 2d 20 65 6c 73 65 20 69 |eRect2.-|- else i|
|000043f0| 66 20 75 73 65 72 4e 61 | 6d 65 20 3d 20 22 50 65 |f userNa|me = "Pe|
|00004400| 74 65 72 20 4d 65 79 65 | 72 22 20 74 68 65 6e 0d |ter Meye|r" then.|
|00004410| 2d 2d 20 61 6e 73 77 65 | 72 20 22 43 6f 6c 6f 72 |-- answe|r "Color|
|00004420| 69 7a 65 48 43 20 2d 20 | 6e 6f 20 66 69 6c 65 20 |izeHC - |no file |
|00004430| d2 22 26 20 74 68 65 50 | 61 74 68 20 26 20 22 d3 |."& theP|ath & ".|
|00004440| 22 0d 2d 2d 20 65 6e 64 | 20 69 66 0d 65 6e 64 20 |".-- end| if.end |
|00004450| 69 66 0d 2d 2d 20 67 65 | 74 20 74 68 65 20 72 65 |if.-- ge|t the re|
|00004460| 73 75 6c 74 0d 2d 2d 20 | 69 66 20 69 74 20 69 73 |sult.-- |if it is|
|00004470| 20 6e 6f 74 20 22 22 20 | 74 68 65 6e 0d 2d 2d 20 | not "" |then.-- |
|00004480| 61 6e 73 77 65 72 20 69 | 74 20 26 26 20 74 68 65 |answer i|t && the|
|00004490| 50 61 74 68 0d 2d 2d 20 | 65 6e 64 20 69 66 0d 67 |Path.-- |end if.g|
|000044a0| 6f 20 74 68 69 73 20 63 | 64 0d 65 6e 64 20 44 72 |o this c|d.end Dr|
|000044b0| 61 77 43 6f 6c 6f 72 0d | 0d 6f 6e 20 55 70 64 61 |awColor.|.on Upda|
|000044c0| 74 65 43 64 50 69 63 74 | 0d 65 6e 64 20 55 70 64 |teCdPict|.end Upd|
|000044d0| 61 74 65 43 64 50 69 63 | 74 0d 0d 66 75 6e 63 74 |ateCdPic|t..funct|
|000044e0| 69 6f 6e 20 61 6e 69 6d | 61 74 69 6f 6e 50 61 74 |ion anim|ationPat|
|000044f0| 68 0d 72 65 74 75 72 6e | 20 70 61 74 68 77 61 79 |h.return| pathway|
|00004500| 28 74 72 69 6d 28 6c 6f | 6e 67 20 6e 61 6d 65 20 |(trim(lo|ng name |
|00004510| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 29 29 20 |of this |stack)) |
|00004520| 26 20 22 41 6e 69 6d 61 | 74 69 6f 6e 73 3a 22 0d |& "Anima|tions:".|
|00004530| 65 6e 64 20 61 6e 69 6d | 61 74 69 6f 6e 50 61 74 |end anim|ationPat|
|00004540| 68 0d 0d 2d 2d 20 66 75 | 6e 63 74 69 6f 6e 20 6d |h..-- fu|nction m|
|00004550| 6f 76 69 65 50 61 74 68 | 0d 2d 2d 20 72 65 74 75 |oviePath|.-- retu|
|00004560| 72 6e 20 70 61 74 68 77 | 61 79 28 74 72 69 6d 28 |rn pathw|ay(trim(|
|00004570| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |long nam|e of thi|
|00004580| 73 20 73 74 61 63 6b 29 | 29 20 26 20 22 4d 6f 6f |s stack)|) & "Moo|
|00004590| 56 3a 22 0d 2d 2d 20 65 | 6e 64 20 6d 6f 76 69 65 |V:".-- e|nd movie|
|000045a0| 50 61 74 68 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 74 |Path..fu|nction t|
|000045b0| 72 69 6d 20 74 4e 0d 64 | 65 6c 65 74 65 20 63 68 |rim tN.d|elete ch|
|000045c0| 61 72 20 31 20 74 6f 20 | 37 20 6f 66 20 74 4e 0d |ar 1 to |7 of tN.|
|000045d0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|000045e0| 20 6f 66 20 74 4e 0d 72 | 65 74 75 72 6e 20 74 4e | of tN.r|eturn tN|
|000045f0| 0d 65 6e 64 20 74 72 69 | 6d 0d 0d 46 75 6e 63 74 |.end tri|m..Funct|
|00004600| 69 6f 6e 20 50 61 74 68 | 57 61 79 20 74 68 65 46 |ion Path|Way theF|
|00004610| 69 6c 65 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ile.repe|at with |
|00004620| 69 20 3d 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |i = leng|th of th|
|00004630| 65 46 69 6c 65 20 64 6f | 77 6e 20 74 6f 20 31 0d |eFile do|wn to 1.|
|00004640| 69 66 20 63 68 61 72 20 | 69 20 6f 66 20 74 68 65 |if char |i of the|
|00004650| 46 69 6c 65 20 3d 20 22 | 3a 22 20 74 68 65 6e 20 |File = "|:" then |
|00004660| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00004670| 72 65 70 65 61 74 0d 69 | 66 20 69 20 3c 20 32 20 |repeat.i|f i < 2 |
|00004680| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 74 68 65 46 |then ret|urn theF|
|00004690| 69 6c 65 0d 65 6c 73 65 | 20 72 65 74 75 72 6e 20 |ile.else| return |
|000046a0| 28 63 68 61 72 20 31 20 | 74 6f 20 69 20 6f 66 20 |(char 1 |to i of |
|000046b0| 74 68 65 46 69 6c 65 29 | 0d 65 6e 64 20 50 61 74 |theFile)|.end Pat|
|000046c0| 68 57 61 79 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 52 |hWay..fu|nction R|
|000046d0| 65 6d 6f 76 65 50 61 74 | 68 20 66 0d 70 75 74 20 |emovePat|h f.put |
|000046e0| 30 20 69 6e 74 6f 20 69 | 0d 70 75 74 20 6c 65 6e |0 into i|.put len|
|000046f0| 67 74 68 20 6f 66 20 66 | 20 69 6e 74 6f 20 70 4c |gth of f| into pL|
|00004700| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00004710| 20 70 4c 20 64 6f 77 6e | 20 74 6f 20 31 0d 69 66 | pL down| to 1.if|
|00004720| 20 63 68 61 72 20 69 20 | 6f 66 20 66 20 3d 20 22 | char i |of f = "|
|00004730| 3a 22 20 74 68 65 6e 20 | 65 78 69 74 20 72 65 70 |:" then |exit rep|
|00004740| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 61 |eat.end |repeat.a|
|00004750| 64 64 20 31 20 74 6f 20 | 69 0d 69 66 20 70 4c 20 |dd 1 to |i.if pL |
|00004760| b2 20 69 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |. i then| return |
|00004770| 66 0d 65 6c 73 65 20 72 | 65 74 75 72 6e 20 28 63 |f.else r|eturn (c|
|00004780| 68 61 72 20 69 20 74 6f | 20 70 4c 20 6f 66 20 66 |har i to| pL of f|
|00004790| 29 0d 65 6e 64 20 52 65 | 6d 6f 76 65 50 61 74 68 |).end Re|movePath|
|000047a0| 0d 0d 6f 6e 20 72 75 6e | 44 69 72 65 63 74 20 74 |..on run|Direct t|
|000047b0| 4d 2c 6d 4c 6f 63 2c 63 | 6c 6f 73 65 46 6c 61 67 |M,mLoc,c|loseFlag|
|000047c0| 2c 77 64 53 74 79 6c 65 | 2c 69 6e 76 69 73 0d 67 |,wdStyle|,invis.g|
|000047d0| 6c 6f 62 61 6c 20 67 43 | 75 72 4d 6f 76 69 65 31 |lobal gC|urMovie1|
|000047e0| 2c 67 41 52 50 4c 51 54 | 41 75 64 69 6f 2c 67 4e |,gARPLQT|Audio,gN|
|000047f0| 61 72 72 61 74 69 6f 6e | 0d 69 66 20 22 3a 22 20 |arration|.if ":" |
|00004800| 69 73 20 6e 6f 74 20 69 | 6e 20 74 4d 20 74 68 65 |is not i|n tM the|
|00004810| 6e 20 70 75 74 20 6d 6f | 76 69 65 50 61 74 68 28 |n put mo|viePath(|
|00004820| 29 20 62 65 66 6f 72 65 | 20 74 4d 0d 69 66 20 74 |) before| tM.if t|
|00004830| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 66 69 |here is |not a fi|
|00004840| 6c 65 20 74 4d 20 74 68 | 65 6e 0d 70 75 74 20 22 |le tM th|en.put "|
|00004850| 22 20 69 6e 74 6f 20 67 | 43 75 72 4d 6f 76 69 65 |" into g|CurMovie|
|00004860| 31 0d 2d 2d 73 65 6e 64 | 20 6f 70 65 6e 43 61 72 |1.--send| openCar|
|00004870| 64 20 74 6f 20 74 68 69 | 73 20 63 64 0d 61 6e 73 |d to thi|s cd.ans|
|00004880| 77 65 72 20 22 4d 6f 76 | 69 65 20 d2 22 26 74 4d |wer "Mov|ie ."&tM|
|00004890| 20 26 20 22 d3 20 6e 6f | 74 20 66 6f 75 6e 64 2e | & ". no|t found.|
|000048a0| 20 50 6c 65 61 73 65 20 | 6d 6f 75 6e 74 20 74 68 | Please |mount th|
|000048b0| 65 20 43 44 2e 22 0d 65 | 78 69 74 20 72 75 6e 44 |e CD.".e|xit runD|
|000048c0| 69 72 65 63 74 0d 65 6e | 64 20 69 66 0d 73 70 69 |irect.en|d if.spi|
|000048d0| 6e 43 75 72 73 6f 72 0d | 69 66 20 74 68 65 72 65 |nCursor.|if there|
|000048e0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 67 43 75 | is a wi|ndow gCu|
|000048f0| 72 4d 6f 76 69 65 31 20 | 74 68 65 6e 0d 73 65 74 |rMovie1 |then.set|
|00004900| 20 43 75 72 72 54 69 6d | 65 20 6f 66 20 77 69 6e | CurrTim|e of win|
|00004910| 64 6f 77 20 67 43 75 72 | 4d 6f 76 69 65 31 20 74 |dow gCur|Movie1 t|
|00004920| 6f 20 30 0d 73 65 6e 64 | 20 22 50 6c 61 79 22 20 |o 0.send| "Play" |
|00004930| 74 6f 20 77 69 6e 64 6f | 77 20 67 43 75 72 4d 6f |to windo|w gCurMo|
|00004940| 76 69 65 31 0d 65 6c 73 | 65 0d 69 66 20 77 64 53 |vie1.els|e.if wdS|
|00004950| 74 79 6c 65 20 3d 20 22 | 22 20 74 68 65 6e 20 70 |tyle = "|" then p|
|00004960| 75 74 20 22 62 6f 72 64 | 65 72 4c 65 73 73 22 20 |ut "bord|erLess" |
|00004970| 69 6e 74 6f 20 77 64 53 | 74 79 6c 65 0d 69 66 20 |into wdS|tyle.if |
|00004980| 6d 4c 6f 63 20 3d 20 22 | 22 20 74 68 65 6e 20 70 |mLoc = "|" then p|
|00004990| 75 74 20 22 43 61 72 64 | 22 20 69 6e 74 6f 20 6d |ut "Card|" into m|
|000049a0| 4c 6f 63 0d 4d 6f 76 69 | 65 20 74 4d 2c 77 64 53 |Loc.Movi|e tM,wdS|
|000049b0| 74 79 6c 65 2c 6d 4c 6f | 63 2c 22 69 6e 76 69 73 |tyle,mLo|c,"invis|
|000049c0| 69 62 6c 65 22 2c 22 66 | 6c 6f 61 74 69 6e 67 22 |ible","f|loating"|
|000049d0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|000049e0| 73 20 6e 6f 74 20 22 22 | 20 74 68 65 6e 0d 61 6e |s not ""| then.an|
|000049f0| 73 77 65 72 20 74 68 65 | 20 72 65 73 75 6c 74 0d |swer the| result.|
|00004a00| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|00004a10| 64 0d 65 6e 64 20 69 66 | 0d 73 70 69 6e 43 75 72 |d.end if|.spinCur|
|00004a20| 73 6f 72 0d 70 75 74 20 | 72 65 6d 6f 76 65 50 61 |sor.put |removePa|
|00004a30| 74 68 28 74 4d 29 20 69 | 6e 74 6f 20 67 43 75 72 |th(tM) i|nto gCur|
|00004a40| 4d 6f 76 69 65 31 0d 69 | 66 20 63 6c 6f 73 65 46 |Movie1.i|f closeF|
|00004a50| 6c 61 67 20 3d 20 22 54 | 72 75 65 22 20 74 68 65 |lag = "T|rue" the|
|00004a60| 6e 20 73 65 74 20 63 6c | 6f 73 65 4f 6e 46 69 6e |n set cl|oseOnFin|
|00004a70| 69 73 68 20 6f 66 20 77 | 69 6e 64 6f 77 20 67 43 |ish of w|indow gC|
|00004a80| 75 72 4d 6f 76 69 65 31 | 20 74 6f 20 74 72 75 65 |urMovie1| to true|
|00004a90| 0d 2d 2d 20 69 66 20 6e | 6f 74 20 28 67 4e 61 72 |.-- if n|ot (gNar|
|00004aa0| 72 61 74 69 6f 6e 20 3d | 20 22 53 70 6f 6b 65 6e |ration =| "Spoken|
|00004ab0| 22 29 20 61 6e 64 20 22 | 41 6e 69 6d 61 74 69 6f |") and "|Animatio|
|00004ac0| 6e 22 20 69 73 20 6e 6f | 74 20 69 6e 20 73 68 6f |n" is no|t in sho|
|00004ad0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004ae0| 73 74 61 63 6b 20 74 68 | 65 6e 0d 69 66 20 67 41 |stack th|en.if gA|
|00004af0| 52 50 4c 51 54 41 75 64 | 69 6f 20 3d 20 22 22 20 |RPLQTAud|io = "" |
|00004b00| 74 68 65 6e 20 70 75 74 | 20 32 35 36 20 69 6e 74 |then put| 256 int|
|00004b10| 6f 20 67 41 52 50 4c 51 | 54 41 75 64 69 6f 0d 69 |o gARPLQ|TAudio.i|
|00004b20| 66 20 28 67 4e 61 72 72 | 61 74 69 6f 6e 20 3d 20 |f (gNarr|ation = |
|00004b30| 22 54 65 78 74 22 29 20 | 74 68 65 6e 0d 73 65 74 |"Text") |then.set|
|00004b40| 20 74 68 65 20 61 75 64 | 69 6f 4c 65 76 65 6c 20 | the aud|ioLevel |
|00004b50| 6f 66 20 77 69 6e 64 6f | 77 20 67 43 75 72 4d 6f |of windo|w gCurMo|
|00004b60| 76 69 65 31 20 74 6f 20 | 30 0d 69 66 20 73 68 6f |vie1 to |0.if sho|
|00004b70| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004b80| 73 74 61 63 6b 20 69 73 | 20 6e 6f 74 20 41 6e 69 |stack is| not Ani|
|00004b90| 6d 61 74 69 6f 6e 28 29 | 20 74 68 65 6e 0d 73 65 |mation()| then.se|
|00004ba0| 74 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |t the co|ntroller|
|00004bb0| 56 69 73 69 62 6c 65 20 | 6f 66 20 77 69 6e 64 6f |Visible |of windo|
|00004bc0| 77 20 67 43 75 72 4d 6f | 76 69 65 31 20 74 6f 20 |w gCurMo|vie1 to |
|00004bd0| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 65 6c 73 |false.en|d if.els|
|00004be0| 65 0d 73 65 74 20 74 68 | 65 20 61 75 64 69 6f 4c |e.set th|e audioL|
|00004bf0| 65 76 65 6c 20 6f 66 20 | 77 69 6e 64 6f 77 20 67 |evel of |window g|
|00004c00| 43 75 72 4d 6f 76 69 65 | 31 20 74 6f 20 67 41 52 |CurMovie|1 to gAR|
|00004c10| 50 4c 51 54 41 75 64 69 | 6f 0d 69 66 20 74 68 65 |PLQTAudi|o.if the|
|00004c20| 72 65 20 69 73 20 61 20 | 62 67 20 62 74 6e 20 22 |re is a |bg btn "|
|00004c30| 4e 6f 20 53 6f 75 6e 64 | 22 20 74 68 65 6e 0d 73 |No Sound|" then.s|
|00004c40| 65 74 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 6c 65 |et the c|ontrolle|
|00004c50| 72 56 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 |rVisible| of wind|
|00004c60| 6f 77 20 67 43 75 72 4d | 6f 76 69 65 31 20 74 6f |ow gCurM|ovie1 to|
|00004c70| 20 6e 6f 74 20 28 68 69 | 6c 69 74 65 20 6f 66 20 | not (hi|lite of |
|00004c80| 62 67 20 62 74 6e 20 22 | 4e 6f 20 53 6f 75 6e 64 |bg btn "|No Sound|
|00004c90| 22 29 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |").end i|f.end if|
|00004ca0| 0d 73 65 74 20 74 68 65 | 20 62 61 64 67 65 20 6f |.set the| badge o|
|00004cb0| 66 20 77 69 6e 64 6f 77 | 20 67 43 75 72 4d 6f 76 |f window| gCurMov|
|00004cc0| 69 65 31 20 74 6f 20 66 | 61 6c 73 65 0d 73 68 6f |ie1 to f|alse.sho|
|00004cd0| 77 20 63 64 20 77 69 6e | 64 6f 77 0d 69 66 20 69 |w cd win|dow.if i|
|00004ce0| 6e 76 69 73 20 69 73 20 | 6e 6f 74 20 74 72 75 65 |nvis is |not true|
|00004cf0| 20 74 68 65 6e 20 73 68 | 6f 77 20 77 69 6e 64 6f | then sh|ow windo|
|00004d00| 77 20 67 43 75 72 4d 6f | 76 69 65 31 20 61 74 20 |w gCurMo|vie1 at |
|00004d10| 30 2c 30 0d 73 65 74 20 | 74 68 65 20 72 61 74 65 |0,0.set |the rate|
|00004d20| 20 6f 66 20 77 69 6e 64 | 6f 77 20 67 43 75 72 4d | of wind|ow gCurM|
|00004d30| 6f 76 69 65 31 20 74 6f | 20 2e 30 31 0d 77 61 69 |ovie1 to| .01.wai|
|00004d40| 74 20 35 0d 73 65 74 20 | 74 68 65 20 72 61 74 65 |t 5.set |the rate|
|00004d50| 20 6f 66 20 77 69 6e 64 | 6f 77 20 67 43 75 72 4d | of wind|ow gCurM|
|00004d60| 6f 76 69 65 31 20 74 6f | 20 31 0d 2d 2d 20 73 65 |ovie1 to| 1.-- se|
|00004d70| 6e 64 20 22 50 6c 61 79 | 22 20 74 6f 20 77 69 6e |nd "Play|" to win|
|00004d80| 64 6f 77 20 67 43 75 72 | 4d 6f 76 69 65 31 0d 65 |dow gCur|Movie1.e|
|00004d90| 6e 64 20 69 66 0d 73 70 | 69 6e 43 75 72 73 6f 72 |nd if.sp|inCursor|
|00004da0| 0d 65 6e 64 20 72 75 6e | 44 69 72 65 63 74 0d 0d |.end run|Direct..|
|00004db0| 6f 6e 20 75 6e 64 65 72 | 44 65 76 0d 62 65 65 70 |on under|Dev.beep|
|00004dc0| 0d 61 6e 73 77 65 72 20 | 22 4e 6f 74 20 69 6d 70 |.answer |"Not imp|
|00004dd0| 6c 65 6d 65 6e 74 65 64 | 20 69 6e 20 74 68 69 73 |lemented| in this|
|00004de0| 20 70 72 6f 74 6f 74 79 | 70 65 2e 22 0d 65 78 69 | prototy|pe.".exi|
|00004df0| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|00004e00| 6e 64 20 75 6e 64 65 72 | 44 65 76 0d 0d 6f 6e 20 |nd under|Dev..on |
|00004e10| 72 0d 65 64 69 74 20 73 | 63 72 69 70 74 20 6f 66 |r.edit s|cript of|
|00004e20| 20 73 74 61 63 6b 20 22 | 41 52 50 4c 20 52 65 73 | stack "|ARPL Res|
|00004e30| 6f 75 72 63 65 73 22 0d | 65 6e 64 20 72 0d 0d 6f |ources".|end r..o|
|00004e40| 6e 20 73 65 6c 65 63 74 | 4c 69 6e 65 20 6c 69 6e |n select|Line lin|
|00004e50| 65 4e 75 6d 2c 66 6c 64 | 4e 75 6d 0d 64 6f 20 28 |eNum,fld|Num.do (|
|00004e60| 22 70 75 74 20 6c 69 6e | 65 20 6c 69 6e 65 4e 75 |"put lin|e lineNu|
|00004e70| 6d 20 6f 66 20 66 6c 64 | 20 22 20 26 20 66 6c 64 |m of fld| " & fld|
|00004e80| 4e 75 6d 20 26 20 22 20 | 69 6e 74 6f 20 74 68 65 |Num & " |into the|
|00004e90| 4c 69 6e 65 22 29 0d 69 | 66 20 74 68 65 4c 69 6e |Line").i|f theLin|
|00004ea0| 65 20 69 73 20 6e 6f 74 | 20 22 22 20 74 68 65 6e |e is not| "" then|
|00004eb0| 0d 64 6f 20 28 22 70 75 | 74 20 28 6e 75 6d 62 65 |.do ("pu|t (numbe|
|00004ec0| 72 20 6f 66 20 63 68 61 | 72 73 20 6f 66 20 6c 69 |r of cha|rs of li|
|00004ed0| 6e 65 20 31 20 74 6f 20 | 6c 69 6e 65 4e 75 6d 20 |ne 1 to |lineNum |
|00004ee0| 6f 66 20 66 6c 64 20 22 | 20 26 20 66 6c 64 4e 75 |of fld "| & fldNu|
|00004ef0| 6d 20 26 22 29 20 2b 20 | 31 20 69 6e 74 6f 20 65 |m &") + |1 into e|
|00004f00| 6e 64 43 68 61 72 22 20 | 26 c2 0d 72 65 74 75 72 |ndChar" |&..retur|
|00004f10| 6e 20 26 20 22 73 65 6c | 65 63 74 20 63 68 61 72 |n & "sel|ect char|
|00004f20| 20 28 65 6e 64 43 68 61 | 72 20 2d 20 6c 65 6e 67 | (endCha|r - leng|
|00004f30| 74 68 20 6f 66 20 74 68 | 65 4c 69 6e 65 29 20 74 |th of th|eLine) t|
|00004f40| 6f 20 65 6e 64 43 68 61 | 72 20 6f 66 20 66 6c 64 |o endCha|r of fld|
|00004f50| 20 22 20 26 20 66 6c 64 | 4e 75 6d 29 0d 65 6e 64 | " & fld|Num).end|
|00004f60| 20 69 66 0d 73 65 6c 65 | 63 74 20 6c 69 6e 65 20 | if.sele|ct line |
|00004f70| 6c 69 6e 65 4e 75 6d 20 | 6f 66 20 66 6c 64 20 66 |lineNum |of fld f|
|00004f80| 6c 64 4e 75 6d 0d 65 6e | 64 20 73 65 6c 65 63 74 |ldNum.en|d select|
|00004f90| 4c 69 6e 65 0d 0d 6f 6e | 20 73 65 6c 65 63 74 4c |Line..on| selectL|
|00004fa0| 69 6e 65 43 64 20 6c 69 | 6e 65 4e 75 6d 2c 66 6c |ineCd li|neNum,fl|
|00004fb0| 64 4e 75 6d 0d 73 65 6c | 65 63 74 20 6c 69 6e 65 |dNum.sel|ect line|
|00004fc0| 20 6c 69 6e 65 4e 75 6d | 20 6f 66 20 63 64 20 66 | lineNum| of cd f|
|00004fd0| 6c 64 20 28 6c 61 73 74 | 20 77 6f 72 64 20 6f 66 |ld (last| word of|
|00004fe0| 20 66 6c 64 4e 75 6d 29 | 0d 65 6e 64 20 73 65 6c | fldNum)|.end sel|
|00004ff0| 65 63 74 4c 69 6e 65 43 | 64 0d 0d 6f 6e 20 4c 69 |ectLineC|d..on Li|
|00005000| 6e 6b 54 6f 4d 61 69 6e | 0d 4c 69 6e 6b 54 6f 43 |nkToMain|.LinkToC|
|00005010| 61 72 64 20 22 4d 61 69 | 6e 22 0d 65 6e 64 20 4c |ard "Mai|n".end L|
|00005020| 69 6e 6b 54 6f 4d 61 69 | 6e 0d 0d 6f 6e 20 4c 69 |inkToMai|n..on Li|
|00005030| 6e 6b 54 6f 43 61 72 64 | 20 74 68 65 43 64 2c 74 |nkToCard| theCd,t|
|00005040| 68 65 45 66 66 65 63 74 | 2c 74 68 65 53 74 61 63 |heEffect|,theStac|
|00005050| 6b 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 73 70 |k.lock s|creen.sp|
|00005060| 69 6e 43 75 72 73 6f 72 | 0d 69 66 20 74 68 65 53 |inCursor|.if theS|
|00005070| 74 61 63 6b 20 3d 20 22 | 22 20 74 68 65 6e 20 70 |tack = "|" then p|
|00005080| 75 74 20 6c 6f 6e 67 20 | 6e 61 6d 65 20 6f 66 20 |ut long |name of |
|00005090| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|000050a0| 74 68 65 53 74 61 63 6b | 0d 67 6f 20 63 64 20 63 |theStack|.go cd c|
|000050b0| 68 61 72 20 31 20 74 6f | 20 33 30 20 6f 66 20 74 |har 1 to| 30 of t|
|000050c0| 68 65 43 64 20 6f 66 20 | 74 68 65 53 74 61 63 6b |heCd of |theStack|
|000050d0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|000050e0| 69 66 20 69 74 20 69 73 | 20 6e 6f 74 20 22 22 20 |if it is| not "" |
|000050f0| 74 68 65 6e 0d 75 6e 64 | 65 72 44 65 76 0d 65 6e |then.und|erDev.en|
|00005100| 64 20 69 66 0d 77 61 69 | 74 20 75 6e 74 69 6c 20 |d if.wai|t until |
|00005110| 6e 6f 74 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |not the |mouseCli|
|00005120| 63 6b 0d 65 6e 64 20 6c | 69 6e 6b 54 6f 43 61 72 |ck.end l|inkToCar|
|00005130| 64 0d 0d 6f 6e 20 4c 69 | 6e 6b 54 6f 43 61 72 64 |d..on Li|nkToCard|
|00005140| 49 44 20 74 68 65 49 44 | 2c 74 68 65 45 66 66 65 |ID theID|,theEffe|
|00005150| 63 74 2c 74 68 65 53 74 | 61 63 6b 2c 6e 65 77 57 |ct,theSt|ack,newW|
|00005160| 69 6e 64 6f 77 46 6c 61 | 67 0d 6c 6f 63 6b 20 73 |indowFla|g.lock s|
|00005170| 63 72 65 65 6e 0d 73 70 | 69 6e 43 75 72 73 6f 72 |creen.sp|inCursor|
|00005180| 0d 69 66 20 74 68 65 53 | 74 61 63 6b 20 3d 20 22 |.if theS|tack = "|
|00005190| 22 20 74 68 65 6e 20 70 | 75 74 20 6c 6f 6e 67 20 |" then p|ut long |
|000051a0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|000051b0| 63 6b 20 69 6e 74 6f 20 | 74 68 65 53 74 61 63 6b |ck into |theStack|
|000051c0| 0d 69 66 20 6e 65 77 57 | 69 6e 64 6f 77 46 6c 61 |.if newW|indowFla|
|000051d0| 67 20 3d 20 74 72 75 65 | 20 74 68 65 6e 0d 67 6f |g = true| then.go|
|000051e0| 20 63 64 20 69 64 20 74 | 68 65 49 44 20 6f 66 20 | cd id t|heID of |
|000051f0| 74 68 65 53 74 61 63 6b | 20 69 6e 20 61 20 6e 65 |theStack| in a ne|
|00005200| 77 20 77 69 6e 64 6f 77 | 0d 65 6c 73 65 20 67 6f |w window|.else go|
|00005210| 20 63 64 20 69 64 20 74 | 68 65 49 44 20 6f 66 20 | cd id t|heID of |
|00005220| 74 68 65 53 74 61 63 6b | 0d 69 66 20 74 68 65 45 |theStack|.if theE|
|00005230| 66 66 65 63 74 20 69 73 | 20 6e 6f 74 20 22 22 20 |ffect is| not "" |
|00005240| 74 68 65 6e 20 75 6e 6c | 6f 63 6b 20 73 63 72 65 |then unl|ock scre|
|00005250| 65 6e 20 77 69 74 68 20 | 74 68 65 45 66 66 65 63 |en with |theEffec|
|00005260| 74 0d 77 61 69 74 20 75 | 6e 74 69 6c 20 6e 6f 74 |t.wait u|ntil not|
|00005270| 20 74 68 65 20 6d 6f 75 | 73 65 43 6c 69 63 6b 0d | the mou|seClick.|
|00005280| 65 6e 64 20 4c 69 6e 6b | 54 6f 43 61 72 64 49 44 |end Link|ToCardID|
|00005290| 0d 0d 6f 6e 20 4c 69 6e | 6b 54 6f 53 74 61 63 6b |..on Lin|kToStack|
|000052a0| 20 74 68 65 53 74 6b 2c | 74 68 65 45 66 66 65 63 | theStk,|theEffec|
|000052b0| 74 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 73 70 |t.lock s|creen.sp|
|000052c0| 69 6e 43 75 72 73 6f 72 | 0d 67 6f 20 73 74 61 63 |inCursor|.go stac|
|000052d0| 6b 20 74 68 65 53 74 6b | 20 2d 2d 69 6e 20 61 20 |k theStk| --in a |
|000052e0| 6e 65 77 20 77 69 6e 64 | 6f 77 0d 69 66 20 74 68 |new wind|ow.if th|
|000052f0| 65 45 66 66 65 63 74 20 | 69 73 20 6e 6f 74 20 22 |eEffect |is not "|
|00005300| 22 20 74 68 65 6e 20 75 | 6e 6c 6f 63 6b 20 73 63 |" then u|nlock sc|
|00005310| 72 65 65 6e 20 77 69 74 | 68 20 74 68 65 45 66 66 |reen wit|h theEff|
|00005320| 65 63 74 0d 65 6e 64 20 | 4c 69 6e 6b 54 6f 53 74 |ect.end |LinkToSt|
|00005330| 61 63 6b 0d 0d 6f 6e 20 | 53 70 69 6e 43 75 72 73 |ack..on |SpinCurs|
|00005340| 6f 72 0d 67 6c 6f 62 61 | 6c 20 43 75 72 73 49 44 |or.globa|l CursID|
|00005350| 0d 69 66 20 43 75 72 73 | 49 44 20 3c 20 32 35 36 |.if Curs|ID < 256|
|00005360| 20 6f 72 20 43 75 72 73 | 49 44 20 3e 20 32 36 32 | or Curs|ID > 262|
|00005370| 20 74 68 65 6e 20 70 75 | 74 20 32 35 36 20 69 6e | then pu|t 256 in|
|00005380| 74 6f 20 43 75 72 73 49 | 44 0d 65 6c 73 65 20 61 |to CursI|D.else a|
|00005390| 64 64 20 31 20 74 6f 20 | 43 75 72 73 49 44 0d 73 |dd 1 to |CursID.s|
|000053a0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 43 75 72 |et curso|r to Cur|
|000053b0| 73 49 44 0d 65 6e 64 20 | 53 70 69 6e 43 75 72 73 |sID.end |SpinCurs|
|000053c0| 6f 72 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 4c 69 6e |or..func|tion Lin|
|000053d0| 65 4f 66 66 73 65 74 20 | 66 69 6e 64 54 65 78 74 |eOffset |findText|
|000053e0| 2c 66 69 6e 64 49 6e 0d | 69 66 20 66 69 6e 64 54 |,findIn.|if findT|
|000053f0| 65 78 74 20 69 73 20 6e | 6f 74 20 69 6e 20 66 69 |ext is n|ot in fi|
|00005400| 6e 64 49 6e 20 74 68 65 | 6e 20 72 65 74 75 72 6e |ndIn the|n return|
|00005410| 20 30 0d 70 75 74 20 72 | 65 74 75 72 6e 20 26 20 | 0.put r|eturn & |
|00005420| 66 69 6e 64 49 6e 20 26 | 20 72 65 74 75 72 6e 20 |findIn &| return |
|00005430| 69 6e 74 6f 20 66 69 6e | 64 49 6e 0d 72 65 74 75 |into fin|dIn.retu|
|00005440| 72 6e 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |rn numbe|r of lin|
|00005450| 65 73 20 6f 66 20 28 63 | 68 61 72 20 31 20 74 6f |es of (c|har 1 to|
|00005460| 20 6f 66 66 73 65 74 28 | 52 65 74 75 72 6e 26 66 | offset(|Return&f|
|00005470| 69 6e 64 54 65 78 74 26 | 52 65 74 75 72 6e 2c 66 |indText&|Return,f|
|00005480| 69 6e 64 49 6e 29 20 6f | 66 20 66 69 6e 64 49 6e |indIn) o|f findIn|
|00005490| 29 0d 65 6e 64 20 4c 69 | 6e 65 4f 66 66 73 65 74 |).end Li|neOffset|
|000054a0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 4c 69 6e 65 57 |..functi|on LineW|
|000054b0| 6f 72 64 4f 66 66 73 65 | 74 20 66 69 6e 64 54 65 |ordOffse|t findTe|
|000054c0| 78 74 2c 66 69 6e 64 49 | 6e 0d 69 66 20 66 69 6e |xt,findI|n.if fin|
|000054d0| 64 54 65 78 74 20 69 73 | 20 6e 6f 74 20 69 6e 20 |dText is| not in |
|000054e0| 66 69 6e 64 49 6e 20 74 | 68 65 6e 20 72 65 74 75 |findIn t|hen retu|
|000054f0| 72 6e 20 30 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |rn 0.put| return |
|00005500| 26 20 66 69 6e 64 49 6e | 20 69 6e 74 6f 20 66 69 |& findIn| into fi|
|00005510| 6e 64 49 6e 0d 72 65 74 | 75 72 6e 20 6e 75 6d 62 |ndIn.ret|urn numb|
|00005520| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 28 |er of li|nes of (|
|00005530| 63 68 61 72 20 31 20 74 | 6f 20 6f 66 66 73 65 74 |char 1 t|o offset|
|00005540| 28 52 65 74 75 72 6e 26 | 66 69 6e 64 54 65 78 74 |(Return&|findText|
|00005550| 26 22 20 22 2c 66 69 6e | 64 49 6e 29 20 6f 66 20 |&" ",fin|dIn) of |
|00005560| 66 69 6e 64 49 6e 29 0d | 65 6e 64 20 4c 69 6e 65 |findIn).|end Line|
|00005570| 57 6f 72 64 4f 66 66 73 | 65 74 0d 0d 66 75 6e 63 |WordOffs|et..func|
|00005580| 74 69 6f 6e 20 4c 69 6e | 65 49 74 65 6d 4f 66 66 |tion Lin|eItemOff|
|00005590| 73 65 74 20 66 69 6e 64 | 54 65 78 74 2c 66 69 6e |set find|Text,fin|
|000055a0| 64 49 6e 0d 69 66 20 66 | 69 6e 64 54 65 78 74 20 |dIn.if f|indText |
|000055b0| 69 73 20 6e 6f 74 20 69 | 6e 20 66 69 6e 64 49 6e |is not i|n findIn|
|000055c0| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 30 0d 70 | then re|turn 0.p|
|000055d0| 75 74 20 72 65 74 75 72 | 6e 20 26 20 66 69 6e 64 |ut retur|n & find|
|000055e0| 49 6e 20 26 20 72 65 74 | 75 72 6e 20 69 6e 74 6f |In & ret|urn into|
|000055f0| 20 66 69 6e 64 49 6e 0d | 72 65 74 75 72 6e 20 6e | findIn.|return n|
|00005600| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00005610| 66 20 28 63 68 61 72 20 | 31 20 74 6f 20 6f 66 66 |f (char |1 to off|
|00005620| 73 65 74 28 52 65 74 75 | 72 6e 26 66 69 6e 64 54 |set(Retu|rn&findT|
|00005630| 65 78 74 26 22 2c 22 2c | 66 69 6e 64 49 6e 29 20 |ext&",",|findIn) |
|00005640| 6f 66 20 66 69 6e 64 49 | 6e 29 0d 65 6e 64 20 4c |of findI|n).end L|
|00005650| 69 6e 65 49 74 65 6d 4f | 66 66 73 65 74 0d 0d 66 |ineItemO|ffset..f|
|00005660| 75 6e 63 74 69 6f 6e 20 | 4c 69 6e 65 43 68 75 6e |unction |LineChun|
|00005670| 6b 4f 66 66 73 65 74 20 | 66 69 6e 64 54 65 78 74 |kOffset |findText|
|00005680| 2c 66 69 6e 64 49 6e 2c | 63 68 75 6e 6b 44 65 6c |,findIn,|chunkDel|
|00005690| 69 6d 0d 69 66 20 66 69 | 6e 64 54 65 78 74 20 69 |im.if fi|ndText i|
|000056a0| 73 20 6e 6f 74 20 69 6e | 20 66 69 6e 64 49 6e 20 |s not in| findIn |
|000056b0| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 30 0d 70 75 |then ret|urn 0.pu|
|000056c0| 74 20 72 65 74 75 72 6e | 20 26 20 66 69 6e 64 49 |t return| & findI|
|000056d0| 6e 20 26 20 63 68 75 6e | 6b 44 65 6c 69 6d 20 69 |n & chun|kDelim i|
|000056e0| 6e 74 6f 20 66 69 6e 64 | 49 6e 0d 72 65 74 75 72 |nto find|In.retur|
|000056f0| 6e 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |n number| of line|
|00005700| 73 20 6f 66 20 28 63 68 | 61 72 20 31 20 74 6f 20 |s of (ch|ar 1 to |
|00005710| 6f 66 66 73 65 74 28 72 | 65 74 75 72 6e 20 26 20 |offset(r|eturn & |
|00005720| 66 69 6e 64 54 65 78 74 | 20 26 20 63 68 75 6e 6b |findText| & chunk|
|00005730| 44 65 6c 69 6d 2c 66 69 | 6e 64 49 6e 29 20 6f 66 |Delim,fi|ndIn) of|
|00005740| 20 66 69 6e 64 49 6e 29 | 0d 65 6e 64 20 4c 69 6e | findIn)|.end Lin|
|00005750| 65 43 68 75 6e 6b 4f 66 | 66 73 65 74 0d 0d 66 75 |eChunkOf|fset..fu|
|00005760| 6e 63 74 69 6f 6e 20 69 | 74 65 6d 4f 66 66 73 65 |nction i|temOffse|
|00005770| 74 20 66 69 6e 64 54 65 | 78 74 2c 66 69 6e 64 49 |t findTe|xt,findI|
|00005780| 6e 0d 70 75 74 20 22 2c | 22 20 26 20 66 69 6e 64 |n.put ",|" & find|
|00005790| 49 6e 20 26 20 22 2c 22 | 20 69 6e 74 6f 20 66 69 |In & ","| into fi|
|000057a0| 6e 64 49 6e 0d 72 65 74 | 75 72 6e 20 6e 75 6d 62 |ndIn.ret|urn numb|
|000057b0| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 6f 66 20 28 |er of it|ems of (|
|000057c0| 63 68 61 72 20 31 20 74 | 6f 20 6f 66 66 73 65 74 |char 1 t|o offset|
|000057d0| 28 22 2c 22 26 66 69 6e | 64 54 65 78 74 26 22 2c |(","&fin|dText&",|
|000057e0| 22 2c 66 69 6e 64 49 6e | 29 20 6f 66 20 66 69 6e |",findIn|) of fin|
|000057f0| 64 49 6e 29 0d 65 6e 64 | 20 69 74 65 6d 4f 66 66 |dIn).end| itemOff|
|00005800| 73 65 74 0d 0d 6f 6e 20 | 4c 69 6e 6b 54 6f 4e 65 |set..on |LinkToNe|
|00005810| 77 73 0d 70 75 74 20 66 | 69 6c 65 44 61 74 61 28 |ws.put f|ileData(|
|00005820| 22 4e 65 77 20 49 6e 66 | 6f 22 29 20 69 6e 74 6f |"New Inf|o") into|
|00005830| 20 74 68 65 53 63 72 69 | 70 74 0d 64 6f 20 74 68 | theScri|pt.do th|
|00005840| 65 53 63 72 69 70 74 0d | 65 6e 64 20 4c 69 6e 6b |eScript.|end Link|
|00005850| 54 6f 4e 65 77 73 0d 0d | 6f 6e 20 4c 69 6e 6b 54 |ToNews..|on LinkT|
|00005860| 6f 51 75 69 74 0d 61 6e | 73 77 65 72 20 22 51 75 |oQuit.an|swer "Qu|
|00005870| 69 74 20 41 52 50 4c 20 | 4e 6f 77 3f 22 20 77 69 |it ARPL |Now?" wi|
|00005880| 74 68 20 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 22 |th "Canc|el" or "|
|00005890| 51 75 69 74 22 0d 69 66 | 20 69 74 20 3d 20 22 43 |Quit".if| it = "C|
|000058a0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|000058b0| 20 4c 69 6e 6b 54 6f 51 | 75 69 74 0d 73 70 69 6e | LinkToQ|uit.spin|
|000058c0| 43 75 72 73 6f 72 0d 4c | 69 6e 6b 54 6f 63 61 72 |Cursor.L|inkTocar|
|000058d0| 64 20 22 43 6f 70 79 52 | 69 67 68 74 73 22 0d 72 |d "CopyR|ights".r|
|000058e0| 65 70 65 61 74 20 75 6e | 74 69 6c 20 6e 6f 74 20 |epeat un|til not |
|000058f0| 74 68 65 20 6c 6f 63 6b | 73 63 72 65 65 6e 0d 75 |the lock|screen.u|
|00005900| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00005910| 20 72 65 70 65 61 74 0d | 72 65 70 65 61 74 20 38 | repeat.|repeat 8|
|00005920| 0d 77 61 69 74 20 31 20 | 73 65 63 6f 6e 64 0d 73 |.wait 1 |second.s|
|00005930| 70 69 6e 43 75 72 73 6f | 72 0d 65 6e 64 20 72 65 |pinCurso|r.end re|
|00005940| 70 65 61 74 0d 73 65 6e | 64 20 22 64 6f 6d 65 6e |peat.sen|d "domen|
|00005950| 75 20 51 75 69 74 20 48 | 79 70 65 72 43 61 72 64 |u Quit H|yperCard|
|00005960| 22 20 74 6f 20 68 79 70 | 65 72 43 61 72 64 0d 65 |" to hyp|erCard.e|
|00005970| 6e 64 20 4c 69 6e 6b 54 | 6f 51 75 69 74 0d 0d 6f |nd LinkT|oQuit..o|
|00005980| 6e 20 63 48 43 69 6e 73 | 74 61 6c 6c 0d 73 70 69 |n cHCins|tall.spi|
|00005990| 6e 43 75 72 73 6f 72 0d | 69 66 20 63 68 65 63 6b |nCursor.|if check|
|000059a0| 45 6e 76 69 72 6f 6e 28 | 29 20 69 73 20 6e 6f 74 |Environ(|) is not|
|000059b0| 20 22 4f 4b 22 20 74 68 | 65 6e 0d 67 6f 20 48 6f | "OK" th|en.go Ho|
|000059c0| 6d 65 0d 67 65 74 48 6f | 6d 65 49 6e 66 6f 0d 65 |me.getHo|meInfo.e|
|000059d0| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|000059e0| 0d 65 6e 64 20 69 66 0d | 73 70 69 6e 43 75 72 73 |.end if.|spinCurs|
|000059f0| 6f 72 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |or.repea|t until |
|00005a00| 74 68 65 20 6c 6f 63 6b | 53 63 72 65 65 6e 20 69 |the lock|Screen i|
|00005a10| 73 20 66 61 6c 73 65 0d | 75 6e 6c 6f 63 6b 20 73 |s false.|unlock s|
|00005a20| 63 72 65 65 6e 0d 65 6e | 64 20 72 65 70 65 61 74 |creen.en|d repeat|
|00005a30| 0d 73 70 69 6e 43 75 72 | 73 6f 72 0d 73 65 74 75 |.spinCur|sor.setu|
|00005a40| 70 43 6f 6c 6f 72 47 6c | 6f 62 61 6c 0d 73 70 69 |pColorGl|obal.spi|
|00005a50| 6e 43 75 72 73 6f 72 0d | 65 6e 64 20 63 48 43 69 |nCursor.|end cHCi|
|00005a60| 6e 73 74 61 6c 6c 0d 0d | 6f 6e 20 73 65 74 75 70 |nstall..|on setup|
|00005a70| 43 6f 6c 6f 72 47 6c 6f | 62 61 6c 0d 67 6c 6f 62 |ColorGlo|bal.glob|
|00005a80| 61 6c 20 67 43 48 43 43 | 6f 6c 6f 72 73 2c 67 58 |al gCHCC|olors,gX|
|00005a90| 43 4d 44 45 72 72 6f 72 | 0d 70 75 74 20 22 22 20 |CMDError|.put "" |
|00005aa0| 69 6e 74 6f 20 67 58 43 | 4d 44 45 72 72 6f 72 0d |into gXC|MDError.|
|00005ab0| 70 75 74 20 4d 61 78 44 | 65 70 74 68 28 29 20 69 |put MaxD|epth() i|
|00005ac0| 6e 74 6f 20 54 68 65 4d | 61 78 44 65 70 74 68 0d |nto TheM|axDepth.|
|00005ad0| 69 66 20 67 58 43 4d 44 | 45 72 72 6f 72 20 69 73 |if gXCMD|Error is|
|00005ae0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00005af0| 61 6e 73 77 65 72 20 67 | 58 43 4d 44 45 72 72 6f |answer g|XCMDErro|
|00005b00| 72 0d 69 66 20 28 54 68 | 65 4d 61 78 44 65 70 74 |r.if (Th|eMaxDept|
|00005b10| 68 20 3c 20 38 29 20 74 | 68 65 6e 20 70 75 74 20 |h < 8) t|hen put |
|00005b20| 22 30 2c 33 39 33 32 31 | 2c 36 35 35 33 35 20 20 |"0,39321|,65535 |
|00005b30| 36 35 35 33 35 2c 36 35 | 35 33 35 2c 36 35 35 33 |65535,65|535,6553|
|00005b40| 35 20 20 36 35 35 33 35 | 2c 36 35 35 33 35 2c 36 |5 65535|,65535,6|
|00005b50| 35 35 33 35 20 20 36 35 | 35 33 35 2c 31 37 38 38 |5535 65|535,1788|
|00005b60| 32 2c 39 30 38 30 22 20 | 69 6e 74 6f 20 67 43 48 |2,9080" |into gCH|
|00005b70| 43 43 6f 6c 6f 72 73 0d | 65 6c 73 65 20 70 75 74 |CColors.|else put|
|00005b80| 20 22 32 32 37 33 33 2c | 33 31 35 37 33 2c 35 32 | "22733,|31573,52|
|00005b90| 34 32 38 20 20 36 35 35 | 33 35 2c 36 35 35 33 35 |428 655|35,65535|
|00005ba0| 2c 36 35 35 33 35 20 20 | 35 36 37 39 37 2c 35 36 |,65535 |56797,56|
|00005bb0| 37 39 37 2c 35 36 37 39 | 37 20 20 33 39 33 32 31 |797,5679|7 39321|
|00005bc0| 2c 31 33 31 30 37 2c 33 | 39 33 32 31 22 20 69 6e |,13107,3|9321" in|
|00005bd0| 74 6f 20 67 43 48 43 43 | 6f 6c 6f 72 73 0d 65 6e |to gCHCC|olors.en|
|00005be0| 64 20 73 65 74 75 70 43 | 6f 6c 6f 72 47 6c 6f 62 |d setupC|olorGlob|
|00005bf0| 61 6c 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 63 68 65 |al..func|tion che|
|00005c00| 63 6b 45 6e 76 69 72 6f | 6e 0d 70 75 74 20 4d 61 |ckEnviro|n.put Ma|
|00005c10| 78 44 65 70 74 68 28 29 | 20 69 6e 74 6f 20 54 68 |xDepth()| into Th|
|00005c20| 65 44 65 70 74 68 0d 69 | 66 20 54 68 65 44 65 70 |eDepth.i|f TheDep|
|00005c30| 74 68 20 3c 20 34 20 74 | 68 65 6e 20 65 72 72 42 |th < 4 t|hen errB|
|00005c40| 69 74 44 65 70 74 68 0d | 69 66 20 28 54 68 65 44 |itDepth.|if (TheD|
|00005c50| 65 70 74 68 20 3d 20 31 | 29 20 c2 0d 61 6e 64 20 |epth = 1|) ..and |
|00005c60| 28 74 68 65 20 68 65 61 | 70 53 70 61 63 65 20 3c |(the hea|pSpace <|
|00005c70| 20 32 36 30 30 29 20 74 | 68 65 6e 20 65 72 72 4d | 2600) t|hen errM|
|00005c80| 65 6d 6f 72 79 20 54 68 | 65 44 65 70 74 68 2c 22 |emory Th|eDepth,"|
|00005c90| 31 31 30 30 4b 22 0d 65 | 6c 73 65 20 69 66 20 28 |1100K".e|lse if (|
|00005ca0| 54 68 65 44 65 70 74 68 | 20 3d 20 32 29 20 c2 0d |TheDepth| = 2) ..|
|00005cb0| 61 6e 64 20 28 74 68 65 | 20 68 65 61 70 53 70 61 |and (the| heapSpa|
|00005cc0| 63 65 20 3c 20 31 31 37 | 32 30 30 29 20 74 68 65 |ce < 117|200) the|
|00005cd0| 6e 20 65 72 72 4d 65 6d | 6f 72 79 20 54 68 65 44 |n errMem|ory TheD|
|00005ce0| 65 70 74 68 2c 22 31 32 | 30 30 4b 22 0d 65 6c 73 |epth,"12|00K".els|
|00005cf0| 65 20 69 66 20 28 54 68 | 65 44 65 70 74 68 20 3d |e if (Th|eDepth =|
|00005d00| 20 34 29 20 c2 0d 61 6e | 64 20 28 74 68 65 20 68 | 4) ..an|d (the h|
|00005d10| 65 61 70 53 70 61 63 65 | 20 3c 20 32 30 35 30 30 |eapSpace| < 20500|
|00005d20| 30 29 20 74 68 65 6e 20 | 65 72 72 4d 65 6d 6f 72 |0) then |errMemor|
|00005d30| 79 20 54 68 65 44 65 70 | 74 68 2c 22 31 32 35 30 |y TheDep|th,"1250|
|00005d40| 4b 22 0d 65 6c 73 65 20 | 69 66 20 28 54 68 65 44 |K".else |if (TheD|
|00005d50| 65 70 74 68 20 3d 20 38 | 29 20 c2 0d 61 6e 64 20 |epth = 8|) ..and |
|00005d60| 28 74 68 65 20 68 65 61 | 70 53 70 61 63 65 20 3c |(the hea|pSpace <|
|00005d70| 20 33 38 34 30 30 30 29 | 20 74 68 65 6e 20 65 72 | 384000)| then er|
|00005d80| 72 4d 65 6d 6f 72 79 20 | 54 68 65 44 65 70 74 68 |rMemory |TheDepth|
|00005d90| 2c 22 31 33 30 30 4b 22 | 0d 65 6c 73 65 20 69 66 |,"1300K"|.else if|
|00005da0| 20 28 54 68 65 44 65 70 | 74 68 20 3d 20 31 36 29 | (TheDep|th = 16)|
|00005db0| 20 c2 0d 61 6e 64 20 28 | 74 68 65 20 68 65 61 70 | ..and (|the heap|
|00005dc0| 53 70 61 63 65 20 3c 20 | 37 32 31 30 30 30 29 20 |Space < |721000) |
|00005dd0| 74 68 65 6e 20 65 72 72 | 4d 65 6d 6f 72 79 20 54 |then err|Memory T|
|00005de0| 68 65 44 65 70 74 68 2c | 22 32 34 30 30 4b 22 0d |heDepth,|"2400K".|
|00005df0| 65 6c 73 65 20 69 66 20 | 28 54 68 65 44 65 70 74 |else if |(TheDept|
|00005e00| 68 20 b3 20 32 34 29 20 | c2 0d 61 6e 64 20 28 74 |h . 24) |..and (t|
|00005e10| 68 65 20 68 65 61 70 53 | 70 61 63 65 20 3c 20 31 |he heapS|pace < 1|
|00005e20| 34 32 31 30 30 30 29 20 | 74 68 65 6e 20 65 72 72 |421000) |then err|
|00005e30| 4d 65 6d 6f 72 79 20 54 | 68 65 44 65 70 74 68 2c |Memory T|heDepth,|
|00005e40| 22 33 30 30 30 4b 22 0d | 65 6c 73 65 20 69 66 20 |"3000K".|else if |
|00005e50| 73 74 61 63 6b 41 63 74 | 69 76 61 74 65 28 29 20 |stackAct|ivate() |
|00005e60| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005e70| 6e 0d 65 72 72 43 6f 6c | 6f 72 0d 72 65 74 75 72 |n.errCol|or.retur|
|00005e80| 6e 20 22 4f 4b 22 0d 65 | 6c 73 65 20 72 65 74 75 |n "OK".e|lse retu|
|00005e90| 72 6e 20 22 4f 4b 22 0d | 65 6e 64 20 63 68 65 63 |rn "OK".|end chec|
|00005ea0| 6b 45 6e 76 69 72 6f 6e | 0d 0d 6f 6e 20 65 72 72 |kEnviron|..on err|
|00005eb0| 4d 65 6d 6f 72 79 20 54 | 68 65 44 65 70 74 68 2c |Memory T|heDepth,|
|00005ec0| 50 61 72 74 69 74 69 6f | 6e 53 69 7a 65 0d 70 75 |Partitio|nSize.pu|
|00005ed0| 74 20 6c 61 73 74 49 74 | 65 6d 28 22 3a 22 2c 74 |t lastIt|em(":",t|
|00005ee0| 68 65 20 6c 6f 6e 67 20 | 6e 61 6d 65 20 6f 66 20 |he long |name of |
|00005ef0| 48 79 70 65 72 43 61 72 | 64 29 20 69 6e 74 6f 20 |HyperCar|d) into |
|00005f00| 54 68 65 48 79 70 65 72 | 43 61 72 64 0d 62 65 65 |TheHyper|Card.bee|
|00005f10| 70 0d 61 6e 73 77 65 72 | 20 22 57 61 72 6e 69 6e |p.answer| "Warnin|
|00005f20| 67 3a 20 6e 6f 74 20 65 | 6e 6f 75 67 68 20 6d 65 |g: not e|nough me|
|00005f30| 6d 6f 72 79 20 74 6f 20 | 72 75 6e 22 20 26 26 20 |mory to |run" && |
|00005f40| 22 d2 22 20 26 20 73 68 | 6f 72 74 20 6e 61 6d 65 |"." & sh|ort name|
|00005f50| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 26 | of this| stack &|
|00005f60| 20 22 d3 22 20 c2 0d 26 | 26 20 22 69 6e 22 20 26 | "." ..&|& "in" &|
|00005f70| 26 20 54 68 65 44 65 70 | 74 68 20 26 26 20 22 62 |& TheDep|th && "b|
|00005f80| 69 74 20 6d 6f 64 65 2e | 20 54 68 65 20 6d 65 6d |it mode.| The mem|
|00005f90| 6f 72 79 20 70 61 72 74 | 69 74 69 6f 6e 20 73 69 |ory part|ition si|
|00005fa0| 7a 65 20 6f 66 22 20 26 | 26 20 c2 0d 54 68 65 48 |ze of" &|& ..TheH|
|00005fb0| 79 70 65 72 43 61 72 64 | 20 26 26 20 22 73 68 6f |yperCard| && "sho|
|00005fc0| 75 6c 64 20 62 65 20 61 | 74 20 6c 65 61 73 74 22 |uld be a|t least"|
|00005fd0| 20 26 26 20 50 61 72 74 | 69 74 69 6f 6e 53 69 7a | && Part|itionSiz|
|00005fe0| 65 20 26 20 22 2e 22 0d | 65 6e 64 20 65 72 72 4d |e & ".".|end errM|
|00005ff0| 65 6d 6f 72 79 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |emory..f|unction |
|00006000| 6c 61 73 74 49 74 65 6d | 20 54 68 65 44 65 6c 69 |lastItem| TheDeli|
|00006010| 6d 69 74 65 72 2c 53 74 | 72 69 6e 67 0d 2d 2d 20 |miter,St|ring.-- |
|00006020| 67 69 76 65 6e 20 74 68 | 65 20 64 65 6c 69 6d 69 |given th|e delimi|
|00006030| 74 65 72 20 3c 54 68 65 | 44 65 6c 69 6d 69 74 65 |ter <The|Delimite|
|00006040| 72 3e 2c 20 72 65 74 75 | 72 6e 20 74 68 65 20 70 |r>, retu|rn the p|
|00006050| 6f 72 74 69 6f 6e 20 6f | 66 20 3c 53 74 72 69 6e |ortion o|f <Strin|
|00006060| 67 3e 20 74 68 61 74 0d | 2d 2d 20 66 6f 6c 6c 6f |g> that.|-- follo|
|00006070| 77 73 20 74 68 65 20 4c | 41 53 54 20 6f 63 63 75 |ws the L|AST occu|
|00006080| 72 61 6e 63 65 20 6f 66 | 20 3c 54 68 65 44 65 6c |rance of| <TheDel|
|00006090| 69 6d 69 74 65 72 3e 0d | 69 66 20 54 68 65 44 65 |imiter>.|if TheDe|
|000060a0| 6c 69 6d 69 74 65 72 20 | 69 73 20 69 6e 20 53 74 |limiter |is in St|
|000060b0| 72 69 6e 67 0d 74 68 65 | 6e 20 70 75 74 20 6c 61 |ring.the|n put la|
|000060c0| 73 74 49 74 65 6d 28 54 | 68 65 44 65 6c 69 6d 69 |stItem(T|heDelimi|
|000060d0| 74 65 72 2c 63 68 61 72 | 20 6f 66 66 73 65 74 28 |ter,char| offset(|
|000060e0| 54 68 65 44 65 6c 69 6d | 69 74 65 72 2c 53 74 72 |TheDelim|iter,Str|
|000060f0| 69 6e 67 29 20 2b 20 31 | 20 74 6f 20 6c 65 6e 67 |ing) + 1| to leng|
|00006100| 74 68 28 53 74 72 69 6e | 67 29 20 6f 66 20 53 74 |th(Strin|g) of St|
|00006110| 72 69 6e 67 29 20 69 6e | 74 6f 20 53 74 72 69 6e |ring) in|to Strin|
|00006120| 67 0d 72 65 74 75 72 6e | 20 53 74 72 69 6e 67 0d |g.return| String.|
|00006130| 65 6e 64 20 6c 61 73 74 | 49 74 65 6d 0d 0d 6f 6e |end last|Item..on|
|00006140| 20 65 72 72 42 69 74 44 | 65 70 74 68 0d 61 6e 73 | errBitD|epth.ans|
|00006150| 77 65 72 20 22 54 68 69 | 73 20 73 74 61 63 6b 20 |wer "Thi|s stack |
|00006160| 72 65 71 75 69 72 65 73 | 20 61 20 63 6f 6c 6f 72 |requires| a color|
|00006170| 20 73 79 73 74 65 6d 20 | 73 65 74 20 74 6f 20 61 | system |set to a|
|00006180| 74 20 6c 65 61 73 74 20 | 31 36 20 63 6f 6c 6f 72 |t least |16 color|
|00006190| 73 22 20 26 26 20 c2 0d | 22 28 34 20 62 69 74 2d |s" && ..|"(4 bit-|
|000061a0| 64 65 70 74 68 29 20 74 | 6f 20 64 69 73 70 6c 61 |depth) t|o displa|
|000061b0| 79 20 63 6f 6c 6f 72 2e | 22 20 2d 2d c6 0d 65 6e |y color.|" --..en|
|000061c0| 64 20 65 72 72 42 69 74 | 44 65 70 74 68 0d 0d 66 |d errBit|Depth..f|
|000061d0| 75 6e 63 74 69 6f 6e 20 | 73 74 61 63 6b 41 63 74 |unction |stackAct|
|000061e0| 69 76 61 74 65 0d 67 6c | 6f 62 61 6c 20 67 4f 4b |ivate.gl|obal gOK|
|000061f0| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 70 75 74 20 65 |ToColori|ze.put e|
|00006200| 6d 70 74 79 20 69 6e 74 | 6f 20 67 4f 4b 54 6f 43 |mpty int|o gOKToC|
|00006210| 6f 6c 6f 72 69 7a 65 0d | 63 6f 6c 6f 72 69 7a 65 |olorize.|colorize|
|00006220| 48 43 20 22 61 73 73 69 | 67 6e 54 6f 46 72 6f 6e |HC "assi|gnToFron|
|00006230| 74 22 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |t".if th|e result|
|00006240| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00006250| 65 6e 0d 70 75 74 20 74 | 68 65 20 72 65 73 75 6c |en.put t|he resul|
|00006260| 74 20 69 6e 74 6f 20 67 | 4f 4b 54 6f 43 6f 6c 6f |t into g|OKToColo|
|00006270| 72 69 7a 65 0d 72 65 74 | 75 72 6e 20 67 4f 4b 54 |rize.ret|urn gOKT|
|00006280| 6f 43 6f 6c 6f 72 69 7a | 65 0d 65 6e 64 20 69 66 |oColoriz|e.end if|
|00006290| 0d 65 6e 64 20 73 74 61 | 63 6b 41 63 74 69 76 61 |.end sta|ckActiva|
|000062a0| 74 65 0d 0d 6f 6e 20 65 | 72 72 43 6f 6c 6f 72 0d |te..on e|rrColor.|
|000062b0| 67 6c 6f 62 61 6c 20 67 | 4f 4b 54 6f 43 6f 6c 6f |global g|OKToColo|
|000062c0| 72 69 7a 65 0d 61 6e 73 | 77 65 72 20 22 57 61 72 |rize.ans|wer "War|
|000062d0| 6e 69 6e 67 3a 20 54 68 | 65 20 65 6e 76 69 72 6f |ning: Th|e enviro|
|000062e0| 6e 6d 65 6e 74 20 74 68 | 69 73 20 73 74 61 63 6b |nment th|is stack|
|000062f0| 20 69 73 20 63 75 72 72 | 65 6e 74 6c 79 20 72 75 | is curr|ently ru|
|00006300| 6e 6e 69 6e 67 20 69 6e | 20 69 73 20 6e 6f 74 22 |nning in| is not"|
|00006310| 20 26 26 20 c2 0d 22 61 | 62 6c 65 20 74 6f 20 73 | && .."a|ble to s|
|00006320| 75 70 70 6f 72 74 20 63 | 6f 6c 6f 72 2e 22 20 26 |upport c|olor." &|
|00006330| 20 72 65 74 75 72 6e 20 | 26 20 22 52 65 61 73 6f | return |& "Reaso|
|00006340| 6e 3a 22 20 26 26 20 67 | 4f 4b 54 6f 43 6f 6c 6f |n:" && g|OKToColo|
|00006350| 72 69 7a 65 0d 65 6e 64 | 20 65 72 72 43 6f 6c 6f |rize.end| errColo|
|00006360| 72 0d 0d 6f 6e 20 63 48 | 43 64 69 73 70 6f 73 65 |r..on cH|Cdispose|
|00006370| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 63 6f 6c |.lock sc|reen.col|
|00006380| 6f 72 69 7a 65 48 43 20 | 22 64 69 73 70 6f 73 65 |orizeHC |"dispose|
|00006390| 22 0d 65 6e 64 20 63 48 | 43 64 69 73 70 6f 73 65 |".end cH|Cdispose|
|000063a0| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.