home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 March / macformat-035.iso / Shareware City / Science / DNA stacks 1.1 / Aligner < prev    next >
MacBinary  |  1995-12-31  |  189.8 KB  |  [STAK/WILD]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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

You can browse this item here: Aligner

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Tue Dec 15 05:31:23 1992, modified Sun Dec 31 13:13:59 1995, creator HyperCard, type HyperCard stack, 143552 bytes "Aligner" , at 0x23140 50433 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 41 6c 69 67 6e 65 | 72 00 00 00 00 00 00 00 |..Aligne|r.......|
|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 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 30 c0 00 | 00 c5 01 a7 53 64 7b ad |.....0..|....Sd{.|
|00000060| 0c 83 67 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..g.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fc 41 00 00 |........|.....A..|
|00000080| 00 00 6e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..n.STAK|........|
|00000090| 00 00 00 0a 00 02 30 c0 | 00 00 6e 00 00 00 00 00 |......0.|..n.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a c2 00 00 00 02 |........|........|
|000000b0| 00 00 0b d8 00 00 08 e8 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 0f 98 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 30 80 00 | 02 30 80 00 02 30 80 00 |.....0..|.0...0..|
|000000f0| db 99 ff 28 00 00 00 00 | 00 46 00 60 02 4e 02 e0 |...(....|.F.`.N..|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|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 99 00 00 0c 48 | 02 08 02 80 00 00 00 00 |.......H|........|
|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| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000690| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006a0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006b0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006c0| a5 a5 0d 2d 2d 20 43 72 | 65 64 69 74 73 20 66 6f |...-- Cr|edits fo|
|000006d0| 72 20 58 43 4d 44 73 20 | 61 6e 64 20 58 46 43 4e |r XCMDs |and XFCN|
|000006e0| 73 20 75 73 65 64 20 69 | 6e 20 74 68 69 73 20 73 |s used i|n this s|
|000006f0| 74 61 63 6b 0d 2d 2d 20 | 58 4c 61 74 65 2c 28 61 |tack.-- |XLate,(a|
|00000700| 6e 64 20 58 74 61 62 20 | 72 65 73 6f 75 72 63 65 |nd Xtab |resource|
|00000710| 73 29 20 2d 20 4e 69 67 | 65 6c 20 50 65 72 72 79 |s) - Nig|el Perry|
|00000720| 20 a9 20 31 39 39 30 0d | 2d 2d 20 74 72 61 6e 73 | . 1990.|-- trans|
|00000730| 6c 69 74 2c 73 74 72 44 | 65 6c 74 61 2c 73 74 72 |lit,strD|elta,str|
|00000740| 44 75 70 2c 41 76 61 69 | 6c 61 62 6c 65 2c 70 65 |Dup,Avai|lable,pe|
|00000750| 70 74 69 64 65 58 6c 61 | 74 65 2c 66 6f 6c 64 0d |ptideXla|te,fold.|
|00000760| 2d 2d 20 26 20 61 6d 62 | 63 6f 64 6f 6e 58 6c 61 |-- & amb|codonXla|
|00000770| 74 65 20 28 61 6e 64 20 | 58 44 6e 61 20 72 65 73 |te (and |XDna res|
|00000780| 6f 75 72 63 65 73 29 20 | 62 79 20 4e 69 67 65 6c |ources) |by Nigel|
|00000790| 20 50 65 72 72 79 20 a9 | 20 31 39 39 31 0d 2d 2d | Perry .| 1991.--|
|000007a0| 20 43 6f 6c 6f 75 72 54 | 65 78 74 2c 52 47 42 43 | ColourT|ext,RGBC|
|000007b0| 6f 6c 6f 75 72 54 65 78 | 74 2c 43 6f 6c 6f 75 72 |olourTex|t,Colour|
|000007c0| 50 69 63 6b 65 72 2c 53 | 65 74 46 6f 6e 74 2c 42 |Picker,S|etFont,B|
|000007d0| 75 69 6c 64 4e 50 63 74 | 2c 0d 2d 2d 20 61 6e 64 |uildNPct|,.-- and|
|000007e0| 20 61 6c 6c 20 69 6e 63 | 6c 75 64 65 64 20 4e 46 | all inc|luded NF|
|000007f0| 4e 54 2c 46 4f 4e 44 20 | 72 65 73 6f 75 72 63 65 |NT,FOND |resource|
|00000800| 73 20 62 79 20 4e 69 67 | 65 6c 20 50 65 72 72 79 |s by Nig|el Perry|
|00000810| 20 a9 20 31 39 39 32 0d | 2d 2d 20 4d 75 6c 74 69 | . 1992.|-- Multi|
|00000820| 46 69 6e 64 65 72 28 29 | 20 2d 2d 20 61 6e 6f 6e |Finder()| -- anon|
|00000830| 79 6d 6f 75 73 20 66 72 | 6f 6d 20 44 65 76 65 6c |ymous fr|om Devel|
|00000840| 6f 70 65 72 27 73 20 53 | 74 61 63 6b 20 31 2e 33 |oper's S|tack 1.3|
|00000850| 72 0d 2d 2d 20 47 65 74 | 56 6f 6c 75 6d 65 2c 53 |r.-- Get|Volume,S|
|00000860| 65 74 56 6f 6c 75 6d 65 | 20 2d 20 50 6f 72 74 69 |etVolume| - Porti|
|00000870| 6f 6e 73 a9 20 31 39 38 | 38 20 53 74 65 76 65 20 |ons. 198|8 Steve |
|00000880| 44 72 61 7a 67 61 0d 2d | 2d 20 46 69 6e 64 49 6e |Drazga.-|- FindIn|
|00000890| 58 43 4d 44 20 5b 31 2e | 30 5d 20 a9 20 31 39 38 |XCMD [1.|0] . 198|
|000008a0| 39 20 62 79 20 41 70 70 | 6c 65 2c 20 77 72 69 74 |9 by App|le, writ|
|000008b0| 74 65 6e 20 62 79 20 50 | 68 69 6c 20 42 65 69 73 |ten by P|hil Beis|
|000008c0| 65 6c 0d 2d 2d 20 53 68 | 6f 77 4c 69 73 74 28 29 |el.-- Sh|owList()|
|000008d0| 20 66 72 6f 6d 20 48 79 | 70 65 72 43 61 72 64 27 | from Hy|perCard'|
|000008e0| 73 20 22 50 6f 77 65 72 | 20 54 6f 6f 6c 73 22 20 |s "Power| Tools" |
|000008f0| 73 74 61 63 6b 0d 2d 2d | 20 63 6f 6c 6f 72 69 7a |stack.--| coloriz|
|00000900| 65 48 43 20 58 43 4d 44 | 2c 63 6f 6c 6f 72 50 69 |eHC XCMD|,colorPi|
|00000910| 63 6b 65 72 28 29 20 58 | 46 43 4e 2c 6d 61 78 44 |cker() X|FCN,maxD|
|00000920| 65 70 74 68 28 29 20 58 | 46 43 4e 0d 2d 2d 20 a9 |epth() X|FCN.-- .|
|00000930| 43 6f 70 79 72 69 67 68 | 74 20 31 39 39 31 20 42 |Copyrigh|t 1991 B|
|00000940| 75 6e 67 44 61 62 62 61 | 20 50 72 6f 64 75 63 74 |ungDabba| Product|
|00000950| 69 6f 6e 73 2c 20 41 6c | 6c 20 52 69 67 68 74 73 |ions, Al|l Rights|
|00000960| 20 52 65 73 65 72 76 65 | 64 2e 0d 2d 2d 20 54 65 | Reserve|d..-- Te|
|00000970| 78 74 6f 69 64 20 58 43 | 4d 44 20 5b 33 2e 31 5d |xtoid XC|MD [3.1]|
|00000980| 20 61 6e 64 20 61 73 73 | 6f 63 69 61 74 65 64 20 | and ass|ociated |
|00000990| 43 44 45 46 20 61 6e 64 | 20 57 44 45 46 20 72 65 |CDEF and| WDEF re|
|000009a0| 73 6f 75 72 63 65 73 0d | 2d 2d 20 a9 20 31 39 39 |sources.|-- . 199|
|000009b0| 30 2c 31 39 39 31 20 62 | 79 20 46 72 65 64 65 72 |0,1991 b|y Freder|
|000009c0| 69 63 6b 20 52 69 6e 61 | 6c 64 69 20 6e 6f 74 20 |ick Rina|ldi not |
|000009d0| 70 72 65 73 65 6e 74 6c | 79 20 69 6e 20 73 74 61 |presentl|y in sta|
|000009e0| 63 6b 0d 2d 2d 20 53 79 | 73 45 6e 76 69 72 6f 6e |ck.-- Sy|sEnviron|
|000009f0| 6d 65 6e 74 28 29 2c 20 | 4d 6f 6e 69 74 6f 72 43 |ment(), |MonitorC|
|00000a00| 6f 6e 66 69 67 28 29 3a | 20 53 75 70 70 6f 72 74 |onfig():| Support|
|00000a10| 20 45 78 74 65 72 6e 61 | 6c 73 20 73 74 61 63 6b | Externa|ls stack|
|00000a20| 20 28 41 70 70 6c 65 29 | 0d 2d 2d 20 28 4c 61 73 | (Apple)|.-- (Las|
|00000a30| 74 20 74 77 6f 20 6e 6f | 74 20 69 6e 20 73 74 61 |t two no|t in sta|
|00000a40| 63 6b 20 2d 2d 20 53 45 | 33 30 20 75 73 65 72 73 |ck -- SE|30 users|
|00000a50| 20 73 65 65 20 76 69 73 | 75 61 6c 45 66 66 65 63 | see vis|ualEffec|
|00000a60| 74 42 75 67 20 73 63 72 | 69 70 74 20 62 65 6c 6f |tBug scr|ipt belo|
|00000a70| 77 2d 2d 0d 2d 2d 20 49 | 20 61 6d 20 6e 6f 74 20 |w--.-- I| am not |
|00000a80| 61 77 61 72 65 20 6f 66 | 20 61 6e 79 20 76 69 73 |aware of| any vis|
|00000a90| 75 61 6c 20 65 66 66 65 | 63 74 73 20 61 74 20 70 |ual effe|cts at p|
|00000aa0| 72 65 73 65 6e 74 20 74 | 68 61 74 20 6d 61 79 0d |resent t|hat may.|
|00000ab0| 2d 2d 20 63 61 75 73 65 | 20 70 72 6f 62 6c 65 6d |-- cause| problem|
|00000ac0| 73 20 66 6f 72 20 79 6f | 75 29 0d 2d 2d 20 5a 6f |s for yo|u).-- Zo|
|00000ad0| 6f 6d 52 65 63 74 20 62 | 79 20 52 2e 20 44 61 76 |omRect b|y R. Dav|
|00000ae0| 69 73 2c 20 a9 20 31 39 | 38 38 20 62 79 20 49 6e |is, . 19|88 by In|
|00000af0| 74 65 72 61 63 74 69 76 | 65 20 44 65 73 69 67 6e |teractiv|e Design|
|00000b00| 73 0d 2d 2d 20 46 6f 72 | 20 6f 74 68 65 72 73 20 |s.-- For| others |
|00000b10| 77 68 6f 20 6d 61 79 20 | 77 61 6e 74 20 74 6f 20 |who may |want to |
|00000b20| 75 73 65 20 74 68 65 20 | 58 46 43 4e 73 20 62 79 |use the |XFCNs by|
|00000b30| 20 4e 69 67 65 6c 20 50 | 65 72 72 79 3a 0d 2d 2d | Nigel P|erry:.--|
|00000b40| 20 54 68 65 20 61 73 73 | 6f 63 69 61 74 65 64 20 | The ass|ociated |
|00000b50| 63 6f 64 65 20 72 65 73 | 6f 75 72 63 65 73 20 a9 |code res|ources .|
|00000b60| 20 31 39 39 30 2c 31 39 | 39 31 2c 31 39 39 32 20 | 1990,19|91,1992 |
|00000b70| 62 79 20 4e 69 67 65 6c | 20 50 65 72 72 79 20 61 |by Nigel| Perry a|
|00000b80| 72 65 0d 2d 2d 20 73 75 | 70 70 6c 69 65 64 20 61 |re.-- su|pplied a|
|00000b90| 73 20 69 73 2c 20 6e 6f | 20 67 75 61 72 61 6e 74 |s is, no| guarant|
|00000ba0| 65 65 20 65 78 70 72 65 | 73 73 20 6f 72 20 69 6d |ee expre|ss or im|
|00000bb0| 70 6c 69 65 64 20 69 73 | 20 67 69 76 65 6e 20 74 |plied is| given t|
|00000bc0| 68 61 74 0d 2d 2d 20 69 | 74 20 77 69 6c 6c 20 64 |hat.-- i|t will d|
|00000bd0| 6f 20 61 6e 79 74 68 69 | 6e 67 20 6f 72 20 6e 6f |o anythi|ng or no|
|00000be0| 74 68 69 6e 67 20 74 6f | 20 79 6f 75 72 20 4d 61 |thing to| your Ma|
|00000bf0| 63 20 73 79 73 74 65 6d | 2c 20 75 73 65 20 6f 6e |c system|, use on|
|00000c00| 6c 79 20 61 74 0d 2d 2d | 20 79 6f 75 72 20 6f 77 |ly at.--| your ow|
|00000c10| 6e 20 72 69 73 6b 2e 20 | 46 72 65 65 20 66 6f 72 |n risk. |Free for|
|00000c20| 20 70 65 72 73 6f 6e 61 | 6c 20 75 73 65 20 61 6e | persona|l use an|
|00000c30| 64 20 66 6f 72 20 75 73 | 65 20 69 6e 20 73 74 61 |d for us|e in sta|
|00000c40| 63 6b 73 0d 2d 2d 20 77 | 68 69 63 68 20 61 72 65 |cks.-- w|hich are|
|00000c50| 20 66 72 65 65 2c 20 70 | 72 6f 76 69 64 65 64 20 | free, p|rovided |
|00000c60| 74 68 69 73 20 63 6f 70 | 79 72 69 67 68 74 20 6e |this cop|yright n|
|00000c70| 6f 74 69 63 65 20 61 6e | 64 20 63 6f 6e 64 69 74 |otice an|d condit|
|00000c80| 69 6f 6e 73 0d 2d 2d 20 | 6f 66 20 75 73 65 20 61 |ions.-- |of use a|
|00000c90| 72 65 20 63 6c 65 61 72 | 6c 79 20 64 69 73 70 6c |re clear|ly displ|
|00000ca0| 61 79 65 64 2e 20 4d 61 | 79 20 6e 6f 74 20 62 65 |ayed. Ma|y not be|
|00000cb0| 20 75 73 65 64 20 66 6f | 72 20 63 6f 6d 6d 65 72 | used fo|r commer|
|00000cc0| 63 69 61 6c 0d 2d 2d 20 | 6f 72 20 70 72 6f 66 69 |cial.-- |or profi|
|00000cd0| 74 2d 6d 61 6b 69 6e 67 | 20 70 75 72 70 6f 73 65 |t-making| purpose|
|00000ce0| 73 20 6f 72 20 69 6e 20 | 53 68 61 72 65 57 61 72 |s or in |ShareWar|
|00000cf0| 65 20 77 69 74 68 6f 75 | 74 20 70 65 72 6d 69 73 |e withou|t permis|
|00000d00| 73 69 6f 6e 2e 0d 2d 2d | 20 43 6f 64 65 20 72 65 |sion..--| Code re|
|00000d10| 73 6f 75 72 63 65 73 20 | 77 72 69 74 74 65 6e 20 |sources |written |
|00000d20| 69 6e 20 54 48 49 4e 4b | 20 43 20 a9 20 53 79 6d |in THINK| C . Sym|
|00000d30| 61 6e 74 65 63 2e 0d 2d | 2d 20 57 61 72 6e 69 6e |antec..-|- Warnin|
|00000d40| 67 3a 20 54 65 78 74 20 | 63 6f 6c 6f 72 69 6e 67 |g: Text |coloring|
|00000d50| 20 6d 61 79 20 6c 65 61 | 64 20 74 6f 20 6d 65 6d | may lea|d to mem|
|00000d60| 6f 72 79 20 70 72 6f 62 | 6c 65 6d 73 20 61 73 20 |ory prob|lems as |
|00000d70| 79 6f 75 72 0d 2d 2d 20 | 73 65 71 75 65 6e 63 65 |your.-- |sequence|
|00000d80| 73 20 67 65 74 20 6c 61 | 72 67 65 72 2e 20 49 66 |s get la|rger. If|
|00000d90| 20 79 6f 75 20 72 75 6e | 20 6f 75 74 20 6f 66 20 | you run| out of |
|00000da0| 6d 65 6d 6f 72 79 20 79 | 6f 75 20 6d 61 79 20 6e |memory y|ou may n|
|00000db0| 65 65 64 0d 2d 2d 20 74 | 6f 20 71 75 69 74 20 62 |eed.-- t|o quit b|
|00000dc0| 65 66 6f 72 65 20 74 68 | 65 20 63 6f 6c 6f 72 69 |efore th|e colori|
|00000dd0| 6e 67 20 77 69 6c 6c 20 | 77 6f 72 6b 20 61 67 61 |ng will |work aga|
|00000de0| 69 6e 2e 0d a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |in......|........|
|00000df0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000e00| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000e10| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000e20| a5 a5 a5 a5 a5 a5 0d 0d | 6f 6e 20 73 74 61 72 74 |........|on start|
|00000e30| 55 70 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |Up.set c|ursor to|
|00000e40| 20 62 75 73 79 0d 68 69 | 64 65 20 77 69 6e 64 6f | busy.hi|de windo|
|00000e50| 77 20 22 73 63 72 6f 6c | 6c 22 0d 70 75 74 20 74 |w "scrol|l".put t|
|00000e60| 68 65 20 73 63 72 65 65 | 6e 72 65 63 74 20 69 6e |he scree|nrect in|
|00000e70| 74 6f 20 73 72 0d 73 65 | 74 20 72 65 63 74 20 6f |to sr.se|t rect o|
|00000e80| 66 20 62 67 20 62 74 6e | 20 74 65 6d 70 68 69 64 |f bg btn| temphid|
|00000e90| 65 20 74 6f 20 73 72 0d | 6c 6f 63 6b 20 73 63 72 |e to sr.|lock scr|
|00000ea0| 65 65 6e 0d 65 6e 64 20 | 73 74 61 72 74 55 70 0d |een.end |startUp.|
|00000eb0| 0d 6f 6e 20 6f 70 65 6e | 73 74 61 63 6b 0d 67 6c |.on open|stack.gl|
|00000ec0| 6f 62 61 6c 20 73 6d 53 | 63 72 6e 2c 63 6c 65 61 |obal smS|crn,clea|
|00000ed0| 72 48 2c 77 68 4c 69 6e | 65 2c 77 68 54 79 70 65 |rH,whLin|e,whType|
|00000ee0| 2c 62 65 65 6e 54 68 65 | 72 65 2c 74 72 61 70 50 |,beenThe|re,trapP|
|00000ef0| 61 73 74 65 0d 69 66 20 | 22 53 74 61 72 74 75 70 |aste.if |"Startup|
|00000f00| 22 20 69 73 20 6e 6f 74 | 20 69 6e 20 74 68 65 20 |" is not| in the |
|00000f10| 53 74 61 63 6b 73 49 6e | 55 73 65 20 74 68 65 6e |StacksIn|Use then|
|00000f20| 0d 73 74 61 72 74 20 75 | 73 69 6e 67 20 73 74 61 |.start u|sing sta|
|00000f30| 63 6b 20 22 53 74 61 72 | 74 75 70 22 0d 65 6e 64 |ck "Star|tup".end|
|00000f40| 20 69 66 0d 68 69 64 65 | 20 77 69 6e 64 6f 77 20 | if.hide| window |
|00000f50| 22 73 63 72 6f 6c 6c 22 | 0d 73 65 74 20 63 75 72 |"scroll"|.set cur|
|00000f60| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 69 66 20 74 |sor to b|usy.if t|
|00000f70| 68 65 20 6c 6f 63 6b 73 | 63 72 65 65 6e 20 69 73 |he locks|creen is|
|00000f80| 20 66 61 6c 73 65 20 74 | 68 65 6e 20 6c 6f 63 6b | false t|hen lock|
|00000f90| 20 73 63 72 65 65 6e 0d | 6c 6f 63 6b 20 6d 65 73 | screen.|lock mes|
|00000fa0| 73 61 67 65 73 0d 69 66 | 20 62 65 65 6e 54 68 65 |sages.if| beenThe|
|00000fb0| 72 65 20 69 73 20 22 22 | 20 74 68 65 6e 20 70 75 |re is ""| then pu|
|00000fc0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 62 65 65 |t false |into bee|
|00000fd0| 6e 54 68 65 72 65 0d 70 | 75 74 20 66 61 6c 73 65 |nThere.p|ut false|
|00000fe0| 20 69 6e 74 6f 20 74 72 | 61 70 50 61 73 74 65 0d | into tr|apPaste.|
|00000ff0| 69 66 20 6e 6f 74 20 62 | 65 65 6e 54 68 65 72 65 |if not b|eenThere|
|00001000| 20 74 68 65 6e 0d 67 6f | 20 74 6f 20 73 74 61 63 | then.go| to stac|
|00001010| 6b 20 73 74 61 72 74 75 | 70 0d 75 6e 6c 6f 63 6b |k startu|p.unlock|
|00001020| 20 73 63 72 65 65 6e 0d | 6c 6f 63 6b 20 73 63 72 | screen.|lock scr|
|00001030| 65 65 6e 0d 67 6f 20 62 | 61 63 6b 0d 75 6e 6c 6f |een.go b|ack.unlo|
|00001040| 63 6b 20 6d 65 73 73 61 | 67 65 73 0d 65 6e 64 20 |ck messa|ges.end |
|00001050| 69 66 0d 70 75 74 20 74 | 68 65 20 73 63 72 65 65 |if.put t|he scree|
|00001060| 6e 72 65 63 74 20 69 6e | 74 6f 20 73 72 0d 70 75 |nrect in|to sr.pu|
|00001070| 74 20 28 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |t (item |3 of the|
|00001080| 20 72 65 63 74 20 6f 66 | 20 74 68 69 73 20 63 61 | rect of| this ca|
|00001090| 72 64 29 20 2d 35 35 26 | 22 2c 31 32 22 20 69 6e |rd) -55&|",12" in|
|000010a0| 74 6f 20 6e 72 0d 73 68 | 6f 77 20 77 69 6e 64 6f |to nr.sh|ow windo|
|000010b0| 77 20 22 73 63 72 6f 6c | 6c 22 20 61 74 20 6e 72 |w "scrol|l" at nr|
|000010c0| 0d 69 66 20 74 68 65 20 | 6c 6f 63 6b 73 63 72 65 |.if the |lockscre|
|000010d0| 65 6e 20 69 73 20 66 61 | 6c 73 65 20 74 68 65 6e |en is fa|lse then|
|000010e0| 20 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 2d 2d 73 | lock sc|reen.--s|
|000010f0| 74 61 6e 64 61 72 64 20 | 4d 61 63 20 68 61 73 20 |tandard |Mac has |
|00001100| 73 63 72 65 65 6e 52 65 | 63 74 20 6f 66 20 30 2c |screenRe|ct of 0,|
|00001110| 30 2c 35 31 32 2c 33 34 | 36 0d 2d 2d 73 74 61 6e |0,512,34|6.--stan|
|00001120| 64 61 72 64 20 4d 61 63 | 20 49 49 20 73 63 72 65 |dard Mac| II scre|
|00001130| 65 6e 20 68 61 73 20 30 | 2c 30 2c 36 34 30 2c 34 |en has 0|,0,640,4|
|00001140| 38 30 0d 2d 2d 4d 61 78 | 41 70 70 6c 65 5a 6f 6f |80.--Max|AppleZoo|
|00001150| 6d 20 68 61 73 20 30 2c | 30 2c 36 37 32 2c 35 31 |m has 0,|0,672,51|
|00001160| 32 0d 2d 2d 77 69 74 68 | 20 73 63 72 6f 6c 6c 20 |2.--with| scroll |
|00001170| 77 69 6e 64 6f 77 20 62 | 65 73 74 20 61 74 20 35 |window b|est at 5|
|00001180| 38 33 2c 31 32 20 28 63 | 61 72 64 20 63 6f 6f 72 |83,12 (c|ard coor|
|00001190| 64 2e 29 0d 69 66 20 69 | 74 65 6d 20 33 20 6f 66 |d.).if i|tem 3 of|
|000011a0| 20 73 72 20 b2 20 35 31 | 32 20 74 68 65 6e 20 70 | sr . 51|2 then p|
|000011b0| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 73 6d 53 |ut true |into smS|
|000011c0| 63 72 6e 0d 65 6c 73 65 | 0d 70 75 74 20 66 61 6c |crn.else|.put fal|
|000011d0| 73 65 20 69 6e 74 6f 20 | 73 6d 53 63 72 6e 0d 65 |se into |smScrn.e|
|000011e0| 6e 64 20 69 66 0d 63 68 | 65 63 6b 4c 65 76 65 6c |nd if.ch|eckLevel|
|000011f0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00001200| 63 6c 65 61 72 48 0d 70 | 75 74 20 31 20 69 6e 74 |clearH.p|ut 1 int|
|00001210| 6f 20 77 68 4c 69 6e 65 | 0d 69 66 20 73 6d 53 63 |o whLine|.if smSc|
|00001220| 72 6e 20 74 68 65 6e 0d | 64 6f 52 4e 0d 73 65 6e |rn then.|doRN.sen|
|00001230| 64 20 72 65 73 65 74 46 | 6c 64 73 20 74 6f 20 66 |d resetF|lds to f|
|00001240| 69 72 73 74 20 62 67 0d | 65 6e 64 20 69 66 0d 69 |irst bg.|end if.i|
|00001250| 66 20 28 68 65 61 70 73 | 70 61 63 65 28 29 20 64 |f (heaps|pace() d|
|00001260| 69 76 20 31 30 32 34 29 | 20 3c 20 32 30 30 20 74 |iv 1024)| < 200 t|
|00001270| 68 65 6e 0d 65 72 72 6d | 65 6d 6f 72 79 31 0d 65 |hen.errm|emory1.e|
|00001280| 6e 64 20 69 66 0d 2d 2d | 69 66 20 77 72 6f 6e 67 |nd if.--|if wrong|
|00001290| 53 74 61 63 6b 28 29 20 | 74 68 65 6e 20 70 61 73 |Stack() |then pas|
|000012a0| 73 20 6f 70 65 6e 53 74 | 61 63 6b 0d 69 66 20 68 |s openSt|ack.if h|
|000012b0| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|000012c0| 22 73 70 65 61 6b 65 72 | 22 20 74 68 65 6e 0d 70 |"speaker|" then.p|
|000012d0| 75 74 20 28 22 7a 22 20 | 69 73 20 69 6e 20 41 76 |ut ("z" |is in Av|
|000012e0| 61 69 6c 61 62 6c 65 28 | 22 73 6f 75 6e 22 29 29 |ailable(|"soun"))|
|000012f0| 20 69 6e 74 6f 20 77 68 | 73 6e 64 73 0d 69 66 20 | into wh|snds.if |
|00001300| 77 68 73 6e 64 73 20 74 | 68 65 6e 0d 70 75 74 20 |whsnds t|hen.put |
|00001310| 22 61 6c 6c 22 20 69 6e | 74 6f 20 77 68 54 79 70 |"all" in|to whTyp|
|00001320| 65 0d 65 6c 73 65 0d 70 | 75 74 20 22 22 20 69 6e |e.else.p|ut "" in|
|00001330| 74 6f 20 77 68 54 79 70 | 65 0d 65 6e 64 20 69 66 |to whTyp|e.end if|
|00001340| 0d 65 6e 64 20 69 66 0d | 70 61 73 73 20 6f 70 65 |.end if.|pass ope|
|00001350| 6e 53 74 61 63 6b 0d 65 | 6e 64 20 6f 70 65 6e 73 |nStack.e|nd opens|
|00001360| 74 61 63 6b 0d 0d 6f 6e | 20 63 6c 6f 73 65 73 74 |tack..on| closest|
|00001370| 61 63 6b 0d 69 66 20 77 | 72 6f 6e 67 53 74 61 63 |ack.if w|rongStac|
|00001380| 6b 28 29 20 74 68 65 6e | 20 70 61 73 73 20 63 6c |k() then| pass cl|
|00001390| 6f 73 65 53 74 61 63 6b | 0d 63 68 65 63 6b 46 6f |oseStack|.checkFo|
|000013a0| 72 4f 6c 64 4c 65 76 65 | 6c 73 0d 68 69 64 65 20 |rOldLeve|ls.hide |
|000013b0| 77 69 6e 64 6f 77 20 22 | 73 63 72 6f 6c 6c 22 0d |window "|scroll".|
|000013c0| 69 66 20 74 68 65 20 66 | 72 65 65 53 69 7a 65 20 |if the f|reeSize |
|000013d0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 3e 20 |of this |stack > |
|000013e0| 28 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 69 |(the siz|e of thi|
|000013f0| 73 20 73 74 61 63 6b 2a | 2e 31 29 20 74 68 65 6e |s stack*|.1) then|
|00001400| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00001410| 75 73 79 0d 70 75 74 20 | 22 43 6f 6d 70 61 63 74 |usy.put |"Compact|
|00001420| 69 6e 67 20 53 74 61 63 | 6b 22 0d 64 6f 4d 65 6e |ing Stac|k".doMen|
|00001430| 75 20 22 43 6f 6d 70 61 | 63 74 20 53 74 61 63 6b |u "Compa|ct Stack|
|00001440| 22 0d 70 75 74 20 65 6d | 70 74 79 0d 68 69 64 65 |".put em|pty.hide|
|00001450| 20 6d 73 67 0d 65 6e 64 | 20 69 66 0d 63 48 43 64 | msg.end| if.cHCd|
|00001460| 69 73 70 6f 73 65 0d 68 | 69 64 65 20 66 6c 64 20 |ispose.h|ide fld |
|00001470| 61 61 62 72 65 76 73 0d | 69 66 20 22 53 74 61 72 |aabrevs.|if "Star|
|00001480| 74 75 70 22 20 69 73 20 | 69 6e 20 74 68 65 20 53 |tup" is |in the S|
|00001490| 74 61 63 6b 73 49 6e 55 | 73 65 20 74 68 65 6e 0d |tacksInU|se then.|
|000014a0| 73 74 6f 70 20 75 73 69 | 6e 67 20 73 74 61 63 6b |stop usi|ng stack|
|000014b0| 20 22 53 74 61 72 74 75 | 70 22 0d 65 6e 64 20 69 | "Startu|p".end i|
|000014c0| 66 0d 70 75 74 20 74 68 | 65 20 73 63 72 65 65 6e |f.put th|e screen|
|000014d0| 72 65 63 74 20 69 6e 74 | 6f 20 73 72 0d 73 65 74 |rect int|o sr.set|
|000014e0| 20 72 65 63 74 20 6f 66 | 20 62 67 20 62 74 6e 20 | rect of| bg btn |
|000014f0| 74 65 6d 70 48 69 64 65 | 20 74 6f 20 73 72 0d 70 |tempHide| to sr.p|
|00001500| 61 73 73 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 65 |ass clos|eStack.e|
|00001510| 6e 64 20 63 6c 6f 73 65 | 73 74 61 63 6b 0d 0d 6f |nd close|stack..o|
|00001520| 6e 20 72 65 73 75 6d 65 | 0d 69 66 20 77 72 6f 6e |n resume|.if wron|
|00001530| 67 53 74 61 63 6b 28 29 | 20 74 68 65 6e 20 70 61 |gStack()| then pa|
|00001540| 73 73 20 72 65 73 75 6d | 65 0d 69 66 20 22 53 74 |ss resum|e.if "St|
|00001550| 61 72 74 75 70 22 20 69 | 73 20 6e 6f 74 20 69 6e |artup" i|s not in|
|00001560| 20 74 68 65 20 53 74 61 | 63 6b 73 49 6e 55 73 65 | the Sta|cksInUse|
|00001570| 20 74 68 65 6e 0d 73 74 | 61 72 74 20 75 73 69 6e | then.st|art usin|
|00001580| 67 20 73 74 61 63 6b 20 | 22 53 74 61 72 74 75 70 |g stack |"Startup|
|00001590| 22 0d 65 6e 64 20 69 66 | 0d 63 68 65 63 6b 4c 65 |".end if|.checkLe|
|000015a0| 76 65 6c 0d 63 48 43 69 | 6e 73 74 61 6c 6c 0d 73 |vel.cHCi|nstall.s|
|000015b0| 65 74 20 6c 6f 63 20 6f | 66 20 62 67 20 62 74 6e |et loc o|f bg btn|
|000015c0| 20 74 65 6d 70 48 69 64 | 65 20 74 6f 20 31 35 30 | tempHid|e to 150|
|000015d0| 30 2c 31 35 30 30 0d 70 | 61 73 73 20 72 65 73 75 |0,1500.p|ass resu|
|000015e0| 6d 65 0d 65 6e 64 20 72 | 65 73 75 6d 65 0d 0d 6f |me.end r|esume..o|
|000015f0| 6e 20 73 75 73 70 65 6e | 64 0d 69 66 20 77 72 6f |n suspen|d.if wro|
|00001600| 6e 67 53 74 61 63 6b 28 | 29 20 74 68 65 6e 20 70 |ngStack(|) then p|
|00001610| 61 73 73 20 73 75 73 70 | 65 6e 64 0d 63 68 65 63 |ass susp|end.chec|
|00001620| 6b 46 6f 72 4f 6c 64 4c | 65 76 65 6c 73 0d 63 48 |kForOldL|evels.cH|
|00001630| 43 64 69 73 70 6f 73 65 | 0d 70 61 73 73 20 73 75 |Cdispose|.pass su|
|00001640| 73 70 65 6e 64 0d 65 6e | 64 20 73 75 73 70 65 6e |spend.en|d suspen|
|00001650| 64 0d 0d 6f 6e 20 72 65 | 73 75 6d 65 53 74 61 63 |d..on re|sumeStac|
|00001660| 6b 0d 69 66 20 77 72 6f | 6e 67 53 74 61 63 6b 28 |k.if wro|ngStack(|
|00001670| 29 20 74 68 65 6e 20 70 | 61 73 73 20 72 65 73 75 |) then p|ass resu|
|00001680| 6d 65 53 74 61 63 6b 0d | 69 66 20 22 53 74 61 72 |meStack.|if "Star|
|00001690| 74 75 70 22 20 69 73 20 | 6e 6f 74 20 69 6e 20 74 |tup" is |not in t|
|000016a0| 68 65 20 53 74 61 63 6b | 73 49 6e 55 73 65 20 74 |he Stack|sInUse t|
|000016b0| 68 65 6e 0d 73 74 61 72 | 74 20 75 73 69 6e 67 20 |hen.star|t using |
|000016c0| 73 74 61 63 6b 20 22 53 | 74 61 72 74 75 70 22 0d |stack "S|tartup".|
|000016d0| 65 6e 64 20 69 66 0d 63 | 68 65 63 6b 4c 65 76 65 |end if.c|heckLeve|
|000016e0| 6c 0d 63 48 43 69 6e 73 | 74 61 6c 6c 0d 73 65 74 |l.cHCins|tall.set|
|000016f0| 20 6c 6f 63 20 6f 66 20 | 62 67 20 62 74 6e 20 74 | loc of |bg btn t|
|00001700| 65 6d 70 48 69 64 65 20 | 74 6f 20 31 35 30 30 2c |empHide |to 1500,|
|00001710| 31 35 30 30 0d 70 61 73 | 73 20 72 65 73 75 6d 65 |1500.pas|s resume|
|00001720| 53 74 61 63 6b 0d 65 6e | 64 20 72 65 73 75 6d 65 |Stack.en|d resume|
|00001730| 53 74 61 63 6b 0d 0d 6f | 6e 20 63 68 65 63 6b 4c |Stack..o|n checkL|
|00001740| 65 76 65 6c 0d 70 75 74 | 20 74 68 65 20 73 63 72 |evel.put| the scr|
|00001750| 65 65 6e 72 65 63 74 20 | 69 6e 74 6f 20 73 72 0d |eenrect |into sr.|
|00001760| 73 65 74 20 72 65 63 74 | 20 6f 66 20 62 67 20 62 |set rect| of bg b|
|00001770| 74 6e 20 74 65 6d 70 68 | 69 64 65 20 74 6f 20 73 |tn temph|ide to s|
|00001780| 72 0d 70 61 73 73 20 63 | 68 65 63 6b 6c 65 76 65 |r.pass c|heckleve|
|00001790| 6c 0d 65 6e 64 20 63 68 | 65 63 6b 4c 65 76 65 6c |l.end ch|eckLevel|
|000017a0| 0d 0d 6f 6e 20 73 75 73 | 70 65 6e 64 53 74 61 63 |..on sus|pendStac|
|000017b0| 6b 0d 63 68 65 63 6b 46 | 6f 72 4f 6c 64 4c 65 76 |k.checkF|orOldLev|
|000017c0| 65 6c 73 0d 69 66 20 77 | 72 6f 6e 67 53 74 61 63 |els.if w|rongStac|
|000017d0| 6b 28 29 20 74 68 65 6e | 20 70 61 73 73 20 73 75 |k() then| pass su|
|000017e0| 73 70 65 6e 64 53 74 61 | 63 6b 0d 63 48 43 64 69 |spendSta|ck.cHCdi|
|000017f0| 73 70 6f 73 65 0d 70 61 | 73 73 20 73 75 73 70 65 |spose.pa|ss suspe|
|00001800| 6e 64 53 74 61 63 6b 0d | 65 6e 64 20 73 75 73 70 |ndStack.|end susp|
|00001810| 65 6e 64 53 74 61 63 6b | 0d 0d 6f 6e 20 6e 6f 72 |endStack|..on nor|
|00001820| 6d 61 6c 4d 65 6e 75 73 | 0d 73 65 74 20 63 75 72 |malMenus|.set cur|
|00001830| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 72 65 73 65 |sor to b|usy.rese|
|00001840| 74 20 6d 65 6e 75 42 61 | 72 0d 69 66 20 74 68 65 |t menuBa|r.if the|
|00001850| 20 6c 6f 63 6b 73 63 72 | 65 65 6e 20 69 73 20 66 | lockscr|een is f|
|00001860| 61 6c 73 65 20 74 68 65 | 6e 20 6c 6f 63 6b 20 73 |alse the|n lock s|
|00001870| 63 72 65 65 6e 0d 70 75 | 74 20 22 53 70 65 63 69 |creen.pu|t "Speci|
|00001880| 61 6c 20 4d 65 6e 75 73 | 2c 2d 22 20 62 65 66 6f |al Menus|,-" befo|
|00001890| 72 65 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 77 |re menu |"Edit" w|
|000018a0| 69 74 68 20 6d 65 6e 75 | 4d 65 73 73 61 67 65 73 |ith menu|Messages|
|000018b0| 20 22 64 6f 4d 65 6e 75 | 73 2c 2c 22 0d 65 6e 64 | "doMenu|s,,".end|
|000018c0| 20 6e 6f 72 6d 61 6c 4d | 65 6e 75 73 0d 0d 6f 6e | normalM|enus..on|
|000018d0| 20 73 65 74 75 70 4d 65 | 6e 75 73 0d 67 6c 6f 62 | setupMe|nus.glob|
|000018e0| 61 6c 20 77 68 4d 65 6e | 75 0d 73 65 74 20 63 75 |al whMen|u.set cu|
|000018f0| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 72 65 73 |rsor to |busy.res|
|00001900| 65 74 20 6d 65 6e 75 42 | 61 72 0d 69 66 20 74 68 |et menuB|ar.if th|
|00001910| 65 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 69 73 20 |e locksc|reen is |
|00001920| 66 61 6c 73 65 20 74 68 | 65 6e 20 6c 6f 63 6b 20 |false th|en lock |
|00001930| 73 63 72 65 65 6e 0d 69 | 66 20 74 68 65 20 6d 65 |screen.i|f the me|
|00001940| 6e 75 73 20 63 6f 6e 74 | 61 69 6e 73 20 22 54 6f |nus cont|ains "To|
|00001950| 6f 6c 73 22 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |ols" the|n delete|
|00001960| 20 6d 65 6e 75 20 22 54 | 6f 6f 6c 73 22 0d 69 66 | menu "T|ools".if|
|00001970| 20 74 68 65 20 6d 65 6e | 75 73 20 63 6f 6e 74 61 | the men|us conta|
|00001980| 69 6e 73 20 22 4f 62 6a | 65 63 74 73 22 20 74 68 |ins "Obj|ects" th|
|00001990| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|000019a0| 4f 62 6a 65 63 74 73 22 | 0d 69 66 20 74 68 65 20 |Objects"|.if the |
|000019b0| 6d 65 6e 75 73 20 63 6f | 6e 74 61 69 6e 73 20 22 |menus co|ntains "|
|000019c0| 46 6f 6e 74 22 20 74 68 | 65 6e 20 64 65 6c 65 74 |Font" th|en delet|
|000019d0| 65 20 6d 65 6e 75 20 22 | 46 6f 6e 74 22 0d 69 66 |e menu "|Font".if|
|000019e0| 20 74 68 65 20 6d 65 6e | 75 73 20 63 6f 6e 74 61 | the men|us conta|
|000019f0| 69 6e 73 20 22 53 74 79 | 6c 65 22 20 74 68 65 6e |ins "Sty|le" then|
|00001a00| 20 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 53 74 | delete |menu "St|
|00001a10| 79 6c 65 22 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |yle".set| cursor |
|00001a20| 74 6f 20 62 75 73 79 0d | 70 75 74 20 22 41 62 6f |to busy.|put "Abo|
|00001a30| 75 74 20 44 4e 41 20 53 | 74 61 63 6b 73 c9 22 20 |ut DNA S|tacks." |
|00001a40| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 31 20 |into men|uItem 1 |
|00001a50| 6f 66 20 6d 65 6e 75 20 | 22 41 70 70 6c 65 22 20 |of menu |"Apple" |
|00001a60| c2 0d 77 69 74 68 20 6d | 65 6e 75 4d 73 67 20 22 |..with m|enuMsg "|
|00001a70| 64 6f 41 62 6f 75 74 22 | 0d 73 65 74 20 63 75 72 |doAbout"|.set cur|
|00001a80| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 64 65 6c 65 |sor to b|usy.dele|
|00001a90| 74 65 20 6d 65 6e 75 49 | 74 65 6d 20 22 44 65 6c |te menuI|tem "Del|
|00001aa0| 65 74 65 20 53 74 61 63 | 6b 2e 2e 2e 22 20 6f 66 |ete Stac|k..." of|
|00001ab0| 20 6d 65 6e 75 20 22 46 | 69 6c 65 22 0d 64 65 6c | menu "F|ile".del|
|00001ac0| 65 74 65 20 6d 65 6e 75 | 49 74 65 6d 20 22 43 6f |ete menu|Item "Co|
|00001ad0| 70 79 20 43 61 72 64 22 | 20 6f 66 20 6d 65 6e 75 |py Card"| of menu|
|00001ae0| 20 22 45 64 69 74 22 0d | 64 65 6c 65 74 65 20 6d | "Edit".|delete m|
|00001af0| 65 6e 75 49 74 65 6d 20 | 22 43 75 74 20 43 61 72 |enuItem |"Cut Car|
|00001b00| 64 22 20 6f 66 20 6d 65 | 6e 75 20 22 45 64 69 74 |d" of me|nu "Edit|
|00001b10| 22 0d 64 65 6c 65 74 65 | 20 6d 65 6e 75 49 74 65 |".delete| menuIte|
|00001b20| 6d 20 22 54 65 78 74 20 | 53 74 79 6c 65 2e 2e 2e |m "Text |Style...|
|00001b30| 22 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |" of men|u "Edit"|
|00001b40| 0d 64 65 6c 65 74 65 20 | 6d 65 6e 75 49 74 65 6d |.delete |menuItem|
|00001b50| 20 22 42 61 63 6b 67 72 | 6f 75 6e 64 22 20 6f 66 | "Backgr|ound" of|
|00001b60| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 0d 64 65 6c | menu "E|dit".del|
|00001b70| 65 74 65 20 6d 65 6e 75 | 49 74 65 6d 20 22 49 63 |ete menu|Item "Ic|
|00001b80| 6f 6e 2e 2e 2e 22 20 6f | 66 20 6d 65 6e 75 20 22 |on..." o|f menu "|
|00001b90| 45 64 69 74 22 0d 2d 2d | 20 70 75 74 20 6e 75 6d |Edit".--| put num|
|00001ba0| 62 65 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 73 |ber of m|enuItems|
|00001bb0| 20 69 6e 20 6d 65 6e 75 | 20 22 45 64 69 74 22 20 | in menu| "Edit" |
|00001bc0| 69 6e 74 6f 20 63 68 65 | 63 6b 49 74 65 6d 73 0d |into che|ckItems.|
|00001bd0| 2d 2d 20 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |-- repea|t with x|
|00001be0| 20 3d 20 63 68 65 63 6b | 49 74 65 6d 73 20 64 6f | = check|Items do|
|00001bf0| 77 6e 20 74 6f 20 31 0d | 2d 2d 20 69 66 20 22 41 |wn to 1.|-- if "A|
|00001c00| 75 64 69 6f 22 20 69 73 | 20 69 6e 20 6d 65 6e 75 |udio" is| in menu|
|00001c10| 69 74 65 6d 20 78 20 6f | 66 20 6d 65 6e 75 20 22 |item x o|f menu "|
|00001c20| 45 64 69 74 22 20 74 68 | 65 6e 0d 2d 2d 20 64 65 |Edit" th|en.-- de|
|00001c30| 6c 65 74 65 20 6d 65 6e | 75 49 74 65 6d 20 78 20 |lete men|uItem x |
|00001c40| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 0d 0d |of menu |"Edit"..|
|00001c50| 2d 2d 20 2d 2d 20 64 65 | 6c 65 74 65 20 6d 65 6e |-- -- de|lete men|
|00001c60| 75 49 74 65 6d 20 22 41 | 75 64 69 6f 2e 2e 2e 22 |uItem "A|udio..."|
|00001c70| 20 6f 66 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d | of menu| "Edit".|
|00001c80| 2d 2d 20 2d 2d 20 64 65 | 6c 65 74 65 20 6d 65 6e |-- -- de|lete men|
|00001c90| 75 49 74 65 6d 20 22 41 | 75 64 69 6f 20 48 65 6c |uItem "A|udio Hel|
|00001ca0| 70 22 20 6f 66 20 6d 65 | 6e 75 20 22 45 64 69 74 |p" of me|nu "Edit|
|00001cb0| 22 0d 2d 2d 20 65 6e 64 | 20 69 66 0d 2d 2d 20 65 |".-- end| if.-- e|
|00001cc0| 6e 64 20 72 65 70 65 61 | 74 0d 2d 2d 20 70 75 74 |nd repea|t.-- put|
|00001cd0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6d 65 6e 75 49 | number |of menuI|
|00001ce0| 74 65 6d 73 20 69 6e 20 | 6d 65 6e 75 20 22 45 64 |tems in |menu "Ed|
|00001cf0| 69 74 22 20 69 6e 74 6f | 20 63 68 65 63 6b 49 74 |it" into| checkIt|
|00001d00| 65 6d 73 32 0d 2d 2d 20 | 69 66 20 63 68 65 63 6b |ems2.-- |if check|
|00001d10| 49 74 65 6d 73 32 20 3c | 20 63 68 65 63 6b 49 74 |Items2 <| checkIt|
|00001d20| 65 6d 73 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |ems then| delete |
|00001d30| 6d 65 6e 75 49 74 65 6d | 20 63 68 65 63 6b 49 74 |menuItem| checkIt|
|00001d40| 65 6d 73 32 20 6f 66 20 | 6d 65 6e 75 20 22 45 64 |ems2 of |menu "Ed|
|00001d50| 69 74 22 0d 70 75 74 20 | 22 53 74 61 6e 64 61 72 |it".put |"Standar|
|00001d60| 64 20 4d 65 6e 75 73 2c | 2d 22 20 62 65 66 6f 72 |d Menus,|-" befor|
|00001d70| 65 20 6d 65 6e 75 20 22 | 45 64 69 74 22 20 77 69 |e menu "|Edit" wi|
|00001d80| 74 68 20 6d 65 6e 75 4d | 65 73 73 61 67 65 73 20 |th menuM|essages |
|00001d90| 22 6e 6f 72 6d 61 6c 4d | 65 6e 75 73 2c 2c 22 0d |"normalM|enus,,".|
|00001da0| 2d 2d 20 70 75 74 20 22 | 31 2c 32 22 20 61 66 74 |-- put "|1,2" aft|
|00001db0| 65 72 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 77 |er menu |"Edit" w|
|00001dc0| 69 74 68 20 6d 65 6e 75 | 4d 65 73 73 61 67 65 73 |ith menu|Messages|
|00001dd0| 20 22 61 2c 62 22 0d 73 | 65 74 20 74 68 65 20 6d | "a,b".s|et the m|
|00001de0| 65 6e 75 4d 73 67 20 6f | 66 20 6d 65 6e 75 49 74 |enuMsg o|f menuIt|
|00001df0| 65 6d 20 22 4e 65 77 20 | 43 61 72 64 22 20 6f 66 |em "New |Card" of|
|00001e00| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 20 74 6f 20 | menu "E|dit" to |
|00001e10| 22 64 6f 4e 65 77 43 61 | 72 64 22 0d 73 65 74 20 |"doNewCa|rd".set |
|00001e20| 74 68 65 20 6d 65 6e 75 | 4d 73 67 20 6f 66 20 6d |the menu|Msg of m|
|00001e30| 65 6e 75 49 74 65 6d 20 | 22 44 65 6c 65 74 65 20 |enuItem |"Delete |
|00001e40| 43 61 72 64 22 20 6f 66 | 20 6d 65 6e 75 20 22 45 |Card" of| menu "E|
|00001e50| 64 69 74 22 20 74 6f 20 | 22 64 6f 44 65 6c 65 74 |dit" to |"doDelet|
|00001e60| 65 43 61 72 64 22 0d 64 | 65 6c 65 74 65 20 6d 65 |eCard".d|elete me|
|00001e70| 6e 75 49 74 65 6d 20 28 | 6e 75 6d 62 65 72 20 6f |nuItem (|number o|
|00001e80| 66 20 6d 65 6e 75 49 74 | 65 6d 73 20 69 6e 20 6d |f menuIt|ems in m|
|00001e90| 65 6e 75 20 22 45 64 69 | 74 22 29 20 6f 66 20 6d |enu "Edi|t") of m|
|00001ea0| 65 6e 75 20 22 45 64 69 | 74 22 0d 70 75 74 20 22 |enu "Edi|t".put "|
|00001eb0| 2d 2c 43 6f 64 6f 6e 20 | 47 72 61 70 68 73 2c 47 |-,Codon |Graphs,G|
|00001ec0| 65 6e 65 20 4d 61 70 70 | 65 72 2c 55 74 69 6c 69 |ene Mapp|er,Utili|
|00001ed0| 74 79 20 43 61 72 64 22 | 20 c2 0d 61 66 74 65 72 |ty Card"| ..after|
|00001ee0| 20 6d 65 6e 75 20 22 47 | 6f 22 20 77 69 74 68 20 | menu "G|o" with |
|00001ef0| 6d 65 6e 75 4d 65 73 73 | 61 67 65 73 20 22 2c 64 |menuMess|ages ",d|
|00001f00| 6f 55 55 55 2c 64 6f 47 | 4f 2c 64 6f 55 74 22 0d |oUUU,doG|O,doUt".|
|00001f10| 73 65 74 20 74 68 65 20 | 6d 65 6e 75 4d 73 67 20 |set the |menuMsg |
|00001f20| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 48 65 6c |of menuI|tem "Hel|
|00001f30| 70 22 20 6f 66 20 6d 65 | 6e 75 20 22 47 6f 22 20 |p" of me|nu "Go" |
|00001f40| 74 6f 20 22 64 6f 48 65 | 6c 70 22 0d 73 65 74 20 |to "doHe|lp".set |
|00001f50| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00001f60| 65 6e 75 49 74 65 6d 20 | 22 43 6f 64 6f 6e 20 47 |enuItem |"Codon G|
|00001f70| 72 61 70 68 73 22 20 6f | 66 20 6d 65 6e 75 20 22 |raphs" o|f menu "|
|00001f80| 47 6f 22 20 74 6f 20 22 | 35 22 0d 73 65 74 20 63 |Go" to "|5".set c|
|00001f90| 6f 6d 6d 61 6e 64 43 68 | 61 72 20 6f 66 20 6d 65 |ommandCh|ar of me|
|00001fa0| 6e 75 49 74 65 6d 20 22 | 47 65 6e 65 20 4d 61 70 |nuItem "|Gene Map|
|00001fb0| 70 65 72 22 20 6f 66 20 | 6d 65 6e 75 20 22 47 6f |per" of |menu "Go|
|00001fc0| 22 20 74 6f 20 22 47 22 | 0d 73 65 74 20 63 6f 6d |" to "G"|.set com|
|00001fd0| 6d 61 6e 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 |mandChar| of menu|
|00001fe0| 49 74 65 6d 20 22 55 74 | 69 6c 69 74 79 20 43 61 |Item "Ut|ility Ca|
|00001ff0| 72 64 22 20 6f 66 20 6d | 65 6e 75 20 22 47 6f 22 |rd" of m|enu "Go"|
|00002000| 20 74 6f 20 22 55 22 0d | 2d 2d 20 70 75 74 20 22 | to "U".|-- put "|
|00002010| 47 6f 22 20 69 6e 74 6f | 20 77 68 4d 65 6e 75 0d |Go" into| whMenu.|
|00002020| 2d 2d 20 70 75 74 20 22 | 3f 2d 48 54 4c 2d 4d 2d |-- put "|?-HTL-M-|
|00002030| 44 47 55 22 20 69 6e 74 | 6f 20 77 6b 0d 2d 2d 20 |DGU" int|o wk.-- |
|00002040| 64 6f 43 6d 64 4b 65 79 | 20 77 6b 0d 2d 2d 20 75 |doCmdKey| wk.-- u|
|00002050| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00002060| 20 73 65 74 75 70 4d 65 | 6e 75 73 0d 0d 6f 6e 20 | setupMe|nus..on |
|00002070| 64 6f 4d 73 67 0d 69 66 | 20 74 68 65 20 76 69 73 |doMsg.if| the vis|
|00002080| 69 62 6c 65 20 6f 66 20 | 6d 73 67 20 74 68 65 6e |ible of |msg then|
|00002090| 0d 68 69 64 65 20 6d 73 | 67 0d 65 6c 73 65 0d 70 |.hide ms|g.else.p|
|000020a0| 75 74 20 65 6d 70 74 79 | 0d 65 6e 64 20 69 66 0d |ut empty|.end if.|
|000020b0| 65 6e 64 20 64 6f 4d 73 | 67 0d 0d 6f 6e 20 6c 6f |end doMs|g..on lo|
|000020c0| 63 6b 73 74 75 66 66 0d | 6c 6f 63 6b 20 73 63 72 |ckstuff.|lock scr|
|000020d0| 65 65 6e 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |een.set |cursor t|
|000020e0| 6f 20 62 75 73 79 0d 65 | 6e 64 20 6c 6f 63 6b 73 |o busy.e|nd locks|
|000020f0| 74 75 66 66 0d 0d 6f 6e | 20 64 6f 55 55 55 0d 6c |tuff..on| doUUU.l|
|00002100| 6f 63 6b 73 74 75 66 66 | 0d 67 6f 20 74 6f 20 63 |ockstuff|.go to c|
|00002110| 64 20 22 55 55 55 22 20 | 69 6e 20 73 74 61 63 6b |d "UUU" |in stack|
|00002120| 20 22 43 6f 64 6f 6e 20 | 55 73 61 67 65 22 0d 75 | "Codon |Usage".u|
|00002130| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00002140| 68 20 64 69 73 73 6f 6c | 76 65 20 73 6c 6f 77 0d |h dissol|ve slow.|
|00002150| 65 6e 64 20 64 6f 55 55 | 55 0d 0d 6f 6e 20 64 6f |end doUU|U..on do|
|00002160| 47 4f 0d 6c 6f 63 6b 73 | 74 75 66 66 0d 67 6f 20 |GO.locks|tuff.go |
|00002170| 74 6f 20 63 64 20 47 65 | 6e 65 4f 72 64 65 72 20 |to cd Ge|neOrder |
|00002180| 69 6e 20 73 74 61 63 6b | 20 22 44 4e 41 20 54 72 |in stack| "DNA Tr|
|00002190| 61 6e 73 6c 61 74 6f 72 | 22 0d 75 6e 6c 6f 63 6b |anslator|".unlock|
|000021a0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 64 69 73 | screen |with dis|
|000021b0| 73 6f 6c 76 65 20 73 6c | 6f 77 0d 65 6e 64 20 64 |solve sl|ow.end d|
|000021c0| 6f 47 4f 0d 0d 6f 6e 20 | 64 6f 55 74 0d 6c 6f 63 |oGO..on |doUt.loc|
|000021d0| 6b 73 74 75 66 66 0d 67 | 6f 20 74 6f 20 6c 61 73 |kstuff.g|o to las|
|000021e0| 74 20 63 64 20 69 6e 20 | 73 74 61 63 6b 20 22 44 |t cd in |stack "D|
|000021f0| 4e 41 20 54 72 61 6e 73 | 6c 61 74 6f 72 22 0d 75 |NA Trans|lator".u|
|00002200| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00002210| 68 20 64 69 73 73 6f 6c | 76 65 20 73 6c 6f 77 0d |h dissol|ve slow.|
|00002220| 65 6e 64 20 64 6f 55 74 | 0d 0d 6f 6e 20 64 6f 4d |end doUt|..on doM|
|00002230| 65 6e 75 73 0d 69 66 20 | 74 68 65 20 69 64 20 6f |enus.if |the id o|
|00002240| 66 20 74 68 69 73 20 62 | 67 20 69 73 20 32 37 35 |f this b|g is 275|
|00002250| 34 20 74 68 65 6e 0d 73 | 65 74 75 70 4d 65 6e 75 |4 then.s|etupMenu|
|00002260| 73 0d 73 65 6e 64 20 73 | 65 74 75 70 42 67 4d 65 |s.send s|etupBgMe|
|00002270| 6e 75 73 20 74 6f 20 74 | 68 69 73 20 62 67 0d 65 |nus to t|his bg.e|
|00002280| 6e 64 20 69 66 0d 65 6e | 64 20 64 6f 4d 65 6e 75 |nd if.en|d doMenu|
|00002290| 73 0d 0d 6f 6e 20 64 6f | 41 62 6f 75 74 0d 55 6c |s..on do|About.Ul|
|000022a0| 74 69 6d 61 74 65 41 62 | 6f 75 74 0d 2d 2d 20 73 |timateAb|out.-- s|
|000022b0| 65 6e 64 20 6d 6f 75 73 | 65 55 70 20 74 6f 20 62 |end mous|eUp to b|
|000022c0| 67 20 62 74 6e 20 69 6e | 66 6f 20 6f 66 20 63 64 |g btn in|fo of cd|
|000022d0| 20 31 0d 65 6e 64 20 64 | 6f 41 62 6f 75 74 0d 0d | 1.end d|oAbout..|
|000022e0| 6f 6e 20 64 6f 43 6d 64 | 4b 65 79 20 77 68 4b 65 |on doCmd|Key whKe|
|000022f0| 79 0d 67 6c 6f 62 61 6c | 20 77 68 4d 65 6e 75 0d |y.global| whMenu.|
|00002300| 72 65 70 65 61 74 20 77 | 69 74 68 20 77 3d 31 20 |repeat w|ith w=1 |
|00002310| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |to numbe|r of cha|
|00002320| 72 73 20 69 6e 20 77 68 | 4b 65 79 0d 69 66 20 63 |rs in wh|Key.if c|
|00002330| 68 61 72 20 77 20 6f 66 | 20 77 68 4b 65 79 20 ad |har w of| whKey .|
|00002340| 20 22 2d 22 20 74 68 65 | 6e 0d 73 65 74 20 63 6f | "-" the|n.set co|
|00002350| 6d 6d 61 6e 64 43 68 61 | 72 20 6f 66 20 6d 65 6e |mmandCha|r of men|
|00002360| 75 49 74 65 6d 20 77 20 | 6f 66 20 6d 65 6e 75 20 |uItem w |of menu |
|00002370| 77 68 4d 65 6e 75 20 74 | 6f 20 63 68 61 72 20 77 |whMenu t|o char w|
|00002380| 20 6f 66 20 77 68 4b 65 | 79 0d 65 6e 64 20 69 66 | of whKe|y.end if|
|00002390| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000023a0| 64 6f 43 6d 64 4b 65 79 | 0d 0d 6f 6e 20 64 6f 53 |doCmdKey|..on doS|
|000023b0| 63 72 6e 20 77 68 69 63 | 68 0d 67 6c 6f 62 61 6c |crn whic|h.global|
|000023c0| 20 73 6d 53 63 72 6e 0d | 69 66 20 74 68 65 20 74 | smScrn.|if the t|
|000023d0| 6f 70 20 6f 66 20 66 6c | 64 20 74 75 74 6f 72 69 |op of fl|d tutori|
|000023e0| 61 6c 20 ad 20 34 39 20 | 74 68 65 6e 0d 73 65 6e |al . 49 |then.sen|
|000023f0| 64 20 6d 6f 75 73 65 44 | 6f 77 6e 20 74 6f 20 62 |d mouseD|own to b|
|00002400| 67 20 66 6c 64 20 74 75 | 74 6f 72 69 61 6c 0d 70 |g fld tu|torial.p|
|00002410| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 64 6f 54 |ut true |into doT|
|00002420| 75 74 0d 65 6c 73 65 20 | 70 75 74 20 66 61 6c 73 |ut.else |put fals|
|00002430| 65 20 69 6e 74 6f 20 64 | 6f 54 75 74 0d 69 66 20 |e into d|oTut.if |
|00002440| 77 68 69 63 68 20 69 73 | 20 22 73 6d 61 6c 6c 22 |which is| "small"|
|00002450| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 6e 61 | then.se|t the na|
|00002460| 6d 65 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |me of me|nuItem "|
|00002470| 53 6d 61 6c 6c 20 57 69 | 6e 64 6f 77 22 20 6f 66 |Small Wi|ndow" of|
|00002480| 20 6d 65 6e 75 20 22 56 | 69 65 77 22 20 74 6f 20 | menu "V|iew" to |
|00002490| c2 0d 22 46 75 6c 6c 20 | 57 69 6e 64 6f 77 22 0d |.."Full |Window".|
|000024a0| 73 65 74 20 74 68 65 20 | 6d 65 6e 75 4d 73 67 20 |set the |menuMsg |
|000024b0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 46 75 6c |of menuI|tem "Ful|
|000024c0| 6c 20 57 69 6e 64 6f 77 | 22 20 6f 66 20 6d 65 6e |l Window|" of men|
|000024d0| 75 20 22 56 69 65 77 22 | 20 74 6f 20 c2 0d 22 64 |u "View"| to .."d|
|000024e0| 6f 53 63 72 6e 20 46 75 | 6c 6c 22 0d 70 75 74 20 |oScrn Fu|ll".put |
|000024f0| 74 72 75 65 20 69 6e 74 | 6f 20 73 6d 53 63 72 6e |true int|o smScrn|
|00002500| 0d 65 6c 73 65 0d 73 65 | 74 20 74 68 65 20 6e 61 |.else.se|t the na|
|00002510| 6d 65 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |me of me|nuItem "|
|00002520| 46 75 6c 6c 20 57 69 6e | 64 6f 77 22 20 6f 66 20 |Full Win|dow" of |
|00002530| 6d 65 6e 75 20 22 56 69 | 65 77 22 20 74 6f 20 c2 |menu "Vi|ew" to .|
|00002540| 0d 22 53 6d 61 6c 6c 20 | 57 69 6e 64 6f 77 22 0d |."Small |Window".|
|00002550| 73 65 74 20 74 68 65 20 | 6d 65 6e 75 4d 73 67 20 |set the |menuMsg |
|00002560| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 53 6d 61 |of menuI|tem "Sma|
|00002570| 6c 6c 20 57 69 6e 64 6f | 77 22 20 6f 66 20 6d 65 |ll Windo|w" of me|
|00002580| 6e 75 20 22 56 69 65 77 | 22 20 74 6f 20 c2 0d 22 |nu "View|" to .."|
|00002590| 64 6f 53 63 72 6e 20 73 | 6d 61 6c 6c 22 0d 70 75 |doScrn s|mall".pu|
|000025a0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 73 6d 53 |t false |into smS|
|000025b0| 63 72 6e 0d 65 6e 64 20 | 69 66 0d 69 66 20 64 6f |crn.end |if.if do|
|000025c0| 54 75 74 20 74 68 65 6e | 20 73 65 6e 64 20 6d 6f |Tut then| send mo|
|000025d0| 75 73 65 44 6f 77 6e 20 | 74 6f 20 62 67 20 66 6c |useDown |to bg fl|
|000025e0| 64 20 74 75 74 6f 72 69 | 61 6c 0d 73 65 6e 64 20 |d tutori|al.send |
|000025f0| 72 65 73 65 74 46 6c 64 | 73 20 74 6f 20 74 68 69 |resetFld|s to thi|
|00002600| 73 20 62 67 0d 65 6e 64 | 20 64 6f 53 63 72 6e 0d |s bg.end| doScrn.|
|00002610| 0d 6f 6e 20 64 6f 52 4e | 0d 67 6c 6f 62 61 6c 20 |.on doRN|.global |
|00002620| 6e 75 6d 73 65 71 73 2c | 6f 6e 75 6d 73 65 71 73 |numseqs,|onumseqs|
|00002630| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 65 74 |.lock sc|reen.set|
|00002640| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00002650| 69 66 20 66 6c 64 20 72 | 6f 77 6e 75 6d 73 20 3d |if fld r|ownums =|
|00002660| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 22 31 22 | "" then|.put "1"|
|00002670| 26 72 65 74 75 72 6e 26 | 22 32 22 26 72 65 74 75 |&return&|"2"&retu|
|00002680| 72 6e 26 22 33 22 26 72 | 65 74 75 72 6e 26 22 34 |rn&"3"&r|eturn&"4|
|00002690| 22 26 72 65 74 75 72 6e | 26 22 35 22 26 72 65 74 |"&return|&"5"&ret|
|000026a0| 75 72 6e 26 c2 0d 22 36 | 22 26 72 65 74 75 72 6e |urn&.."6|"&return|
|000026b0| 26 72 65 74 75 72 6e 26 | 72 65 74 75 72 6e 20 69 |&return&|return i|
|000026c0| 6e 74 6f 20 64 65 66 61 | 75 6c 74 0d 65 6e 64 20 |nto defa|ult.end |
|000026d0| 69 66 0d 72 65 70 65 61 | 74 20 31 32 0d 70 75 74 |if.repea|t 12.put|
|000026e0| 20 64 65 66 61 75 6c 74 | 20 61 66 74 65 72 20 66 | default| after f|
|000026f0| 6c 64 20 72 6f 77 6e 75 | 6d 73 0d 65 6e 64 20 72 |ld rownu|ms.end r|
|00002700| 65 70 65 61 74 0d 70 75 | 74 20 6e 75 6d 62 65 72 |epeat.pu|t number|
|00002710| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 66 6c 64 | of line|s in fld|
|00002720| 20 72 6f 77 6e 75 6d 73 | 20 69 6e 74 6f 20 6e 75 | rownums| into nu|
|00002730| 6d 73 65 71 73 0d 72 65 | 70 65 61 74 20 77 69 74 |mseqs.re|peat wit|
|00002740| 68 20 78 3d 31 20 74 6f | 20 6e 75 6d 73 65 71 73 |h x=1 to| numseqs|
|00002750| 0d 69 66 20 6c 69 6e 65 | 20 78 20 6f 66 20 66 6c |.if line| x of fl|
|00002760| 64 20 72 6f 77 6e 75 6d | 73 20 3d 20 22 22 20 74 |d rownum|s = "" t|
|00002770| 68 65 6e 0d 70 75 74 20 | 78 2d 31 20 69 6e 74 6f |hen.put |x-1 into|
|00002780| 20 6e 75 6d 73 65 71 73 | 0d 65 78 69 74 20 72 65 | numseqs|.exit re|
|00002790| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|000027a0| 72 65 70 65 61 74 0d 69 | 66 20 6e 75 6d 73 65 71 |repeat.i|f numseq|
|000027b0| 73 20 ad 20 6f 6e 75 6d | 73 65 71 73 20 74 68 65 |s . onum|seqs the|
|000027c0| 6e 0d 73 65 6e 64 20 72 | 65 73 65 74 46 6c 64 73 |n.send r|esetFlds|
|000027d0| 20 74 6f 20 74 68 69 73 | 20 62 67 0d 65 6e 64 20 | to this| bg.end |
|000027e0| 69 66 0d 70 75 74 20 6e | 75 6d 73 65 71 73 20 69 |if.put n|umseqs i|
|000027f0| 6e 74 6f 20 6f 6e 75 6d | 73 65 71 73 0d 2d 2d 74 |nto onum|seqs.--t|
|00002800| 65 6d 70 0d 2d 2d 20 75 | 6e 6c 6f 63 6b 20 73 63 |emp.-- u|nlock sc|
|00002810| 72 65 65 6e 0d 65 6e 64 | 20 64 6f 52 4e 0d 0d 6f |reen.end| doRN..o|
|00002820| 6e 20 73 70 65 6c 6c 20 | 73 74 61 72 74 0d 67 6c |n spell |start.gl|
|00002830| 6f 62 61 6c 20 73 70 6b | 64 65 6c 61 79 2c 77 68 |obal spk|delay,wh|
|00002840| 4c 69 6e 65 0d 70 75 74 | 20 63 68 61 72 20 73 74 |Line.put| char st|
|00002850| 61 72 74 20 74 6f 20 6c | 65 6e 67 74 68 20 6f 66 |art to l|ength of|
|00002860| 20 66 6c 64 20 69 64 20 | 31 30 32 20 6f 66 20 66 | fld id |102 of f|
|00002870| 6c 64 20 69 64 20 31 30 | 32 20 69 6e 74 6f 20 73 |ld id 10|2 into s|
|00002880| 74 72 69 6e 67 0d 69 66 | 20 6c 69 6e 65 20 77 68 |tring.if| line wh|
|00002890| 4c 69 6e 65 20 6f 66 20 | 66 6c 64 20 73 65 71 4e |Line of |fld seqN|
|000028a0| 61 6d 65 73 20 ad 20 22 | 22 20 74 68 65 6e 0d 70 |ames . "|" then.p|
|000028b0| 75 74 20 71 75 6f 74 65 | 26 77 6f 72 64 20 31 20 |ut quote|&word 1 |
|000028c0| 6f 66 20 6c 69 6e 65 20 | 77 68 4c 69 6e 65 20 6f |of line |whLine o|
|000028d0| 66 20 66 6c 64 20 73 65 | 71 4e 61 6d 65 73 26 71 |f fld se|qNames&q|
|000028e0| 75 6f 74 65 26 22 20 22 | 20 69 6e 74 6f 20 73 71 |uote&" "| into sq|
|000028f0| 6e 0d 65 6c 73 65 0d 70 | 75 74 20 22 22 20 69 6e |n.else.p|ut "" in|
|00002900| 74 6f 20 73 71 6e 0d 65 | 6e 64 20 69 66 0d 70 75 |to sqn.e|nd if.pu|
|00002910| 74 20 22 4e 6f 77 20 73 | 70 65 61 6b 69 6e 67 20 |t "Now s|peaking |
|00002920| 73 65 71 75 65 6e 63 65 | 20 22 26 77 68 4c 69 6e |sequence| "&whLin|
|00002930| 65 26 26 73 71 6e 26 22 | 20 2d 2d 20 43 6c 69 63 |e&&sqn&"| -- Clic|
|00002940| 6b 20 74 6f 20 63 61 6e | 63 65 6c 2e 22 0d 69 66 |k to can|cel.".if|
|00002950| 20 73 70 6b 64 65 6c 61 | 79 20 69 73 20 65 6d 70 | spkdela|y is emp|
|00002960| 74 79 20 74 68 65 6e 20 | 70 75 74 20 37 20 69 6e |ty then |put 7 in|
|00002970| 74 6f 20 73 70 6b 64 65 | 6c 61 79 0d 70 75 74 20 |to spkde|lay.put |
|00002980| 28 37 20 2d 20 73 70 6b | 64 65 6c 61 79 29 2a 37 |(7 - spk|delay)*7|
|00002990| 20 69 6e 74 6f 20 73 6c | 6f 77 73 70 64 0d 73 65 | into sl|owspd.se|
|000029a0| 74 20 6c 6f 63 6b 74 65 | 78 74 20 6f 66 20 66 6c |t lockte|xt of fl|
|000029b0| 64 20 69 64 20 31 30 32 | 20 74 6f 20 74 72 75 65 |d id 102| to true|
|000029c0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|000029d0| 20 31 20 74 6f 20 74 68 | 65 20 6c 65 6e 67 74 68 | 1 to th|e length|
|000029e0| 20 6f 66 20 73 74 72 69 | 6e 67 0d 73 61 79 20 63 | of stri|ng.say c|
|000029f0| 68 61 72 61 63 74 65 72 | 20 69 20 6f 66 20 73 74 |haracter| i of st|
|00002a00| 72 69 6e 67 0d 73 65 6c | 65 63 74 20 63 68 61 72 |ring.sel|ect char|
|00002a10| 20 73 74 61 72 74 20 74 | 6f 20 69 2b 73 74 61 72 | start t|o i+star|
|00002a20| 74 20 6f 66 20 66 6c 64 | 20 69 64 20 31 30 32 0d |t of fld| id 102.|
|00002a30| 77 61 69 74 20 73 6c 6f | 77 73 70 64 0d 65 6e 64 |wait slo|wspd.end|
|00002a40| 20 72 65 70 65 61 74 0d | 65 6e 64 20 73 70 65 6c | repeat.|end spel|
|00002a50| 6c 0d 0d 6f 6e 20 73 61 | 79 20 77 68 61 74 43 68 |l..on sa|y whatCh|
|00002a60| 61 72 61 63 74 65 72 0d | 69 66 20 77 68 61 74 43 |aracter.|if whatC|
|00002a70| 68 61 72 61 63 74 65 72 | 20 69 73 20 73 70 61 63 |haracter| is spac|
|00002a80| 65 20 74 68 65 6e 20 70 | 6c 61 79 20 22 53 69 6c |e then p|lay "Sil|
|00002a90| 65 6e 63 65 22 20 72 0d | 65 6c 73 65 0d 69 66 20 |ence" r.|else.if |
|00002aa0| 77 68 61 74 43 68 61 72 | 61 63 74 65 72 20 69 73 |whatChar|acter is|
|00002ab0| 20 22 2e 22 20 74 68 65 | 6e 20 70 75 74 20 22 68 | "." the|n put "h|
|00002ac0| 61 72 70 73 69 63 68 6f | 72 64 22 20 69 6e 74 6f |arpsicho|rd" into|
|00002ad0| 20 77 68 61 74 63 68 61 | 72 61 63 74 65 72 0d 69 | whatcha|racter.i|
|00002ae0| 66 20 77 68 61 74 63 68 | 61 72 61 63 74 65 72 20 |f whatch|aracter |
|00002af0| 69 73 20 22 3f 22 20 74 | 68 65 6e 20 70 75 74 20 |is "?" t|hen put |
|00002b00| 22 4e 22 20 69 6e 74 6f | 20 77 68 61 74 63 68 61 |"N" into| whatcha|
|00002b10| 72 61 63 74 65 72 0d 70 | 6c 61 79 20 77 68 61 74 |racter.p|lay what|
|00002b20| 43 68 61 72 61 63 74 65 | 72 0d 70 6c 61 79 20 22 |Characte|r.play "|
|00002b30| 73 69 6c 65 6e 63 65 22 | 20 72 73 0d 69 66 20 74 |silence"| rs.if t|
|00002b40| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 64 6f 77 6e |he mouse| is down|
|00002b50| 20 74 68 65 6e 0d 70 75 | 74 20 65 6d 70 74 79 0d | then.pu|t empty.|
|00002b60| 68 69 64 65 20 6d 73 67 | 0d 73 65 74 20 6c 6f 63 |hide msg|.set loc|
|00002b70| 6b 74 65 78 74 20 6f 66 | 20 66 6c 64 20 69 64 20 |ktext of| fld id |
|00002b80| 31 30 32 20 74 6f 20 66 | 61 6c 73 65 0d 65 78 69 |102 to f|alse.exi|
|00002b90| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 65 |t to hyp|ercard.e|
|00002ba0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 77 61 69 |nd if.en|d if.wai|
|00002bb0| 74 20 75 6e 74 69 6c 20 | 74 68 65 20 73 6f 75 6e |t until |the soun|
|00002bc0| 64 20 69 73 20 22 64 6f | 6e 65 22 0d 65 6e 64 20 |d is "do|ne".end |
|00002bd0| 73 61 79 0d 0d 6f 6e 20 | 53 70 65 61 6b 65 72 0d |say..on |Speaker.|
|00002be0| 67 6c 6f 62 61 6c 20 73 | 70 6b 64 65 6c 61 79 2c |global s|pkdelay,|
|00002bf0| 6e 65 77 56 6f 6c 2c 77 | 68 74 79 70 65 2c 77 68 |newVol,w|htype,wh|
|00002c00| 4c 69 6e 65 2c 69 70 74 | 0d 70 75 74 20 28 22 61 |Line,ipt|.put ("a|
|00002c10| 22 20 69 73 20 69 6e 20 | 41 76 61 69 6c 61 62 6c |" is in |Availabl|
|00002c20| 65 28 22 73 6f 75 6e 22 | 29 29 20 69 6e 74 6f 20 |e("soun"|)) into |
|00002c30| 77 68 73 6e 64 73 0d 69 | 66 20 77 68 73 6e 64 73 |whsnds.i|f whsnds|
|00002c40| 20 74 68 65 6e 20 70 75 | 74 20 22 4e 75 63 22 20 | then pu|t "Nuc" |
|00002c50| 69 6e 74 6f 20 77 68 74 | 79 70 65 0d 65 6c 73 65 |into wht|ype.else|
|00002c60| 0d 61 6e 73 77 65 72 20 | 22 4e 6f 20 73 6f 75 6e |.answer |"No soun|
|00002c70| 64 20 72 65 73 6f 75 72 | 63 65 73 20 77 65 72 65 |d resour|ces were|
|00002c80| 20 66 6f 75 6e 64 0d 69 | 66 20 68 69 6c 69 74 65 | found.i|f hilite|
|00002c90| 20 6f 66 20 62 67 20 62 | 74 6e 20 73 70 65 61 6b | of bg b|tn speak|
|00002ca0| 65 72 20 74 68 65 6e 20 | 73 65 6e 64 20 6d 6f 75 |er then |send mou|
|00002cb0| 73 65 55 70 20 74 6f 20 | 62 67 20 62 74 6e 20 73 |seUp to |bg btn s|
|00002cc0| 70 65 61 6b 65 72 0d 65 | 6e 64 20 69 66 0d 70 75 |peaker.e|nd if.pu|
|00002cd0| 74 20 28 22 7a 22 20 69 | 73 20 69 6e 20 41 76 61 |t ("z" i|s in Ava|
|00002ce0| 69 6c 61 62 6c 65 28 22 | 73 6f 75 6e 22 29 29 20 |ilable("|soun")) |
|00002cf0| 69 6e 74 6f 20 77 68 73 | 6e 64 73 0d 69 66 20 77 |into whs|nds.if w|
|00002d00| 68 73 6e 64 73 20 74 68 | 65 6e 20 70 75 74 20 22 |hsnds th|en put "|
|00002d10| 41 6c 6c 22 20 69 6e 74 | 6f 20 77 68 74 79 70 65 |All" int|o whtype|
|00002d20| 0d 69 66 20 69 70 74 20 | 3d 20 22 22 20 74 68 65 |.if ipt |= "" the|
|00002d30| 6e 20 70 75 74 20 31 20 | 69 6e 74 6f 20 73 74 61 |n put 1 |into sta|
|00002d40| 72 74 0d 65 6c 73 65 20 | 70 75 74 20 77 6f 72 64 |rt.else |put word|
|00002d50| 20 32 20 6f 66 20 69 70 | 74 20 69 6e 74 6f 20 73 | 2 of ip|t into s|
|00002d60| 74 61 72 74 0d 69 66 20 | 28 73 70 6b 64 65 6c 61 |tart.if |(spkdela|
|00002d70| 79 20 3e 20 37 29 20 6f | 72 20 28 73 70 6b 64 65 |y > 7) o|r (spkde|
|00002d80| 6c 61 79 20 3d 20 22 22 | 29 20 74 68 65 6e 20 70 |lay = ""|) then p|
|00002d90| 75 74 20 37 20 69 6e 74 | 6f 20 73 70 6b 64 65 6c |ut 7 int|o spkdel|
|00002da0| 61 79 0d 69 66 20 73 70 | 6b 64 65 6c 61 79 20 3c |ay.if sp|kdelay <|
|00002db0| 20 31 20 74 68 65 6e 20 | 70 75 74 20 31 20 69 6e | 1 then |put 1 in|
|00002dc0| 74 6f 20 73 70 6b 64 65 | 6c 61 79 0d 69 66 20 6e |to spkde|lay.if n|
|00002dd0| 65 77 56 6f 6c 20 69 73 | 20 65 6d 70 74 79 20 74 |ewVol is| empty t|
|00002de0| 68 65 6e 0d 70 75 74 20 | 67 65 74 56 6f 6c 75 6d |hen.put |getVolum|
|00002df0| 65 28 29 20 69 6e 74 6f | 20 6f 6c 64 56 6f 6c 0d |e() into| oldVol.|
|00002e00| 73 65 74 56 6f 6c 75 6d | 65 20 37 0d 65 6e 64 20 |setVolum|e 7.end |
|00002e10| 69 66 0d 69 66 20 73 74 | 61 72 74 20 3d 20 22 22 |if.if st|art = ""|
|00002e20| 20 74 68 65 6e 20 70 75 | 74 20 31 20 69 6e 74 6f | then pu|t 1 into|
|00002e30| 20 73 74 61 72 74 0d 73 | 70 65 6c 6c 20 73 74 61 | start.s|pell sta|
|00002e40| 72 74 0d 70 75 74 20 65 | 6d 70 74 79 0d 68 69 64 |rt.put e|mpty.hid|
|00002e50| 65 20 6d 73 67 0d 65 6e | 64 20 53 70 65 61 6b 65 |e msg.en|d Speake|
|00002e60| 72 0d 0d 6f 6e 20 65 72 | 72 4d 65 6d 6f 72 79 31 |r..on er|rMemory1|
|00002e70| 0d 2d 2d 20 64 65 62 75 | 67 20 63 68 65 63 6b 70 |.-- debu|g checkp|
|00002e80| 6f 69 6e 74 0d 70 75 74 | 20 6c 61 73 74 49 74 65 |oint.put| lastIte|
|00002e90| 6d 28 22 3a 22 2c 74 68 | 65 20 6c 6f 6e 67 20 6e |m(":",th|e long n|
|00002ea0| 61 6d 65 20 6f 66 20 48 | 79 70 65 72 43 61 72 64 |ame of H|yperCard|
|00002eb0| 29 20 69 6e 74 6f 20 54 | 68 65 48 79 70 65 72 43 |) into T|heHyperC|
|00002ec0| 61 72 64 0d 69 66 20 4d | 75 6c 74 69 46 69 6e 64 |ard.if M|ultiFind|
|00002ed0| 65 72 28 29 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |er() the|n.answer|
|00002ee0| 20 22 4e 6f 74 20 65 6e | 6f 75 67 68 20 6d 65 6d | "Not en|ough mem|
|00002ef0| 6f 72 79 20 61 6c 6c 6f | 63 61 74 65 64 20 74 6f |ory allo|cated to|
|00002f00| 20 73 68 6f 77 20 74 68 | 65 20 66 75 6c 6c 20 63 | show th|e full c|
|00002f10| 61 72 64 20 77 69 6e 64 | 6f 77 20 6f 66 22 20 c2 |ard wind|ow of" .|
|00002f20| 0d 26 26 20 22 d2 22 20 | 26 20 73 68 6f 72 74 20 |.&& "." |& short |
|00002f30| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00002f40| 63 6b 20 26 20 22 d3 22 | 20 c2 0d 26 22 2e 20 51 |ck & "."| ..&". Q|
|00002f50| 75 69 74 20 61 6e 64 20 | 72 65 73 65 74 20 74 68 |uit and |reset th|
|00002f60| 65 20 6d 65 6d 6f 72 79 | 20 70 61 72 74 69 74 69 |e memory| partiti|
|00002f70| 6f 6e 20 73 69 7a 65 20 | 6f 66 22 20 26 26 20 c2 |on size |of" && .|
|00002f80| 0d 54 68 65 48 79 70 65 | 72 43 61 72 64 20 26 26 |.TheHype|rCard &&|
|00002f90| 20 22 74 6f 20 61 74 20 | 6c 65 61 73 74 20 33 30 | "to at |least 30|
|00002fa0| 30 30 4b 20 28 6d 69 6e | 69 6d 61 6c 6c 79 20 31 |00K (min|imally 1|
|00002fb0| 35 30 30 4b 29 20 69 6e | 20 74 68 65 20 d2 22 26 |500K) in| the ."&|
|00002fc0| c2 0d 22 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 4d |.."Appli|cation M|
|00002fd0| 65 6d 6f 72 79 20 53 69 | 7a 65 d3 20 65 6e 74 72 |emory Si|ze. entr|
|00002fe0| 79 20 6f 66 20 22 26 54 | 68 65 48 79 70 65 72 43 |y of "&T|heHyperC|
|00002ff0| 61 72 64 26 22 27 73 20 | d2 47 65 74 20 49 6e 66 |ard&"'s |.Get Inf|
|00003000| 6f d3 22 c2 0d 26 22 20 | 44 69 61 6c 6f 67 20 42 |o."..&" |Dialog B|
|00003010| 6f 78 2e 22 0d 65 6c 73 | 65 0d 61 6e 73 77 65 72 |ox.".els|e.answer|
|00003020| 20 22 4e 6f 74 20 65 6e | 6f 75 67 68 20 52 41 4d | "Not en|ough RAM|
|00003030| 20 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 73 68 | availab|le to sh|
|00003040| 6f 77 20 74 68 65 20 66 | 75 6c 6c 20 63 61 72 64 |ow the f|ull card|
|00003050| 20 77 69 6e 64 6f 77 20 | 6f 66 22 20 c2 0d 26 26 | window |of" ..&&|
|00003060| 20 22 d2 22 20 26 20 73 | 68 6f 72 74 20 6e 61 6d | "." & s|hort nam|
|00003070| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00003080| 26 20 22 d3 22 20 c2 0d | 26 22 2e 20 54 68 65 20 |& "." ..|&". The |
|00003090| d2 41 62 6f 75 74 20 74 | 68 65 20 46 69 6e 64 65 |.About t|he Finde|
|000030a0| 72 c9 d3 20 44 69 61 6c | 6f 67 20 42 6f 78 20 75 |r.. Dial|og Box u|
|000030b0| 6e 64 65 72 20 74 68 65 | 20 41 70 70 6c 65 20 6d |nder the| Apple m|
|000030c0| 65 6e 75 20 22 26 c2 0d | 22 73 68 6f 75 6c 64 20 |enu "&..|"should |
|000030d0| 73 68 6f 77 22 20 26 26 | 20 c2 0d 22 20 61 74 20 |show" &&| .." at |
|000030e0| 6c 65 61 73 74 20 31 35 | 30 30 4b 20 66 6f 72 20 |least 15|00K for |
|000030f0| 69 74 73 20 d2 4c 61 72 | 67 65 73 74 20 55 6e 75 |its .Lar|gest Unu|
|00003100| 73 65 64 20 42 6c 6f 63 | 6b d3 20 70 72 69 6f 72 |sed Bloc|k. prior|
|00003110| 20 74 6f 20 6c 61 75 6e | 63 68 69 6e 67 22 c2 0d | to laun|ching"..|
|00003120| 26 26 54 68 65 48 79 70 | 65 72 43 61 72 64 26 22 |&&TheHyp|erCard&"|
|00003130| 2e 22 0d 65 6e 64 20 69 | 66 0d 69 66 20 68 65 61 |.".end i|f.if hea|
|00003140| 70 73 70 61 63 65 28 29 | 20 64 69 76 20 31 30 32 |pspace()| div 102|
|00003150| 34 20 3c 20 32 30 30 20 | 74 68 65 6e 0d 64 6f 4d |4 < 200 |then.doM|
|00003160| 65 6e 75 20 22 51 75 69 | 74 20 48 79 70 65 72 43 |enu "Qui|t HyperC|
|00003170| 61 72 64 22 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |ard".exi|t to Hyp|
|00003180| 65 72 43 61 72 64 0d 65 | 6e 64 20 69 66 0d 69 66 |erCard.e|nd if.if|
|00003190| 20 6d 65 6e 75 49 74 65 | 6d 20 31 33 20 6f 66 20 | menuIte|m 13 of |
|000031a0| 6d 65 6e 75 20 22 45 64 | 69 74 22 20 69 73 20 22 |menu "Ed|it" is "|
|000031b0| 53 6d 61 6c 6c 20 57 69 | 6e 64 6f 77 22 20 74 68 |Small Wi|ndow" th|
|000031c0| 65 6e 20 64 6f 4d 65 6e | 75 20 22 53 6d 61 6c 6c |en doMen|u "Small|
|000031d0| 20 57 69 6e 64 6f 77 22 | 0d 65 6e 64 20 65 72 72 | Window"|.end err|
|000031e0| 4d 65 6d 6f 72 79 31 0d | 0d 66 75 6e 63 74 69 6f |Memory1.|.functio|
|000031f0| 6e 20 6c 61 73 74 49 74 | 65 6d 20 54 68 65 44 65 |n lastIt|em TheDe|
|00003200| 6c 69 6d 69 74 65 72 2c | 53 74 72 69 6e 67 0d 69 |limiter,|String.i|
|00003210| 66 20 54 68 65 44 65 6c | 69 6d 69 74 65 72 20 69 |f TheDel|imiter i|
|00003220| 73 20 69 6e 20 53 74 72 | 69 6e 67 0d 74 68 65 6e |s in Str|ing.then|
|00003230| 20 70 75 74 20 6c 61 73 | 74 49 74 65 6d 28 54 68 | put las|tItem(Th|
|00003240| 65 44 65 6c 69 6d 69 74 | 65 72 2c 63 68 61 72 20 |eDelimit|er,char |
|00003250| 6f 66 66 73 65 74 28 54 | 68 65 44 65 6c 69 6d 69 |offset(T|heDelimi|
|00003260| 74 65 72 2c 53 74 72 69 | 6e 67 29 c2 0d 2b 20 31 |ter,Stri|ng)..+ 1|
|00003270| 20 74 6f 20 6c 65 6e 67 | 74 68 28 53 74 72 69 6e | to leng|th(Strin|
|00003280| 67 29 20 6f 66 20 53 74 | 72 69 6e 67 29 20 69 6e |g) of St|ring) in|
|00003290| 74 6f 20 53 74 72 69 6e | 67 0d 72 65 74 75 72 6e |to Strin|g.return|
|000032a0| 20 53 74 72 69 6e 67 0d | 65 6e 64 20 6c 61 73 74 | String.|end last|
|000032b0| 49 74 65 6d 0d 0d 6f 6e | 20 64 6f 52 65 73 31 0d |Item..on| doRes1.|
|000032c0| 67 6c 6f 62 61 6c 20 6e | 75 6d 73 65 71 73 2c 73 |global n|umseqs,s|
|000032d0| 74 61 78 2c 52 65 73 4c | 73 74 2c 61 6c 6c 52 65 |tax,ResL|st,allRe|
|000032e0| 73 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 75 |s.lock s|creen.pu|
|000032f0| 74 20 22 22 20 69 6e 74 | 6f 20 52 65 73 4c 73 74 |t "" int|o ResLst|
|00003300| 0d 70 75 74 20 41 76 61 | 69 6c 61 62 6c 65 28 22 |.put Ava|ilable("|
|00003310| 58 64 6e 61 22 29 20 69 | 6e 74 6f 20 61 6c 6c 52 |Xdna") i|nto allR|
|00003320| 65 73 0d 72 65 70 65 61 | 74 0d 69 66 20 6c 69 6e |es.repea|t.if lin|
|00003330| 65 20 31 20 6f 66 20 61 | 6c 6c 52 65 73 20 69 73 |e 1 of a|llRes is|
|00003340| 20 69 6e 20 22 4c 44 54 | 20 4d 53 56 22 20 74 68 | in "LDT| MSV" th|
|00003350| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 |en.delet|e line 1|
|00003360| 20 6f 66 20 61 6c 6c 52 | 65 73 0d 65 6c 73 65 0d | of allR|es.else.|
|00003370| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00003380| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|00003390| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|000033a0| 31 20 6f 66 20 66 6c 64 | 20 73 65 71 6e 61 6d 65 |1 of fld| seqname|
|000033b0| 73 20 ad 20 22 22 20 74 | 68 65 6e 0d 72 65 70 65 |s . "" t|hen.repe|
|000033c0| 61 74 20 77 69 74 68 20 | 6a 3d 31 20 74 6f 20 6e |at with |j=1 to n|
|000033d0| 75 6d 73 65 71 73 0d 69 | 66 20 69 74 65 6d 20 32 |umseqs.i|f item 2|
|000033e0| 20 6f 66 20 77 6f 72 64 | 20 31 20 6f 66 20 6c 69 | of word| 1 of li|
|000033f0| 6e 65 20 6a 20 6f 66 20 | 66 6c 64 20 73 65 71 6e |ne j of |fld seqn|
|00003400| 61 6d 65 73 20 ad 20 22 | 22 20 74 68 65 6e 0d 70 |ames . "|" then.p|
|00003410| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 77 6f 72 |ut item |2 of wor|
|00003420| 64 20 31 20 6f 66 20 6c | 69 6e 65 20 6a 20 6f 66 |d 1 of l|ine j of|
|00003430| 20 66 6c 64 20 73 65 71 | 6e 61 6d 65 73 26 22 2c | fld seq|names&",|
|00003440| 22 20 61 66 74 65 72 20 | 52 65 73 4c 73 74 0d 65 |" after |ResLst.e|
|00003450| 6c 73 65 0d 70 75 74 20 | 22 75 6e 69 76 65 72 73 |lse.put |"univers|
|00003460| 61 6c 2c 22 20 61 66 74 | 65 72 20 52 65 73 4c 73 |al," aft|er ResLs|
|00003470| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |t.end if|.end rep|
|00003480| 65 61 74 0d 65 6c 73 65 | 0d 69 66 20 6e 75 6d 73 |eat.else|.if nums|
|00003490| 65 71 73 20 3e 20 31 20 | 74 68 65 6e 0d 73 61 76 |eqs > 1 |then.sav|
|000034a0| 65 74 69 6d 65 0d 69 66 | 20 74 68 65 20 72 65 73 |etime.if| the res|
|000034b0| 75 6c 74 20 69 73 20 22 | 22 20 74 68 65 6e 0d 61 |ult is "|" then.a|
|000034c0| 6e 73 77 65 72 20 22 55 | 73 65 20 73 69 6e 67 6c |nswer "U|se singl|
|000034d0| 65 20 63 6f 64 6f 6e 20 | 75 73 61 67 65 20 74 61 |e codon |usage ta|
|000034e0| 62 6c 65 20 66 6f 72 20 | 61 6c 6c 20 73 65 71 75 |ble for |all sequ|
|000034f0| 65 6e 63 65 73 20 6f 72 | 20 22 26 c2 0d 22 70 72 |ences or| "&.."pr|
|00003500| 6f 6d 70 74 20 66 6f 72 | 20 69 6e 64 69 76 69 64 |ompt for| individ|
|00003510| 75 61 6c 20 73 65 71 75 | 65 6e 63 65 73 3f 22 20 |ual sequ|ences?" |
|00003520| 77 69 74 68 20 22 53 69 | 6e 67 6c 65 22 20 6f 72 |with "Si|ngle" or|
|00003530| 20 22 50 72 6f 6d 70 74 | 22 0d 69 66 20 69 74 20 | "Prompt|".if it |
|00003540| 69 73 20 22 50 72 6f 6d | 70 74 22 20 74 68 65 6e |is "Prom|pt" then|
|00003550| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 64 |.put tru|e into d|
|00003560| 6f 50 72 6f 6d 70 74 0d | 65 6c 73 65 0d 70 75 74 |oPrompt.|else.put|
|00003570| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 64 6f 50 72 | false i|nto doPr|
|00003580| 6f 6d 70 74 0d 64 6f 52 | 65 73 20 65 6d 70 74 79 |ompt.doR|es empty|
|00003590| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 70 75 74 |.end if.|else.put|
|000035a0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 74 6f | the res|ult into|
|000035b0| 20 52 65 73 4c 73 74 0d | 72 65 70 65 61 74 20 77 | ResLst.|repeat w|
|000035c0| 69 74 68 20 6a 3d 31 20 | 74 6f 20 6e 75 6d 73 65 |ith j=1 |to numse|
|000035d0| 71 73 0d 70 75 74 20 22 | 2c 22 26 69 74 65 6d 20 |qs.put "|,"&item |
|000035e0| 6a 20 6f 66 20 52 65 73 | 4c 73 74 20 61 66 74 65 |j of Res|Lst afte|
|000035f0| 72 20 77 6f 72 64 20 31 | 20 6f 66 20 6c 69 6e 65 |r word 1| of line|
|00003600| 20 6a 20 6f 66 20 66 6c | 64 20 73 65 71 6e 61 6d | j of fl|d seqnam|
|00003610| 65 73 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 75 6e |es.end r|epeat.un|
|00003620| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00003630| 20 64 69 73 73 6f 6c 76 | 65 0d 65 78 69 74 20 64 | dissolv|e.exit d|
|00003640| 6f 52 65 73 31 0d 65 6e | 64 20 69 66 0d 65 6c 73 |oRes1.en|d if.els|
|00003650| 65 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |e.put fa|lse into|
|00003660| 20 64 6f 50 72 6f 6d 70 | 74 0d 64 6f 52 65 73 20 | doPromp|t.doRes |
|00003670| 77 6f 72 64 20 31 20 6f | 66 20 6c 69 6e 65 20 31 |word 1 o|f line 1|
|00003680| 20 6f 66 20 66 6c 64 20 | 73 65 71 6e 61 6d 65 73 | of fld |seqnames|
|00003690| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 65 6d 70 74 |.end if.|put empt|
|000036a0| 79 20 69 6e 74 6f 20 6e | 78 74 61 78 0d 72 65 70 |y into n|xtax.rep|
|000036b0| 65 61 74 20 77 69 74 68 | 20 6c 3d 31 20 74 6f 20 |eat with| l=1 to |
|000036c0| 6e 75 6d 73 65 71 73 0d | 73 65 74 20 63 75 72 73 |numseqs.|set curs|
|000036d0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 69 66 20 64 6f |or to bu|sy.if do|
|000036e0| 50 72 6f 6d 70 74 20 74 | 68 65 6e 0d 64 6f 52 65 |Prompt t|hen.doRe|
|000036f0| 73 20 77 6f 72 64 20 31 | 20 6f 66 20 6c 69 6e 65 |s word 1| of line|
|00003700| 20 6c 20 6f 66 20 66 6c | 64 20 73 65 71 6e 61 6d | l of fl|d seqnam|
|00003710| 65 73 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 73 74 |es.end i|f.put st|
|00003720| 61 78 26 22 2c 22 20 61 | 66 74 65 72 20 52 65 73 |ax&"," a|fter Res|
|00003730| 4c 73 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 61 |Lst.end |repeat.a|
|00003740| 6e 73 77 65 72 20 22 53 | 61 76 65 20 67 65 6e 65 |nswer "S|ave gene|
|00003750| 74 69 63 20 63 6f 64 65 | 20 63 68 6f 69 63 65 73 |tic code| choices|
|00003760| 3f 22 20 77 69 74 68 20 | 22 44 69 73 63 61 72 64 |?" with |"Discard|
|00003770| 22 20 6f 72 20 22 53 61 | 76 65 22 0d 69 66 20 69 |" or "Sa|ve".if i|
|00003780| 74 20 69 73 20 22 53 61 | 76 65 22 20 74 68 65 6e |t is "Sa|ve" then|
|00003790| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 72 65 70 |.lock sc|reen.rep|
|000037a0| 65 61 74 20 77 69 74 68 | 20 6a 3d 31 20 74 6f 20 |eat with| j=1 to |
|000037b0| 6e 75 6d 73 65 71 73 0d | 70 75 74 20 22 2c 22 26 |numseqs.|put ","&|
|000037c0| 69 74 65 6d 20 6a 20 6f | 66 20 52 65 73 4c 73 74 |item j o|f ResLst|
|000037d0| 20 61 66 74 65 72 20 77 | 6f 72 64 20 31 20 6f 66 | after w|ord 1 of|
|000037e0| 20 6c 69 6e 65 20 6a 20 | 6f 66 20 66 6c 64 20 73 | line j |of fld s|
|000037f0| 65 71 6e 61 6d 65 73 0d | 65 6e 64 20 72 65 70 65 |eqnames.|end repe|
|00003800| 61 74 0d 65 6e 64 20 69 | 66 0d 75 6e 6c 6f 63 6b |at.end i|f.unlock|
|00003810| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 64 69 73 | screen |with dis|
|00003820| 73 6f 6c 76 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |solve.en|d if.end|
|00003830| 20 64 6f 52 65 73 31 0d | 0d 6f 6e 20 73 61 76 65 | doRes1.|.on save|
|00003840| 74 69 6d 65 0d 70 75 74 | 20 22 6d 65 64 20 73 70 |time.put| "med sp|
|00003850| 6f 20 61 63 6f 20 61 66 | 72 20 61 67 61 20 61 6d |o aco af|r aga am|
|00003860| 65 20 61 73 75 20 62 6d | 75 20 62 70 68 20 62 74 |e asu bm|u bph bt|
|00003870| 61 20 63 63 61 20 63 6c | 61 20 63 6e 65 20 64 76 |a cca cl|a cne dv|
|00003880| 69 20 22 26 c2 0d 22 64 | 79 61 20 65 63 61 20 67 |i "&.."d|ya eca g|
|00003890| 67 61 20 68 73 61 20 6b | 74 75 20 6c 74 65 20 6d |ga hsa k|tu lte m|
|000038a0| 6d 75 20 6f 6d 79 20 70 | 6c 69 20 70 6d 75 20 70 |mu omy p|li pmu p|
|000038b0| 76 69 20 72 6e 6f 20 73 | 70 75 20 78 6c 61 20 63 |vi rno s|pu xla c|
|000038c0| 65 6c 20 70 64 6f 22 c2 | 0d 69 6e 74 6f 20 6e 61 |el pdo".|.into na|
|000038d0| 6d 65 4c 73 74 0d 72 65 | 70 65 61 74 20 77 69 74 |meLst.re|peat wit|
|000038e0| 68 20 78 3d 31 20 74 6f | 20 6e 75 6d 62 65 72 20 |h x=1 to| number |
|000038f0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 66 6c 64 20 |of lines| in fld |
|00003900| 73 65 71 6e 61 6d 65 73 | 0d 70 75 74 20 63 68 61 |seqnames|.put cha|
|00003910| 72 20 31 20 74 6f 20 33 | 20 6f 66 20 6c 69 6e 65 |r 1 to 3| of line|
|00003920| 20 78 20 6f 66 20 66 6c | 64 20 73 65 71 6e 61 6d | x of fl|d seqnam|
|00003930| 65 73 20 69 6e 74 6f 20 | 6e 78 74 0d 69 66 20 6e |es into |nxt.if n|
|00003940| 78 74 20 69 73 20 69 6e | 20 6e 61 6d 65 4c 73 74 |xt is in| nameLst|
|00003950| 20 74 68 65 6e 0d 69 66 | 20 6e 78 74 20 69 73 20 | then.if| nxt is |
|00003960| 69 6e 20 22 70 6c 69 20 | 73 70 75 22 20 74 68 65 |in "pli |spu" the|
|00003970| 6e 20 70 75 74 20 22 6d | 74 45 63 68 69 6e 6f 2c |n put "m|tEchino,|
|00003980| 22 20 61 66 74 65 72 20 | 4c 73 74 0d 65 6c 73 65 |" after |Lst.else|
|00003990| 20 69 66 20 6e 78 74 20 | 69 73 20 69 6e 20 22 6d | if nxt |is in "m|
|000039a0| 65 64 20 61 63 6f 20 61 | 66 72 20 61 67 61 20 61 |ed aco a|fr aga a|
|000039b0| 6d 65 20 61 73 75 20 63 | 6e 65 20 64 79 61 20 6b |me asu c|ne dya k|
|000039c0| 74 75 20 6c 74 65 20 63 | 65 6c 22 c2 0d 74 68 65 |tu lte c|el"..the|
|000039d0| 6e 20 70 75 74 20 22 6d | 74 46 6c 79 2c 22 20 61 |n put "m|tFly," a|
|000039e0| 66 74 65 72 20 4c 73 74 | 0d 65 6c 73 65 20 70 75 |fter Lst|.else pu|
|000039f0| 74 20 22 6d 74 56 65 72 | 74 2c 22 20 61 66 74 65 |t "mtVer|t," afte|
|00003a00| 72 20 4c 73 74 0d 65 6c | 73 65 0d 72 65 74 75 72 |r Lst.el|se.retur|
|00003a10| 6e 20 22 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |n "".end| if.end |
|00003a20| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 4c 73 |repeat.r|eturn Ls|
|00003a30| 74 0d 65 6e 64 20 73 61 | 76 65 74 69 6d 65 0d 0d |t.end sa|vetime..|
|00003a40| 6f 6e 20 64 6f 52 65 73 | 20 77 68 54 61 78 6f 6e |on doRes| whTaxon|
|00003a50| 0d 67 6c 6f 62 61 6c 20 | 73 74 61 78 2c 61 6c 6c |.global |stax,all|
|00003a60| 52 65 73 0d 69 66 20 73 | 74 61 78 20 ad 20 22 22 |Res.if s|tax . ""|
|00003a70| 20 74 68 65 6e 20 70 75 | 74 20 73 74 61 78 20 69 | then pu|t stax i|
|00003a80| 6e 74 6f 20 77 68 44 65 | 66 61 75 6c 74 0d 65 6c |nto whDe|fault.el|
|00003a90| 73 65 20 70 75 74 20 22 | 55 6e 69 76 65 72 73 61 |se put "|Universa|
|00003aa0| 6c 22 20 69 6e 74 6f 20 | 77 68 44 65 66 61 75 6c |l" into |whDefaul|
|00003ab0| 74 0d 69 66 20 77 68 54 | 61 78 6f 6e 20 69 73 20 |t.if whT|axon is |
|00003ac0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 22 |empty th|en put "|
|00003ad0| 3a 22 20 69 6e 74 6f 20 | 61 64 64 4f 6e 0d 65 6c |:" into |addOn.el|
|00003ae0| 73 65 20 70 75 74 20 22 | 20 66 6f 72 20 22 26 77 |se put "| for "&w|
|00003af0| 68 54 61 78 6f 6e 26 22 | 3a 22 20 69 6e 74 6f 20 |hTaxon&"|:" into |
|00003b00| 61 64 64 4f 6e 0d 70 75 | 74 20 73 68 6f 77 4c 69 |addOn.pu|t showLi|
|00003b10| 73 74 28 61 6c 6c 52 65 | 73 2c 31 33 2c 22 43 68 |st(allRe|s,13,"Ch|
|00003b20| 6f 6f 73 65 20 63 6f 64 | 6f 6e 20 75 73 61 67 65 |oose cod|on usage|
|00003b30| 22 26 61 64 64 4f 6e c2 | 0d 2c 66 61 6c 73 65 2c |"&addOn.|.,false,|
|00003b40| 22 53 65 6c 65 63 74 2c | 43 61 6e 63 65 6c 5e 22 |"Select,|Cancel^"|
|00003b50| 2c 77 68 44 65 66 61 75 | 6c 74 29 20 69 6e 74 6f |,whDefau|lt) into|
|00003b60| 20 77 68 53 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f | whS.if |line 1 o|
|00003b70| 66 20 77 68 53 20 69 73 | 20 22 43 61 6e 63 65 6c |f whS is| "Cancel|
|00003b80| 22 20 74 68 65 6e 20 65 | 78 69 74 20 74 6f 20 48 |" then e|xit to H|
|00003b90| 79 70 65 72 43 61 72 64 | 0d 70 75 74 20 69 74 65 |yperCard|.put ite|
|00003ba0| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 32 20 6f 66 |m 1 of l|ine 2 of|
|00003bb0| 20 77 68 53 20 69 6e 74 | 6f 20 73 74 61 78 0d 65 | whS int|o stax.e|
|00003bc0| 6e 64 20 64 6f 52 65 73 | 0d 0d 6f 6e 20 61 64 64 |nd doRes|..on add|
|00003bd0| 4e 61 6d 65 73 0d 67 6c | 6f 62 61 6c 20 6e 75 6d |Names.gl|obal num|
|00003be0| 73 65 71 73 0d 69 66 20 | 66 6c 64 20 73 65 71 6e |seqs.if |fld seqn|
|00003bf0| 61 6d 65 73 20 3d 20 22 | 22 20 74 68 65 6e 0d 72 |ames = "|" then.r|
|00003c00| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|00003c10| 20 74 6f 20 6e 75 6d 73 | 65 71 73 0d 70 75 74 20 | to nums|eqs.put |
|00003c20| 22 73 65 71 22 26 78 26 | 22 20 22 26 72 65 74 75 |"seq"&x&|" "&retu|
|00003c30| 72 6e 20 61 66 74 65 72 | 20 66 6c 64 20 73 65 71 |rn after| fld seq|
|00003c40| 6e 61 6d 65 73 0d 65 6e | 64 20 72 65 70 65 61 74 |names.en|d repeat|
|00003c50| 0d 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 |.delete |last cha|
|00003c60| 72 20 6f 66 20 66 6c 64 | 20 73 65 71 6e 61 6d 65 |r of fld| seqname|
|00003c70| 73 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 61 64 64 |s.end if|.end add|
|00003c80| 4e 61 6d 65 73 0d 0d 6f | 6e 20 63 6f 6c 6f 72 43 |Names..o|n colorC|
|00003c90| 68 65 63 6b 0d 69 66 20 | 68 69 6c 69 74 65 20 6f |heck.if |hilite o|
|00003ca0| 66 20 62 67 20 62 74 6e | 20 43 6f 6c 6f 72 54 6f |f bg btn| ColorTo|
|00003cb0| 67 67 6c 65 20 74 68 65 | 6e 0d 63 6f 6c 6f 72 42 |ggle the|n.colorB|
|00003cc0| 6c 61 6e 6b 0d 73 65 74 | 20 68 69 6c 69 74 65 20 |lank.set| hilite |
|00003cd0| 6f 66 20 62 67 20 62 74 | 6e 20 43 6f 6c 6f 72 54 |of bg bt|n ColorT|
|00003ce0| 6f 67 67 6c 65 20 74 6f | 20 66 61 6c 73 65 0d 65 |oggle to| false.e|
|00003cf0| 6e 64 20 69 66 0d 65 6e | 64 20 63 6f 6c 6f 72 43 |nd if.en|d colorC|
|00003d00| 68 65 63 6b 0d 0d 6f 6e | 20 74 65 73 74 4c 65 6e |heck..on| testLen|
|00003d10| 67 74 68 73 0d 67 6c 6f | 62 61 6c 20 6e 75 6d 73 |gths.glo|bal nums|
|00003d20| 65 71 73 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 6d |eqs.put |0 into m|
|00003d30| 61 78 4c 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |axL.repe|at with |
|00003d40| 6a 3d 31 20 74 6f 20 6e | 75 6d 73 65 71 73 0d 70 |j=1 to n|umseqs.p|
|00003d50| 75 74 20 6d 61 78 28 6c | 65 6e 67 74 68 28 66 6c |ut max(l|ength(fl|
|00003d60| 64 20 69 64 20 6a 29 2c | 6d 61 78 4c 29 20 69 6e |d id j),|maxL) in|
|00003d70| 74 6f 20 6d 61 78 4c 0d | 65 6e 64 20 72 65 70 65 |to maxL.|end repe|
|00003d80| 61 74 0d 70 75 74 20 33 | 20 2d 20 28 6d 61 78 4c |at.put 3| - (maxL|
|00003d90| 20 6d 6f 64 20 33 29 20 | 69 6e 74 6f 20 74 72 69 | mod 3) |into tri|
|00003da0| 70 73 0d 69 66 20 74 72 | 69 70 73 20 3d 20 33 20 |ps.if tr|ips = 3 |
|00003db0| 74 68 65 6e 20 70 75 74 | 20 30 20 69 6e 74 6f 20 |then put| 0 into |
|00003dc0| 74 72 69 70 73 0d 72 65 | 70 65 61 74 20 77 69 74 |trips.re|peat wit|
|00003dd0| 68 20 6a 3d 31 20 74 6f | 20 6e 75 6d 73 65 71 73 |h j=1 to| numseqs|
|00003de0| 0d 70 75 74 20 73 74 72 | 44 75 70 28 6d 61 78 4c |.put str|Dup(maxL|
|00003df0| 20 2d 20 6c 65 6e 67 74 | 68 28 66 6c 64 20 69 64 | - lengt|h(fld id|
|00003e00| 20 6a 29 20 2b 20 74 72 | 69 70 73 2c 20 22 2e 22 | j) + tr|ips, "."|
|00003e10| 29 20 61 66 74 65 72 20 | 66 6c 64 20 69 64 20 6a |) after |fld id j|
|00003e20| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003e30| 74 65 73 74 4c 65 6e 67 | 74 68 73 0d 0d 6f 6e 20 |testLeng|ths..on |
|00003e40| 63 72 65 61 74 65 43 6f | 6c 6f 72 4d 65 6e 75 0d |createCo|lorMenu.|
|00003e50| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 74 20 |if there| is not |
|00003e60| 61 20 6d 65 6e 75 20 22 | 43 6f 6c 6f 72 22 20 74 |a menu "|Color" t|
|00003e70| 68 65 6e 0d 63 72 65 61 | 74 65 20 6d 65 6e 75 20 |hen.crea|te menu |
|00003e80| 22 43 6f 6c 6f 72 22 0d | 70 75 74 20 22 42 61 73 |"Color".|put "Bas|
|00003e90| 65 73 2c 43 6f 64 6f 6e | 73 2c 50 72 6f 70 65 72 |es,Codon|s,Proper|
|00003ea0| 74 69 65 73 c9 2c 43 6f | 6c 6f 72 20 57 69 6e 64 |ties.,Co|lor Wind|
|00003eb0| 6f 77 20 31 2c 43 6f 6c | 6f 72 20 57 69 6e 64 6f |ow 1,Col|or Windo|
|00003ec0| 77 20 32 2c 22 26 c2 0d | 22 2d 2c 41 6d 69 6e 6f |w 2,"&..|"-,Amino|
|00003ed0| 20 41 63 69 64 73 2c 41 | 41 20 50 72 6f 70 65 72 | Acids,A|A Proper|
|00003ee0| 74 69 65 73 c9 2c 43 6f | 6c 6f 72 20 57 69 6e 64 |ties.,Co|lor Wind|
|00003ef0| 6f 77 20 33 2c 2d 2c 46 | 69 72 73 74 20 42 6c 6f |ow 3,-,F|irst Blo|
|00003f00| 63 6b 2c 43 6f 6c 6f 72 | 20 41 6c 6c 22 26 c2 0d |ck,Color| All"&..|
|00003f10| 22 2c 2d 2c 43 68 6f 6f | 73 65 20 43 6f 6c 6f 72 |",-,Choo|se Color|
|00003f20| 73 c9 2c 45 64 69 74 20 | 43 6f 6c 6f 72 73 c9 2c |s.,Edit |Colors.,|
|00003f30| 4e 65 77 20 43 6f 6c 6f | 72 73 c9 2c 2d 2c 43 6c |New Colo|rs.,-,Cl|
|00003f40| 65 61 72 20 43 6f 6c 6f | 72 22 20 69 6e 74 6f 20 |ear Colo|r" into |
|00003f50| 6d 65 6e 75 20 22 43 6f | 6c 6f 72 22 20 c2 0d 77 |menu "Co|lor" ..w|
|00003f60| 69 74 68 20 6d 65 6e 75 | 4d 73 67 73 20 22 52 47 |ith menu|Msgs "RG|
|00003f70| 42 31 20 62 70 2c 52 47 | 42 31 20 63 6f 64 6f 6e |B1 bp,RG|B1 codon|
|00003f80| 73 2c 52 47 42 31 20 73 | 70 65 63 69 61 6c 2c 52 |s,RGB1 s|pecial,R|
|00003f90| 47 42 31 20 62 70 31 2c | 52 47 42 31 20 62 70 32 |GB1 bp1,|RGB1 bp2|
|00003fa0| 22 26 c2 0d 22 2c 2c 52 | 47 42 31 20 61 61 73 2c |"&..",,R|GB1 aas,|
|00003fb0| 52 47 42 31 20 61 73 70 | 65 63 69 61 6c 2c 52 47 |RGB1 asp|ecial,RG|
|00003fc0| 42 31 20 62 70 33 2c 2c | 64 6f 4e 42 20 53 2c 64 |B1 bp3,,|doNB S,d|
|00003fd0| 6f 4e 42 20 41 2c 2c 22 | 26 c2 0d 22 52 47 42 31 |oNB A,,"|&.."RGB1|
|00003fe0| 20 70 69 63 6b 63 6f 6c | 6f 72 73 2c 52 47 42 31 | pickcol|ors,RGB1|
|00003ff0| 20 6b 65 79 64 69 73 70 | 6c 61 79 2c 52 47 42 31 | keydisp|lay,RGB1|
|00004000| 20 6e 65 77 63 6f 6c 6f | 72 73 2c 2c 63 6f 6c 6f | newcolo|rs,,colo|
|00004010| 72 42 6c 61 6e 6b 22 0d | 73 65 74 20 74 68 65 20 |rBlank".|set the |
|00004020| 63 68 65 63 6b 6d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkmar|k of men|
|00004030| 75 49 74 65 6d 20 22 46 | 69 72 73 74 20 42 6c 6f |uItem "F|irst Blo|
|00004040| 63 6b 22 20 6f 66 20 6d | 65 6e 75 20 22 43 6f 6c |ck" of m|enu "Col|
|00004050| 6f 72 22 20 74 6f 20 74 | 72 75 65 0d 65 6e 64 20 |or" to t|rue.end |
|00004060| 69 66 0d 65 6e 64 20 63 | 72 65 61 74 65 43 6f 6c |if.end c|reateCol|
|00004070| 6f 72 4d 65 6e 75 0d 0d | 6f 6e 20 64 6f 4e 42 20 |orMenu..|on doNB |
|00004080| 77 68 61 74 0d 69 66 20 | 77 68 61 74 20 3d 20 22 |what.if |what = "|
|00004090| 53 22 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |S" then.|set the |
|000040a0| 63 68 65 63 6b 6d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkmar|k of men|
|000040b0| 75 49 74 65 6d 20 22 46 | 69 72 73 74 20 42 6c 6f |uItem "F|irst Blo|
|000040c0| 63 6b 22 20 6f 66 20 6d | 65 6e 75 20 22 43 6f 6c |ck" of m|enu "Col|
|000040d0| 6f 72 22 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |or" to t|rue.set |
|000040e0| 74 68 65 20 63 68 65 63 | 6b 6d 61 72 6b 20 6f 66 |the chec|kmark of|
|000040f0| 20 6d 65 6e 75 49 74 65 | 6d 20 22 43 6f 6c 6f 72 | menuIte|m "Color|
|00004100| 20 41 6c 6c 22 20 6f 66 | 20 6d 65 6e 75 20 22 43 | All" of| menu "C|
|00004110| 6f 6c 6f 72 22 20 74 6f | 20 66 61 6c 73 65 0d 65 |olor" to| false.e|
|00004120| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 63 68 65 63 |lse.set |the chec|
|00004130| 6b 6d 61 72 6b 20 6f 66 | 20 6d 65 6e 75 49 74 65 |kmark of| menuIte|
|00004140| 6d 20 22 46 69 72 73 74 | 20 42 6c 6f 63 6b 22 20 |m "First| Block" |
|00004150| 6f 66 20 6d 65 6e 75 20 | 22 43 6f 6c 6f 72 22 20 |of menu |"Color" |
|00004160| 74 6f 20 66 61 6c 73 65 | 0d 73 65 74 20 74 68 65 |to false|.set the|
|00004170| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6f 66 20 6d 65 | checkma|rk of me|
|00004180| 6e 75 49 74 65 6d 20 22 | 43 6f 6c 6f 72 20 41 6c |nuItem "|Color Al|
|00004190| 6c 22 20 6f 66 20 6d 65 | 6e 75 20 22 43 6f 6c 6f |l" of me|nu "Colo|
|000041a0| 72 22 20 74 6f 20 74 72 | 75 65 0d 65 6e 64 20 69 |r" to tr|ue.end i|
|000041b0| 66 0d 65 6e 64 20 64 6f | 4e 42 0d 0d 6f 6e 20 75 |f.end do|NB..on u|
|000041c0| 6e 63 72 65 61 74 65 43 | 6f 6c 6f 72 4d 65 6e 75 |ncreateC|olorMenu|
|000041d0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|000041e0| 65 6e 75 20 22 43 6f 6c | 6f 72 22 20 74 68 65 6e |enu "Col|or" then|
|000041f0| 20 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 43 6f | delete |menu "Co|
|00004200| 6c 6f 72 22 0d 65 6e 64 | 20 75 6e 63 72 65 61 74 |lor".end| uncreat|
|00004210| 65 43 6f 6c 6f 72 4d 65 | 6e 75 0d 0d 6f 6e 20 63 |eColorMe|nu..on c|
|00004220| 6f 6c 6f 72 42 6c 61 6e | 6b 0d 63 6f 6c 6f 72 69 |olorBlan|k.colori|
|00004230| 7a 65 48 43 20 22 63 6f | 6c 6f 72 46 69 6c 6c 22 |zeHC "co|lorFill"|
|00004240| 2c 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 69 |,the rec|t of thi|
|00004250| 73 20 63 64 0d 73 65 74 | 20 68 69 6c 69 74 65 20 |s cd.set| hilite |
|00004260| 6f 66 20 62 67 20 62 74 | 6e 20 43 6f 6c 6f 72 54 |of bg bt|n ColorT|
|00004270| 6f 67 67 6c 65 20 74 6f | 20 66 61 6c 73 65 0d 68 |oggle to| false.h|
|00004280| 69 64 65 20 66 6c 64 20 | 61 61 62 72 65 76 73 0d |ide fld |aabrevs.|
|00004290| 68 69 64 65 20 62 67 20 | 66 6c 64 20 69 64 20 31 |hide bg |fld id 1|
|000042a0| 0d 73 68 6f 77 20 62 67 | 20 66 6c 64 20 69 64 20 |.show bg| fld id |
|000042b0| 31 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 74 |1.repeat| until t|
|000042c0| 68 65 20 6c 6f 63 6b 53 | 63 72 65 65 6e 20 69 73 |he lockS|creen is|
|000042d0| 20 66 61 6c 73 65 0d 75 | 6e 6c 6f 63 6b 20 73 63 | false.u|nlock sc|
|000042e0| 72 65 65 6e 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |reen.end| repeat.|
|000042f0| 65 6e 64 20 63 6f 6c 6f | 72 42 6c 61 6e 6b 0d 0d |end colo|rBlank..|
|00004300| 6f 6e 20 63 48 43 69 6e | 73 74 61 6c 6c 0d 73 65 |on cHCin|stall.se|
|00004310| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00004320| 0d 69 66 20 63 68 65 63 | 6b 45 6e 76 69 72 6f 6e |.if chec|kEnviron|
|00004330| 28 29 20 69 73 20 6e 6f | 74 20 22 4f 4b 22 20 74 |() is no|t "OK" t|
|00004340| 68 65 6e 0d 75 6e 63 72 | 65 61 74 65 43 6f 6c 6f |hen.uncr|eateColo|
|00004350| 72 4d 65 6e 75 0d 65 6c | 73 65 0d 63 72 65 61 74 |rMenu.el|se.creat|
|00004360| 65 43 6f 6c 6f 72 4d 65 | 6e 75 0d 65 6e 64 20 69 |eColorMe|nu.end i|
|00004370| 66 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |f.set cu|rsor to |
|00004380| 62 75 73 79 0d 2d 2d 20 | 72 65 70 65 61 74 20 75 |busy.-- |repeat u|
|00004390| 6e 74 69 6c 20 74 68 65 | 20 6c 6f 63 6b 53 63 72 |ntil the| lockScr|
|000043a0| 65 65 6e 20 69 73 20 66 | 61 6c 73 65 0d 2d 2d 20 |een is f|alse.-- |
|000043b0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 2d 2d |unlock s|creen.--|
|000043c0| 20 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 | end rep|eat.end |
|000043d0| 63 48 43 69 6e 73 74 61 | 6c 6c 0d 0d 6f 6e 20 73 |cHCinsta|ll..on s|
|000043e0| 65 74 75 70 43 6f 6c 6f | 72 47 6c 6f 62 61 6c 0d |etupColo|rGlobal.|
|000043f0| 67 6c 6f 62 61 6c 20 67 | 43 48 43 43 6f 6c 6f 72 |global g|CHCColor|
|00004400| 73 2c 67 58 43 4d 44 45 | 72 72 6f 72 0d 2d 2d 20 |s,gXCMDE|rror.-- |
|00004410| 70 75 74 20 63 6f 6c 6f | 72 20 52 47 42 20 76 61 |put colo|r RGB va|
|00004420| 6c 75 65 73 20 69 6e 74 | 6f 20 67 6c 6f 62 61 6c |lues int|o global|
|00004430| 20 67 43 48 43 43 6f 6c | 6f 72 73 20 62 61 73 65 | gCHCCol|ors base|
|00004440| 64 20 6f 6e 20 62 69 74 | 20 64 65 70 74 68 0d 2d |d on bit| depth.-|
|00004450| 2d 0d 70 75 74 20 4d 61 | 78 44 65 70 74 68 28 29 |-.put Ma|xDepth()|
|00004460| 20 69 6e 74 6f 20 54 68 | 65 4d 61 78 44 65 70 74 | into Th|eMaxDept|
|00004470| 68 0d 69 66 20 67 58 43 | 4d 44 45 72 72 6f 72 20 |h.if gXC|MDError |
|00004480| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004490| 6e 20 61 6e 73 77 65 72 | 20 67 58 43 4d 44 45 72 |n answer| gXCMDEr|
|000044a0| 72 6f 72 0d 2d 2d 0d 69 | 66 20 28 54 68 65 4d 61 |ror.--.i|f (TheMa|
|000044b0| 78 44 65 70 74 68 20 3c | 20 38 29 20 74 68 65 6e |xDepth <| 8) then|
|000044c0| 20 70 75 74 20 22 30 2c | 33 39 33 32 31 2c 36 35 | put "0,|39321,65|
|000044d0| 35 33 35 20 20 36 35 35 | 33 35 2c 36 35 35 33 35 |535 655|35,65535|
|000044e0| 2c 36 35 35 33 35 20 20 | 36 35 35 33 35 2c 36 35 |,65535 |65535,65|
|000044f0| 35 33 35 2c 36 35 35 33 | 35 20 20 36 35 35 33 35 |535,6553|5 65535|
|00004500| 2c 31 37 38 38 32 2c 39 | 30 38 30 22 20 69 6e 74 |,17882,9|080" int|
|00004510| 6f 20 67 43 48 43 43 6f | 6c 6f 72 73 0d 65 6c 73 |o gCHCCo|lors.els|
|00004520| 65 20 70 75 74 20 22 32 | 32 37 33 33 2c 33 31 35 |e put "2|2733,315|
|00004530| 37 33 2c 35 32 34 32 38 | 20 20 36 35 35 33 35 2c |73,52428| 65535,|
|00004540| 36 35 35 33 35 2c 36 35 | 35 33 35 20 20 35 36 37 |65535,65|535 567|
|00004550| 39 37 2c 35 36 37 39 37 | 2c 35 36 37 39 37 20 20 |97,56797|,56797 |
|00004560| 33 39 33 32 31 2c 31 33 | 31 30 37 2c 33 39 33 32 |39321,13|107,3932|
|00004570| 31 22 20 69 6e 74 6f 20 | 67 43 48 43 43 6f 6c 6f |1" into |gCHCColo|
|00004580| 72 73 0d 65 6e 64 20 73 | 65 74 75 70 43 6f 6c 6f |rs.end s|etupColo|
|00004590| 72 47 6c 6f 62 61 6c 0d | 0d 66 75 6e 63 74 69 6f |rGlobal.|.functio|
|000045a0| 6e 20 63 68 65 63 6b 45 | 6e 76 69 72 6f 6e 0d 2d |n checkE|nviron.-|
|000045b0| 2d 20 54 68 65 20 68 65 | 61 70 73 70 61 63 65 20 |- The he|apspace |
|000045c0| 72 65 71 75 69 72 65 6d | 65 6e 74 20 65 73 74 69 |requirem|ent esti|
|000045d0| 6d 61 74 65 73 20 61 72 | 65 20 31 2e 39 20 74 69 |mates ar|e 1.9 ti|
|000045e0| 6d 65 73 20 76 61 6c 75 | 65 73 0d 2d 2d 20 73 75 |mes valu|es.-- su|
|000045f0| 67 67 65 73 74 65 64 20 | 66 6f 72 20 74 68 65 20 |ggested |for the |
|00004600| 35 31 32 78 33 34 32 20 | 63 61 72 64 20 73 69 7a |512x342 |card siz|
|00004610| 65 20 43 6f 6c 6f 72 69 | 7a 65 72 20 73 74 61 63 |e Colori|zer stac|
|00004620| 6b 2c 20 63 61 6c 63 75 | 6c 61 74 65 64 0d 2d 2d |k, calcu|lated.--|
|00004630| 20 66 6f 72 20 74 68 65 | 20 70 72 65 73 65 6e 74 | for the| present|
|00004640| 20 36 34 30 78 35 32 30 | 20 63 61 72 64 20 73 69 | 640x520| card si|
|00004650| 7a 65 2e 20 54 68 65 79 | 20 63 6f 75 6c 64 20 62 |ze. They| could b|
|00004660| 65 20 77 72 6f 6e 67 21 | 0d 70 75 74 20 4d 61 78 |e wrong!|.put Max|
|00004670| 44 65 70 74 68 28 29 20 | 69 6e 74 6f 20 54 68 65 |Depth() |into The|
|00004680| 44 65 70 74 68 0d 70 75 | 74 20 74 68 65 20 68 65 |Depth.pu|t the he|
|00004690| 61 70 53 70 61 63 65 20 | 69 6e 74 6f 20 68 70 53 |apSpace |into hpS|
|000046a0| 70 0d 69 66 20 54 68 65 | 44 65 70 74 68 20 3c 20 |p.if The|Depth < |
|000046b0| 34 20 74 68 65 6e 20 65 | 72 72 42 69 74 44 65 70 |4 then e|rrBitDep|
|000046c0| 74 68 0d 65 6c 73 65 20 | 69 66 20 28 54 68 65 44 |th.else |if (TheD|
|000046d0| 65 70 74 68 20 3d 20 34 | 29 20 c2 0d 61 6e 64 20 |epth = 4|) ..and |
|000046e0| 28 68 70 53 70 20 3c 20 | 33 38 39 35 30 30 29 20 |(hpSp < |389500) |
|000046f0| 74 68 65 6e 20 65 72 72 | 4d 65 6d 6f 72 79 20 54 |then err|Memory T|
|00004700| 68 65 44 65 70 74 68 2c | 68 70 53 70 0d 65 6c 73 |heDepth,|hpSp.els|
|00004710| 65 20 69 66 20 28 54 68 | 65 44 65 70 74 68 20 b3 |e if (Th|eDepth .|
|00004720| 20 38 29 20 c2 0d 61 6e | 64 20 28 68 70 53 70 20 | 8) ..an|d (hpSp |
|00004730| 3c 20 37 32 39 36 30 30 | 29 20 74 68 65 6e 20 65 |< 729600|) then e|
|00004740| 72 72 4d 65 6d 6f 72 79 | 20 54 68 65 44 65 70 74 |rrMemory| TheDept|
|00004750| 68 2c 68 70 53 70 0d 65 | 6c 73 65 20 69 66 20 73 |h,hpSp.e|lse if s|
|00004760| 74 61 63 6b 41 63 74 69 | 76 61 74 65 28 29 20 69 |tackActi|vate() i|
|00004770| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004780| 0d 65 72 72 43 6f 6c 6f | 72 0d 72 65 74 75 72 6e |.errColo|r.return|
|00004790| 20 22 4f 4b 22 0d 65 6c | 73 65 20 72 65 74 75 72 | "OK".el|se retur|
|000047a0| 6e 20 22 4f 4b 22 0d 2d | 2d 20 43 68 61 6e 67 65 |n "OK".-|- Change|
|000047b0| 64 20 74 68 65 73 65 20 | 62 65 63 61 75 73 65 20 |d these |because |
|000047c0| 33 32 20 62 69 74 73 20 | 77 61 6e 74 73 20 74 6f |32 bits |wants to|
|000047d0| 6f 20 6d 75 63 68 20 68 | 65 61 70 53 70 61 63 65 |o much h|eapSpace|
|000047e0| 20 6f 74 68 65 72 77 69 | 73 65 0d 2d 2d 20 61 6e | otherwi|se.-- an|
|000047f0| 64 20 28 74 68 65 20 68 | 65 61 70 53 70 61 63 65 |d (the h|eapSpace|
|00004800| 20 3c 20 31 33 36 39 39 | 30 30 29 20 74 68 65 6e | < 13699|00) then|
|00004810| 20 65 72 72 4d 65 6d 6f | 72 79 20 54 68 65 44 65 | errMemo|ry TheDe|
|00004820| 70 74 68 2c 22 33 39 30 | 30 4b 22 0d 2d 2d 20 61 |pth,"390|0K".-- a|
|00004830| 6e 64 20 28 74 68 65 20 | 68 65 61 70 53 70 61 63 |nd (the |heapSpac|
|00004840| 65 20 3c 20 32 36 39 39 | 39 30 30 29 20 74 68 65 |e < 2699|900) the|
|00004850| 6e 20 65 72 72 4d 65 6d | 6f 72 79 20 54 68 65 44 |n errMem|ory TheD|
|00004860| 65 70 74 68 2c 22 36 30 | 30 30 4b 22 0d 2d 2d 20 |epth,"60|00K".-- |
|00004870| 66 6f 6c 6c 6f 77 69 6e | 67 20 6e 6f 74 20 6e 65 |followin|g not ne|
|00004880| 65 64 65 64 0d 2d 2d 20 | 69 66 20 28 54 68 65 44 |eded.-- |if (TheD|
|00004890| 65 70 74 68 20 3d 20 31 | 29 20 c2 0d 2d 2d 20 61 |epth = 1|) ..-- a|
|000048a0| 6e 64 20 28 68 70 53 70 | 20 3c 20 34 39 34 30 29 |nd (hpSp| < 4940)|
|000048b0| 20 74 68 65 6e 20 2d 2d | 20 65 72 72 4d 65 6d 6f | then --| errMemo|
|000048c0| 72 79 20 54 68 65 44 65 | 70 74 68 2c 22 31 34 30 |ry TheDe|pth,"140|
|000048d0| 30 4b 22 0d 2d 2d 20 65 | 6c 73 65 20 69 66 20 28 |0K".-- e|lse if (|
|000048e0| 54 68 65 44 65 70 74 68 | 20 3d 20 32 29 20 c2 0d |TheDepth| = 2) ..|
|000048f0| 2d 2d 20 61 6e 64 20 28 | 68 70 53 70 20 3c 20 32 |-- and (|hpSp < 2|
|00004900| 32 32 36 38 30 29 20 74 | 68 65 6e 20 65 72 72 4d |22680) t|hen errM|
|00004910| 65 6d 6f 72 79 20 54 68 | 65 44 65 70 74 68 2c 22 |emory Th|eDepth,"|
|00004920| 31 36 30 30 4b 22 0d 2d | 2d 20 65 6c 73 65 20 69 |1600K".-|- else i|
|00004930| 66 20 28 54 68 65 44 65 | 70 74 68 20 3d 20 31 36 |f (TheDe|pth = 16|
|00004940| 29 20 c2 0d 2d 2d 20 61 | 6e 64 20 28 68 70 53 70 |) ..-- a|nd (hpSp|
|00004950| 20 3c 20 37 32 39 36 30 | 30 29 20 74 68 65 6e 20 | < 72960|0) then |
|00004960| 65 72 72 4d 65 6d 6f 72 | 79 20 54 68 65 44 65 70 |errMemor|y TheDep|
|00004970| 74 68 2c 22 31 38 35 30 | 4b 22 0d 2d 2d 20 65 6c |th,"1850|K".-- el|
|00004980| 73 65 20 69 66 20 28 54 | 68 65 44 65 70 74 68 20 |se if (T|heDepth |
|00004990| b3 20 32 34 29 20 c2 0d | 2d 2d 20 61 6e 64 20 28 |. 24) ..|-- and (|
|000049a0| 68 70 53 70 20 3c 20 37 | 32 39 36 30 30 29 20 74 |hpSp < 7|29600) t|
|000049b0| 68 65 6e 20 65 72 72 4d | 65 6d 6f 72 79 20 54 68 |hen errM|emory Th|
|000049c0| 65 44 65 70 74 68 2c 22 | 31 38 35 30 4b 22 0d 0d |eDepth,"|1850K"..|
|000049d0| 65 6e 64 20 63 68 65 63 | 6b 45 6e 76 69 72 6f 6e |end chec|kEnviron|
|000049e0| 0d 0d 6f 6e 20 65 72 72 | 4d 65 6d 6f 72 79 20 54 |..on err|Memory T|
|000049f0| 68 65 44 65 70 74 68 2c | 48 70 53 70 61 63 65 0d |heDepth,|HpSpace.|
|00004a00| 61 6e 73 77 65 72 20 22 | 59 6f 75 20 63 75 72 72 |answer "|You curr|
|00004a10| 65 6e 74 6c 79 20 68 61 | 76 65 20 6f 6e 6c 79 20 |ently ha|ve only |
|00004a20| 22 26 68 70 53 70 61 63 | 65 20 64 69 76 20 31 30 |"&hpSpac|e div 10|
|00004a30| 30 30 26 22 4b 20 6f 66 | 20 68 65 61 70 20 22 26 |00&"K of| heap "&|
|00004a40| c2 0d 22 73 70 61 63 65 | 20 73 6f 20 63 6f 6c 6f |.."space| so colo|
|00004a50| 72 69 6e 67 20 6f 70 74 | 69 6f 6e 73 20 68 61 76 |ring opt|ions hav|
|00004a60| 65 20 62 65 65 6e 20 64 | 69 73 61 62 6c 65 64 2e |e been d|isabled.|
|00004a70| 20 49 66 20 79 6f 75 20 | 77 6f 75 6c 64 20 6c 69 | If you |would li|
|00004a80| 6b 65 20 74 6f 20 75 73 | 65 20 22 26 c2 0d 22 63 |ke to us|e "&.."c|
|00004a90| 6f 6c 6f 72 69 6e 67 2c | 20 66 69 72 73 74 20 72 |oloring,| first r|
|00004aa0| 65 73 74 61 72 74 20 48 | 79 70 65 72 43 61 72 64 |estart H|yperCard|
|00004ab0| 2c 20 74 68 65 6e 20 74 | 72 79 20 69 6e 63 72 65 |, then t|ry incre|
|00004ac0| 61 73 69 6e 67 20 48 79 | 70 65 72 43 61 72 64 27 |asing Hy|perCard'|
|00004ad0| 73 20 52 41 4d 20 22 26 | c2 0d 22 70 61 72 74 69 |s RAM "&|.."parti|
|00004ae0| 74 69 6f 6e 2e 22 0d 0d | 2d 2d 20 54 68 65 20 50 |tion."..|-- The P|
|00004af0| 61 72 74 69 74 69 6f 6e | 53 69 7a 65 20 72 65 71 |artition|Size req|
|00004b00| 75 69 72 65 64 20 68 61 | 73 20 6f 6e 6c 79 20 62 |uired ha|s only b|
|00004b10| 65 65 6e 20 72 6f 75 67 | 68 6c 79 20 65 73 74 69 |een roug|hly esti|
|00004b20| 6d 61 74 65 64 0d 2d 2d | 20 70 75 74 20 6c 61 73 |mated.--| put las|
|00004b30| 74 49 74 65 6d 28 22 3a | 22 2c 74 68 65 20 6c 6f |tItem(":|",the lo|
|00004b40| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 48 79 70 65 72 |ng name |of Hyper|
|00004b50| 43 61 72 64 29 20 69 6e | 74 6f 20 54 68 65 48 79 |Card) in|to TheHy|
|00004b60| 70 65 72 43 61 72 64 0d | 2d 2d 20 61 6e 73 77 65 |perCard.|-- answe|
|00004b70| 72 20 22 4f 70 65 72 61 | 74 69 6e 67 20 69 6e 20 |r "Opera|ting in |
|00004b80| 62 6c 61 63 6b 20 26 20 | 62 68 69 74 65 20 6d 6f |black & |bhite mo|
|00004b90| 64 65 3a 20 4e 6f 74 20 | 65 6e 6f 75 67 68 20 6d |de: Not |enough m|
|00004ba0| 65 6d 6f 72 79 20 74 6f | 20 63 6f 6c 6f 72 69 7a |emory to| coloriz|
|00004bb0| 65 22 20 c2 0d 2d 2d 20 | 26 26 20 22 d2 22 20 26 |e" ..-- |&& "." &|
|00004bc0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00004bd0| 68 69 73 20 73 74 61 63 | 6b 20 26 20 22 d3 22 20 |his stac|k & "." |
|00004be0| c2 0d 2d 2d 20 26 26 20 | 22 69 6e 22 20 26 26 20 |..-- && |"in" && |
|00004bf0| 54 68 65 44 65 70 74 68 | 20 26 20 22 62 69 74 20 |TheDepth| & "bit |
|00004c00| 6d 6f 64 65 2e 20 54 68 | 65 20 63 75 72 72 65 6e |mode. Th|e curren|
|00004c10| 74 20 6d 65 6d 6f 72 79 | 20 73 69 7a 65 20 6f 66 |t memory| size of|
|00004c20| 22 20 26 26 20 c2 0d 2d | 2d 20 54 68 65 48 79 70 |" && ..-|- TheHyp|
|00004c30| 65 72 43 61 72 64 20 26 | 26 20 22 73 68 6f 75 6c |erCard &|& "shoul|
|00004c40| 64 20 62 65 20 61 74 20 | 6c 65 61 73 74 22 20 26 |d be at |least" &|
|00004c50| 26 20 50 61 72 74 69 74 | 69 6f 6e 53 69 7a 65 20 |& Partit|ionSize |
|00004c60| 26 20 22 2e 22 0d 65 6e | 64 20 65 72 72 4d 65 6d |& ".".en|d errMem|
|00004c70| 6f 72 79 0d 0d 6f 6e 20 | 65 72 72 42 69 74 44 65 |ory..on |errBitDe|
|00004c80| 70 74 68 0d 75 6e 63 72 | 65 61 74 65 43 6f 6c 6f |pth.uncr|eateColo|
|00004c90| 72 4d 65 6e 75 0d 2d 2d | 20 61 6e 73 77 65 72 20 |rMenu.--| answer |
|00004ca0| 22 54 68 69 73 20 73 74 | 61 63 6b 20 72 65 71 75 |"This st|ack requ|
|00004cb0| 69 72 65 73 20 61 20 63 | 6f 6c 6f 72 20 73 79 73 |ires a c|olor sys|
|00004cc0| 74 65 6d 20 73 65 74 20 | 74 6f 20 61 74 20 6c 65 |tem set |to at le|
|00004cd0| 61 73 74 20 31 36 20 63 | 6f 6c 6f 72 73 22 20 26 |ast 16 c|olors" &|
|00004ce0| 26 20 c2 0d 2d 2d 20 22 | 28 34 20 62 69 74 2d 64 |& ..-- "|(4 bit-d|
|00004cf0| 65 70 74 68 29 20 74 6f | 20 64 69 73 70 6c 61 79 |epth) to| display|
|00004d00| 20 63 6f 6c 6f 72 2e 22 | 20 2d 2d c6 0d 65 6e 64 | color."| --..end|
|00004d10| 20 65 72 72 42 69 74 44 | 65 70 74 68 0d 0d 2d 2d | errBitD|epth..--|
|00004d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d30| 0d 2d 2d 20 76 69 73 75 | 61 6c 45 66 66 65 63 74 |.-- visu|alEffect|
|00004d40| 42 75 67 20 2d 2d 20 72 | 65 74 75 72 6e 73 20 74 |Bug -- r|eturns t|
|00004d50| 72 75 65 20 69 66 20 76 | 69 73 75 61 6c 20 65 66 |rue if v|isual ef|
|00004d60| 66 65 63 74 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |fects sh|ould be |
|00004d70| 64 69 73 61 62 6c 65 64 | 2c 0d 2d 2d 20 65 6c 73 |disabled|,.-- els|
|00004d80| 65 20 65 6d 70 74 79 2c | 20 63 6f 75 72 74 65 73 |e empty,| courtes|
|00004d90| 79 20 47 65 6f 72 67 65 | 2e 42 72 61 79 40 73 79 |y George|.Bray@sy|
|00004da0| 64 2e 64 69 74 2e 43 53 | 49 52 4f 2e 41 55 0d 2d |d.dit.CS|IRO.AU.-|
|00004db0| 2d 20 20 36 38 30 33 30 | 20 6d 61 63 68 69 6e 65 |- 68030| machine|
|00004dc0| 2c 20 4d 6f 6e 6f 63 68 | 72 6f 6d 65 20 6d 6f 6e |, Monoch|rome mon|
|00004dd0| 69 74 6f 72 0d 2d 2d 20 | 20 50 61 72 74 20 6f 66 |itor.-- | Part of|
|00004de0| 20 74 68 65 20 63 61 72 | 64 20 77 69 6e 64 6f 77 | the car|d window|
|00004df0| 20 69 6e 20 74 68 65 20 | 6f 66 66 20 73 63 72 65 | in the |off scre|
|00004e00| 65 6e 20 61 72 65 61 0d | 2d 2d 20 20 49 66 20 61 |en area.|-- If a|
|00004e10| 6c 6c 20 74 68 65 73 65 | 20 61 72 65 20 74 72 75 |ll these| are tru|
|00004e20| 65 20 74 68 65 6e 20 70 | 65 72 66 6f 72 6d 69 6e |e then p|erformin|
|00004e30| 67 20 61 20 76 69 73 75 | 61 6c 20 65 66 66 65 63 |g a visu|al effec|
|00004e40| 74 20 77 69 6c 6c 20 63 | 72 61 73 68 2e 0d 2d 2d |t will c|rash..--|
|00004e50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004e60| 0d 66 75 6e 63 74 69 6f | 6e 20 76 69 73 75 61 6c |.functio|n visual|
|00004e70| 45 66 66 65 63 74 42 75 | 67 0d 67 6c 6f 62 61 6c |EffectBu|g.global|
|00004e80| 20 65 72 72 47 6c 6f 62 | 61 6c 0d 70 75 74 20 65 | errGlob|al.put e|
|00004e90| 6d 70 74 79 20 69 6e 74 | 6f 20 76 69 73 75 61 6c |mpty int|o visual|
|00004ea0| 45 66 66 65 63 74 42 75 | 67 0d 70 75 74 20 74 68 |EffectBu|g.put th|
|00004eb0| 65 20 76 65 72 73 69 6f | 6e 20 6f 66 20 68 79 70 |e versio|n of hyp|
|00004ec0| 65 72 63 61 72 64 20 69 | 6e 74 6f 20 74 68 65 56 |ercard i|nto theV|
|00004ed0| 65 72 73 69 6f 6e 0d 70 | 75 74 20 53 79 73 45 6e |ersion.p|ut SysEn|
|00004ee0| 76 69 72 6f 6e 6d 65 6e | 74 28 22 6e 6f 44 69 61 |vironmen|t("noDia|
|00004ef0| 6c 6f 67 3a 65 72 72 47 | 6c 6f 62 61 6c 22 29 20 |log:errG|lobal") |
|00004f00| 69 6e 74 6f 20 74 68 65 | 53 79 73 45 6e 76 0d 69 |into the|SysEnv.i|
|00004f10| 66 20 65 72 72 47 6c 6f | 62 61 6c 20 ad 20 65 6d |f errGlo|bal . em|
|00004f20| 70 74 79 20 74 68 65 6e | 0d 65 72 72 6f 72 48 61 |pty then|.errorHa|
|00004f30| 6e 64 6c 65 72 20 22 53 | 79 73 45 6e 76 69 72 6f |ndler "S|ysEnviro|
|00004f40| 6e 6d 65 6e 74 20 45 72 | 72 6f 72 3a 22 20 26 26 |nment Er|ror:" &&|
|00004f50| 20 65 72 72 47 6c 6f 62 | 61 6c 0d 70 75 74 20 65 | errGlob|al.put e|
|00004f60| 6d 70 74 79 20 69 6e 74 | 6f 20 65 72 72 47 6c 6f |mpty int|o errGlo|
|00004f70| 62 61 6c 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 4d |bal.end |if.put M|
|00004f80| 6f 6e 69 74 6f 72 43 6f | 6e 66 69 67 28 22 43 61 |onitorCo|nfig("Ca|
|00004f90| 72 64 57 69 6e 64 6f 77 | 22 2c 20 22 6e 6f 44 69 |rdWindow|", "noDi|
|00004fa0| 61 6c 6f 67 3a 65 72 72 | 47 6c 6f 62 61 6c 22 29 |alog:err|Global")|
|00004fb0| 20 69 6e 74 6f 20 74 68 | 65 4d 6f 6e 69 74 6f 72 | into th|eMonitor|
|00004fc0| 73 0d 69 66 20 65 72 72 | 47 6c 6f 62 61 6c 20 ad |s.if err|Global .|
|00004fd0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 61 6e 73 77 | empty t|hen.answ|
|00004fe0| 65 72 20 22 4d 6f 6e 69 | 74 6f 72 43 6f 6e 66 69 |er "Moni|torConfi|
|00004ff0| 67 20 45 72 72 6f 72 3a | 20 22 20 26 20 65 72 72 |g Error:| " & err|
|00005000| 47 6c 6f 62 61 6c 0d 70 | 75 74 20 65 6d 70 74 79 |Global.p|ut empty|
|00005010| 20 69 6e 74 6f 20 65 72 | 72 47 6c 6f 62 61 6c 0d | into er|rGlobal.|
|00005020| 65 6e 64 20 69 66 0d 69 | 66 20 74 68 65 56 65 72 |end if.i|f theVer|
|00005030| 73 69 6f 6e 20 3d 20 22 | 32 2e 31 22 20 61 6e 64 |sion = "|2.1" and|
|00005040| 20 c2 0d 6c 61 73 74 20 | 77 6f 72 64 20 6f 66 20 | ..last |word of |
|00005050| 69 74 65 6d 20 33 20 6f | 66 20 74 68 65 53 79 73 |item 3 o|f theSys|
|00005060| 45 6e 76 20 69 73 20 22 | 36 38 30 33 30 22 20 61 |Env is "|68030" a|
|00005070| 6e 64 20 c2 0d 6c 69 6e | 65 20 34 20 6f 66 20 74 |nd ..lin|e 4 of t|
|00005080| 68 65 4d 6f 6e 69 74 6f | 72 73 20 69 73 20 22 42 |heMonito|rs is "B|
|00005090| 6c 61 63 6b 20 26 20 57 | 68 69 74 65 22 20 61 6e |lack & W|hite" an|
|000050a0| 64 20 c2 0d 28 69 74 65 | 6d 20 33 20 6f 66 20 74 |d ..(ite|m 3 of t|
|000050b0| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 77 69 |he rect |of cd wi|
|000050c0| 6e 64 6f 77 20 3e 20 69 | 74 65 6d 20 33 20 6f 66 |ndow > i|tem 3 of|
|000050d0| 20 74 68 65 20 73 63 72 | 65 65 6e 72 65 63 74 20 | the scr|eenrect |
|000050e0| 6f 72 20 c2 0d 69 74 65 | 6d 20 31 20 6f 66 20 74 |or ..ite|m 1 of t|
|000050f0| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 77 69 |he rect |of cd wi|
|00005100| 6e 64 6f 77 20 3c 20 69 | 74 65 6d 20 31 20 6f 66 |ndow < i|tem 1 of|
|00005110| 20 74 68 65 20 73 63 72 | 65 65 6e 72 65 63 74 20 | the scr|eenrect |
|00005120| 6f 72 20 c2 0d 69 74 65 | 6d 20 34 20 6f 66 20 74 |or ..ite|m 4 of t|
|00005130| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 77 69 |he rect |of cd wi|
|00005140| 6e 64 6f 77 20 3e 20 69 | 74 65 6d 20 34 20 6f 66 |ndow > i|tem 4 of|
|00005150| 20 74 68 65 20 73 63 72 | 65 65 6e 72 65 63 74 20 | the scr|eenrect |
|00005160| 6f 72 20 c2 0d 69 74 65 | 6d 20 32 20 6f 66 20 74 |or ..ite|m 2 of t|
|00005170| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 77 69 |he rect |of cd wi|
|00005180| 6e 64 6f 77 20 3c 20 69 | 74 65 6d 20 32 20 6f 66 |ndow < i|tem 2 of|
|00005190| 20 74 68 65 20 73 63 72 | 65 65 6e 72 65 63 74 29 | the scr|eenrect)|
|000051a0| 20 74 68 65 6e 20 70 75 | 74 20 c2 0d 74 72 75 65 | then pu|t ..true|
|000051b0| 20 69 6e 74 6f 20 76 69 | 73 75 61 6c 45 66 66 65 | into vi|sualEffe|
|000051c0| 63 74 42 75 67 0d 72 65 | 74 75 72 6e 20 76 69 73 |ctBug.re|turn vis|
|000051d0| 75 61 6c 45 66 66 65 63 | 74 42 75 67 0d 65 6e 64 |ualEffec|tBug.end|
|000051e0| 20 76 69 73 75 61 6c 45 | 66 66 65 63 74 42 75 67 | visualE|ffectBug|
|000051f0| 0d 0d 6f 6e 20 63 6f 6c | 6f 72 69 7a 65 48 43 0d |..on col|orizeHC.|
|00005200| 67 6c 6f 62 61 6c 20 67 | 4f 4b 54 6f 43 6f 6c 6f |global g|OKToColo|
|00005210| 72 69 7a 65 0d 69 66 20 | 28 67 4f 4b 54 6f 43 6f |rize.if |(gOKToCo|
|00005220| 6c 6f 72 69 7a 65 20 69 | 73 20 65 6d 70 74 79 29 |lorize i|s empty)|
|00005230| 20 74 68 65 6e 20 70 61 | 73 73 20 63 6f 6c 6f 72 | then pa|ss color|
|00005240| 69 7a 65 48 43 0d 65 6e | 64 20 63 6f 6c 6f 72 69 |izeHC.en|d colori|
|00005250| 7a 65 48 43 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 73 |zeHC..fu|nction s|
|00005260| 74 61 63 6b 41 63 74 69 | 76 61 74 65 0d 67 6c 6f |tackActi|vate.glo|
|00005270| 62 61 6c 20 67 4f 4b 54 | 6f 43 6f 6c 6f 72 69 7a |bal gOKT|oColoriz|
|00005280| 65 0d 2d 2d 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |e.--.put| empty i|
|00005290| 6e 74 6f 20 67 4f 4b 54 | 6f 43 6f 6c 6f 72 69 7a |nto gOKT|oColoriz|
|000052a0| 65 0d 2d 2d 0d 2d 2d 64 | 65 62 75 67 20 63 68 65 |e.--.--d|ebug che|
|000052b0| 63 6b 50 6f 69 6e 74 0d | 63 6f 6c 6f 72 69 7a 65 |ckPoint.|colorize|
|000052c0| 48 43 20 22 61 73 73 69 | 67 6e 54 6f 46 72 6f 6e |HC "assi|gnToFron|
|000052d0| 74 22 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |t".if th|e result|
|000052e0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|000052f0| 65 6e 0d 70 75 74 20 74 | 68 65 20 72 65 73 75 6c |en.put t|he resul|
|00005300| 74 20 69 6e 74 6f 20 67 | 4f 4b 54 6f 43 6f 6c 6f |t into g|OKToColo|
|00005310| 72 69 7a 65 0d 72 65 74 | 75 72 6e 20 67 4f 4b 54 |rize.ret|urn gOKT|
|00005320| 6f 43 6f 6c 6f 72 69 7a | 65 0d 65 6e 64 20 69 66 |oColoriz|e.end if|
|00005330| 0d 65 6e 64 20 73 74 61 | 63 6b 41 63 74 69 76 61 |.end sta|ckActiva|
|00005340| 74 65 0d 0d 6f 6e 20 65 | 72 72 43 6f 6c 6f 72 0d |te..on e|rrColor.|
|00005350| 67 6c 6f 62 61 6c 20 67 | 4f 4b 54 6f 43 6f 6c 6f |global g|OKToColo|
|00005360| 72 69 7a 65 0d 2d 2d 20 | 61 6e 73 77 65 72 20 22 |rize.-- |answer "|
|00005370| 57 61 72 6e 69 6e 67 3a | 20 54 68 65 20 65 6e 76 |Warning:| The env|
|00005380| 69 72 6f 6e 6d 65 6e 74 | 20 74 68 69 73 20 73 74 |ironment| this st|
|00005390| 61 63 6b 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 |ack is c|urrently|
|000053a0| 20 72 75 6e 6e 69 6e 67 | 20 69 6e 20 69 73 20 6e | running| in is n|
|000053b0| 6f 74 22 20 26 26 20 c2 | 0d 2d 2d 20 22 61 62 6c |ot" && .|.-- "abl|
|000053c0| 65 20 74 6f 20 73 75 70 | 70 6f 72 74 20 63 6f 6c |e to sup|port col|
|000053d0| 6f 72 2e 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |or." & r|eturn & |
|000053e0| 22 52 65 61 73 6f 6e 3a | 22 20 26 26 20 67 4f 4b |"Reason:|" && gOK|
|000053f0| 54 6f 43 6f 6c 6f 72 69 | 7a 65 0d 65 6e 64 20 65 |ToColori|ze.end e|
|00005400| 72 72 43 6f 6c 6f 72 0d | 0d 6f 6e 20 63 48 43 64 |rrColor.|.on cHCd|
|00005410| 69 73 70 6f 73 65 0d 2d | 2d 20 63 6c 6f 73 69 6e |ispose.-|- closin|
|00005420| 67 20 74 68 65 20 73 74 | 61 63 6b 2c 20 67 65 74 |g the st|ack, get|
|00005430| 20 72 69 64 20 6f 66 20 | 74 68 65 20 43 6f 6c 6f | rid of |the Colo|
|00005440| 72 69 7a 65 20 73 74 75 | 66 66 0d 6c 6f 63 6b 20 |rize stu|ff.lock |
|00005450| 73 63 72 65 65 6e 0d 43 | 6f 6c 6f 72 69 7a 65 48 |screen.C|olorizeH|
|00005460| 43 20 22 44 69 73 70 6f | 73 65 22 0d 73 65 74 20 |C "Dispo|se".set |
|00005470| 68 69 6c 69 74 65 20 6f | 66 20 62 67 20 62 74 6e |hilite o|f bg btn|
|00005480| 20 43 6f 6c 6f 72 54 6f | 67 67 6c 65 20 74 6f 20 | ColorTo|ggle to |
|00005490| 66 61 6c 73 65 0d 68 69 | 64 65 20 66 6c 64 20 61 |false.hi|de fld a|
|000054a0| 61 62 72 65 76 73 0d 2d | 2d 20 69 66 20 74 68 65 |abrevs.-|- if the|
|000054b0| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|000054c0| 6d 70 74 79 20 74 68 65 | 6e 20 61 6e 73 77 65 72 |mpty the|n answer|
|000054d0| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 75 6e 6c 6f | the res|ult.unlo|
|000054e0| 63 6b 20 73 63 72 65 65 | 6e 20 2d 2d 20 66 6f 72 |ck scree|n -- for|
|000054f0| 63 65 20 61 20 73 63 72 | 65 65 6e 20 75 70 64 61 |ce a scr|een upda|
|00005500| 74 65 0d 65 6e 64 20 63 | 48 43 64 69 73 70 6f 73 |te.end c|HCdispos|
|00005510| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 77 72 6f 6e |e..funct|ion wron|
|00005520| 67 53 74 61 63 6b 0d 70 | 75 74 20 74 68 65 20 76 |gStack.p|ut the v|
|00005530| 61 6c 75 65 20 6f 66 20 | 77 6f 72 64 20 32 20 6f |alue of |word 2 o|
|00005540| 66 20 74 68 65 20 6c 6f | 6e 67 20 6e 61 6d 65 20 |f the lo|ng name |
|00005550| 6f 66 20 6d 65 20 69 6e | 74 6f 20 54 68 65 53 74 |of me in|to TheSt|
|00005560| 61 63 6b 4e 61 6d 65 0d | 72 65 74 75 72 6e 20 28 |ackName.|return (|
|00005570| 54 68 65 53 74 61 63 6b | 4e 61 6d 65 20 69 73 20 |TheStack|Name is |
|00005580| 6e 6f 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 74 68 |not line| 1 of th|
|00005590| 65 20 73 74 61 63 6b 73 | 29 0d 65 6e 64 20 77 72 |e stacks|).end wr|
|000055a0| 6f 6e 67 53 74 61 63 6b | 0d 0d 2d 2d 20 46 6f 6c |ongStack|..-- Fol|
|000055b0| 6c 6f 77 69 6e 67 20 63 | 6f 6c 6f 75 72 69 7a 65 |lowing c|olourize|
|000055c0| 20 66 75 6e 63 74 69 6f | 6e 73 20 62 79 20 4e 69 | functio|ns by Ni|
|000055d0| 67 65 6c 20 50 65 72 72 | 79 0d 2d 2d 20 54 68 65 |gel Perr|y.-- The|
|000055e0| 73 65 20 66 75 6e 63 74 | 69 6f 6e 20 73 65 74 73 |se funct|ion sets|
|000055f0| 20 75 70 20 61 20 63 61 | 6c 6c 20 74 6f 20 74 68 | up a ca|ll to th|
|00005600| 65 20 43 6f 6c 6f 75 72 | 54 65 78 74 5b 52 47 42 |e Colour|Text[RGB|
|00005610| 5d 20 58 46 43 4e 2c 0d | 2d 2d 20 44 4f 20 4e 4f |] XFCN,.|-- DO NO|
|00005620| 54 20 63 61 6c 6c 20 74 | 68 65 20 58 46 43 4e 20 |T call t|he XFCN |
|00005630| 64 69 72 65 63 74 6c 79 | 20 61 73 20 74 68 69 73 |directly| as this|
|00005640| 20 68 61 6e 64 6c 65 72 | 20 64 6f 65 73 0d 2d 2d | handler| does.--|
|00005650| 20 74 68 65 20 61 72 67 | 75 6d 65 6e 74 20 63 68 | the arg|ument ch|
|00005660| 65 63 6b 69 6e 67 2c 20 | 74 68 65 20 58 46 43 4e |ecking, |the XFCN|
|00005670| 20 64 6f 65 73 20 4e 4f | 4e 45 2e 0d 2d 2d 20 41 | does NO|NE..-- A|
|00005680| 72 67 75 6d 65 6e 74 3a | 20 61 20 66 69 65 6c 64 |rgument:| a field|
|00005690| 20 73 70 65 63 20 61 73 | 20 61 20 73 74 72 69 6e | spec as| a strin|
|000056a0| 67 2c 20 65 2e 67 2e 20 | 22 63 64 20 66 6c 64 20 |g, e.g. |"cd fld |
|000056b0| 69 64 20 33 22 0d 2d 2d | 20 52 65 74 75 72 6e 3a |id 3".--| Return:|
|000056c0| 20 74 72 75 65 20 69 66 | 20 74 68 65 20 63 6f 6c | true if| the col|
|000056d0| 6f 75 72 69 7a 65 64 20 | 77 69 6e 64 6f 77 20 77 |ourized |window w|
|000056e0| 61 73 20 63 72 65 61 74 | 65 64 2e 0d 66 75 6e 63 |as creat|ed..func|
|000056f0| 74 69 6f 6e 20 43 6f 6c | 6f 75 72 69 7a 65 20 66 |tion Col|ourize f|
|00005700| 73 70 65 63 2c 20 63 74 | 61 62 2c 20 77 6e 61 6d |spec, ct|ab, wnam|
|00005710| 65 0d 64 6f 20 22 70 75 | 74 20 74 68 65 72 65 20 |e.do "pu|t there |
|00005720| 69 73 20 61 22 20 26 26 | 20 66 73 70 65 63 20 26 |is a" &&| fspec &|
|00005730| 26 20 22 69 6e 74 6f 20 | 65 78 69 73 74 73 22 0d |& "into |exists".|
|00005740| 69 66 20 6e 6f 74 20 65 | 78 69 73 74 73 20 74 68 |if not e|xists th|
|00005750| 65 6e 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 0d |en retur|n false.|
|00005760| 64 6f 20 22 70 75 74 20 | 63 68 61 72 20 31 20 6f |do "put |char 1 o|
|00005770| 66 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 22 20 26 |f the na|me of" &|
|00005780| 26 20 66 73 70 65 63 20 | 26 26 20 22 69 73 20 63 |& fspec |&& "is c|
|00005790| 20 69 6e 74 6f 20 66 63 | 64 22 0d 64 6f 20 22 70 | into fc|d".do "p|
|000057a0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |ut the s|hort id |
|000057b0| 6f 66 22 20 26 26 20 66 | 73 70 65 63 20 26 26 20 |of" && f|spec && |
|000057c0| 22 69 6e 74 6f 20 66 69 | 64 22 0d 64 6f 20 22 70 |"into fi|d".do "p|
|000057d0| 75 74 20 74 68 65 20 73 | 74 79 6c 65 20 6f 66 22 |ut the s|tyle of"|
|000057e0| 20 26 26 20 66 73 70 65 | 63 20 26 26 20 22 69 73 | && fspe|c && "is|
|000057f0| 20 73 63 72 6f 6c 6c 69 | 6e 67 20 69 6e 74 6f 20 | scrolli|ng into |
|00005800| 66 73 63 72 6f 6c 6c 22 | 0d 64 6f 20 22 70 75 74 |fscroll"|.do "put|
|00005810| 20 74 68 65 20 77 69 64 | 65 4d 61 72 67 69 6e 73 | the wid|eMargins|
|00005820| 20 6f 66 22 20 26 26 20 | 66 73 70 65 63 20 26 26 | of" && |fspec &&|
|00005830| 20 22 69 6e 74 6f 20 66 | 77 69 64 65 22 0d 2d 2d | "into f|wide".--|
|00005840| 20 70 75 74 20 74 68 65 | 20 74 69 63 6b 73 20 69 | put the| ticks i|
|00005850| 6e 74 6f 20 73 74 61 72 | 74 0d 70 75 74 20 43 6f |nto star|t.put Co|
|00005860| 6c 6f 75 72 54 65 78 74 | 28 66 63 64 2c 20 66 69 |lourText|(fcd, fi|
|00005870| 64 2c 20 66 73 63 72 6f | 6c 6c 2c 20 66 77 69 64 |d, fscro|ll, fwid|
|00005880| 65 2c 20 63 74 61 62 2c | 20 77 6e 61 6d 65 29 20 |e, ctab,| wname) |
|00005890| 69 6e 74 6f 20 72 65 73 | 0d 2d 2d 20 70 75 74 20 |into res|.-- put |
|000058a0| 74 68 65 20 74 69 63 6b | 73 20 2d 20 73 74 61 72 |the tick|s - star|
|000058b0| 74 0d 2d 2d 20 72 65 74 | 75 72 6e 20 72 65 73 0d |t.-- ret|urn res.|
|000058c0| 65 6e 64 20 43 6f 6c 6f | 75 72 69 7a 65 0d 0d 2d |end Colo|urize..-|
|000058d0| 2d 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |- This f|unction |
|000058e0| 73 65 74 73 20 75 70 20 | 61 20 63 61 6c 6c 20 74 |sets up |a call t|
|000058f0| 6f 20 74 68 65 20 52 47 | 42 43 6f 6c 6f 75 72 54 |o the RG|BColourT|
|00005900| 65 78 74 20 58 46 43 4e | 0d 2d 2d 20 6f 74 68 65 |ext XFCN|.-- othe|
|00005910| 72 77 69 73 65 20 61 73 | 20 61 62 6f 76 65 0d 66 |rwise as| above.f|
|00005920| 75 6e 63 74 69 6f 6e 20 | 43 6f 6c 6f 75 72 69 7a |unction |Colouriz|
|00005930| 65 52 47 42 20 66 73 70 | 65 63 2c 20 63 74 61 62 |eRGB fsp|ec, ctab|
|00005940| 2c 20 77 6e 61 6d 65 0d | 64 6f 20 22 70 75 74 20 |, wname.|do "put |
|00005950| 74 68 65 72 65 20 69 73 | 20 61 22 20 26 26 20 66 |there is| a" && f|
|00005960| 73 70 65 63 20 26 26 20 | 22 69 6e 74 6f 20 65 78 |spec && |"into ex|
|00005970| 69 73 74 73 22 0d 69 66 | 20 6e 6f 74 20 65 78 69 |ists".if| not exi|
|00005980| 73 74 73 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |sts then| return |
|00005990| 66 61 6c 73 65 0d 64 6f | 20 22 70 75 74 20 63 68 |false.do| "put ch|
|000059a0| 61 72 20 31 20 6f 66 20 | 74 68 65 20 6e 61 6d 65 |ar 1 of |the name|
|000059b0| 20 6f 66 22 20 26 26 20 | 66 73 70 65 63 20 26 26 | of" && |fspec &&|
|000059c0| 20 22 69 73 20 63 20 69 | 6e 74 6f 20 66 63 64 22 | "is c i|nto fcd"|
|000059d0| 0d 64 6f 20 22 70 75 74 | 20 74 68 65 20 73 68 6f |.do "put| the sho|
|000059e0| 72 74 20 69 64 20 6f 66 | 22 20 26 26 20 66 73 70 |rt id of|" && fsp|
|000059f0| 65 63 20 26 26 20 22 69 | 6e 74 6f 20 66 69 64 22 |ec && "i|nto fid"|
|00005a00| 0d 64 6f 20 22 70 75 74 | 20 74 68 65 20 73 74 79 |.do "put| the sty|
|00005a10| 6c 65 20 6f 66 22 20 26 | 26 20 66 73 70 65 63 20 |le of" &|& fspec |
|00005a20| 26 26 20 22 69 73 20 73 | 63 72 6f 6c 6c 69 6e 67 |&& "is s|crolling|
|00005a30| 20 69 6e 74 6f 20 66 73 | 63 72 6f 6c 6c 22 0d 64 | into fs|croll".d|
|00005a40| 6f 20 22 70 75 74 20 74 | 68 65 20 77 69 64 65 4d |o "put t|he wideM|
|00005a50| 61 72 67 69 6e 73 20 6f | 66 22 20 26 26 20 66 73 |argins o|f" && fs|
|00005a60| 70 65 63 20 26 26 20 22 | 69 6e 74 6f 20 66 77 69 |pec && "|into fwi|
|00005a70| 64 65 22 0d 2d 2d 20 70 | 75 74 20 74 68 65 20 74 |de".-- p|ut the t|
|00005a80| 69 63 6b 73 20 69 6e 74 | 6f 20 73 74 61 72 74 0d |icks int|o start.|
|00005a90| 70 75 74 20 43 6f 6c 6f | 75 72 54 65 78 74 52 47 |put Colo|urTextRG|
|00005aa0| 42 28 66 63 64 2c 20 66 | 69 64 2c 20 66 73 63 72 |B(fcd, f|id, fscr|
|00005ab0| 6f 6c 6c 2c 20 66 77 69 | 64 65 2c 20 63 74 61 62 |oll, fwi|de, ctab|
|00005ac0| 2c 20 77 6e 61 6d 65 29 | 20 69 6e 74 6f 20 72 65 |, wname)| into re|
|00005ad0| 73 0d 2d 2d 20 70 75 74 | 20 74 68 65 20 74 69 63 |s.-- put| the tic|
|00005ae0| 6b 73 20 2d 20 73 74 61 | 72 74 0d 2d 2d 20 72 65 |ks - sta|rt.-- re|
|00005af0| 74 75 72 6e 20 72 65 73 | 0d 65 6e 64 20 43 6f 6c |turn res|.end Col|
|00005b00| 6f 75 72 69 7a 65 52 47 | 42 0d 0d 6f 6e 20 64 6f |ourizeRG|B..on do|
|00005b10| 53 63 72 6f 6c 6c 0d 69 | 66 20 76 69 73 69 62 6c |Scroll.i|f visibl|
|00005b20| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 73 63 72 6f |e of win|dow scro|
|00005b30| 6c 6c 20 74 68 65 6e 0d | 68 69 64 65 20 77 69 6e |ll then.|hide win|
|00005b40| 64 6f 77 20 73 63 72 6f | 6c 6c 0d 65 6c 73 65 0d |dow scro|ll.else.|
|00005b50| 70 75 74 20 28 69 74 65 | 6d 20 33 20 6f 66 20 74 |put (ite|m 3 of t|
|00005b60| 68 65 20 72 65 63 74 20 | 6f 66 20 74 68 69 73 20 |he rect |of this |
|00005b70| 63 61 72 64 29 20 2d 35 | 35 26 22 2c 31 32 22 20 |card) -5|5&",12" |
|00005b80| 69 6e 74 6f 20 6e 72 0d | 73 68 6f 77 20 77 69 6e |into nr.|show win|
|00005b90| 64 6f 77 20 22 73 63 72 | 6f 6c 6c 22 20 61 74 20 |dow "scr|oll" at |
|00005ba0| 6e 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 6f |nr.end i|f.end do|
|00005bb0| 53 63 72 6f 6c 6c 0d 0d | 6f 6e 20 63 68 61 6e 67 |Scroll..|on chang|
|00005bc0| 65 46 6f 6e 74 20 64 6f | 4c 61 73 65 72 0d 6c 6f |eFont do|Laser.lo|
|00005bd0| 63 6b 20 73 63 72 65 65 | 6e 0d 2d 2d 20 69 66 20 |ck scree|n.-- if |
|00005be0| 74 68 65 20 74 65 78 74 | 66 6f 6e 74 20 6f 66 20 |the text|font of |
|00005bf0| 66 6c 64 20 69 64 20 31 | 20 69 73 20 6d 6f 6e 61 |fld id 1| is mona|
|00005c00| 63 6f 20 74 68 65 6e 20 | 70 75 74 20 74 72 75 65 |co then |put true|
|00005c10| 20 69 6e 74 6f 20 64 6f | 4c 61 73 65 72 0d 2d 2d | into do|Laser.--|
|00005c20| 20 65 6c 73 65 20 70 75 | 74 20 66 61 6c 73 65 20 | else pu|t false |
|00005c30| 69 6e 74 6f 20 64 6f 4c | 61 73 65 72 0d 72 65 70 |into doL|aser.rep|
|00005c40| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 31 20 74 |eat with| x = 1 t|
|00005c50| 6f 20 31 30 32 0d 69 66 | 20 64 6f 4c 61 73 65 72 |o 102.if| doLaser|
|00005c60| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 74 65 | then.se|t the te|
|00005c70| 78 74 66 6f 6e 74 20 6f | 66 20 66 6c 64 20 69 64 |xtfont o|f fld id|
|00005c80| 20 78 20 74 6f 20 63 6f | 75 72 69 65 72 0d 73 65 | x to co|urier.se|
|00005c90| 74 20 74 68 65 20 74 65 | 78 74 73 69 7a 65 20 6f |t the te|xtsize o|
|00005ca0| 66 20 66 6c 64 20 69 64 | 20 78 20 74 6f 20 31 30 |f fld id| x to 10|
|00005cb0| 0d 65 6c 73 65 0d 73 65 | 74 20 74 68 65 20 74 65 |.else.se|t the te|
|00005cc0| 78 74 66 6f 6e 74 20 6f | 66 20 66 6c 64 20 69 64 |xtfont o|f fld id|
|00005cd0| 20 78 20 74 6f 20 6d 6f | 6e 61 63 6f 0d 73 65 74 | x to mo|naco.set|
|00005ce0| 20 74 68 65 20 74 65 78 | 74 73 69 7a 65 20 6f 66 | the tex|tsize of|
|00005cf0| 20 66 6c 64 20 69 64 20 | 78 20 74 6f 20 39 0d 65 | fld id |x to 9.e|
|00005d00| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00005d10| 0d 69 66 20 64 6f 4c 61 | 73 65 72 20 74 68 65 6e |.if doLa|ser then|
|00005d20| 0d 73 65 74 20 74 68 65 | 20 74 65 78 74 66 6f 6e |.set the| textfon|
|00005d30| 74 20 6f 66 20 66 6c 64 | 20 6e 6f 74 65 73 20 74 |t of fld| notes t|
|00005d40| 6f 20 74 69 6d 65 73 0d | 73 65 74 20 74 68 65 20 |o times.|set the |
|00005d50| 74 65 78 74 66 6f 6e 74 | 20 6f 66 20 66 6c 64 20 |textfont| of fld |
|00005d60| 73 65 71 6e 61 6d 65 73 | 20 74 6f 20 74 69 6d 65 |seqnames| to time|
|00005d70| 73 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 73 69 |s.set th|e textsi|
|00005d80| 7a 65 20 6f 66 20 66 6c | 64 20 6e 6f 74 65 73 20 |ze of fl|d notes |
|00005d90| 74 6f 20 31 32 0d 65 6c | 73 65 0d 73 65 74 20 74 |to 12.el|se.set t|
|00005da0| 68 65 20 74 65 78 74 66 | 6f 6e 74 20 6f 66 20 66 |he textf|ont of f|
|00005db0| 6c 64 20 6e 6f 74 65 73 | 20 74 6f 20 67 65 6e 65 |ld notes| to gene|
|00005dc0| 76 61 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 66 |va.set t|he textf|
|00005dd0| 6f 6e 74 20 6f 66 20 66 | 6c 64 20 73 65 71 6e 61 |ont of f|ld seqna|
|00005de0| 6d 65 73 20 74 6f 20 67 | 65 6e 65 76 61 0d 73 65 |mes to g|eneva.se|
|00005df0| 74 20 74 68 65 20 74 65 | 78 74 73 69 7a 65 20 6f |t the te|xtsize o|
|00005e00| 66 20 66 6c 64 20 6e 6f | 74 65 73 20 74 6f 20 39 |f fld no|tes to 9|
|00005e10| 0d 65 6e 64 20 69 66 0d | 72 65 73 65 74 46 6c 64 |.end if.|resetFld|
|00005e20| 73 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |s.unlock| screen |
|00005e30| 77 69 74 68 20 64 69 73 | 73 6f 6c 76 65 0d 65 6e |with dis|solve.en|
|00005e40| 64 20 63 68 61 6e 67 65 | 46 6f 6e 74 0d 0d 6f 6e |d change|Font..on|
|00005e50| 20 63 68 65 63 6b 66 6f | 72 62 6c 61 6e 6b 63 61 | checkfo|rblankca|
|00005e60| 72 64 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 62 |rd.put "|" into b|
|00005e70| 6c 61 6e 6b 63 61 72 64 | 0d 72 65 70 65 61 74 20 |lankcard|.repeat |
|00005e80| 77 69 74 68 20 67 3d 31 | 20 74 6f 20 6e 75 6d 62 |with g=1| to numb|
|00005e90| 65 72 20 6f 66 20 63 64 | 73 20 69 6e 20 74 68 69 |er of cd|s in thi|
|00005ea0| 73 20 62 67 0d 69 66 20 | 66 6c 64 20 69 64 20 31 |s bg.if |fld id 1|
|00005eb0| 20 6f 66 20 63 64 20 67 | 20 6f 66 20 74 68 69 73 | of cd g| of this|
|00005ec0| 20 62 67 20 69 73 20 22 | 22 20 74 68 65 6e 0d 70 | bg is "|" then.p|
|00005ed0| 75 74 20 67 20 69 6e 74 | 6f 20 62 6c 61 6e 6b 63 |ut g int|o blankc|
|00005ee0| 61 72 64 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |ard.exit| repeat.|
|00005ef0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00005f00| 74 0d 72 65 74 75 72 6e | 20 62 6c 61 6e 6b 63 61 |t.return| blankca|
|00005f10| 72 64 0d 65 6e 64 20 63 | 68 65 63 6b 66 6f 72 62 |rd.end c|heckforb|
|00005f20| 6c 61 6e 6b 63 61 72 64 | 0d 0d 6f 6e 20 64 6f 41 |lankcard|..on doA|
|00005f30| 63 74 69 6f 6e 20 77 68 | 61 74 0d 67 6c 6f 62 61 |ction wh|at.globa|
|00005f40| 6c 20 77 68 41 63 74 69 | 6f 6e 2c 6e 75 6d 73 65 |l whActi|on,numse|
|00005f50| 71 73 2c 77 68 4c 69 6e | 65 0d 73 65 74 20 63 75 |qs,whLin|e.set cu|
|00005f60| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 6c 6f 63 |rsor to |busy.loc|
|00005f70| 6b 20 73 63 72 65 65 6e | 0d 69 66 20 77 68 41 63 |k screen|.if whAc|
|00005f80| 74 69 6f 6e 20 69 73 20 | 22 64 6f 54 72 61 6e 73 |tion is |"doTrans|
|00005f90| 6c 69 74 22 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |lit" the|n.put it|
|00005fa0| 65 6d 20 31 20 6f 66 20 | 77 68 61 74 20 69 6e 74 |em 1 of |what int|
|00005fb0| 6f 20 77 31 0d 70 75 74 | 20 69 74 65 6d 20 32 20 |o w1.put| item 2 |
|00005fc0| 6f 66 20 77 68 61 74 20 | 69 6e 74 6f 20 77 32 0d |of what |into w2.|
|00005fd0| 70 75 74 20 22 70 75 74 | 20 74 72 61 6e 73 6c 69 |put "put| transli|
|00005fe0| 74 28 22 26 71 75 6f 74 | 65 26 77 31 26 71 75 6f |t("&quot|e&w1&quo|
|00005ff0| 74 65 26 22 2c 22 26 71 | 75 6f 74 65 26 77 32 26 |te&","&q|uote&w2&|
|00006000| 71 75 6f 74 65 26 c2 0d | 22 2c 6e 77 6c 6e 29 20 |quote&..|",nwln) |
|00006010| 69 6e 74 6f 20 6e 77 6c | 6e 22 20 69 6e 74 6f 20 |into nwl|n" into |
|00006020| 61 63 74 69 6f 6e 0d 65 | 6c 73 65 20 69 66 20 77 |action.e|lse if w|
|00006030| 68 41 63 74 69 6f 6e 20 | 69 73 20 22 63 68 43 61 |hAction |is "chCa|
|00006040| 73 65 22 20 74 68 65 6e | 0d 70 75 74 20 22 70 75 |se" then|.put "pu|
|00006050| 74 20 58 6c 61 74 65 28 | 6e 77 6c 6e 2c 22 26 71 |t Xlate(|nwln,"&q|
|00006060| 75 6f 74 65 26 77 68 61 | 74 26 71 75 6f 74 65 26 |uote&wha|t&quote&|
|00006070| 22 29 20 69 6e 74 6f 20 | 6e 77 6c 6e 22 20 69 6e |") into |nwln" in|
|00006080| 74 6f 20 61 63 74 69 6f | 6e 0d 65 6c 73 65 20 69 |to actio|n.else i|
|00006090| 66 20 77 68 41 63 74 69 | 6f 6e 20 69 73 20 22 73 |f whActi|on is "s|
|000060a0| 74 72 69 70 47 61 70 73 | 22 20 74 68 65 6e 0d 70 |tripGaps|" then.p|
|000060b0| 75 74 20 22 70 75 74 20 | 74 72 61 6e 73 6c 69 74 |ut "put |translit|
|000060c0| 28 22 26 71 75 6f 74 65 | 26 22 2e 22 26 71 75 6f |("&quote|&"."&quo|
|000060d0| 74 65 26 22 2c 20 65 6d | 70 74 79 2c 6e 77 6c 6e |te&", em|pty,nwln|
|000060e0| 29 20 69 6e 74 6f 20 6e | 77 6c 6e 22 20 69 6e 74 |) into n|wln" int|
|000060f0| 6f 20 61 63 74 69 6f 6e | 0d 65 6c 73 65 20 69 66 |o action|.else if|
|00006100| 20 77 68 41 63 74 69 6f | 6e 20 69 73 20 22 4d 61 | whActio|n is "Ma|
|00006110| 74 63 68 22 20 74 68 65 | 6e 0d 64 6f 6c 69 6e 65 |tch" the|n.doline|
|00006120| 63 68 65 63 6b 0d 69 66 | 20 77 68 61 74 20 3d 20 |check.if| what = |
|00006130| 22 2b 22 20 74 68 65 6e | 0d 70 75 74 20 66 6c 64 |"+" then|.put fld|
|00006140| 20 69 64 20 31 20 69 6e | 74 6f 20 41 73 74 72 0d | id 1 in|to Astr.|
|00006150| 70 75 74 20 22 70 75 74 | 20 73 74 72 44 65 6c 74 |put "put| strDelt|
|00006160| 61 28 41 73 74 72 2c 22 | 26 71 75 6f 74 65 26 77 |a(Astr,"|&quote&w|
|00006170| 68 61 74 26 71 75 6f 74 | 65 26 22 2c 6e 77 6c 6e |hat&quot|e&",nwln|
|00006180| 29 22 c2 0d 26 22 20 69 | 6e 74 6f 20 6e 77 6c 6e |)"..&" i|nto nwln|
|00006190| 22 20 69 6e 74 6f 20 61 | 63 74 69 6f 6e 0d 65 6c |" into a|ction.el|
|000061a0| 73 65 0d 70 75 74 20 74 | 72 61 6e 73 6c 69 74 28 |se.put t|ranslit(|
|000061b0| 22 2e 22 2c 22 c0 22 2c | 66 6c 64 20 69 64 20 31 |".",".",|fld id 1|
|000061c0| 29 20 69 6e 74 6f 20 41 | 73 74 72 0d 70 75 74 20 |) into A|str.put |
|000061d0| 22 70 75 74 20 73 74 72 | 44 65 6c 74 61 28 6e 77 |"put str|Delta(nw|
|000061e0| 6c 6e 2c 22 26 71 75 6f | 74 65 26 77 68 61 74 26 |ln,"&quo|te&what&|
|000061f0| 71 75 6f 74 65 26 22 2c | 41 73 74 72 29 22 c2 0d |quote&",|Astr)"..|
|00006200| 26 22 20 69 6e 74 6f 20 | 6e 77 6c 6e 22 20 69 6e |&" into |nwln" in|
|00006210| 74 6f 20 61 63 74 69 6f | 6e 0d 65 6e 64 20 69 66 |to actio|n.end if|
|00006220| 0d 65 6c 73 65 20 69 66 | 20 77 68 41 63 74 69 6f |.else if| whActio|
|00006230| 6e 20 69 73 20 22 64 6f | 31 33 22 20 74 68 65 6e |n is "do|13" then|
|00006240| 0d 70 75 74 20 22 70 75 | 74 20 50 65 70 74 69 64 |.put "pu|t Peptid|
|00006250| 65 58 6c 61 74 65 28 22 | 26 77 68 61 74 26 22 2c |eXlate("|&what&",|
|00006260| 20 6e 77 6c 6e 29 20 69 | 6e 74 6f 20 6e 77 6c 6e | nwln) i|nto nwln|
|00006270| 22 20 69 6e 74 6f 20 61 | 63 74 69 6f 6e 0d 65 6c |" into a|ction.el|
|00006280| 73 65 20 69 66 20 77 68 | 41 63 74 69 6f 6e 20 69 |se if wh|Action i|
|00006290| 73 20 22 64 6f 4c 54 72 | 69 6d 22 20 74 68 65 6e |s "doLTr|im" then|
|000062a0| 0d 70 75 74 20 22 64 65 | 6c 65 74 65 20 63 68 61 |.put "de|lete cha|
|000062b0| 72 20 31 20 74 6f 20 22 | 26 77 68 61 74 26 26 22 |r 1 to "|&what&&"|
|000062c0| 6f 66 20 6e 77 6c 6e 22 | 20 69 6e 74 6f 20 61 63 |of nwln"| into ac|
|000062d0| 74 69 6f 6e 0d 65 6c 73 | 65 20 69 66 20 77 68 41 |tion.els|e if whA|
|000062e0| 63 74 69 6f 6e 20 69 73 | 20 22 64 6f 52 54 72 69 |ction is| "doRTri|
|000062f0| 6d 22 20 74 68 65 6e 0d | 70 75 74 20 22 64 65 6c |m" then.|put "del|
|00006300| 65 74 65 20 63 68 61 72 | 20 22 26 77 68 61 74 26 |ete char| "&what&|
|00006310| 26 22 74 6f 20 6c 65 6e | 67 74 68 28 6e 77 6c 6e |&"to len|gth(nwln|
|00006320| 29 20 6f 66 20 6e 77 6c | 6e 22 20 69 6e 74 6f 20 |) of nwl|n" into |
|00006330| 61 63 74 69 6f 6e 0d 65 | 6c 73 65 0d 70 75 74 20 |action.e|lse.put |
|00006340| 22 62 65 65 70 22 20 69 | 6e 74 6f 20 61 63 74 69 |"beep" i|nto acti|
|00006350| 6f 6e 0d 65 6e 64 20 69 | 66 0d 69 66 20 61 63 74 |on.end i|f.if act|
|00006360| 69 6f 6e 20 ad 20 22 22 | 20 74 68 65 6e 0d 72 65 |ion . ""| then.re|
|00006370| 70 65 61 74 20 77 69 74 | 68 20 78 3d 20 31 20 74 |peat wit|h x= 1 t|
|00006380| 6f 20 6e 75 6d 73 65 71 | 73 0d 70 75 74 20 66 6c |o numseq|s.put fl|
|00006390| 64 20 69 64 20 78 20 69 | 6e 74 6f 20 6e 77 6c 6e |d id x i|nto nwln|
|000063a0| 0d 69 66 20 28 77 68 41 | 63 74 69 6f 6e 20 3d 20 |.if (whA|ction = |
|000063b0| 22 6d 61 74 63 68 22 29 | 20 61 6e 64 20 28 78 20 |"match")| and (x |
|000063c0| 3d 20 31 29 20 74 68 65 | 6e 0d 6e 65 78 74 20 72 |= 1) the|n.next r|
|000063d0| 65 70 65 61 74 0d 65 6c | 73 65 0d 64 6f 20 61 63 |epeat.el|se.do ac|
|000063e0| 74 69 6f 6e 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |tion.end| if.put |
|000063f0| 6e 77 6c 6e 20 69 6e 74 | 6f 20 66 6c 64 20 69 64 |nwln int|o fld id|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.