home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-06-30 | 305.3 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, busy, Mon Apr 12 11:31:44 1993, modified Wed Jun 30 07:26:06 1993, creator HyperCard, type HyperCard stack, 155648 bytes "MultiMedioids" , at 0x26080 156785 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 4d 75 6c 74 69 4d | 65 64 69 6f 69 64 73 00 |..MultiM|edioids.|
|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 60 00 00 | 02 64 71 a7 ef 3b e0 a8 |.....`..|.dq..;..|
|00000060| 57 28 ce 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |W(......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d4 df 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 02 60 00 | 00 00 70 00 00 00 00 00 |......`.|..p.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a f8 00 00 00 01 |........|........|
|000000b0| 00 00 0b 41 00 00 09 59 | 00 00 00 03 00 01 26 00 |...A...Y|......&.|
|000000c0| 00 00 0f b2 42 2c 2d 0f | 00 05 00 00 14 00 00 00 |....B,-.|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 9a 64 05 0b 00 00 00 00 | 00 00 00 00 00 00 00 00 |.d......|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d ec 00 00 0c 57 | 02 70 03 40 00 00 00 00 |.......W|.p.@....|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 7a 80 00 00 68 60 | 00 00 e3 80 00 00 52 c0 |..z...h`|......R.|
|00000490| 00 01 f5 00 00 00 6a e0 | 00 00 00 00 00 00 00 00 |......j.|........|
|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| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 73 65 74 |on openS|tack.set|
|00000690| 20 74 68 65 20 75 73 65 | 72 6c 65 76 65 6c 20 74 | the use|rlevel t|
|000006a0| 6f 20 34 0d 73 74 61 72 | 74 20 75 73 69 6e 67 20 |o 4.star|t using |
|000006b0| 73 74 61 63 6b 20 6d 65 | 64 69 6f 69 64 50 6c 61 |stack me|dioidPla|
|000006c0| 79 65 72 50 61 74 68 28 | 29 0d 73 65 74 20 74 68 |yerPath(|).set th|
|000006d0| 65 20 63 61 6e 74 70 65 | 65 6b 20 6f 66 20 74 68 |e cantpe|ek of th|
|000006e0| 69 73 20 73 74 61 63 6b | 20 74 6f 20 74 72 75 65 |is stack| to true|
|000006f0| 0d 73 65 74 20 74 65 78 | 74 46 6f 6e 74 20 6f 66 |.set tex|tFont of|
|00000700| 20 62 67 20 66 6c 64 20 | 6d 65 64 66 6c 64 20 74 | bg fld |medfld t|
|00000710| 6f 20 22 6d 65 64 69 6f | 69 64 22 0d 73 65 74 20 |o "medio|id".set |
|00000720| 74 65 78 74 53 69 7a 65 | 20 6f 66 20 62 67 20 66 |textSize| of bg f|
|00000730| 6c 64 20 6d 65 64 66 6c | 64 20 74 6f 20 31 36 0d |ld medfl|d to 16.|
|00000740| 73 65 74 20 74 65 78 74 | 46 6f 6e 74 20 6f 66 20 |set text|Font of |
|00000750| 63 64 20 66 6c 64 20 6d | 65 64 66 6c 64 20 74 6f |cd fld m|edfld to|
|00000760| 20 22 6d 65 64 69 6f 69 | 64 22 0d 73 65 74 20 74 | "medioi|d".set t|
|00000770| 65 78 74 53 69 7a 65 20 | 6f 66 20 63 64 20 66 6c |extSize |of cd fl|
|00000780| 64 20 6d 65 64 66 6c 64 | 20 74 6f 20 31 36 0d 73 |d medfld| to 16.s|
|00000790| 65 74 20 74 65 78 74 46 | 6f 6e 74 20 6f 66 20 63 |et textF|ont of c|
|000007a0| 64 20 66 6c 64 20 6d 65 | 64 69 75 6d 20 74 6f 20 |d fld me|dium to |
|000007b0| 22 6d 65 64 69 6f 69 64 | 22 0d 73 65 74 20 74 65 |"medioid|".set te|
|000007c0| 78 74 53 69 7a 65 20 6f | 66 20 63 64 20 66 6c 64 |xtSize o|f cd fld|
|000007d0| 20 6d 65 64 69 75 6d 20 | 74 6f 20 31 36 0d 73 74 | medium |to 16.st|
|000007e0| 61 72 74 53 74 61 63 6b | 0d 65 6e 64 20 6f 70 65 |artStack|.end ope|
|000007f0| 6e 53 74 61 63 6b 0d 0d | 6f 6e 20 73 74 61 72 74 |nStack..|on start|
|00000800| 53 74 61 63 6b 0d 67 6c | 6f 62 61 6c 20 6a 75 73 |Stack.gl|obal jus|
|00000810| 74 4d 65 64 69 6f 69 64 | 65 64 2c 6d 6d 50 69 63 |tMedioid|ed,mmPic|
|00000820| 74 73 2c 70 69 63 74 53 | 6f 75 72 63 65 73 2c 6d |ts,pictS|ources,m|
|00000830| 6d 53 6f 75 6e 64 73 2c | 73 6e 64 53 6f 75 72 63 |mSounds,|sndSourc|
|00000840| 65 73 2c 63 68 61 6e 67 | 65 73 2c c2 0d 66 6f 6e |es,chang|es,..fon|
|00000850| 74 4d 65 6e 75 2c 73 74 | 61 63 6b 4c 6f 63 0d 72 |tMenu,st|ackLoc.r|
|00000860| 65 73 65 74 20 6d 65 6e | 75 62 61 72 0d 73 74 61 |eset men|ubar.sta|
|00000870| 72 74 20 75 73 69 6e 67 | 20 73 74 61 63 6b 20 6d |rt using| stack m|
|00000880| 65 64 69 6f 69 64 50 6c | 61 79 65 72 50 61 74 68 |edioidPl|ayerPath|
|00000890| 28 29 0d 73 65 74 20 74 | 68 65 20 62 6c 69 6e 64 |().set t|he blind|
|000008a0| 74 79 70 69 6e 67 20 74 | 6f 20 66 61 6c 73 65 0d |typing t|o false.|
|000008b0| 68 69 64 65 20 6d 65 73 | 73 61 67 65 0d 70 75 74 |hide mes|sage.put|
|000008c0| 20 30 20 69 6e 74 6f 20 | 73 74 61 63 6b 4c 6f 63 | 0 into |stackLoc|
|000008d0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|000008e0| 6a 75 73 74 4d 65 64 69 | 6f 69 64 65 64 0d 70 75 |justMedi|oided.pu|
|000008f0| 74 20 22 55 73 65 20 50 | 69 63 74 75 72 65 20 46 |t "Use P|icture F|
|00000900| 69 6c 65 2e 2e 2e 22 20 | 26 20 72 65 74 75 72 6e |ile..." |& return|
|00000910| 20 69 6e 74 6f 20 6d 6d | 50 69 63 74 73 0d 70 75 | into mm|Picts.pu|
|00000920| 74 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 70 69 |t return| into pi|
|00000930| 63 74 53 6f 75 72 63 65 | 73 0d 70 75 74 20 55 6e |ctSource|s.put Un|
|00000940| 73 63 72 75 6e 63 68 28 | 22 55 73 65 20 53 6f 75 |scrunch(|"Use Sou|
|00000950| 6e 64 20 46 69 6c 65 2e | 2e 2e c2 4e 65 77 20 53 |nd File.|...New S|
|00000960| 6f 75 6e 64 20 46 69 6c | 65 2e 2e 2e c2 22 29 20 |ound Fil|e....") |
|00000970| 69 6e 74 6f 20 6d 6d 53 | 6f 75 6e 64 73 0d 70 75 |into mmS|ounds.pu|
|00000980| 74 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |t return| & retur|
|00000990| 6e 20 69 6e 74 6f 20 73 | 6e 64 53 6f 75 72 63 65 |n into s|ndSource|
|000009a0| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|000009b0| 20 63 68 61 6e 67 65 73 | 0d 70 75 74 20 6d 65 6e | changes|.put men|
|000009c0| 75 20 46 6f 6e 74 20 69 | 6e 74 6f 20 66 6f 6e 74 |u Font i|nto font|
|000009d0| 4d 65 6e 75 0d 70 75 74 | 20 22 46 69 6c 65 2c 45 |Menu.put| "File,E|
|000009e0| 64 69 74 2c 47 6f 2c 54 | 6f 6f 6c 73 2c 4f 62 6a |dit,Go,T|ools,Obj|
|000009f0| 65 63 74 73 2c 46 6f 6e | 74 2c 53 74 79 6c 65 22 |ects,Fon|t,Style"|
|00000a00| 20 69 6e 74 6f 20 6d 0d | 72 65 70 65 61 74 20 77 | into m.|repeat w|
|00000a10| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith x = |1 to the|
|00000a20| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00000a30| 20 6f 66 20 6d 0d 64 65 | 6c 65 74 65 20 6d 65 6e | of m.de|lete men|
|00000a40| 75 20 69 74 65 6d 20 78 | 20 6f 66 20 6d 0d 65 6e |u item x| of m.en|
|00000a50| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 22 41 62 |d repeat|.put "Ab|
|00000a60| 6f 75 74 20 4d 75 6c 74 | 69 4d 65 64 69 6f 69 64 |out Mult|iMedioid|
|00000a70| 73 2e 2e 2e 22 20 69 6e | 74 6f 20 6d 65 6e 75 49 |s..." in|to menuI|
|00000a80| 74 65 6d 20 31 20 6f 66 | 20 6d 65 6e 75 20 31 0d |tem 1 of| menu 1.|
|00000a90| 73 65 74 20 74 68 65 20 | 6d 65 6e 75 4d 73 67 20 |set the |menuMsg |
|00000aa0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 31 20 6f 66 |of menuI|tem 1 of|
|00000ab0| 20 6d 65 6e 75 20 31 20 | 74 6f 20 22 53 69 6c 65 | menu 1 |to "Sile|
|00000ac0| 6e 74 41 6c 72 74 28 32 | 39 39 29 22 0d 70 75 74 |ntAlrt(2|99)".put|
|00000ad0| 20 22 4e 65 77 20 4d 65 | 64 69 6f 69 64 2c 6e 65 | "New Me|dioid,ne|
|00000ae0| 77 4d 65 64 69 6f 69 64 | 2c 65 6e 61 62 6c 65 2c |wMedioid|,enable,|
|00000af0| 4e 2c 4f 70 65 6e 20 4d | 65 64 69 6f 69 64 2e 2e |N,Open M|edioid..|
|00000b00| 2e 2c 6f 70 65 6e 4d 65 | 64 69 6f 69 64 2c 22 c2 |.,openMe|dioid,".|
|00000b10| 0d 26 20 22 65 6e 61 62 | 6c 65 2c 4f 2c 2d 2c 2c |.& "enab|le,O,-,,|
|00000b20| 2c 2c 50 6c 61 79 20 4d | 65 64 69 6f 69 64 2e 2e |,,Play M|edioid..|
|00000b30| 2e 2c 70 6c 61 79 4d 65 | 64 69 6f 69 64 2c 65 6e |.,playMe|dioid,en|
|00000b40| 61 62 6c 65 2c 4c 2c 53 | 63 61 6e 20 4d 65 64 69 |able,L,S|can Medi|
|00000b50| 6f 69 64 2e 2e 2e 2c 22 | c2 0d 26 20 22 73 63 61 |oid...,"|..& "sca|
|00000b60| 6e 4d 65 64 69 6f 69 64 | 2c 65 6e 61 62 6c 65 2c |nMedioid|,enable,|
|00000b70| 4b 2c 41 62 6f 72 74 20 | 4d 65 64 69 6f 69 64 2c |K,Abort |Medioid,|
|00000b80| 22 c2 0d 26 20 22 73 65 | 6e 64 20 61 62 6f 72 74 |"..& "se|nd abort|
|00000b90| 4d 65 64 69 6f 69 64 20 | 74 6f 20 63 64 20 66 6c |Medioid |to cd fl|
|00000ba0| 64 20 6d 65 64 66 6c 64 | 2c 22 c2 0d 26 20 22 65 |d medfld|,"..& "e|
|00000bb0| 6e 61 62 6c 65 2c 41 2c | 2d 2c 2c 2c 2c 51 75 69 |nable,A,|-,,,,Qui|
|00000bc0| 74 2c 64 6f 4d 65 6e 75 | 20 51 75 69 74 20 48 79 |t,doMenu| Quit Hy|
|00000bd0| 70 65 72 63 61 72 64 2c | 65 6e 61 62 6c 65 2c 51 |percard,|enable,Q|
|00000be0| 2c 22 20 69 6e 74 6f 20 | 6d 65 6e 75 44 61 74 61 |," into |menuData|
|00000bf0| 0d 73 65 74 55 70 4d 65 | 6e 75 20 46 69 6c 65 2c |.setUpMe|nu File,|
|00000c00| 6d 65 6e 75 44 61 74 61 | 0d 70 75 74 20 22 4d 65 |menuData|.put "Me|
|00000c10| 64 69 6f 69 64 50 6c 61 | 79 65 72 2c 67 6f 20 73 |dioidPla|yer,go s|
|00000c20| 74 61 63 6b 20 4d 65 64 | 69 6f 69 64 50 6c 61 79 |tack Med|ioidPlay|
|00000c30| 65 72 20 69 6e 20 61 20 | 6e 65 77 20 77 69 6e 64 |er in a |new wind|
|00000c40| 6f 77 2c 65 6e 61 62 6c | 65 2c 59 2c 22 c2 0d 26 |ow,enabl|e,Y,"..&|
|00000c50| 20 22 52 65 73 4d 6f 6e | 69 74 6f 72 2c 67 6f 20 | "ResMon|itor,go |
|00000c60| 73 74 61 63 6b 20 52 65 | 73 4d 6f 6e 69 74 6f 72 |stack Re|sMonitor|
|00000c70| 20 69 6e 20 61 20 6e 65 | 77 20 77 69 6e 64 6f 77 | in a ne|w window|
|00000c80| 2c 65 6e 61 62 6c 65 2c | 52 2c 22 c2 0d 26 20 22 |,enable,|R,"..& "|
|00000c90| 48 79 70 65 72 63 61 72 | 64 2c 47 6f 20 48 6f 6d |Hypercar|d,Go Hom|
|00000ca0| 65 2c 65 6e 61 62 6c 65 | 2c 48 2c 22 20 69 6e 74 |e,enable|,H," int|
|00000cb0| 6f 20 6d 65 6e 75 44 61 | 74 61 0d 73 65 74 55 70 |o menuDa|ta.setUp|
|00000cc0| 4d 65 6e 75 20 47 6f 2c | 6d 65 6e 75 44 61 74 61 |Menu Go,|menuData|
|00000cd0| 0d 70 75 74 20 22 39 22 | 20 26 20 6e 75 6d 74 6f |.put "9"| & numto|
|00000ce0| 63 68 61 72 28 33 34 29 | 20 26 20 22 20 73 63 72 |char(34)| & " scr|
|00000cf0| 65 65 6e 2c 73 65 74 53 | 63 72 65 65 6e 22 20 26 |een,setS|creen" &|
|00000d00| 26 20 22 31 2c 65 6e 61 | 62 6c 65 2c 2c 22 c2 0d |& "1,ena|ble,,"..|
|00000d10| 26 20 22 31 32 22 20 26 | 20 6e 75 6d 74 6f 63 68 |& "12" &| numtoch|
|00000d20| 61 72 28 33 34 29 20 26 | 20 22 20 73 63 72 65 65 |ar(34) &| " scree|
|00000d30| 6e 2c 73 65 74 53 63 72 | 65 65 6e 22 20 26 26 20 |n,setScr|een" && |
|00000d40| 22 32 2c 65 6e 61 62 6c | 65 2c 2c 22 c2 0d 26 20 |"2,enabl|e,,"..& |
|00000d50| 22 31 34 22 20 26 20 6e | 75 6d 74 6f 63 68 61 72 |"14" & n|umtochar|
|00000d60| 28 33 34 29 20 26 20 22 | 20 73 63 72 65 65 6e 2c |(34) & "| screen,|
|00000d70| 73 65 74 53 63 72 65 65 | 6e 22 20 26 26 20 22 33 |setScree|n" && "3|
|00000d80| 2c 65 6e 61 62 6c 65 2c | 2c 22 c2 0d 26 20 22 31 |,enable,|,"..& "1|
|00000d90| 36 22 20 26 20 6e 75 6d | 74 6f 63 68 61 72 28 33 |6" & num|tochar(3|
|00000da0| 34 29 20 26 20 22 20 73 | 63 72 65 65 6e 2c 73 65 |4) & " s|creen,se|
|00000db0| 74 53 63 72 65 65 6e 22 | 20 26 26 20 22 34 2c 65 |tScreen"| && "4,e|
|00000dc0| 6e 61 62 6c 65 2c 2c 22 | c2 0d 26 20 22 46 75 6c |nable,,"|..& "Ful|
|00000dd0| 6c 20 73 63 72 65 65 6e | 2c 73 65 74 53 63 72 65 |l screen|,setScre|
|00000de0| 65 6e 22 20 26 26 20 22 | 35 2c 65 6e 61 62 6c 65 |en" && "|5,enable|
|00000df0| 22 c2 0d 26 20 22 2c 2c | 2d 2c 2c 2c 2c 22 c2 0d |"..& ",,|-,,,,"..|
|00000e00| 26 20 22 53 6f 75 6e 64 | 20 45 66 66 65 63 74 73 |& "Sound| Effects|
|00000e10| 2c 73 6f 75 6e 64 54 6f | 67 67 6c 65 2c 65 6e 61 |,soundTo|ggle,ena|
|00000e20| 62 6c 65 2c 2c 22 20 69 | 6e 74 6f 20 6d 65 6e 75 |ble,," i|nto menu|
|00000e30| 44 61 74 61 0d 73 65 74 | 55 70 4d 65 6e 75 20 53 |Data.set|UpMenu S|
|00000e40| 65 74 74 69 6e 67 73 2c | 6d 65 6e 75 44 61 74 61 |ettings,|menuData|
|00000e50| 0d 73 65 74 54 69 63 6b | 73 0d 73 68 6f 77 54 6f |.setTick|s.showTo|
|00000e60| 6f 6c 73 0d 70 75 74 20 | 6c 6f 63 20 6f 66 20 77 |ols.put |loc of w|
|00000e70| 69 6e 64 6f 77 20 73 68 | 6f 72 74 20 6e 61 6d 65 |indow sh|ort name|
|00000e80| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00000e90| 6e 74 6f 20 73 74 61 63 | 6b 4c 6f 63 0d 68 69 64 |nto stac|kLoc.hid|
|00000ea0| 65 20 77 69 6e 64 6f 77 | 20 73 63 72 6f 6c 6c 0d |e window| scroll.|
|00000eb0| 65 6e 64 20 73 74 61 72 | 74 53 74 61 63 6b 0d 0d |end star|tStack..|
|00000ec0| 66 75 6e 63 74 69 6f 6e | 20 6d 65 64 69 6f 69 64 |function| medioid|
|00000ed0| 50 6c 61 79 65 72 50 61 | 74 68 0d 69 66 20 74 68 |PlayerPa|th.if th|
|00000ee0| 65 72 65 20 69 73 20 61 | 20 73 74 61 63 6b 20 4d |ere is a| stack M|
|00000ef0| 65 64 69 6f 69 64 50 6c | 61 79 65 72 20 74 68 65 |edioidPl|ayer the|
|00000f00| 6e 20 72 65 74 75 72 6e | 20 4d 65 64 69 6f 69 64 |n return| Medioid|
|00000f10| 50 6c 61 79 65 72 0d 65 | 6c 73 65 0d 67 65 74 20 |Player.e|lse.get |
|00000f20| 46 75 6c 6c 4e 61 6d 65 | 28 4d 65 64 69 6f 69 64 |FullName|(Medioid|
|00000f30| 50 6c 61 79 65 72 2c 53 | 54 41 4b 29 0d 69 66 20 |Player,S|TAK).if |
|00000f40| 69 74 20 69 73 20 6e 6f | 74 46 6f 75 6e 64 20 74 |it is no|tFound t|
|00000f50| 68 65 6e 20 72 65 74 75 | 72 6e 20 4d 65 64 69 6f |hen retu|rn Medio|
|00000f60| 69 64 50 6c 61 79 65 72 | 0d 65 6e 64 20 69 66 0d |idPlayer|.end if.|
|00000f70| 65 6e 64 20 6d 65 64 69 | 6f 69 64 50 6c 61 79 65 |end medi|oidPlaye|
|00000f80| 72 50 61 74 68 0d 0d 6f | 6e 20 72 65 73 75 6d 65 |rPath..o|n resume|
|00000f90| 53 74 61 63 6b 0d 73 74 | 61 72 74 53 74 61 63 6b |Stack.st|artStack|
|00000fa0| 0d 65 6e 64 20 72 65 73 | 75 6d 65 53 74 61 63 6b |.end res|umeStack|
|00000fb0| 0d 0d 6f 6e 20 73 75 73 | 70 65 6e 64 53 74 61 63 |..on sus|pendStac|
|00000fc0| 6b 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |k.if the| short n|
|00000fd0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00000fe0| 6b 20 69 73 20 4d 75 6c | 74 69 4d 65 64 69 6f 69 |k is Mul|tiMedioi|
|00000ff0| 64 73 20 74 68 65 6e 0d | 74 69 64 79 53 63 72 65 |ds then.|tidyScre|
|00001000| 65 6e 0d 73 61 76 65 53 | 65 74 74 69 6e 67 73 0d |en.saveS|ettings.|
|00001010| 73 65 74 20 74 68 65 20 | 62 6c 69 6e 64 74 79 70 |set the |blindtyp|
|00001020| 69 6e 67 20 74 6f 20 74 | 72 75 65 0d 65 6e 64 20 |ing to t|rue.end |
|00001030| 69 66 0d 65 6e 64 20 73 | 75 73 70 65 6e 64 53 74 |if.end s|uspendSt|
|00001040| 61 63 6b 0d 0d 6f 6e 20 | 73 65 74 53 63 72 65 65 |ack..on |setScree|
|00001050| 6e 20 73 69 7a 65 0d 67 | 6c 6f 62 61 6c 20 73 63 |n size.g|lobal sc|
|00001060| 72 65 65 6e 53 69 7a 65 | 0d 73 65 74 20 63 68 65 |reenSize|.set che|
|00001070| 63 6b 4d 61 72 6b 20 6f | 66 20 6d 65 6e 75 49 74 |ckMark o|f menuIt|
|00001080| 65 6d 20 73 63 72 65 65 | 6e 53 69 7a 65 20 6f 66 |em scree|nSize of|
|00001090| 20 6d 65 6e 75 20 53 65 | 74 74 69 6e 67 73 20 74 | menu Se|ttings t|
|000010a0| 6f 20 66 61 6c 73 65 0d | 70 75 74 20 73 69 7a 65 |o false.|put size|
|000010b0| 20 69 6e 74 6f 20 73 63 | 72 65 65 6e 53 69 7a 65 | into sc|reenSize|
|000010c0| 0d 73 65 74 20 63 68 65 | 63 6b 4d 61 72 6b 20 6f |.set che|ckMark o|
|000010d0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 73 69 7a 65 20 |f menuIt|em size |
|000010e0| 6f 66 20 6d 65 6e 75 20 | 53 65 74 74 69 6e 67 73 |of menu |Settings|
|000010f0| 20 74 6f 20 74 72 75 65 | 0d 69 66 20 73 69 7a 65 | to true|.if size|
|00001100| 20 3d 20 31 20 74 68 65 | 6e 0d 73 65 74 50 6f 73 | = 1 the|n.setPos|
|00001110| 69 74 69 6f 6e 73 20 22 | 30 2c 30 2c 35 31 32 2c |itions "|0,0,512,|
|00001120| 33 34 32 22 2c 22 33 31 | 33 2c 31 39 38 22 2c 22 |342","31|3,198","|
|00001130| 33 31 33 2c 32 30 39 22 | 0d 65 6c 73 65 20 69 66 |313,209"|.else if|
|00001140| 20 73 69 7a 65 20 3d 20 | 32 20 74 68 65 6e 0d 73 | size = |2 then.s|
|00001150| 65 74 50 6f 73 69 74 69 | 6f 6e 73 20 22 30 2c 30 |etPositi|ons "0,0|
|00001160| 2c 35 31 32 2c 33 38 34 | 22 2c 22 33 31 34 2c 32 |,512,384|","314,2|
|00001170| 34 31 22 2c 22 33 31 34 | 2c 32 35 32 22 0d 65 6c |41","314|,252".el|
|00001180| 73 65 20 69 66 20 73 69 | 7a 65 20 3d 20 33 20 74 |se if si|ze = 3 t|
|00001190| 68 65 6e 0d 73 65 74 50 | 6f 73 69 74 69 6f 6e 73 |hen.setP|ositions|
|000011a0| 20 22 30 2c 30 2c 36 34 | 30 2c 34 38 30 22 2c 22 | "0,0,64|0,480","|
|000011b0| 33 30 38 2c 33 33 31 22 | 2c 22 33 30 38 2c 33 34 |308,331"|,"308,34|
|000011c0| 32 22 0d 65 6c 73 65 20 | 69 66 20 73 69 7a 65 20 |2".else |if size |
|000011d0| 3d 20 34 20 74 68 65 6e | 0d 73 65 74 50 6f 73 69 |= 4 then|.setPosi|
|000011e0| 74 69 6f 6e 73 20 22 31 | 36 2c 34 38 2c 38 31 36 |tions "1|6,48,816|
|000011f0| 2c 36 30 30 22 2c 22 33 | 31 30 2c 33 35 37 22 2c |,600","3|10,357",|
|00001200| 22 33 31 30 2c 33 36 38 | 22 0d 65 6c 73 65 0d 73 |"310,368|".else.s|
|00001210| 65 74 50 6f 73 69 74 69 | 6f 6e 73 20 74 68 65 20 |etPositi|ons the |
|00001220| 73 63 72 65 65 6e 72 65 | 63 74 2c 22 33 31 33 2c |screenre|ct,"313,|
|00001230| 31 39 38 22 2c 22 33 31 | 33 2c 32 30 39 22 0d 65 |198","31|3,209".e|
|00001240| 6e 64 20 69 66 0d 65 6e | 64 20 73 65 74 53 63 72 |nd if.en|d setScr|
|00001250| 65 65 6e 0d 0d 6f 6e 20 | 73 65 74 50 6f 73 69 74 |een..on |setPosit|
|00001260| 69 6f 6e 73 20 72 2c 6e | 2c 66 0d 73 65 74 20 74 |ions r,n|,f.set t|
|00001270| 68 65 20 72 65 63 74 20 | 6f 66 20 74 68 69 73 20 |he rect |of this |
|00001280| 63 61 72 64 20 74 6f 20 | 72 0d 73 65 74 20 74 68 |card to |r.set th|
|00001290| 65 20 74 6f 70 4c 65 66 | 74 20 6f 66 20 62 67 20 |e topLef|t of bg |
|000012a0| 66 6c 64 20 6d 65 64 6e | 6d 20 74 6f 20 6e 0d 73 |fld medn|m to n.s|
|000012b0| 65 74 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |et the t|opLeft o|
|000012c0| 66 20 62 67 20 66 6c 64 | 20 6d 65 64 66 6c 64 20 |f bg fld| medfld |
|000012d0| 74 6f 20 66 0d 72 65 70 | 65 61 74 20 77 69 74 68 |to f.rep|eat with|
|000012e0| 20 69 20 3d 20 31 20 74 | 6f 20 39 0d 70 75 74 20 | i = 1 t|o 9.put |
|000012f0| 22 73 74 61 63 6b 22 20 | 26 20 69 20 69 6e 74 6f |"stack" |& i into|
|00001300| 20 73 74 61 63 6b 4e 61 | 6d 65 0d 69 66 20 74 68 | stackNa|me.if th|
|00001310| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00001320| 73 74 61 63 6b 4e 61 6d | 65 20 74 68 65 6e 0d 67 |stackNam|e then.g|
|00001330| 65 74 20 34 33 30 26 22 | 2c 22 26 69 2a 31 31 2b |et 430&"|,"&i*11+|
|00001340| 38 0d 73 65 74 20 74 68 | 65 20 74 6f 70 4c 65 66 |8.set th|e topLef|
|00001350| 74 20 6f 66 20 63 64 20 | 66 6c 64 20 73 74 61 63 |t of cd |fld stac|
|00001360| 6b 4e 61 6d 65 20 74 6f | 20 69 74 0d 73 65 74 20 |kName to| it.set |
|00001370| 74 68 65 20 6c 6f 63 20 | 6f 66 20 77 69 6e 64 6f |the loc |of windo|
|00001380| 77 20 73 74 61 63 6b 4e | 61 6d 65 20 74 6f 20 69 |w stackN|ame to i|
|00001390| 74 65 6d 20 31 20 6f 66 | 20 69 74 2d 31 34 2c 69 |tem 1 of| it-14,i|
|000013a0| 74 65 6d 20 32 20 6f 66 | 20 69 74 2b 31 0d 65 6e |tem 2 of| it+1.en|
|000013b0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|000013c0| 65 6e 64 20 73 65 74 50 | 6f 73 69 74 69 6f 6e 73 |end setP|ositions|
|000013d0| 0d 0d 6f 6e 20 70 6c 61 | 79 53 6e 64 20 73 6e 64 |..on pla|ySnd snd|
|000013e0| 4e 61 6d 65 0d 67 6c 6f | 62 61 6c 20 73 6f 75 6e |Name.glo|bal soun|
|000013f0| 64 0d 69 66 20 73 6f 75 | 6e 64 20 74 68 65 6e 20 |d.if sou|nd then |
|00001400| 70 6c 61 79 20 73 6e 64 | 4e 61 6d 65 0d 65 6e 64 |play snd|Name.end|
|00001410| 20 70 6c 61 79 53 6e 64 | 0d 0d 6f 6e 20 73 65 74 | playSnd|..on set|
|00001420| 55 70 4d 65 6e 75 20 6d | 4e 61 6d 65 2c 6d 44 61 |UpMenu m|Name,mDa|
|00001430| 74 61 0d 63 72 65 61 74 | 65 20 6d 65 6e 75 20 6d |ta.creat|e menu m|
|00001440| 4e 61 6d 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Name.rep|eat with|
|00001450| 20 78 20 3d 20 31 20 74 | 6f 20 28 74 68 65 20 6e | x = 1 t|o (the n|
|00001460| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|00001470| 66 20 6d 44 61 74 61 29 | 20 64 69 76 20 34 0d 70 |f mData)| div 4.p|
|00001480| 75 74 20 78 2a 34 2d 33 | 20 69 6e 74 6f 20 79 0d |ut x*4-3| into y.|
|00001490| 70 75 74 20 69 74 65 6d | 20 79 20 6f 66 20 6d 44 |put item| y of mD|
|000014a0| 61 74 61 20 61 66 74 65 | 72 20 6d 65 6e 75 20 6d |ata afte|r menu m|
|000014b0| 4e 61 6d 65 0d 73 65 74 | 20 74 68 65 20 6d 65 6e |Name.set| the men|
|000014c0| 75 4d 73 67 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |uMsg of |menuItem|
|000014d0| 20 28 69 74 65 6d 20 79 | 20 6f 66 20 6d 44 61 74 | (item y| of mDat|
|000014e0| 61 29 20 6f 66 20 6d 65 | 6e 75 c2 0d 6d 4e 61 6d |a) of me|nu..mNam|
|000014f0| 65 20 74 6f 20 69 74 65 | 6d 20 79 2b 31 20 6f 66 |e to ite|m y+1 of|
|00001500| 20 6d 44 61 74 61 0d 69 | 66 20 69 74 65 6d 20 79 | mData.i|f item y|
|00001510| 2b 32 20 6f 66 20 6d 44 | 61 74 61 20 69 73 20 22 |+2 of mD|ata is "|
|00001520| 64 69 73 61 62 6c 65 22 | 0d 74 68 65 6e 20 64 69 |disable"|.then di|
|00001530| 73 61 62 6c 65 20 6d 65 | 6e 75 49 74 65 6d 20 78 |sable me|nuItem x|
|00001540| 20 6f 66 20 6d 65 6e 75 | 20 6d 4e 61 6d 65 0d 73 | of menu| mName.s|
|00001550| 65 74 20 63 6f 6d 6d 61 | 6e 64 43 68 61 72 20 6f |et comma|ndChar o|
|00001560| 66 20 6d 65 6e 75 49 74 | 65 6d 20 78 20 6f 66 20 |f menuIt|em x of |
|00001570| 6d 65 6e 75 20 6d 4e 61 | 6d 65 20 74 6f 20 69 74 |menu mNa|me to it|
|00001580| 65 6d 20 79 2b 33 20 6f | 66 c2 0d 6d 44 61 74 61 |em y+3 o|f..mData|
|00001590| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000015a0| 73 65 74 55 70 4d 65 6e | 75 0d 0d 6f 6e 20 73 65 |setUpMen|u..on se|
|000015b0| 74 54 69 63 6b 73 0d 67 | 6c 6f 62 61 6c 20 73 63 |tTicks.g|lobal sc|
|000015c0| 72 65 65 6e 53 69 7a 65 | 2c 73 6f 75 6e 64 0d 67 |reenSize|,sound.g|
|000015d0| 65 74 20 52 65 73 47 65 | 74 28 73 65 74 74 69 6e |et ResGe|t(settin|
|000015e0| 67 73 2c 46 6f 66 66 29 | 0d 70 75 74 20 69 74 65 |gs,Foff)|.put ite|
|000015f0| 6d 20 31 20 6f 66 20 69 | 74 20 69 6e 74 6f 20 73 |m 1 of i|t into s|
|00001600| 63 72 65 65 6e 53 69 7a | 65 0d 73 65 74 53 63 72 |creenSiz|e.setScr|
|00001610| 65 65 6e 20 73 63 72 65 | 65 6e 53 69 7a 65 0d 70 |een scre|enSize.p|
|00001620| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 69 74 20 |ut item |2 of it |
|00001630| 69 6e 74 6f 20 73 6f 75 | 6e 64 0d 73 65 74 20 63 |into sou|nd.set c|
|00001640| 68 65 63 6b 4d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckMark| of menu|
|00001650| 49 74 65 6d 20 73 63 72 | 65 65 6e 53 69 7a 65 20 |Item scr|eenSize |
|00001660| 6f 66 20 6d 65 6e 75 20 | 53 65 74 74 69 6e 67 73 |of menu |Settings|
|00001670| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 63 68 65 | to true|.set che|
|00001680| 63 6b 4d 61 72 6b 20 6f | 66 20 6d 65 6e 75 49 74 |ckMark o|f menuIt|
|00001690| 65 6d 20 37 20 6f 66 20 | 6d 65 6e 75 20 53 65 74 |em 7 of |menu Set|
|000016a0| 74 69 6e 67 73 20 74 6f | 20 73 6f 75 6e 64 0d 65 |tings to| sound.e|
|000016b0| 6e 64 20 73 65 74 54 69 | 63 6b 73 0d 0d 6f 6e 20 |nd setTi|cks..on |
|000016c0| 73 68 6f 77 54 6f 6f 6c | 73 0d 67 6c 6f 62 61 6c |showTool|s.global|
|000016d0| 20 73 63 72 65 65 6e 53 | 69 7a 65 0d 70 69 63 74 | screenS|ize.pict|
|000016e0| 75 72 65 20 6d 6d 2c 72 | 65 73 6f 75 72 63 65 2c |ure mm,r|esource,|
|000016f0| 32 30 35 32 2c 66 61 6c | 73 65 2c 2c 74 72 75 65 |2052,fal|se,,true|
|00001700| 0d 69 66 20 74 68 65 20 | 72 69 67 68 74 20 6f 66 |.if the |right of|
|00001710| 20 74 68 69 73 20 63 64 | 20 3c 20 35 31 35 20 74 | this cd| < 515 t|
|00001720| 68 65 6e 0d 70 75 74 20 | 22 34 34 30 2c 38 38 2c |hen.put |"440,88,|
|00001730| 35 30 38 2c 32 33 38 22 | 20 69 6e 74 6f 20 6d 6d |508,238"| into mm|
|00001740| 52 65 63 74 0d 65 6c 73 | 65 20 70 75 74 20 22 35 |Rect.els|e put "5|
|00001750| 31 37 2c 31 39 31 2c 35 | 38 35 2c 33 34 30 22 20 |17,191,5|85,340" |
|00001760| 69 6e 74 6f 20 6d 6d 52 | 65 63 74 0d 73 65 74 20 |into mmR|ect.set |
|00001770| 74 68 65 20 72 65 63 74 | 20 6f 66 20 77 69 6e 64 |the rect| of wind|
|00001780| 6f 77 20 6d 6d 20 74 6f | 20 6d 6d 52 65 63 74 0d |ow mm to| mmRect.|
|00001790| 73 65 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |set the |visible |
|000017a0| 6f 66 20 77 69 6e 64 6f | 77 20 6d 6d 20 74 6f 20 |of windo|w mm to |
|000017b0| 74 72 75 65 0d 69 66 20 | 74 68 65 72 65 20 69 73 |true.if |there is|
|000017c0| 20 61 20 6d 65 6e 75 49 | 74 65 6d 20 38 20 6f 66 | a menuI|tem 8 of|
|000017d0| 20 6d 65 6e 75 20 53 65 | 74 74 69 6e 67 73 20 74 | menu Se|ttings t|
|000017e0| 68 65 6e 0d 72 65 70 65 | 61 74 20 32 0d 64 65 6c |hen.repe|at 2.del|
|000017f0| 65 74 65 20 6d 65 6e 75 | 49 74 65 6d 20 38 20 6f |ete menu|Item 8 o|
|00001800| 66 20 6d 65 6e 75 20 53 | 65 74 74 69 6e 67 73 0d |f menu S|ettings.|
|00001810| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00001820| 66 0d 65 6e 64 20 73 68 | 6f 77 54 6f 6f 6c 73 0d |f.end sh|owTools.|
|00001830| 0d 6f 6e 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 69 |.on clos|eStack.i|
|00001840| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00001850| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00001860| 73 20 4d 75 6c 74 69 4d | 65 64 69 6f 69 64 73 20 |s MultiM|edioids |
|00001870| 74 68 65 6e 0d 74 69 64 | 79 53 63 72 65 65 6e 0d |then.tid|yScreen.|
|00001880| 73 61 76 65 53 65 74 74 | 69 6e 67 73 0d 69 66 20 |saveSett|ings.if |
|00001890| 74 68 65 20 66 72 65 65 | 53 69 7a 65 20 6f 66 20 |the free|Size of |
|000018a0| 74 68 69 73 20 73 74 61 | 63 6b 20 2f 20 74 68 65 |this sta|ck / the|
|000018b0| 20 73 69 7a 65 20 6f 66 | 20 74 68 69 73 20 73 74 | size of| this st|
|000018c0| 61 63 6b 20 3e 20 2e 32 | 35 20 74 68 65 6e 0d 64 |ack > .2|5 then.d|
|000018d0| 6f 4d 65 6e 75 20 22 43 | 6f 6d 70 61 63 74 20 53 |oMenu "C|ompact S|
|000018e0| 74 61 63 6b 22 0d 65 6e | 64 20 69 66 0d 73 74 6f |tack".en|d if.sto|
|000018f0| 70 20 75 73 69 6e 67 20 | 73 74 61 63 6b 20 6d 65 |p using |stack me|
|00001900| 64 69 6f 69 64 50 6c 61 | 79 65 72 50 61 74 68 28 |dioidPla|yerPath(|
|00001910| 29 0d 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |).set th|e rect o|
|00001920| 66 20 74 68 69 73 20 63 | 61 72 64 20 74 6f 20 74 |f this c|ard to t|
|00001930| 68 65 20 73 63 72 65 65 | 6e 72 65 63 74 0d 73 65 |he scree|nrect.se|
|00001940| 74 20 74 68 65 20 62 6c | 69 6e 64 74 79 70 69 6e |t the bl|indtypin|
|00001950| 67 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 74 68 |g to tru|e.set th|
|00001960| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 35 |e userLe|vel to 5|
|00001970| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 63 6c 6f 73 |.end if.|end clos|
|00001980| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 73 61 76 65 53 |eStack..|on saveS|
|00001990| 65 74 74 69 6e 67 73 0d | 67 6c 6f 62 61 6c 20 73 |ettings.|global s|
|000019a0| 63 72 65 65 6e 53 69 7a | 65 2c 73 6f 75 6e 64 0d |creenSiz|e,sound.|
|000019b0| 52 65 73 5a 61 70 20 73 | 65 74 74 69 6e 67 73 2c |ResZap s|ettings,|
|000019c0| 46 6f 66 66 2c 77 6f 72 | 64 20 32 20 6f 66 20 6c |Foff,wor|d 2 of l|
|000019d0| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|000019e0| 20 73 74 61 63 6b 0d 52 | 65 73 53 65 74 20 73 65 | stack.R|esSet se|
|000019f0| 74 74 69 6e 67 73 2c 46 | 6f 66 66 2c 73 63 72 65 |ttings,F|off,scre|
|00001a00| 65 6e 53 69 7a 65 20 26 | 20 22 2c 22 20 26 20 73 |enSize &| "," & s|
|00001a10| 6f 75 6e 64 0d 65 6e 64 | 20 73 61 76 65 53 65 74 |ound.end| saveSet|
|00001a20| 74 69 6e 67 73 0d 0d 6f | 6e 20 63 6c 6f 73 65 57 |tings..o|n closeW|
|00001a30| 69 6e 64 6f 77 73 0d 72 | 65 70 65 61 74 20 77 69 |indows.r|epeat wi|
|00001a40| 74 68 20 78 20 3d 20 74 | 68 65 20 6e 75 6d 62 65 |th x = t|he numbe|
|00001a50| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 74 68 |r of lin|es of th|
|00001a60| 65 20 77 69 6e 64 6f 77 | 73 20 64 6f 77 6e 20 74 |e window|s down t|
|00001a70| 6f 20 31 0d 67 65 74 20 | 6c 69 6e 65 20 78 20 6f |o 1.get |line x o|
|00001a80| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 73 0d 69 66 |f the wi|ndows.if|
|00001a90| 20 69 74 20 3c 3e 20 4d | 75 6c 74 69 4d 65 64 69 | it <> M|ultiMedi|
|00001aa0| 6f 69 64 73 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |oids the|n close |
|00001ab0| 77 69 6e 64 6f 77 20 69 | 74 0d 65 6e 64 20 72 65 |window i|t.end re|
|00001ac0| 70 65 61 74 0d 65 6e 64 | 20 63 6c 6f 73 65 57 69 |peat.end| closeWi|
|00001ad0| 6e 64 6f 77 73 0d 0d 6f | 6e 20 63 6c 6f 73 65 41 |ndows..o|n closeA|
|00001ae0| 6c 6c 4d 65 64 69 6f 69 | 64 73 0d 67 6c 6f 62 61 |llMedioi|ds.globa|
|00001af0| 6c 20 6e 75 6d 4d 65 64 | 69 6f 69 64 73 0d 72 65 |l numMed|ioids.re|
|00001b00| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 6e 75 |peat wit|h x = nu|
|00001b10| 6d 4d 65 64 69 6f 69 64 | 73 20 64 6f 77 6e 20 74 |mMedioid|s down t|
|00001b20| 6f 20 31 0d 70 75 74 20 | 22 6d 65 64 66 6c 64 22 |o 1.put |"medfld"|
|00001b30| 20 26 20 78 20 69 6e 74 | 6f 20 6d 65 64 46 6c 64 | & x int|o medFld|
|00001b40| 58 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |X.if the|re is a |
|00001b50| 66 6c 64 20 6d 65 64 46 | 6c 64 58 20 74 68 65 6e |fld medF|ldX then|
|00001b60| 0d 73 65 6c 65 63 74 4d | 65 64 69 6f 69 64 20 78 |.selectM|edioid x|
|00001b70| 0d 63 6c 6f 73 65 4d 65 | 64 69 6f 69 64 20 22 63 |.closeMe|dioid "c|
|00001b80| 6c 6f 73 69 6e 67 20 73 | 74 61 63 6b 22 0d 65 6e |losing s|tack".en|
|00001b90| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00001ba0| 65 6e 64 20 63 6c 6f 73 | 65 41 6c 6c 4d 65 64 69 |end clos|eAllMedi|
|00001bb0| 6f 69 64 73 0d 0d 6f 6e | 20 73 6f 75 6e 64 54 6f |oids..on| soundTo|
|00001bc0| 67 67 6c 65 0d 67 6c 6f | 62 61 6c 20 73 6f 75 6e |ggle.glo|bal soun|
|00001bd0| 64 0d 69 66 20 73 6f 75 | 6e 64 20 74 68 65 6e 0d |d.if sou|nd then.|
|00001be0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 73 |put fals|e into s|
|00001bf0| 6f 75 6e 64 0d 65 6c 73 | 65 0d 70 75 74 20 74 72 |ound.els|e.put tr|
|00001c00| 75 65 20 69 6e 74 6f 20 | 73 6f 75 6e 64 0d 65 6e |ue into |sound.en|
|00001c10| 64 20 69 66 0d 73 65 74 | 20 74 68 65 20 63 68 65 |d if.set| the che|
|00001c20| 63 6b 4d 61 72 6b 20 6f | 66 20 6d 65 6e 75 49 74 |ckMark o|f menuIt|
|00001c30| 65 6d 20 37 20 6f 66 20 | 6d 65 6e 75 20 53 65 74 |em 7 of |menu Set|
|00001c40| 74 69 6e 67 73 20 74 6f | 20 73 6f 75 6e 64 0d 65 |tings to| sound.e|
|00001c50| 6e 64 20 73 6f 75 6e 64 | 54 6f 67 67 6c 65 0d 0d |nd sound|Toggle..|
|00001c60| 6f 6e 20 74 69 64 79 53 | 63 72 65 65 6e 0d 67 6c |on tidyS|creen.gl|
|00001c70| 6f 62 61 6c 20 63 75 72 | 73 6f 72 0d 73 65 74 20 |obal cur|sor.set |
|00001c80| 63 75 72 73 6f 72 20 74 | 6f 20 34 0d 6c 6f 63 6b |cursor t|o 4.lock|
|00001c90| 20 73 63 72 65 65 6e 0d | 63 6c 6f 73 65 41 6c 6c | screen.|closeAll|
|00001ca0| 4d 65 64 69 6f 69 64 73 | 0d 63 6c 6f 73 65 57 69 |Medioids|.closeWi|
|00001cb0| 6e 64 6f 77 73 0d 72 65 | 70 65 61 74 20 77 69 74 |ndows.re|peat wit|
|00001cc0| 68 20 78 20 3d 20 74 68 | 65 20 6e 75 6d 62 65 72 |h x = th|e number|
|00001cd0| 20 6f 66 20 63 64 20 66 | 6c 64 73 20 64 6f 77 6e | of cd f|lds down|
|00001ce0| 20 74 6f 20 35 0d 69 66 | 20 74 68 65 72 65 20 69 | to 5.if| there i|
|00001cf0| 73 20 61 20 63 64 20 66 | 6c 64 20 78 20 74 68 65 |s a cd f|ld x the|
|00001d00| 6e 0d 73 68 6f 77 20 63 | 64 20 66 6c 64 20 78 0d |n.show c|d fld x.|
|00001d10| 73 65 6c 65 63 74 20 63 | 64 20 66 6c 64 20 78 0d |select c|d fld x.|
|00001d20| 64 6f 4d 65 6e 75 20 22 | 43 6c 65 61 72 20 46 69 |doMenu "|Clear Fi|
|00001d30| 65 6c 64 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |eld".end| if.end |
|00001d40| 72 65 70 65 61 74 0d 72 | 65 70 65 61 74 20 77 69 |repeat.r|epeat wi|
|00001d50| 74 68 20 78 20 3d 20 74 | 68 65 20 6e 75 6d 62 65 |th x = t|he numbe|
|00001d60| 72 20 6f 66 20 62 67 20 | 66 6c 64 73 20 64 6f 77 |r of bg |flds dow|
|00001d70| 6e 20 74 6f 20 33 0d 69 | 66 20 74 68 65 72 65 20 |n to 3.i|f there |
|00001d80| 69 73 20 61 20 62 67 20 | 66 6c 64 20 78 20 74 68 |is a bg |fld x th|
|00001d90| 65 6e 0d 73 68 6f 77 20 | 62 67 20 66 6c 64 20 78 |en.show |bg fld x|
|00001da0| 0d 73 65 6c 65 63 74 20 | 62 67 20 66 6c 64 20 78 |.select |bg fld x|
|00001db0| 0d 64 6f 4d 65 6e 75 20 | 22 43 6c 65 61 72 20 46 |.doMenu |"Clear F|
|00001dc0| 69 65 6c 64 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ield".en|d if.end|
|00001dd0| 20 72 65 70 65 61 74 0d | 68 69 64 65 20 63 64 20 | repeat.|hide cd |
|00001de0| 66 6c 64 20 73 74 61 63 | 6b 31 0d 68 69 64 65 20 |fld stac|k1.hide |
|00001df0| 63 64 20 66 6c 64 20 6d | 65 64 66 6c 64 0d 68 69 |cd fld m|edfld.hi|
|00001e00| 64 65 20 63 64 20 66 6c | 64 20 6d 65 64 6e 6d 0d |de cd fl|d mednm.|
|00001e10| 53 65 74 43 75 72 73 6f | 72 20 68 61 6e 64 0d 70 |SetCurso|r hand.p|
|00001e20| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 63 75 |ut empty| into cu|
|00001e30| 72 73 6f 72 0d 72 65 73 | 65 74 20 6d 65 6e 75 62 |rsor.res|et menub|
|00001e40| 61 72 0d 65 6e 64 20 74 | 69 64 79 53 63 72 65 65 |ar.end t|idyScree|
|00001e50| 6e 0d 0d 6f 6e 20 63 6c | 65 61 72 53 63 72 65 65 |n..on cl|earScree|
|00001e60| 6e 0d 67 6c 6f 62 61 6c | 20 76 69 73 49 74 65 6d |n.global| visItem|
|00001e70| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|00001e80| 20 76 69 73 49 74 65 6d | 73 0d 69 66 20 74 68 65 | visItem|s.if the|
|00001e90| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 67 |re is a |window g|
|00001ea0| 72 61 62 62 61 72 0d 74 | 68 65 6e 20 73 65 6e 64 |rabbar.t|hen send|
|00001eb0| 20 22 63 6c 6f 73 65 47 | 72 61 62 62 61 72 22 20 | "closeG|rabbar" |
|00001ec0| 26 26 20 71 75 6f 74 65 | 20 26 20 22 36 2c 32 22 |&& quote| & "6,2"|
|00001ed0| 20 26 20 71 75 6f 74 65 | 20 74 6f 20 62 61 63 6b | & quote| to back|
|00001ee0| 67 72 6f 75 6e 64 0d 72 | 65 70 65 61 74 20 77 69 |ground.r|epeat wi|
|00001ef0| 74 68 20 78 20 3d 20 74 | 68 65 20 6e 75 6d 62 65 |th x = t|he numbe|
|00001f00| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 74 68 |r of lin|es of th|
|00001f10| 65 20 77 69 6e 64 6f 77 | 73 20 64 6f 77 6e 20 74 |e window|s down t|
|00001f20| 6f 20 31 0d 67 65 74 20 | 6c 69 6e 65 20 78 20 6f |o 1.get |line x o|
|00001f30| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 73 0d 69 66 |f the wi|ndows.if|
|00001f40| 20 69 74 20 3c 3e 20 6d | 6d c2 0d 61 6e 64 20 69 | it <> m|m..and i|
|00001f50| 74 20 3c 3e 20 6d 53 69 | 7a 65 72 c2 0d 61 6e 64 |t <> mSi|zer..and|
|00001f60| 20 69 74 20 3c 3e 20 61 | 63 74 69 76 65 4c 65 66 | it <> a|ctiveLef|
|00001f70| 74 c2 0d 61 6e 64 20 69 | 74 20 3c 3e 20 61 63 74 |t..and i|t <> act|
|00001f80| 69 76 65 52 69 67 68 74 | c2 0d 61 6e 64 20 69 74 |iveRight|..and it|
|00001f90| 20 3c 3e 20 22 6d 65 73 | 73 61 67 65 20 77 61 74 | <> "mes|sage wat|
|00001fa0| 63 68 65 72 22 c2 0d 61 | 6e 64 20 69 74 20 3c 3e |cher"..a|nd it <>|
|00001fb0| 20 22 76 61 72 69 61 62 | 6c 65 20 77 61 74 63 68 | "variab|le watch|
|00001fc0| 65 72 22 c2 0d 61 6e 64 | 20 69 74 20 3c 3e 20 6d |er"..and| it <> m|
|00001fd0| 75 6c 74 69 4d 65 64 69 | 6f 69 64 73 c2 0d 61 6e |ultiMedi|oids..an|
|00001fe0| 64 20 63 68 61 72 20 31 | 20 74 6f 20 35 20 6f 66 |d char 1| to 5 of|
|00001ff0| 20 69 74 20 3c 3e 20 22 | 73 74 61 63 6b 22 20 74 | it <> "|stack" t|
|00002000| 68 65 6e 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen.clos|e window|
|00002010| 20 69 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 | it.end |if.end r|
|00002020| 65 70 65 61 74 0d 65 6e | 64 20 63 6c 65 61 72 53 |epeat.en|d clearS|
|00002030| 63 72 65 65 6e 0d 0d 6f | 6e 20 63 6f 6d 6d 61 6e |creen..o|n comman|
|00002040| 64 4b 65 79 44 6f 77 6e | 20 6b 65 79 0d 69 66 20 |dKeyDown| key.if |
|00002050| 6b 65 79 20 69 73 20 53 | 20 74 68 65 6e 20 73 65 |key is S| then se|
|00002060| 6e 64 20 73 61 76 65 4d | 65 64 69 6f 69 64 20 74 |nd saveM|edioid t|
|00002070| 6f 20 63 64 20 66 6c 64 | 20 6d 65 64 66 6c 64 0d |o cd fld| medfld.|
|00002080| 65 6c 73 65 20 69 66 20 | 6b 65 79 20 69 73 20 44 |else if |key is D|
|00002090| 20 74 68 65 6e 20 73 65 | 6e 64 20 64 75 6d 70 4d | then se|nd dumpM|
|000020a0| 65 64 69 6f 69 64 20 74 | 6f 20 63 64 20 66 6c 64 |edioid t|o cd fld|
|000020b0| 20 6d 65 64 66 6c 64 0d | 65 6c 73 65 20 69 66 20 | medfld.|else if |
|000020c0| 6b 65 79 20 69 73 20 50 | 20 74 68 65 6e 20 73 65 |key is P| then se|
|000020d0| 6e 64 20 70 72 69 6e 74 | 4d 65 64 69 6f 69 64 20 |nd print|Medioid |
|000020e0| 74 6f 20 63 64 20 66 6c | 64 20 6d 65 64 66 6c 64 |to cd fl|d medfld|
|000020f0| 0d 65 6c 73 65 20 69 66 | 20 6b 65 79 20 69 73 20 |.else if| key is |
|00002100| 43 20 61 6e 64 20 74 68 | 65 20 73 65 6c 65 63 74 |C and th|e select|
|00002110| 69 6f 6e 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ion is n|ot empty|
|00002120| 20 74 68 65 6e 20 64 6f | 4d 65 6e 75 20 22 43 6f | then do|Menu "Co|
|00002130| 70 79 20 54 65 78 74 22 | 0d 65 6c 73 65 20 69 66 |py Text"|.else if|
|00002140| 20 6b 65 79 20 69 73 20 | 56 20 74 68 65 6e 20 64 | key is |V then d|
|00002150| 6f 4d 65 6e 75 20 22 50 | 61 73 74 65 20 54 65 78 |oMenu "P|aste Tex|
|00002160| 74 22 0d 65 6c 73 65 20 | 69 66 20 6b 65 79 20 69 |t".else |if key i|
|00002170| 73 20 58 20 61 6e 64 20 | 74 68 65 20 73 65 6c 65 |s X and |the sele|
|00002180| 63 74 69 6f 6e 20 69 73 | 20 6e 6f 74 20 65 6d 70 |ction is| not emp|
|00002190| 74 79 20 74 68 65 6e 20 | 64 6f 4d 65 6e 75 20 22 |ty then |doMenu "|
|000021a0| 43 75 74 20 54 65 78 74 | 22 0d 65 6c 73 65 20 69 |Cut Text|".else i|
|000021b0| 66 20 6b 65 79 20 69 73 | 20 5a 20 74 68 65 6e 20 |f key is| Z then |
|000021c0| 75 6e 64 6f 0d 65 6c 73 | 65 20 70 61 73 73 20 63 |undo.els|e pass c|
|000021d0| 6f 6d 6d 61 6e 64 4b 65 | 79 44 6f 77 6e 0d 65 6e |ommandKe|yDown.en|
|000021e0| 64 20 63 6f 6d 6d 61 6e | 64 4b 65 79 44 6f 77 6e |d comman|dKeyDown|
|000021f0| 0d 0d 6f 6e 20 65 6e 64 | 4d 65 64 69 6f 69 64 0d |..on end|Medioid.|
|00002200| 2d 2d 20 64 75 6d 6d 79 | 0d 65 6e 64 20 65 6e 64 |-- dummy|.end end|
|00002210| 4d 65 64 69 6f 69 64 0d | 0d 6f 6e 20 75 6e 64 6f |Medioid.|.on undo|
|00002220| 0d 67 6c 6f 62 61 6c 20 | 6d 65 64 4e 6f 2c 6d 65 |.global |medNo,me|
|00002230| 64 44 61 74 61 2c 6f 6c | 64 4d 65 64 44 61 74 61 |dData,ol|dMedData|
|00002240| 2c 75 6e 64 6f 6e 65 0d | 70 75 74 20 22 6d 65 64 |,undone.|put "med|
|00002250| 46 6c 64 22 20 26 20 6d | 65 64 4e 6f 20 69 6e 74 |Fld" & m|edNo int|
|00002260| 6f 20 63 4d 65 64 46 6c | 64 0d 69 66 20 74 68 65 |o cMedFl|d.if the|
|00002270| 72 65 20 69 73 20 61 20 | 66 6c 64 20 63 4d 65 64 |re is a |fld cMed|
|00002280| 46 6c 64 20 74 68 65 6e | 0d 69 66 20 77 6f 72 64 |Fld then|.if word|
|00002290| 20 31 20 6f 66 20 75 6e | 64 6f 6e 65 20 3d 20 55 | 1 of un|done = U|
|000022a0| 6e 64 6f 20 74 68 65 6e | 0d 70 75 74 20 52 65 64 |ndo then|.put Red|
|000022b0| 6f 20 69 6e 74 6f 20 77 | 6f 72 64 20 31 20 6f 66 |o into w|ord 1 of|
|000022c0| 20 75 6e 64 6f 6e 65 0d | 65 6c 73 65 0d 70 75 74 | undone.|else.put|
|000022d0| 20 55 6e 64 6f 20 69 6e | 74 6f 20 77 6f 72 64 20 | Undo in|to word |
|000022e0| 31 20 6f 66 20 75 6e 64 | 6f 6e 65 0d 65 6e 64 20 |1 of und|one.end |
|000022f0| 69 66 0d 70 75 74 20 6f | 6c 64 4d 65 64 44 61 74 |if.put o|ldMedDat|
|00002300| 61 20 69 6e 74 6f 20 74 | 65 6d 70 0d 70 75 74 20 |a into t|emp.put |
|00002310| 6d 65 64 44 61 74 61 20 | 69 6e 74 6f 20 6f 6c 64 |medData |into old|
|00002320| 4d 65 64 44 61 74 61 0d | 70 75 74 20 74 65 6d 70 |MedData.|put temp|
|00002330| 20 69 6e 74 6f 20 6d 65 | 64 44 61 74 61 0d 67 65 | into me|dData.ge|
|00002340| 74 20 65 78 74 72 61 63 | 74 4d 65 64 69 6f 69 64 |t extrac|tMedioid|
|00002350| 28 6d 65 64 44 61 74 61 | 29 0d 70 75 74 20 69 74 |(medData|).put it|
|00002360| 20 69 6e 74 6f 20 66 6c | 64 20 63 4d 65 64 46 6c | into fl|d cMedFl|
|00002370| 64 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 63 64 |d.put it| into cd|
|00002380| 20 66 6c 64 20 6d 65 64 | 46 6c 64 0d 65 6e 64 20 | fld med|Fld.end |
|00002390| 69 66 0d 65 6e 64 20 75 | 6e 64 6f 0d 0d 66 75 6e |if.end u|ndo..fun|
|000023a0| 63 74 69 6f 6e 20 73 70 | 61 63 65 73 0d 72 65 74 |ction sp|aces.ret|
|000023b0| 75 72 6e 20 22 20 20 20 | 20 20 20 20 20 20 20 20 |urn " | |
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023f0| 22 c2 0d 26 20 22 20 20 | 20 20 20 20 20 20 20 20 |"..& " | |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002430| 20 20 20 20 20 20 22 c2 | 0d 26 20 22 20 20 20 20 | ".|.& " |
|00002440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 22 0d 65 6e | | ".en|
|00002480| 64 20 73 70 61 63 65 73 | 0d 0d 6f 6e 20 6e 65 77 |d spaces|..on new|
|00002490| 4d 65 64 69 6f 69 64 0d | 67 6c 6f 62 61 6c 20 6d |Medioid.|global m|
|000024a0| 65 64 44 61 74 61 2c 6d | 65 64 53 63 72 69 70 74 |edData,m|edScript|
|000024b0| 2c 6e 75 6d 4d 65 64 69 | 6f 69 64 73 2c 6d 65 64 |,numMedi|oids,med|
|000024c0| 4e 6f 2c 6d 65 64 4e 61 | 6d 65 2c 6f 6c 64 4d 65 |No,medNa|me,oldMe|
|000024d0| 64 44 61 74 61 2c 75 6e | 64 6f 6e 65 0d 69 66 20 |dData,un|done.if |
|000024e0| 6e 6f 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |not the |visible |
|000024f0| 6f 66 20 63 64 20 66 6c | 64 20 6d 65 64 66 6c 64 |of cd fl|d medfld|
|00002500| 20 74 68 65 6e 0d 69 66 | 20 74 6f 6f 4d 61 6e 79 | then.if| tooMany|
|00002510| 28 29 20 74 68 65 6e 20 | 65 78 69 74 20 6e 65 77 |() then |exit new|
|00002520| 4d 65 64 69 6f 69 64 0d | 65 6e 64 20 69 66 0d 73 |Medioid.|end if.s|
|00002530| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 34 0d 6c |et curso|r to 4.l|
|00002540| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 64 65 73 65 6c |ock scre|en.desel|
|00002550| 65 63 74 4d 65 64 69 6f | 69 64 0d 70 75 74 20 65 |ectMedio|id.put e|
|00002560| 6d 70 74 79 20 69 6e 74 | 6f 20 6d 65 64 44 61 74 |mpty int|o medDat|
|00002570| 61 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |a.put em|pty into|
|00002580| 20 6d 65 64 53 63 72 69 | 70 74 0d 70 75 74 20 6d | medScri|pt.put m|
|00002590| 65 64 4e 6f 20 69 6e 74 | 6f 20 6f 6c 64 4d 65 64 |edNo int|o oldMed|
|000025a0| 0d 70 75 74 20 6e 75 6d | 4d 65 64 69 6f 69 64 73 |.put num|Medioids|
|000025b0| 20 2b 20 31 20 69 6e 74 | 6f 20 6d 65 64 4e 6f 0d | + 1 int|o medNo.|
|000025c0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 3d 31 20 |repeat w|ith i=1 |
|000025d0| 74 6f 20 6e 75 6d 4d 65 | 64 69 6f 69 64 73 0d 70 |to numMe|dioids.p|
|000025e0| 75 74 20 22 6d 65 64 66 | 6c 64 22 20 26 20 69 20 |ut "medf|ld" & i |
|000025f0| 69 6e 74 6f 20 74 65 73 | 74 66 6c 64 0d 69 66 20 |into tes|tfld.if |
|00002600| 6e 6f 74 20 74 68 65 72 | 65 20 69 73 20 61 20 62 |not ther|e is a b|
|00002610| 67 20 66 6c 64 20 74 65 | 73 74 66 6c 64 20 74 68 |g fld te|stfld th|
|00002620| 65 6e 0d 70 75 74 20 69 | 20 69 6e 74 6f 20 6d 65 |en.put i| into me|
|00002630| 64 4e 6f 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |dNo.exit| repeat.|
|00002640| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00002650| 74 0d 69 66 20 6d 65 64 | 4e 6f 3e 6e 75 6d 4d 65 |t.if med|No>numMe|
|00002660| 64 69 6f 69 64 73 20 74 | 68 65 6e 20 70 75 74 20 |dioids t|hen put |
|00002670| 6d 65 64 4e 6f 20 69 6e | 74 6f 20 6e 75 6d 4d 65 |medNo in|to numMe|
|00002680| 64 69 6f 69 64 73 0d 69 | 66 20 6d 65 64 4e 6f 3e |dioids.i|f medNo>|
|00002690| 39 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 48 |9 then.a|nswer "H|
|000026a0| 61 76 65 6e 27 74 20 79 | 6f 75 20 67 6f 74 20 65 |aven't y|ou got e|
|000026b0| 6e 6f 75 67 68 20 6d 65 | 64 69 6f 69 64 73 20 61 |nough me|dioids a|
|000026c0| 6c 72 65 61 64 79 3f 21 | 22 0d 70 75 74 20 6f 6c |lready?!|".put ol|
|000026d0| 64 4d 65 64 20 69 6e 74 | 6f 20 6d 65 64 4e 6f 0d |dMed int|o medNo.|
|000026e0| 65 78 69 74 20 6e 65 77 | 4d 65 64 69 6f 69 64 0d |exit new|Medioid.|
|000026f0| 65 6e 64 20 69 66 0d 75 | 70 64 61 74 65 43 68 61 |end if.u|pdateCha|
|00002700| 6e 67 65 46 6c 61 67 0d | 70 75 74 20 22 6d 65 64 |ngeFlag.|put "med|
|00002710| 66 6c 64 22 20 26 20 6d | 65 64 4e 6f 20 69 6e 74 |fld" & m|edNo int|
|00002720| 6f 20 63 75 72 66 6c 64 | 0d 70 75 74 20 22 6d 65 |o curfld|.put "me|
|00002730| 64 4e 61 6d 65 22 20 26 | 20 6d 65 64 4e 6f 20 69 |dName" &| medNo i|
|00002740| 6e 74 6f 20 63 75 72 4e | 61 6d 65 0d 75 6e 6c 6f |nto curN|ame.unlo|
|00002750| 63 6b 20 73 63 72 65 65 | 6e 0d 6c 6f 63 6b 20 73 |ck scree|n.lock s|
|00002760| 63 72 65 65 6e 0d 63 68 | 6f 6f 73 65 20 66 69 65 |creen.ch|oose fie|
|00002770| 6c 64 20 74 6f 6f 6c 0d | 73 68 6f 77 20 62 67 20 |ld tool.|show bg |
|00002780| 66 6c 64 20 6d 65 64 66 | 6c 64 0d 64 6f 4d 65 6e |fld medf|ld.doMen|
|00002790| 75 20 62 61 63 6b 67 72 | 6f 75 6e 64 0d 73 65 6c |u backgr|ound.sel|
|000027a0| 65 63 74 20 62 67 20 66 | 6c 64 20 6d 65 64 66 6c |ect bg f|ld medfl|
|000027b0| 64 0d 64 6f 4d 65 6e 75 | 20 63 6f 70 79 20 66 69 |d.doMenu| copy fi|
|000027c0| 65 6c 64 0d 64 6f 4d 65 | 6e 75 20 70 61 73 74 65 |eld.doMe|nu paste|
|000027d0| 20 66 69 65 6c 64 0d 68 | 69 64 65 20 62 67 20 66 | field.h|ide bg f|
|000027e0| 6c 64 20 6d 65 64 66 6c | 64 0d 73 65 74 20 74 68 |ld medfl|d.set th|
|000027f0| 65 20 6e 61 6d 65 20 6f | 66 20 62 67 20 66 6c 64 |e name o|f bg fld|
|00002800| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00002810| 67 20 66 6c 64 73 20 74 | 6f 20 63 75 72 66 6c 64 |g flds t|o curfld|
|00002820| 0d 68 69 64 65 20 62 67 | 20 66 6c 64 20 63 75 72 |.hide bg| fld cur|
|00002830| 66 6c 64 0d 73 68 6f 77 | 20 62 67 20 66 6c 64 20 |fld.show| bg fld |
|00002840| 6d 65 64 6e 6d 0d 73 65 | 6c 65 63 74 20 62 67 20 |mednm.se|lect bg |
|00002850| 66 6c 64 20 6d 65 64 6e | 6d 0d 64 6f 4d 65 6e 75 |fld medn|m.doMenu|
|00002860| 20 63 6f 70 79 20 66 69 | 65 6c 64 0d 64 6f 4d 65 | copy fi|eld.doMe|
|00002870| 6e 75 20 70 61 73 74 65 | 20 66 69 65 6c 64 0d 68 |nu paste| field.h|
|00002880| 69 64 65 20 62 67 20 66 | 6c 64 20 6d 65 64 6e 6d |ide bg f|ld mednm|
|00002890| 0d 73 65 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |.set the| name of|
|000028a0| 20 62 67 20 66 6c 64 20 | 74 68 65 20 6e 75 6d 62 | bg fld |the numb|
|000028b0| 65 72 20 6f 66 20 62 67 | 20 66 6c 64 73 20 74 6f |er of bg| flds to|
|000028c0| 20 63 75 72 4e 61 6d 65 | 0d 68 69 64 65 20 62 67 | curName|.hide bg|
|000028d0| 20 66 6c 64 20 63 75 72 | 4e 61 6d 65 0d 64 6f 4d | fld cur|Name.doM|
|000028e0| 65 6e 75 20 62 61 63 6b | 67 72 6f 75 6e 64 0d 63 |enu back|ground.c|
|000028f0| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00002900| 6c 0d 70 75 74 20 22 20 | 20 20 20 20 20 20 20 20 |l.put " | |
|00002910| 20 20 55 6e 74 69 74 6c | 65 64 22 20 26 20 72 65 | Untitl|ed" & re|
|00002920| 74 75 72 6e 20 26 20 22 | 55 6e 74 69 74 6c 65 64 |turn & "|Untitled|
|00002930| 22 c2 0d 26 20 72 65 74 | 75 72 6e 20 26 20 22 30 |"..& ret|urn & "0|
|00002940| 2c 30 22 20 69 6e 74 6f | 20 62 67 20 66 6c 64 20 |,0" into| bg fld |
|00002950| 63 75 72 4e 61 6d 65 0d | 70 75 74 20 62 67 20 66 |curName.|put bg f|
|00002960| 6c 64 20 63 75 72 4e 61 | 6d 65 20 69 6e 74 6f 20 |ld curNa|me into |
|00002970| 63 64 20 66 6c 64 20 6d | 65 64 4e 6d 0d 70 75 74 |cd fld m|edNm.put|
|00002980| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 64 20 66 | empty i|nto cd f|
|00002990| 6c 64 20 6d 65 64 46 6c | 64 0d 67 65 74 20 74 68 |ld medFl|d.get th|
|000029a0| 65 20 6c 6f 63 20 6f 66 | 20 63 64 20 66 6c 64 20 |e loc of| cd fld |
|000029b0| 6d 65 64 4e 6d 0d 73 65 | 74 20 74 68 65 20 72 65 |medNm.se|t the re|
|000029c0| 63 74 20 6f 66 20 63 64 | 20 66 6c 64 20 6d 65 64 |ct of cd| fld med|
|000029d0| 66 6c 64 20 74 6f 20 74 | 68 65 20 72 65 63 74 20 |fld to t|he rect |
|000029e0| 6f 66 20 66 6c 64 20 63 | 75 72 66 6c 64 0d 73 65 |of fld c|urfld.se|
|000029f0| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 63 64 |t the re|ct of cd|
|00002a00| 20 66 6c 64 20 6d 65 64 | 6e 6d 20 74 6f 20 74 68 | fld med|nm to th|
|00002a10| 65 20 72 65 63 74 20 6f | 66 20 66 6c 64 20 63 75 |e rect o|f fld cu|
|00002a20| 72 4e 61 6d 65 0d 69 66 | 20 6e 75 6d 4d 65 64 69 |rName.if| numMedi|
|00002a30| 6f 69 64 73 20 3e 20 31 | 20 74 68 65 6e 0d 73 65 |oids > 1| then.se|
|00002a40| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 63 64 20 |t the lo|c of cd |
|00002a50| 66 6c 64 20 6d 65 64 4e | 6d 20 74 6f 20 69 74 65 |fld medN|m to ite|
|00002a60| 6d 20 31 20 6f 66 20 69 | 74 20 2b 20 31 34 2c 69 |m 1 of i|t + 14,i|
|00002a70| 74 65 6d 20 32 20 6f 66 | 20 69 74 20 2b 20 31 31 |tem 2 of| it + 11|
|00002a80| 0d 69 66 20 74 68 65 20 | 74 6f 70 20 6f 66 20 63 |.if the |top of c|
|00002a90| 64 20 66 6c 64 20 6d 65 | 64 4e 6d 20 3e 20 74 68 |d fld me|dNm > th|
|00002aa0| 65 20 62 6f 74 74 6f 6d | 20 6f 66 20 74 68 69 73 |e bottom| of this|
|00002ab0| 20 63 61 72 64 2d 32 30 | 20 6f 72 c2 0d 74 68 65 | card-20| or..the|
|00002ac0| 20 6c 65 66 74 20 6f 66 | 20 63 64 20 66 6c 64 20 | left of| cd fld |
|00002ad0| 6d 65 64 4e 6d 20 3e 20 | 74 68 65 20 72 69 67 68 |medNm > |the righ|
|00002ae0| 74 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 2d 32 |t of thi|s card-2|
|00002af0| 30 20 74 68 65 6e 0d 73 | 65 74 20 74 68 65 20 6c |0 then.s|et the l|
|00002b00| 6f 63 20 6f 66 20 63 64 | 20 66 6c 64 20 6d 65 64 |oc of cd| fld med|
|00002b10| 4e 6d 20 74 6f 20 74 68 | 65 20 6c 6f 63 20 6f 66 |Nm to th|e loc of|
|00002b20| 20 62 67 20 66 6c 64 20 | 6d 65 64 4e 6d 0d 65 6e | bg fld |medNm.en|
|00002b30| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 73 68 6f 77 |d if.end| if.show|
|00002b40| 20 63 64 20 66 6c 64 20 | 6d 65 64 66 6c 64 0d 73 | cd fld |medfld.s|
|00002b50| 68 6f 77 20 63 64 20 66 | 6c 64 20 6d 65 64 6e 6d |how cd f|ld mednm|
|00002b60| 0d 73 65 6e 64 20 73 65 | 74 55 70 4d 65 64 50 69 |.send se|tUpMedPi|
|00002b70| 63 74 73 20 74 6f 20 63 | 64 20 66 6c 64 20 6d 65 |cts to c|d fld me|
|00002b80| 64 66 6c 64 0d 70 75 74 | 20 22 55 6e 74 69 74 6c |dfld.put| "Untitl|
|00002b90| 65 64 22 20 69 6e 74 6f | 20 6d 65 64 4e 61 6d 65 |ed" into| medName|
|00002ba0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00002bb0| 69 6e 64 6f 77 20 6d 6d | 20 74 68 65 6e 20 73 68 |indow mm| then sh|
|00002bc0| 6f 77 20 77 69 6e 64 6f | 77 20 6d 6d 0d 75 6e 6c |ow windo|w mm.unl|
|00002bd0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 65 |ock scre|en.put e|
|00002be0| 6d 70 74 79 20 69 6e 74 | 6f 20 6f 6c 64 4d 65 64 |mpty int|o oldMed|
|00002bf0| 44 61 74 61 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |Data.put| empty i|
|00002c00| 6e 74 6f 20 75 6e 64 6f | 6e 65 0d 65 6e 64 20 6e |nto undo|ne.end n|
|00002c10| 65 77 4d 65 64 69 6f 69 | 64 0d 0d 6f 6e 20 64 65 |ewMedioi|d..on de|
|00002c20| 73 65 6c 65 63 74 4d 65 | 64 69 6f 69 64 0d 67 6c |selectMe|dioid.gl|
|00002c30| 6f 62 61 6c 20 6d 65 64 | 4e 6f 2c 6d 65 64 44 61 |obal med|No,medDa|
|00002c40| 74 61 2c 6d 65 64 53 63 | 72 69 70 74 0d 69 66 20 |ta,medSc|ript.if |
|00002c50| 6d 65 64 4e 6f 20 3e 20 | 30 20 74 68 65 6e 0d 70 |medNo > |0 then.p|
|00002c60| 75 74 20 22 6d 65 64 4e | 61 6d 65 22 20 26 20 6d |ut "medN|ame" & m|
|00002c70| 65 64 4e 6f 20 69 6e 74 | 6f 20 63 4d 65 64 4e 61 |edNo int|o cMedNa|
|00002c80| 6d 65 0d 70 75 74 20 22 | 6d 65 64 46 6c 64 22 20 |me.put "|medFld" |
|00002c90| 26 20 6d 65 64 4e 6f 20 | 69 6e 74 6f 20 63 4d 65 |& medNo |into cMe|
|00002ca0| 64 46 6c 64 0d 69 66 20 | 74 68 65 72 65 20 69 73 |dFld.if |there is|
|00002cb0| 20 61 20 66 6c 64 20 63 | 4d 65 64 4e 61 6d 65 20 | a fld c|MedName |
|00002cc0| 74 68 65 6e 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |then.put| line 1 |
|00002cd0| 74 6f 20 32 20 6f 66 20 | 66 6c 64 20 63 4d 65 64 |to 2 of |fld cMed|
|00002ce0| 4e 61 6d 65 20 26 20 72 | 65 74 75 72 6e 20 26 20 |Name & r|eturn & |
|00002cf0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00002d00| 6e 65 73 20 6f 66 20 6d | 65 64 44 61 74 61 20 26 |nes of m|edData &|
|00002d10| c2 0d 22 2c 22 20 26 20 | 74 68 65 20 6e 75 6d 62 |.."," & |the numb|
|00002d20| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 6d |er of li|nes of m|
|00002d30| 65 64 53 63 72 69 70 74 | 20 26 20 72 65 74 75 72 |edScript| & retur|
|00002d40| 6e 20 26 20 6d 65 64 44 | 61 74 61 20 26 20 72 65 |n & medD|ata & re|
|00002d50| 74 75 72 6e 20 26 c2 0d | 6d 65 64 53 63 72 69 70 |turn &..|medScrip|
|00002d60| 74 20 69 6e 74 6f 20 66 | 6c 64 20 63 4d 65 64 4e |t into f|ld cMedN|
|00002d70| 61 6d 65 0d 73 65 74 20 | 74 68 65 20 72 65 63 74 |ame.set |the rect|
|00002d80| 20 6f 66 20 66 6c 64 20 | 63 4d 65 64 4e 61 6d 65 | of fld |cMedName|
|00002d90| 20 74 6f 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 | to the |rect of |
|00002da0| 63 64 20 66 6c 64 20 6d | 65 64 4e 6d 0d 73 68 6f |cd fld m|edNm.sho|
|00002db0| 77 20 66 6c 64 20 63 4d | 65 64 4e 61 6d 65 0d 70 |w fld cM|edName.p|
|00002dc0| 75 74 20 63 64 20 66 6c | 64 20 6d 65 64 66 6c 64 |ut cd fl|d medfld|
|00002dd0| 20 69 6e 74 6f 20 66 6c | 64 20 63 4d 65 64 46 6c | into fl|d cMedFl|
|00002de0| 64 0d 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |d.set th|e rect o|
|00002df0| 66 20 66 6c 64 20 63 4d | 65 64 46 6c 64 20 74 6f |f fld cM|edFld to|
|00002e00| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 63 64 20 | the rec|t of cd |
|00002e10| 66 6c 64 20 6d 65 64 46 | 6c 64 0d 73 68 6f 77 20 |fld medF|ld.show |
|00002e20| 66 6c 64 20 63 4d 65 64 | 46 6c 64 0d 65 6e 64 20 |fld cMed|Fld.end |
|00002e30| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 65 |if.end i|f.end de|
|00002e40| 73 65 6c 65 63 74 4d 65 | 64 69 6f 69 64 0d 0d 66 |selectMe|dioid..f|
|00002e50| 75 6e 63 74 69 6f 6e 20 | 74 6f 6f 4d 61 6e 79 0d |unction |tooMany.|
|00002e60| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00002e70| 20 6c 69 6e 65 73 20 6f | 66 20 74 68 65 20 77 69 | lines o|f the wi|
|00002e80| 6e 64 6f 77 73 3e 32 31 | 20 74 68 65 6e 0d 61 6e |ndows>21| then.an|
|00002e90| 73 77 65 72 22 54 6f 6f | 20 6d 61 6e 79 20 77 69 |swer"Too| many wi|
|00002ea0| 6e 64 6f 77 73 20 6f 70 | 65 6e 2e 20 20 43 6c 6f |ndows op|en. Clo|
|00002eb0| 73 65 20 73 6f 6d 65 20 | 66 69 72 73 74 21 22 0d |se some |first!".|
|00002ec0| 72 65 74 75 72 6e 20 74 | 72 75 65 0d 65 6c 73 65 |return t|rue.else|
|00002ed0| 0d 72 65 74 75 72 6e 20 | 66 61 6c 73 65 0d 65 6e |.return |false.en|
|00002ee0| 64 20 69 66 0d 65 6e 64 | 20 74 6f 6f 4d 61 6e 79 |d if.end| tooMany|
|00002ef0| 0d 0d 6f 6e 20 6f 70 65 | 6e 4d 65 64 69 6f 69 64 |..on ope|nMedioid|
|00002f00| 0d 67 6c 6f 62 61 6c 20 | 6d 65 64 44 61 74 61 2c |.global |medData,|
|00002f10| 6d 65 64 4e 61 6d 65 2c | 6d 65 64 4e 6f 2c 63 68 |medName,|medNo,ch|
|00002f20| 61 6e 67 65 73 0d 69 66 | 20 6e 6f 74 20 74 68 65 |anges.if| not the|
|00002f30| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 63 64 20 66 | visible| of cd f|
|00002f40| 6c 64 20 6d 65 64 66 6c | 64 20 74 68 65 6e 0d 69 |ld medfl|d then.i|
|00002f50| 66 20 74 6f 6f 4d 61 6e | 79 28 29 20 74 68 65 6e |f tooMan|y() then|
|00002f60| 20 65 78 69 74 20 6f 70 | 65 6e 4d 65 64 69 6f 69 | exit op|enMedioi|
|00002f70| 64 0d 65 6e 64 20 69 66 | 0d 61 6e 73 77 65 72 20 |d.end if|.answer |
|00002f80| 66 69 6c 65 20 22 53 65 | 6c 65 63 74 20 61 20 6d |file "Se|lect a m|
|00002f90| 65 64 69 6f 69 64 20 74 | 6f 20 6f 70 65 6e 3a 22 |edioid t|o open:"|
|00002fa0| 20 6f 66 20 74 79 70 65 | 20 74 65 78 74 0d 70 75 | of type| text.pu|
|00002fb0| 74 20 69 74 20 69 6e 74 | 6f 20 6f 70 65 6e 4e 61 |t it int|o openNa|
|00002fc0| 6d 65 0d 69 66 20 6f 70 | 65 6e 4e 61 6d 65 20 69 |me.if op|enName i|
|00002fd0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00002fe0| 0d 67 65 74 20 52 65 73 | 47 65 74 28 74 68 65 4d |.get Res|Get(theM|
|00002ff0| 6f 69 64 2c 6d 6f 69 64 | 2c 6f 70 65 6e 4e 61 6d |oid,moid|,openNam|
|00003000| 65 29 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 46 |e).if it| is notF|
|00003010| 6f 75 6e 64 20 74 68 65 | 6e 20 65 78 69 74 20 6f |ound the|n exit o|
|00003020| 70 65 6e 4d 65 64 69 6f | 69 64 0d 70 75 74 20 69 |penMedio|id.put i|
|00003030| 74 20 69 6e 74 6f 20 6d | 6f 69 64 44 61 74 61 0d |t into m|oidData.|
|00003040| 70 75 74 20 6d 65 64 4e | 6f 20 69 6e 74 6f 20 6f |put medN|o into o|
|00003050| 6c 64 4d 65 64 0d 6e 65 | 77 4d 65 64 69 6f 69 64 |ldMed.ne|wMedioid|
|00003060| 0d 69 66 20 6f 6c 64 4d | 65 64 3d 6d 65 64 4e 6f |.if oldM|ed=medNo|
|00003070| 20 74 68 65 6e 20 65 78 | 69 74 20 6f 70 65 6e 4d | then ex|it openM|
|00003080| 65 64 69 6f 69 64 0d 70 | 75 74 20 6f 70 65 6e 4e |edioid.p|ut openN|
|00003090| 61 6d 65 20 69 6e 74 6f | 20 6d 65 64 4e 61 6d 65 |ame into| medName|
|000030a0| 0d 70 75 74 20 22 6d 65 | 64 4e 61 6d 65 22 20 26 |.put "me|dName" &|
|000030b0| 20 6d 65 64 4e 6f 20 69 | 6e 74 6f 20 63 75 72 4e | medNo i|nto curN|
|000030c0| 61 6d 65 0d 70 75 74 20 | 22 20 20 20 20 20 20 20 |ame.put |" |
|000030d0| 20 20 20 20 22 20 26 20 | 73 68 6f 72 74 4e 61 6d | " & |shortNam|
|000030e0| 65 28 6d 65 64 4e 61 6d | 65 29 20 26 20 72 65 74 |e(medNam|e) & ret|
|000030f0| 75 72 6e 20 26 20 6d 65 | 64 4e 61 6d 65 20 26 20 |urn & me|dName & |
|00003100| 72 65 74 75 72 6e c2 0d | 69 6e 74 6f 20 62 67 20 |return..|into bg |
|00003110| 66 6c 64 20 63 75 72 4e | 61 6d 65 0d 70 75 74 20 |fld curN|ame.put |
|00003120| 62 67 20 66 6c 64 20 63 | 75 72 4e 61 6d 65 20 69 |bg fld c|urName i|
|00003130| 6e 74 6f 20 63 64 20 66 | 6c 64 20 6d 65 64 6e 6d |nto cd f|ld mednm|
|00003140| 0d 70 75 74 20 6d 6f 69 | 64 44 61 74 61 20 69 6e |.put moi|dData in|
|00003150| 74 6f 20 6d 65 64 44 61 | 74 61 0d 69 66 20 6d 65 |to medDa|ta.if me|
|00003160| 64 4e 6f 20 3e 20 31 20 | 74 68 65 6e 20 70 75 74 |dNo > 1 |then put|
|00003170| 20 6d 65 64 44 61 74 61 | 20 69 6e 74 6f 20 6c 69 | medData| into li|
|00003180| 6e 65 20 33 20 6f 66 20 | 66 6c 64 20 63 75 72 4e |ne 3 of |fld curN|
|00003190| 61 6d 65 0d 70 75 74 20 | 22 6d 65 64 66 6c 64 22 |ame.put |"medfld"|
|000031a0| 20 26 20 6d 65 64 4e 6f | 20 69 6e 74 6f 20 63 75 | & medNo| into cu|
|000031b0| 72 66 6c 64 0d 70 75 74 | 20 65 78 74 72 61 63 74 |rfld.put| extract|
|000031c0| 4d 65 64 69 6f 69 64 28 | 6d 65 64 44 61 74 61 29 |Medioid(|medData)|
|000031d0| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 6d 65 64 | into cd| fld med|
|000031e0| 66 6c 64 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |fld.put |empty in|
|000031f0| 74 6f 20 6c 69 6e 65 20 | 6d 65 64 4e 6f 20 6f 66 |to line |medNo of|
|00003200| 20 63 68 61 6e 67 65 73 | 0d 65 6e 64 20 69 66 0d | changes|.end if.|
|00003210| 65 6e 64 20 6f 70 65 6e | 4d 65 64 69 6f 69 64 0d |end open|Medioid.|
|00003220| 0d 6f 6e 20 63 6c 6f 73 | 65 4d 65 64 69 6f 69 64 |.on clos|eMedioid|
|00003230| 20 73 74 61 74 75 73 0d | 67 6c 6f 62 61 6c 20 6d | status.|global m|
|00003240| 65 64 4e 6f 2c 6d 65 64 | 4e 61 6d 65 2c 6d 65 64 |edNo,med|Name,med|
|00003250| 44 61 74 61 2c 6d 65 64 | 53 63 72 69 70 74 2c 6e |Data,med|Script,n|
|00003260| 75 6d 4d 65 64 69 6f 69 | 64 73 2c 63 68 61 6e 67 |umMedioi|ds,chang|
|00003270| 65 73 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |es.put e|mpty int|
|00003280| 6f 20 69 74 0d 70 75 74 | 20 22 6d 65 64 66 6c 64 |o it.put| "medfld|
|00003290| 22 20 26 20 6d 65 64 4e | 6f 20 69 6e 74 6f 20 63 |" & medN|o into c|
|000032a0| 75 72 66 6c 64 0d 70 75 | 74 20 22 6d 65 64 4e 61 |urfld.pu|t "medNa|
|000032b0| 6d 65 22 20 26 20 6d 65 | 64 4e 6f 20 69 6e 74 6f |me" & me|dNo into|
|000032c0| 20 63 75 72 6e 61 6d 65 | 0d 69 66 20 6c 69 6e 65 | curname|.if line|
|000032d0| 20 6d 65 64 4e 6f 20 6f | 66 20 63 68 61 6e 67 65 | medNo o|f change|
|000032e0| 73 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 61 |s is not| empty a|
|000032f0| 6e 64 20 6e 6f 74 28 6d | 65 64 4e 61 6d 65 20 69 |nd not(m|edName i|
|00003300| 73 c2 0d 22 55 6e 74 69 | 74 6c 65 64 22 20 61 6e |s.."Unti|tled" an|
|00003310| 64 20 6d 65 64 44 61 74 | 61 20 69 73 20 65 6d 70 |d medDat|a is emp|
|00003320| 74 79 20 61 6e 64 20 6d | 65 64 53 63 72 69 70 74 |ty and m|edScript|
|00003330| 20 69 73 20 65 6d 70 74 | 79 29 20 74 68 65 6e 0d | is empt|y) then.|
|00003340| 69 66 20 73 74 61 74 75 | 73 20 69 73 20 22 63 6c |if statu|s is "cl|
|00003350| 6f 73 69 6e 67 20 73 74 | 61 63 6b 22 20 74 68 65 |osing st|ack" the|
|00003360| 6e 0d 61 6e 73 77 65 72 | 20 22 53 61 76 65 20 63 |n.answer| "Save c|
|00003370| 68 61 6e 67 65 73 20 74 | 6f 20 6d 65 64 69 6f 69 |hanges t|o medioi|
|00003380| 64 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 73 68 |d" && qu|ote & sh|
|00003390| 6f 72 74 4e 61 6d 65 28 | 6d 65 64 4e 61 6d 65 29 |ortName(|medName)|
|000033a0| 20 26 c2 0d 71 75 6f 74 | 65 20 26 26 20 22 62 65 | &..quot|e && "be|
|000033b0| 66 6f 72 65 20 63 6c 6f | 73 69 6e 67 3f 22 20 77 |fore clo|sing?" w|
|000033c0| 69 74 68 20 22 44 6f 6e | 27 74 20 53 61 76 65 22 |ith "Don|'t Save"|
|000033d0| 2c 22 53 61 76 65 22 0d | 65 6c 73 65 0d 61 6e 73 |,"Save".|else.ans|
|000033e0| 77 65 72 20 22 53 61 76 | 65 20 63 68 61 6e 67 65 |wer "Sav|e change|
|000033f0| 73 20 74 6f 20 6d 65 64 | 69 6f 69 64 22 20 26 26 |s to med|ioid" &&|
|00003400| 20 71 75 6f 74 65 20 26 | 20 73 68 6f 72 74 4e 61 | quote &| shortNa|
|00003410| 6d 65 28 6d 65 64 4e 61 | 6d 65 29 20 26 c2 0d 71 |me(medNa|me) &..q|
|00003420| 75 6f 74 65 20 26 26 20 | 22 62 65 66 6f 72 65 20 |uote && |"before |
|00003430| 63 6c 6f 73 69 6e 67 3f | 22 20 77 69 74 68 20 22 |closing?|" with "|
|00003440| 43 61 6e 63 65 6c 22 2c | 22 44 6f 6e 27 74 20 53 |Cancel",|"Don't S|
|00003450| 61 76 65 22 2c 22 53 61 | 76 65 22 0d 65 6e 64 20 |ave","Sa|ve".end |
|00003460| 69 66 0d 69 66 20 69 74 | 20 69 73 20 22 53 61 76 |if.if it| is "Sav|
|00003470| 65 22 20 74 68 65 6e 20 | 73 65 6e 64 20 73 61 76 |e" then |send sav|
|00003480| 65 4d 65 64 69 6f 69 64 | 20 74 6f 20 63 64 20 66 |eMedioid| to cd f|
|00003490| 6c 64 20 6d 65 64 66 6c | 64 0d 65 6e 64 20 69 66 |ld medfl|d.end if|
|000034a0| 0d 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 22 43 |.if it i|s not "C|
|000034b0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 0d 69 66 20 6d |ancel" t|hen.if m|
|000034c0| 65 64 4e 6f 20 3d 20 6e | 75 6d 4d 65 64 69 6f 69 |edNo = n|umMedioi|
|000034d0| 64 73 20 74 68 65 6e 20 | 61 64 64 20 2d 31 20 74 |ds then |add -1 t|
|000034e0| 6f 20 6e 75 6d 4d 65 64 | 69 6f 69 64 73 0d 70 75 |o numMed|ioids.pu|
|000034f0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6c 69 6e |t empty |into lin|
|00003500| 65 20 6d 65 64 4e 6f 20 | 6f 66 20 63 68 61 6e 67 |e medNo |of chang|
|00003510| 65 73 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |es.lock |screen.s|
|00003520| 68 6f 77 20 66 6c 64 20 | 63 75 72 66 6c 64 0d 73 |how fld |curfld.s|
|00003530| 65 6c 65 63 74 20 66 6c | 64 20 63 75 72 66 6c 64 |elect fl|d curfld|
|00003540| 0d 64 6f 4d 65 6e 75 20 | 22 43 6c 65 61 72 20 46 |.doMenu |"Clear F|
|00003550| 69 65 6c 64 22 0d 73 68 | 6f 77 20 66 6c 64 20 63 |ield".sh|ow fld c|
|00003560| 75 72 6e 61 6d 65 0d 73 | 65 6c 65 63 74 20 66 6c |urname.s|elect fl|
|00003570| 64 20 63 75 72 6e 61 6d | 65 0d 64 6f 4d 65 6e 75 |d curnam|e.doMenu|
|00003580| 20 22 43 6c 65 61 72 20 | 46 69 65 6c 64 22 0d 63 | "Clear |Field".c|
|00003590| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|000035a0| 6c 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |l.unlock| screen.|
|000035b0| 73 65 6c 65 63 74 4e 65 | 77 4d 65 64 69 6f 69 64 |selectNe|wMedioid|
|000035c0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 63 6c 6f 73 |.end if.|end clos|
|000035d0| 65 4d 65 64 69 6f 69 64 | 0d 0d 6f 6e 20 73 65 6c |eMedioid|..on sel|
|000035e0| 65 63 74 4e 65 77 4d 65 | 64 69 6f 69 64 0d 67 6c |ectNewMe|dioid.gl|
|000035f0| 6f 62 61 6c 20 6d 65 64 | 44 61 74 61 2c 6d 65 64 |obal med|Data,med|
|00003600| 53 63 72 69 70 74 2c 6d | 65 64 4e 61 6d 65 2c 6e |Script,m|edName,n|
|00003610| 75 6d 4d 65 64 69 6f 69 | 64 73 2c 6d 65 64 4e 6f |umMedioi|ds,medNo|
|00003620| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003630| 6d 65 64 44 61 74 61 0d | 70 75 74 20 65 6d 70 74 |medData.|put empt|
|00003640| 79 20 69 6e 74 6f 20 6d | 65 64 53 63 72 69 70 74 |y into m|edScript|
|00003650| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003660| 6d 65 64 4e 61 6d 65 0d | 72 65 70 65 61 74 20 77 |medName.|repeat w|
|00003670| 69 74 68 20 78 20 3d 20 | 6e 75 6d 4d 65 64 69 6f |ith x = |numMedio|
|00003680| 69 64 73 20 64 6f 77 6e | 20 74 6f 20 31 0d 70 75 |ids down| to 1.pu|
|00003690| 74 20 22 6d 65 64 66 6c | 64 22 20 26 20 78 20 69 |t "medfl|d" & x i|
|000036a0| 6e 74 6f 20 6e 65 77 66 | 6c 64 0d 69 66 20 74 68 |nto newf|ld.if th|
|000036b0| 65 72 65 20 69 73 20 61 | 20 62 67 20 66 6c 64 20 |ere is a| bg fld |
|000036c0| 6e 65 77 66 6c 64 20 74 | 68 65 6e 0d 69 66 20 74 |newfld t|hen.if t|
|000036d0| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |he visib|le of bg|
|000036e0| 20 66 6c 64 20 6e 65 77 | 66 6c 64 20 74 68 65 6e | fld new|fld then|
|000036f0| 0d 73 65 6c 65 63 74 4d | 65 64 69 6f 69 64 20 78 |.selectM|edioid x|
|00003700| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00003710| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 | if.end |if.end r|
|00003720| 65 70 65 61 74 0d 69 66 | 20 6d 65 64 4e 61 6d 65 |epeat.if| medName|
|00003730| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 68 | is empt|y then.h|
|00003740| 69 64 65 20 63 64 20 66 | 6c 64 20 6d 65 64 66 6c |ide cd f|ld medfl|
|00003750| 64 0d 68 69 64 65 20 63 | 64 20 66 6c 64 20 6d 65 |d.hide c|d fld me|
|00003760| 64 4e 6d 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 6d |dNm.put |0 into m|
|00003770| 65 64 4e 6f 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |edNo.put| 0 into |
|00003780| 6e 75 6d 4d 65 64 69 6f | 69 64 73 0d 69 66 20 74 |numMedio|ids.if t|
|00003790| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|000037a0| 20 61 63 74 69 76 65 4c | 65 66 74 20 74 68 65 6e | activeL|eft then|
|000037b0| 0d 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 61 63 |.close w|indow ac|
|000037c0| 74 69 76 65 4c 65 66 74 | 0d 63 6c 6f 73 65 20 77 |tiveLeft|.close w|
|000037d0| 69 6e 64 6f 77 20 61 63 | 74 69 76 65 52 69 67 68 |indow ac|tiveRigh|
|000037e0| 74 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 6d |t.close |window m|
|000037f0| 53 69 7a 65 72 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Sizer.en|d if.end|
|00003800| 20 69 66 0d 65 6e 64 20 | 73 65 6c 65 63 74 4e 65 | if.end |selectNe|
|00003810| 77 4d 65 64 69 6f 69 64 | 0d 0d 6f 6e 20 73 65 6c |wMedioid|..on sel|
|00003820| 65 63 74 4d 65 64 69 6f | 69 64 20 6e 75 6d 0d 67 |ectMedio|id num.g|
|00003830| 6c 6f 62 61 6c 20 6d 65 | 64 4e 6f 2c 6d 65 64 44 |lobal me|dNo,medD|
|00003840| 61 74 61 2c 6d 65 64 53 | 63 72 69 70 74 2c 6d 65 |ata,medS|cript,me|
|00003850| 64 4e 61 6d 65 2c 6e 75 | 6d 4d 65 64 69 6f 69 64 |dName,nu|mMedioid|
|00003860| 73 2c 6f 6c 64 4d 65 64 | 44 61 74 61 2c 75 6e 64 |s,oldMed|Data,und|
|00003870| 6f 6e 65 0d 69 66 20 6e | 75 6d 20 69 73 20 6e 6f |one.if n|um is no|
|00003880| 74 20 6d 65 64 4e 6f 20 | 74 68 65 6e 0d 64 65 73 |t medNo |then.des|
|00003890| 65 6c 65 63 74 4d 65 64 | 69 6f 69 64 0d 70 75 74 |electMed|ioid.put|
|000038a0| 20 6e 75 6d 20 69 6e 74 | 6f 20 6d 65 64 4e 6f 0d | num int|o medNo.|
|000038b0| 70 75 74 20 22 6d 65 64 | 4e 61 6d 65 22 20 26 20 |put "med|Name" & |
|000038c0| 6d 65 64 4e 6f 20 69 6e | 74 6f 20 63 75 72 4e 61 |medNo in|to curNa|
|000038d0| 6d 65 0d 70 75 74 20 22 | 6d 65 64 46 6c 64 22 20 |me.put "|medFld" |
|000038e0| 26 20 6d 65 64 4e 6f 20 | 69 6e 74 6f 20 63 75 72 |& medNo |into cur|
|000038f0| 46 6c 64 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |Fld.if t|here is |
|00003900| 61 20 77 69 6e 64 6f 77 | 20 61 63 74 69 76 65 4c |a window| activeL|
|00003910| 65 66 74 20 74 68 65 6e | 0d 67 65 74 20 74 68 65 |eft then|.get the|
|00003920| 20 72 65 63 74 20 6f 66 | 20 62 67 20 66 6c 64 20 | rect of| bg fld |
|00003930| 63 75 72 4e 61 6d 65 0d | 70 75 74 20 69 74 65 6d |curName.|put item|
|00003940| 20 31 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 6d 65 | 1 of it| into me|
|00003950| 64 54 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |dT.put i|tem 2 of|
|00003960| 20 69 74 20 69 6e 74 6f | 20 6d 65 64 4c 0d 70 75 | it into| medL.pu|
|00003970| 74 20 69 74 65 6d 20 33 | 20 6f 66 20 69 74 20 69 |t item 3| of it i|
|00003980| 6e 74 6f 20 6d 65 64 42 | 0d 70 75 74 20 69 74 65 |nto medB|.put ite|
|00003990| 6d 20 34 20 6f 66 20 69 | 74 20 69 6e 74 6f 20 6d |m 4 of i|t into m|
|000039a0| 65 64 52 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 20 |edR.set |the loc |
|000039b0| 6f 66 20 77 69 6e 64 6f | 77 20 61 63 74 69 76 65 |of windo|w active|
|000039c0| 4c 65 66 74 20 74 6f 20 | 6d 65 64 54 2b 31 2c 6d |Left to |medT+1,m|
|000039d0| 65 64 4c 2b 31 0d 73 65 | 74 20 74 68 65 20 76 69 |edL+1.se|t the vi|
|000039e0| 73 69 62 6c 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |sible of| window |
|000039f0| 61 63 74 69 76 65 52 69 | 67 68 74 20 74 6f 20 66 |activeRi|ght to f|
|00003a00| 61 6c 73 65 0d 73 65 74 | 20 74 68 65 20 72 65 63 |alse.set| the rec|
|00003a10| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 61 63 74 69 |t of win|dow acti|
|00003a20| 76 65 52 69 67 68 74 20 | 74 6f 20 6d 65 64 54 2b |veRight |to medT+|
|00003a30| 31 33 35 2c 6d 65 64 4c | 2b 31 2c 6d 65 64 42 2d |135,medL|+1,medB-|
|00003a40| 31 2c 6d 65 64 52 2d 31 | 0d 73 65 74 20 74 68 65 |1,medR-1|.set the|
|00003a50| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 | visible| of wind|
|00003a60| 6f 77 20 61 63 74 69 76 | 65 52 69 67 68 74 20 74 |ow activ|eRight t|
|00003a70| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 73 |o true.s|et the s|
|00003a80| 63 72 6f 6c 6c 20 6f 66 | 20 77 69 6e 64 6f 77 20 |croll of| window |
|00003a90| 61 63 74 69 76 65 52 69 | 67 68 74 20 74 6f 20 31 |activeRi|ght to 1|
|00003aa0| 30 30 30 2c 30 0d 67 65 | 74 20 74 68 65 20 62 6f |000,0.ge|t the bo|
|00003ab0| 74 74 6f 6d 52 69 67 68 | 74 20 6f 66 20 66 6c 64 |ttomRigh|t of fld|
|00003ac0| 20 63 75 72 46 6c 64 0d | 73 65 74 20 74 68 65 20 | curFld.|set the |
|00003ad0| 6c 6f 63 20 6f 66 20 77 | 69 6e 64 6f 77 20 6d 53 |loc of w|indow mS|
|00003ae0| 69 7a 65 72 20 74 6f 20 | 69 74 65 6d 20 31 20 6f |izer to |item 1 o|
|00003af0| 66 20 69 74 20 2d 20 38 | 2c 69 74 65 6d 20 32 20 |f it - 8|,item 2 |
|00003b00| 6f 66 20 69 74 20 2d 20 | 38 0d 73 65 74 20 74 68 |of it - |8.set th|
|00003b10| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 77 69 6e |e visibl|e of win|
|00003b20| 64 6f 77 20 6d 53 69 7a | 65 72 20 74 6f 20 74 72 |dow mSiz|er to tr|
|00003b30| 75 65 0d 65 6e 64 20 69 | 66 0d 69 66 20 6c 69 6e |ue.end i|f.if lin|
|00003b40| 65 20 32 20 6f 66 20 62 | 67 20 66 6c 64 20 63 75 |e 2 of b|g fld cu|
|00003b50| 72 4e 61 6d 65 20 69 73 | 20 65 6d 70 74 79 20 74 |rName is| empty t|
|00003b60| 68 65 6e 0d 70 75 74 20 | 22 55 6e 74 69 74 6c 65 |hen.put |"Untitle|
|00003b70| 64 22 20 69 6e 74 6f 20 | 6d 65 64 4e 61 6d 65 0d |d" into |medName.|
|00003b80| 65 6c 73 65 0d 70 75 74 | 20 6c 69 6e 65 20 32 20 |else.put| line 2 |
|00003b90| 6f 66 20 62 67 20 66 6c | 64 20 63 75 72 4e 61 6d |of bg fl|d curNam|
|00003ba0| 65 20 69 6e 74 6f 20 6d | 65 64 4e 61 6d 65 0d 65 |e into m|edName.e|
|00003bb0| 6e 64 20 69 66 0d 70 75 | 74 20 69 74 65 6d 20 31 |nd if.pu|t item 1|
|00003bc0| 20 6f 66 20 6c 69 6e 65 | 20 33 20 6f 66 20 66 6c | of line| 3 of fl|
|00003bd0| 64 20 63 75 72 4e 61 6d | 65 20 69 6e 74 6f 20 64 |d curNam|e into d|
|00003be0| 4c 69 6e 65 73 0d 70 75 | 74 20 6c 69 6e 65 20 34 |Lines.pu|t line 4|
|00003bf0| 20 74 6f 20 33 2b 64 4c | 69 6e 65 73 20 6f 66 20 | to 3+dL|ines of |
|00003c00| 66 6c 64 20 63 75 72 4e | 61 6d 65 20 69 6e 74 6f |fld curN|ame into|
|00003c10| 20 6d 65 64 44 61 74 61 | 0d 70 75 74 20 69 74 65 | medData|.put ite|
|00003c20| 6d 20 32 20 6f 66 20 6c | 69 6e 65 20 33 20 6f 66 |m 2 of l|ine 3 of|
|00003c30| 20 66 6c 64 20 63 75 72 | 4e 61 6d 65 20 69 6e 74 | fld cur|Name int|
|00003c40| 6f 20 73 4c 69 6e 65 73 | 0d 70 75 74 20 6c 69 6e |o sLines|.put lin|
|00003c50| 65 20 34 2b 64 4c 69 6e | 65 73 20 74 6f 20 33 2b |e 4+dLin|es to 3+|
|00003c60| 64 4c 69 6e 65 73 2b 73 | 4c 69 6e 65 73 20 6f 66 |dLines+s|Lines of|
|00003c70| 20 66 6c 64 20 63 75 72 | 4e 61 6d 65 20 69 6e 74 | fld cur|Name int|
|00003c80| 6f 20 6d 65 64 53 63 72 | 69 70 74 0d 6c 6f 63 6b |o medScr|ipt.lock|
|00003c90| 20 73 63 72 65 65 6e 0d | 73 65 74 20 74 68 65 20 | screen.|set the |
|00003ca0| 72 65 63 74 20 6f 66 20 | 63 64 20 66 6c 64 20 6d |rect of |cd fld m|
|00003cb0| 65 64 4e 6d 20 74 6f 20 | 74 68 65 20 72 65 63 74 |edNm to |the rect|
|00003cc0| 20 6f 66 20 66 6c 64 20 | 63 75 72 4e 61 6d 65 0d | of fld |curName.|
|00003cd0| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|00003ce0| 63 64 20 66 6c 64 20 6d | 65 64 46 6c 64 20 74 6f |cd fld m|edFld to|
|00003cf0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 66 6c 64 | the rec|t of fld|
|00003d00| 20 63 75 72 46 6c 64 0d | 70 75 74 20 66 6c 64 20 | curFld.|put fld |
|00003d10| 63 75 72 4e 61 6d 65 20 | 69 6e 74 6f 20 63 64 20 |curName |into cd |
|00003d20| 66 6c 64 20 6d 65 64 4e | 6d 0d 70 75 74 20 66 6c |fld medN|m.put fl|
|00003d30| 64 20 63 75 72 46 6c 64 | 20 69 6e 74 6f 20 63 64 |d curFld| into cd|
|00003d40| 20 66 6c 64 20 6d 65 64 | 46 6c 64 0d 68 69 64 65 | fld med|Fld.hide|
|00003d50| 20 66 6c 64 20 63 75 72 | 4e 61 6d 65 0d 68 69 64 | fld cur|Name.hid|
|00003d60| 65 20 66 6c 64 20 63 75 | 72 46 6c 64 0d 63 6c 69 |e fld cu|rFld.cli|
|00003d70| 63 6b 20 61 74 20 74 68 | 65 20 63 6c 69 63 6b 6c |ck at th|e clickl|
|00003d80| 6f 63 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |oc.if th|ere is a|
|00003d90| 20 77 69 6e 64 6f 77 20 | 6d 6d 20 74 68 65 6e 20 | window |mm then |
|00003da0| 73 68 6f 77 20 77 69 6e | 64 6f 77 20 6d 6d 0d 70 |show win|dow mm.p|
|00003db0| 75 74 20 6d 65 64 44 61 | 74 61 20 69 6e 74 6f 20 |ut medDa|ta into |
|00003dc0| 6f 6c 64 4d 65 64 44 61 | 74 61 0d 70 75 74 20 65 |oldMedDa|ta.put e|
|00003dd0| 6d 70 74 79 20 69 6e 74 | 6f 20 75 6e 64 6f 6e 65 |mpty int|o undone|
|00003de0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 73 65 6c 65 |.end if.|end sele|
|00003df0| 63 74 4d 65 64 69 6f 69 | 64 0d 0d 6f 6e 20 72 65 |ctMedioi|d..on re|
|00003e00| 6f 72 64 65 72 4d 65 64 | 69 6f 69 64 0d 67 6c 6f |orderMed|ioid.glo|
|00003e10| 62 61 6c 20 6d 65 64 4e | 6f 2c 70 69 63 6b 65 64 |bal medN|o,picked|
|00003e20| 4c 69 6e 65 2c 6d 65 64 | 44 61 74 61 0d 70 75 74 |Line,med|Data.put|
|00003e30| 20 22 6d 65 64 66 6c 64 | 22 20 26 20 6d 65 64 4e | "medfld|" & medN|
|00003e40| 6f 20 69 6e 74 6f 20 63 | 75 72 4d 65 64 0d 64 65 |o into c|urMed.de|
|00003e50| 6c 65 74 65 20 6c 69 6e | 65 20 70 69 63 6b 65 64 |lete lin|e picked|
|00003e60| 4c 69 6e 65 20 6f 66 20 | 66 6c 64 20 63 75 72 4d |Line of |fld curM|
|00003e70| 65 64 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 70 |ed.delet|e line p|
|00003e80| 69 63 6b 65 64 4c 69 6e | 65 20 6f 66 20 6d 65 64 |ickedLin|e of med|
|00003e90| 44 61 74 61 0d 65 6e 64 | 20 72 65 6f 72 64 65 72 |Data.end| reorder|
|00003ea0| 4d 65 64 69 6f 69 64 0d | 0d 66 75 6e 63 74 69 6f |Medioid.|.functio|
|00003eb0| 6e 20 65 78 74 72 61 63 | 74 4d 65 64 69 6f 69 64 |n extrac|tMedioid|
|00003ec0| 20 6d 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 | m.put e|mpty int|
|00003ed0| 6f 20 6d 65 64 0d 72 65 | 70 65 61 74 20 77 69 74 |o med.re|peat wit|
|00003ee0| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|00003ef0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00003f00| 66 20 6d 0d 69 66 20 6c | 61 73 74 20 69 74 65 6d |f m.if l|ast item|
|00003f10| 20 6f 66 20 6c 69 6e 65 | 20 78 20 6f 66 20 6d 20 | of line| x of m |
|00003f20| 69 73 20 22 52 45 50 4c | 41 59 22 0d 74 68 65 6e |is "REPL|AY".then|
|00003f30| 20 70 75 74 20 22 c8 20 | 22 20 69 6e 74 6f 20 6c | put ". |" into l|
|00003f40| 69 6e 65 20 78 20 6f 66 | 20 6d 65 64 0d 70 75 74 |ine x of| med.put|
|00003f50| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|00003f60| 78 20 6f 66 20 6d 20 69 | 6e 74 6f 20 6d 65 64 69 |x of m i|nto medi|
|00003f70| 75 6d 0d 69 66 20 6d 65 | 64 69 75 6d 20 69 73 20 |um.if me|dium is |
|00003f80| 4d 4f 56 49 45 20 74 68 | 65 6e 0d 70 75 74 20 22 |MOVIE th|en.put "|
|00003f90| b4 22 20 26 26 20 73 68 | 6f 72 74 4e 61 6d 65 28 |." && sh|ortName(|
|00003fa0| 69 74 65 6d 20 34 20 6f | 66 20 6c 69 6e 65 20 78 |item 4 o|f line x|
|00003fb0| 20 6f 66 20 6d 29 20 69 | 6e 74 6f 20 69 0d 65 6c | of m) i|nto i.el|
|00003fc0| 73 65 20 69 66 20 6d 65 | 64 69 75 6d 20 69 73 20 |se if me|dium is |
|00003fd0| 22 4d 45 44 22 20 74 68 | 65 6e 0d 70 75 74 20 22 |"MED" th|en.put "|
|00003fe0| c4 22 20 26 26 20 73 68 | 6f 72 74 4e 61 6d 65 28 |." && sh|ortName(|
|00003ff0| 69 74 65 6d 20 32 20 6f | 66 20 6c 69 6e 65 20 78 |item 2 o|f line x|
|00004000| 20 6f 66 20 6d 29 20 69 | 6e 74 6f 20 69 0d 65 6c | of m) i|nto i.el|
|00004010| 73 65 20 69 66 20 6d 65 | 64 69 75 6d 20 69 73 20 |se if me|dium is |
|00004020| 50 49 43 54 20 74 68 65 | 6e 0d 70 75 74 20 22 c6 |PICT the|n.put ".|
|00004030| 22 20 26 26 20 73 68 6f | 72 74 4e 61 6d 65 28 69 |" && sho|rtName(i|
|00004040| 74 65 6d 20 34 20 6f 66 | 20 6c 69 6e 65 20 78 20 |tem 4 of| line x |
|00004050| 6f 66 20 6d 29 20 69 6e | 74 6f 20 69 0d 65 6c 73 |of m) in|to i.els|
|00004060| 65 20 69 66 20 6d 65 64 | 69 75 6d 20 69 73 20 22 |e if med|ium is "|
|00004070| 46 49 45 4c 44 22 20 74 | 68 65 6e 0d 70 75 74 20 |FIELD" t|hen.put |
|00004080| 22 b6 22 20 26 26 20 69 | 74 65 6d 20 32 20 6f 66 |"." && i|tem 2 of|
|00004090| 20 6c 69 6e 65 20 78 20 | 6f 66 20 6d 20 69 6e 74 | line x |of m int|
|000040a0| 6f 20 69 0d 65 6c 73 65 | 20 69 66 20 6d 65 64 69 |o i.else| if medi|
|000040b0| 75 6d 20 69 73 20 4b 49 | 4c 4c 20 74 68 65 6e 0d |um is KI|LL then.|
|000040c0| 70 75 74 20 22 bf 22 20 | 26 26 20 69 74 65 6d 20 |put "." |&& item |
|000040d0| 32 20 6f 66 20 6c 69 6e | 65 20 78 20 6f 66 20 6d |2 of lin|e x of m|
|000040e0| 20 69 6e 74 6f 20 69 0d | 65 6c 73 65 20 69 66 20 | into i.|else if |
|000040f0| 6d 65 64 69 75 6d 20 69 | 73 20 52 45 43 4f 52 44 |medium i|s RECORD|
|00004100| 20 74 68 65 6e 0d 70 75 | 74 20 22 b7 22 20 26 26 | then.pu|t "." &&|
|00004110| 20 69 74 65 6d 20 38 20 | 6f 66 20 6c 69 6e 65 20 | item 8 |of line |
|00004120| 78 20 6f 66 20 6d 20 69 | 6e 74 6f 20 69 0d 65 6c |x of m i|nto i.el|
|00004130| 73 65 20 69 66 20 6d 65 | 64 69 75 6d 20 69 73 20 |se if me|dium is |
|00004140| 4f 4b 20 74 68 65 6e 0d | 70 75 74 20 22 be 22 20 |OK then.|put "." |
|00004150| 69 6e 74 6f 20 69 0d 65 | 6c 73 65 20 69 66 20 6d |into i.e|lse if m|
|00004160| 65 64 69 75 6d 20 69 73 | 20 52 45 50 4c 41 59 20 |edium is| REPLAY |
|00004170| 74 68 65 6e 0d 70 75 74 | 20 22 ba 22 20 69 6e 74 |then.put| "." int|
|00004180| 6f 20 69 0d 65 6c 73 65 | 20 69 66 20 6d 65 64 69 |o i.else| if medi|
|00004190| 75 6d 20 69 73 20 4b 45 | 59 52 45 53 50 4f 4e 53 |um is KE|YRESPONS|
|000041a0| 45 20 74 68 65 6e 0d 70 | 75 74 20 22 b9 22 20 26 |E then.p|ut "." &|
|000041b0| 26 20 69 74 65 6d 20 36 | 20 6f 66 20 6c 69 6e 65 |& item 6| of line|
|000041c0| 20 78 20 6f 66 20 6d 20 | 69 6e 74 6f 20 69 0d 65 | x of m |into i.e|
|000041d0| 6c 73 65 20 69 66 20 6d | 65 64 69 75 6d 20 69 73 |lse if m|edium is|
|000041e0| 20 53 4e 44 20 74 68 65 | 6e 0d 70 75 74 20 22 c7 | SND the|n.put ".|
|000041f0| 22 20 26 26 20 69 74 65 | 6d 20 32 20 6f 66 20 6c |" && ite|m 2 of l|
|00004200| 69 6e 65 20 78 20 6f 66 | 20 6d 20 69 6e 74 6f 20 |ine x of| m into |
|00004210| 69 0d 65 6c 73 65 20 69 | 66 20 6d 65 64 69 75 6d |i.else i|f medium|
|00004220| 20 69 73 20 44 45 4c 41 | 59 20 74 68 65 6e 0d 70 | is DELA|Y then.p|
|00004230| 75 74 20 22 b5 22 20 26 | 26 20 69 74 65 6d 20 32 |ut "." &|& item 2|
|00004240| 20 6f 66 20 6c 69 6e 65 | 20 78 20 6f 66 20 6d 20 | of line| x of m |
|00004250| 69 6e 74 6f 20 69 0d 65 | 6c 73 65 20 69 66 20 6d |into i.e|lse if m|
|00004260| 65 64 69 75 6d 20 69 73 | 20 48 41 4e 44 4c 45 52 |edium is| HANDLER|
|00004270| 20 74 68 65 6e 0d 70 75 | 74 20 22 bc 22 20 26 26 | then.pu|t "." &&|
|00004280| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|00004290| 78 20 6f 66 20 6d 20 69 | 6e 74 6f 20 69 0d 65 6c |x of m i|nto i.el|
|000042a0| 73 65 0d 65 78 74 72 61 | 63 74 53 63 72 69 70 74 |se.extra|ctScript|
|000042b0| 20 78 0d 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 | x.exit |repeat.e|
|000042c0| 6e 64 20 69 66 0d 70 75 | 74 20 69 20 26 20 73 70 |nd if.pu|t i & sp|
|000042d0| 61 63 65 73 28 29 20 26 | 20 72 65 74 75 72 6e 20 |aces() &| return |
|000042e0| 61 66 74 65 72 20 6d 65 | 64 0d 65 6e 64 20 72 65 |after me|d.end re|
|000042f0| 70 65 61 74 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |peat.del|ete last|
|00004300| 20 63 68 61 72 20 6f 66 | 20 6d 65 64 0d 72 65 74 | char of| med.ret|
|00004310| 75 72 6e 20 6d 65 64 0d | 65 6e 64 20 65 78 74 72 |urn med.|end extr|
|00004320| 61 63 74 4d 65 64 69 6f | 69 64 0d 0d 6f 6e 20 65 |actMedio|id..on e|
|00004330| 78 74 72 61 63 74 53 63 | 72 69 70 74 20 73 4c 6e |xtractSc|ript sLn|
|00004340| 0d 67 6c 6f 62 61 6c 20 | 6d 65 64 44 61 74 61 2c |.global |medData,|
|00004350| 6d 65 64 53 63 72 69 70 | 74 0d 70 75 74 20 74 68 |medScrip|t.put th|
|00004360| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00004370| 73 20 6f 66 20 6d 65 64 | 44 61 74 61 20 69 6e 74 |s of med|Data int|
|00004380| 6f 20 4d 44 4c 65 6e 67 | 74 68 0d 70 75 74 20 6c |o MDLeng|th.put l|
|00004390| 69 6e 65 20 73 4c 6e 20 | 74 6f 20 4d 44 4c 65 6e |ine sLn |to MDLen|
|000043a0| 67 74 68 20 6f 66 20 6d | 65 64 44 61 74 61 20 69 |gth of m|edData i|
|000043b0| 6e 74 6f 20 6d 65 64 53 | 63 72 69 70 74 0d 64 65 |nto medS|cript.de|
|000043c0| 6c 65 74 65 20 6c 69 6e | 65 20 73 4c 6e 20 74 6f |lete lin|e sLn to|
|000043d0| 20 4d 44 4c 65 6e 67 74 | 68 20 6f 66 20 6d 65 64 | MDLengt|h of med|
|000043e0| 44 61 74 61 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |Data.del|ete last|
|000043f0| 20 63 68 61 72 20 6f 66 | 20 6d 65 64 44 61 74 61 | char of| medData|
|00004400| 0d 65 6e 64 20 65 78 74 | 72 61 63 74 53 63 72 69 |.end ext|ractScri|
|00004410| 70 74 0d 0d 6f 6e 20 6d | 6d 20 70 0d 69 66 20 70 |pt..on m|m p.if p|
|00004420| 20 69 73 20 77 69 74 68 | 69 6e 20 22 30 2c 31 2c | is with|in "0,1,|
|00004430| 32 32 2c 32 31 22 20 74 | 68 65 6e 0d 6d 6d 53 6f |22,21" t|hen.mmSo|
|00004440| 75 6e 64 0d 65 6c 73 65 | 20 69 66 20 70 20 69 73 |und.else| if p is|
|00004450| 20 77 69 74 68 69 6e 20 | 22 32 33 2c 31 2c 34 35 | within |"23,1,45|
|00004460| 2c 32 31 22 20 74 68 65 | 6e 0d 6d 6d 50 69 63 74 |,21" the|n.mmPict|
|00004470| 0d 65 6c 73 65 20 69 66 | 20 70 20 69 73 20 77 69 |.else if| p is wi|
|00004480| 74 68 69 6e 20 22 34 36 | 2c 31 2c 36 38 2c 32 31 |thin "46|,1,68,21|
|00004490| 22 20 74 68 65 6e 0d 6d | 6d 46 69 65 6c 64 0d 65 |" then.m|mField.e|
|000044a0| 6c 73 65 20 69 66 20 70 | 20 69 73 20 77 69 74 68 |lse if p| is with|
|000044b0| 69 6e 20 22 30 2c 32 32 | 2c 32 32 2c 34 32 22 20 |in "0,22|,22,42" |
|000044c0| 74 68 65 6e 0d 6d 6d 4d | 6f 76 69 65 0d 65 6c 73 |then.mmM|ovie.els|
|000044d0| 65 20 69 66 20 70 20 69 | 73 20 77 69 74 68 69 6e |e if p i|s within|
|000044e0| 20 22 32 33 2c 32 32 2c | 34 35 2c 34 32 22 20 74 | "23,22,|45,42" t|
|000044f0| 68 65 6e 0d 6d 6d 4b 65 | 79 52 65 73 70 0d 65 6c |hen.mmKe|yResp.el|
|00004500| 73 65 20 69 66 20 70 20 | 69 73 20 77 69 74 68 69 |se if p |is withi|
|00004510| 6e 20 22 34 36 2c 32 32 | 2c 36 38 2c 34 32 22 20 |n "46,22|,68,42" |
|00004520| 74 68 65 6e 0d 6d 6d 44 | 65 6c 61 79 0d 65 6c 73 |then.mmD|elay.els|
|00004530| 65 20 69 66 20 70 20 69 | 73 20 77 69 74 68 69 6e |e if p i|s within|
|00004540| 20 22 30 2c 34 33 2c 32 | 32 2c 36 33 22 20 74 68 | "0,43,2|2,63" th|
|00004550| 65 6e 0d 6d 6d 4f 4b 0d | 65 6c 73 65 20 69 66 20 |en.mmOK.|else if |
|00004560| 70 20 69 73 20 77 69 74 | 68 69 6e 20 22 32 33 2c |p is wit|hin "23,|
|00004570| 34 33 2c 34 35 2c 36 33 | 22 20 74 68 65 6e 0d 6d |43,45,63|" then.m|
|00004580| 6d 41 75 64 69 6f 52 65 | 73 70 0d 65 6c 73 65 20 |mAudioRe|sp.else |
|00004590| 69 66 20 70 20 69 73 20 | 77 69 74 68 69 6e 20 22 |if p is |within "|
|000045a0| 34 36 2c 34 33 2c 36 38 | 2c 36 33 22 20 74 68 65 |46,43,68|,63" the|
|000045b0| 6e 0d 6d 6d 52 65 70 6c | 61 79 0d 65 6c 73 65 20 |n.mmRepl|ay.else |
|000045c0| 69 66 20 70 20 69 73 20 | 77 69 74 68 69 6e 20 22 |if p is |within "|
|000045d0| 30 2c 36 34 2c 32 32 2c | 38 34 22 20 74 68 65 6e |0,64,22,|84" then|
|000045e0| 0d 6d 6d 4b 69 6c 6c 0d | 65 6c 73 65 20 69 66 20 |.mmKill.|else if |
|000045f0| 70 20 69 73 20 77 69 74 | 68 69 6e 20 22 32 33 2c |p is wit|hin "23,|
|00004600| 36 34 2c 34 35 2c 38 34 | 22 20 74 68 65 6e 0d 6d |64,45,84|" then.m|
|00004610| 6d 4d 65 64 69 6f 69 64 | 0d 65 6c 73 65 20 69 66 |mMedioid|.else if|
|00004620| 20 70 20 69 73 20 77 69 | 74 68 69 6e 20 22 34 36 | p is wi|thin "46|
|00004630| 2c 36 34 2c 36 38 2c 38 | 34 22 20 74 68 65 6e 0d |,64,68,8|4" then.|
|00004640| 6d 6d 48 61 6e 64 6c 65 | 72 0d 65 6c 73 65 20 69 |mmHandle|r.else i|
|00004650| 66 20 70 20 69 73 20 77 | 69 74 68 69 6e 20 22 30 |f p is w|ithin "0|
|00004660| 2c 38 38 2c 32 32 2c 31 | 30 38 22 20 74 68 65 6e |,88,22,1|08" then|
|00004670| 0d 6d 6d 48 61 6e 64 0d | 65 6c 73 65 20 69 66 20 |.mmHand.|else if |
|00004680| 70 20 69 73 20 77 69 74 | 68 69 6e 20 22 32 33 2c |p is wit|hin "23,|
|00004690| 38 38 2c 34 35 2c 31 30 | 38 22 20 74 68 65 6e 0d |88,45,10|8" then.|
|000046a0| 6d 6d 53 74 61 63 6b 0d | 65 6c 73 65 20 69 66 20 |mmStack.|else if |
|000046b0| 70 20 69 73 20 77 69 74 | 68 69 6e 20 22 34 36 2c |p is wit|hin "46,|
|000046c0| 38 38 2c 36 38 2c 31 30 | 38 22 20 74 68 65 6e 0d |88,68,10|8" then.|
|000046d0| 73 65 6e 64 20 6d 6d 53 | 63 72 69 70 74 20 74 6f |send mmS|cript to|
|000046e0| 20 63 64 20 66 6c 64 20 | 6d 65 64 66 6c 64 0d 65 | cd fld |medfld.e|
|000046f0| 6c 73 65 20 69 66 20 70 | 20 69 73 20 77 69 74 68 |lse if p| is with|
|00004700| 69 6e 20 22 30 2c 31 30 | 39 2c 32 32 2c 31 32 39 |in "0,10|9,22,129|
|00004710| 22 20 74 68 65 6e 0d 6d | 6d 52 75 62 62 65 72 0d |" then.m|mRubber.|
|00004720| 65 6c 73 65 20 69 66 20 | 70 20 69 73 20 77 69 74 |else if |p is wit|
|00004730| 68 69 6e 20 22 32 33 2c | 31 30 39 2c 34 35 2c 31 |hin "23,|109,45,1|
|00004740| 32 39 22 20 74 68 65 6e | 0d 6d 6d 50 69 63 6b 75 |29" then|.mmPicku|
|00004750| 70 0d 65 6c 73 65 20 69 | 66 20 70 20 69 73 20 77 |p.else i|f p is w|
|00004760| 69 74 68 69 6e 20 22 34 | 36 2c 31 30 39 2c 36 38 |ithin "4|6,109,68|
|00004770| 2c 31 32 39 22 20 74 68 | 65 6e 0d 73 65 6e 64 20 |,129" th|en.send |
|00004780| 6d 6d 43 6f 70 79 20 74 | 6f 20 62 67 0d 65 6c 73 |mmCopy t|o bg.els|
|00004790| 65 20 69 66 20 70 20 69 | 73 20 77 69 74 68 69 6e |e if p i|s within|
|000047a0| 20 22 30 2c 31 33 30 2c | 32 32 2c 31 35 30 22 20 | "0,130,|22,150" |
|000047b0| 74 68 65 6e 0d 6d 6d 42 | 61 6c 6c 6f 6f 6e 73 0d |then.mmB|alloons.|
|000047c0| 65 6c 73 65 20 69 66 20 | 70 20 69 73 20 77 69 74 |else if |p is wit|
|000047d0| 68 69 6e 20 22 32 33 2c | 31 33 30 2c 34 35 2c 31 |hin "23,|130,45,1|
|000047e0| 35 30 22 20 74 68 65 6e | 0d 6d 6d 50 6c 61 79 0d |50" then|.mmPlay.|
|000047f0| 65 6c 73 65 20 69 66 20 | 70 20 69 73 20 77 69 74 |else if |p is wit|
|00004800| 68 69 6e 20 22 34 36 2c | 31 33 30 2c 36 38 2c 31 |hin "46,|130,68,1|
|00004810| 35 30 22 20 74 68 65 6e | 0d 6d 6d 53 74 6f 70 0d |50" then|.mmStop.|
|00004820| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6d 0d 0d 66 |end if.e|nd mm..f|
|00004830| 75 6e 63 74 69 6f 6e 20 | 61 64 64 4d 65 64 69 75 |unction |addMediu|
|00004840| 6d 20 6d 65 64 69 75 6d | 0d 67 6c 6f 62 61 6c 20 |m medium|.global |
|00004850| 6d 65 64 4e 6f 2c 63 68 | 61 6e 67 65 73 2c 6d 65 |medNo,ch|anges,me|
|00004860| 64 44 61 74 61 2c 6f 6c | 64 4d 65 64 44 61 74 61 |dData,ol|dMedData|
|00004870| 2c 75 6e 64 6f 6e 65 0d | 73 65 6e 64 20 64 65 45 |,undone.|send deE|
|00004880| 64 69 74 20 74 6f 20 63 | 64 20 66 6c 64 20 6d 65 |dit to c|d fld me|
|00004890| 64 66 6c 64 0d 70 75 74 | 20 6d 65 64 44 61 74 61 |dfld.put| medData|
|000048a0| 20 69 6e 74 6f 20 6f 6c | 64 4d 65 64 44 61 74 61 | into ol|dMedData|
|000048b0| 0d 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 6d 65 |.if word| 1 of me|
|000048c0| 64 69 75 6d 20 3c 3e 20 | 22 bf 22 20 74 68 65 6e |dium <> |"." then|
|000048d0| 20 70 75 74 20 22 55 6e | 64 6f 20 49 74 65 6d 20 | put "Un|do Item |
|000048e0| 20 20 20 20 20 22 20 69 | 6e 74 6f 20 75 6e 64 6f | " i|nto undo|
|000048f0| 6e 65 0d 69 66 20 6e 6f | 74 20 74 68 65 20 76 69 |ne.if no|t the vi|
|00004900| 73 69 62 6c 65 20 6f 66 | 20 63 64 20 66 6c 64 20 |sible of| cd fld |
|00004910| 6d 65 64 66 6c 64 20 74 | 68 65 6e 20 6e 65 77 4d |medfld t|hen newM|
|00004920| 65 64 69 6f 69 64 0d 70 | 75 74 20 63 20 69 6e 74 |edioid.p|ut c int|
|00004930| 6f 20 6c 69 6e 65 20 6d | 65 64 4e 6f 20 6f 66 20 |o line m|edNo of |
|00004940| 63 68 61 6e 67 65 73 0d | 69 66 20 74 68 65 20 6e |changes.|if the n|
|00004950| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00004960| 66 20 6d 65 64 64 61 74 | 61 20 3d 20 30 20 74 68 |f meddat|a = 0 th|
|00004970| 65 6e 0d 70 75 74 20 31 | 20 69 6e 74 6f 20 69 4c |en.put 1| into iL|
|00004980| 69 6e 65 0d 65 6c 73 65 | 0d 69 66 20 74 68 65 20 |ine.else|.if the |
|00004990| 73 65 6c 65 63 74 65 64 | 4c 69 6e 65 20 69 73 20 |selected|Line is |
|000049a0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 74 |empty th|en.put t|
|000049b0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|000049c0| 65 73 20 6f 66 20 63 64 | 20 66 6c 64 20 6d 65 64 |es of cd| fld med|
|000049d0| 66 6c 64 20 2b 20 31 20 | 69 6e 74 6f 20 69 4c 69 |fld + 1 |into iLi|
|000049e0| 6e 65 0d 65 6c 73 65 0d | 70 75 74 20 77 6f 72 64 |ne.else.|put word|
|000049f0| 20 32 20 6f 66 20 74 68 | 65 20 73 65 6c 65 63 74 | 2 of th|e select|
|00004a00| 65 64 4c 69 6e 65 20 69 | 6e 74 6f 20 69 4c 69 6e |edLine i|nto iLin|
|00004a10| 65 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 6d |e.if wor|d 1 of m|
|00004a20| 65 64 69 75 6d 20 69 73 | 20 22 bf 22 20 74 68 65 |edium is| "." the|
|00004a30| 6e 20 61 64 64 20 31 20 | 74 6f 20 69 4c 69 6e 65 |n add 1 |to iLine|
|00004a40| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 62 65 66 6f |.put ret|urn befo|
|00004a50| 72 65 20 6c 69 6e 65 20 | 69 4c 69 6e 65 20 6f 66 |re line |iLine of|
|00004a60| 20 63 64 20 66 6c 64 20 | 6d 65 64 66 6c 64 0d 70 | cd fld |medfld.p|
|00004a70| 75 74 20 72 65 74 75 72 | 6e 20 62 65 66 6f 72 65 |ut retur|n before|
|00004a80| 20 6c 69 6e 65 20 69 4c | 69 6e 65 20 6f 66 20 6d | line iL|ine of m|
|00004a90| 65 64 64 61 74 61 0d 65 | 6e 64 20 69 66 0d 65 6e |eddata.e|nd if.en|
|00004aa0| 64 20 69 66 0d 70 75 74 | 20 6d 65 64 69 75 6d 20 |d if.put| medium |
|00004ab0| 26 20 73 70 61 63 65 73 | 28 29 20 69 6e 74 6f 20 |& spaces|() into |
|00004ac0| 6c 69 6e 65 20 69 4c 69 | 6e 65 20 6f 66 20 63 64 |line iLi|ne of cd|
|00004ad0| 20 66 6c 64 20 6d 65 64 | 66 6c 64 0d 72 65 74 75 | fld med|fld.retu|
|00004ae0| 72 6e 20 69 4c 69 6e 65 | 0d 65 6e 64 20 61 64 64 |rn iLine|.end add|
|00004af0| 4d 65 64 69 75 6d 0d 0d | 6f 6e 20 6d 6d 53 6f 75 |Medium..|on mmSou|
|00004b00| 6e 64 0d 67 6c 6f 62 61 | 6c 20 6d 6d 53 6f 75 6e |nd.globa|l mmSoun|
|00004b10| 64 73 2c 73 6e 64 53 6f | 75 72 63 65 73 2c 6d 65 |ds,sndSo|urces,me|
|00004b20| 64 44 61 74 61 0d 67 65 | 74 20 74 68 65 20 6c 6f |dData.ge|t the lo|
|00004b30| 63 20 6f 66 20 77 69 6e | 64 6f 77 20 6d 6d 0d 61 |c of win|dow mm.a|
|00004b40| 64 64 20 32 33 20 74 6f | 20 69 74 65 6d 20 31 20 |dd 23 to| item 1 |
|00004b50| 6f 66 20 69 74 0d 67 65 | 74 20 48 50 6f 70 75 70 |of it.ge|t HPopup|
|00004b60| 4d 65 6e 75 28 6d 6d 53 | 6f 75 6e 64 73 2c 30 2c |Menu(mmS|ounds,0,|
|00004b70| 69 74 65 6d 20 32 20 6f | 66 20 69 74 2c 69 74 65 |item 2 o|f it,ite|
|00004b80| 6d 20 31 20 6f 66 20 69 | 74 29 0d 69 66 20 69 74 |m 1 of i|t).if it|
|00004b90| 20 69 73 20 6e 6f 74 20 | 30 20 74 68 65 6e 0d 70 | is not |0 then.p|
|00004ba0| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 69 74 20 |ut item |1 of it |
|00004bb0| 69 6e 74 6f 20 73 6f 75 | 6e 64 4e 6f 0d 67 65 74 |into sou|ndNo.get|
|00004bc0| 20 6c 69 6e 65 20 73 6f | 75 6e 64 4e 6f 20 6f 66 | line so|undNo of|
|00004bd0| 20 6d 6d 53 6f 75 6e 64 | 73 0d 69 66 20 69 74 20 | mmSound|s.if it |
|00004be0| 69 73 20 22 55 73 65 20 | 53 6f 75 6e 64 20 46 69 |is "Use |Sound Fi|
|00004bf0| 6c 65 2e 2e 2e 22 20 74 | 68 65 6e 0d 61 6e 73 77 |le..." t|hen.answ|
|00004c00| 65 72 20 66 69 6c 65 20 | 22 53 65 6c 65 63 74 20 |er file |"Select |
|00004c10| 61 20 53 4f 55 4e 44 20 | 66 69 6c 65 3a 22 0d 69 |a SOUND |file:".i|
|00004c20| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|00004c30| 79 20 74 68 65 6e 0d 70 | 75 74 20 22 53 4e 44 2c |y then.p|ut "SND,|
|00004c40| 22 20 26 20 73 68 6f 72 | 74 4e 61 6d 65 28 69 74 |" & shor|tName(it|
|00004c50| 29 20 26 20 22 2c 22 20 | 26 20 69 74 20 26 20 22 |) & "," |& it & "|
|00004c60| 2c 22 20 26 20 46 69 6c | 65 54 79 70 65 28 69 74 |," & Fil|eType(it|
|00004c70| 29 c2 0d 69 6e 74 6f 20 | 6c 69 6e 65 20 61 64 64 |)..into |line add|
|00004c80| 4d 65 64 69 75 6d 28 22 | c7 22 20 26 26 20 73 68 |Medium("|." && sh|
|00004c90| 6f 72 74 4e 61 6d 65 28 | 69 74 29 29 20 6f 66 20 |ortName(|it)) of |
|00004ca0| 6d 65 64 44 61 74 61 0d | 65 6e 64 20 69 66 0d 65 |medData.|end if.e|
|00004cb0| 6c 73 65 20 69 66 20 69 | 74 20 69 73 20 22 4e 65 |lse if i|t is "Ne|
|00004cc0| 77 20 53 6f 75 6e 64 20 | 46 69 6c 65 2e 2e 2e 22 |w Sound |File..."|
|00004cd0| 20 74 68 65 6e 0d 67 65 | 74 20 6e 65 77 53 6e 64 | then.ge|t newSnd|
|00004ce0| 46 69 6c 65 28 29 0d 69 | 66 20 69 74 20 69 73 20 |File().i|f it is |
|00004cf0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00004d00| 75 74 20 22 53 4e 44 2c | 22 20 26 20 73 68 6f 72 |ut "SND,|" & shor|
|00004d10| 74 4e 61 6d 65 28 69 74 | 29 20 26 20 22 2c 22 20 |tName(it|) & "," |
|00004d20| 26 20 69 74 20 26 20 22 | 2c 22 20 26 20 46 69 6c |& it & "|," & Fil|
|00004d30| 65 54 79 70 65 28 69 74 | 29 c2 0d 69 6e 74 6f 20 |eType(it|)..into |
|00004d40| 6c 69 6e 65 20 61 64 64 | 4d 65 64 69 75 6d 28 22 |line add|Medium("|
|00004d50| c7 22 20 26 26 20 73 68 | 6f 72 74 4e 61 6d 65 28 |." && sh|ortName(|
|00004d60| 69 74 29 29 20 6f 66 20 | 6d 65 64 44 61 74 61 0d |it)) of |medData.|
|00004d70| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 70 75 74 20 |end if.e|lse.put |
|00004d80| 22 53 4e 44 2c 22 20 26 | 20 73 68 6f 72 74 4e 61 |"SND," &| shortNa|
|00004d90| 6d 65 28 69 74 29 20 26 | 20 22 2c 22 20 26 20 6c |me(it) &| "," & l|
|00004da0| 69 6e 65 20 73 6f 75 6e | 64 4e 6f 20 6f 66 20 73 |ine soun|dNo of s|
|00004db0| 6e 64 53 6f 75 72 63 65 | 73 c2 0d 26 20 22 2c 53 |ndSource|s..& ",S|
|00004dc0| 54 41 4b 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 61 |TAK" int|o line a|
|00004dd0| 64 64 4d 65 64 69 75 6d | 28 22 c7 22 20 26 26 20 |ddMedium|("." && |
|00004de0| 69 74 29 20 6f 66 20 6d | 65 64 44 61 74 61 0d 65 |it) of m|edData.e|
|00004df0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00004e00| 20 6d 6d 53 6f 75 6e 64 | 0d 0d 66 75 6e 63 74 69 | mmSound|..functi|
|00004e10| 6f 6e 20 6e 65 77 53 6e | 64 46 69 6c 65 0d 70 75 |on newSn|dFile.pu|
|00004e20| 74 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |t short |name of |
|00004e30| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|00004e40| 73 74 61 63 6b 4e 61 6d | 65 0d 67 65 74 20 74 68 |stackNam|e.get th|
|00004e50| 65 20 72 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 |e rect o|f window|
|00004e60| 20 73 74 61 63 6b 4e 61 | 6d 65 0d 70 75 74 20 28 | stackNa|me.put (|
|00004e70| 69 74 65 6d 20 33 20 6f | 66 20 69 74 20 2d 20 69 |item 3 o|f it - i|
|00004e80| 74 65 6d 20 31 20 6f 66 | 20 69 74 29 2f 32 2b 69 |tem 1 of| it)/2+i|
|00004e90| 74 65 6d 20 31 20 6f 66 | 20 69 74 20 2d 20 31 35 |tem 1 of| it - 15|
|00004ea0| 30 20 69 6e 74 6f c2 0d | 69 74 65 6d 20 31 20 6f |0 into..|item 1 o|
|00004eb0| 66 20 74 68 65 4c 6f 63 | 0d 70 75 74 20 69 74 65 |f theLoc|.put ite|
|00004ec0| 6d 20 32 20 6f 66 20 69 | 74 20 2b 20 31 35 20 69 |m 2 of i|t + 15 i|
|00004ed0| 6e 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 74 68 |nto item| 2 of th|
|00004ee0| 65 4c 6f 63 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |eLoc.put| empty i|
|00004ef0| 6e 74 6f 20 66 69 6c 65 | 4e 61 6d 65 0d 69 66 20 |nto file|Name.if |
|00004f00| 52 65 63 6f 72 64 53 6e | 64 28 74 68 65 4c 6f 63 |RecordSn|d(theLoc|
|00004f10| 2c 6e 65 77 53 6f 75 6e | 64 29 20 69 73 20 54 52 |,newSoun|d) is TR|
|00004f20| 55 45 20 74 68 65 6e 0d | 61 73 6b 20 66 69 6c 65 |UE then.|ask file|
|00004f30| 20 22 53 61 76 65 20 73 | 6f 75 6e 64 20 66 69 6c | "Save s|ound fil|
|00004f40| 65 20 61 73 3a 22 20 77 | 69 74 68 20 22 55 6e 74 |e as:" w|ith "Unt|
|00004f50| 69 74 6c 65 64 20 73 6f | 75 6e 64 22 0d 70 75 74 |itled so|und".put|
|00004f60| 20 69 74 20 69 6e 74 6f | 20 66 69 6c 65 4e 61 6d | it into| fileNam|
|00004f70| 65 0d 69 66 20 66 69 6c | 65 4e 61 6d 65 20 69 73 |e.if fil|eName is|
|00004f80| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00004f90| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 66 69 |if there| is a fi|
|00004fa0| 6c 65 20 66 69 6c 65 4e | 61 6d 65 20 74 68 65 6e |le fileN|ame then|
|00004fb0| 0d 44 65 6c 65 74 65 46 | 69 6c 65 28 66 69 6c 65 |.DeleteF|ile(file|
|00004fc0| 4e 61 6d 65 29 0d 65 6e | 64 20 69 66 0d 43 72 65 |Name).en|d if.Cre|
|00004fd0| 61 74 65 52 65 73 46 69 | 6c 65 28 66 69 6c 65 4e |ateResFi|le(fileN|
|00004fe0| 61 6d 65 29 0d 53 65 74 | 46 69 6c 65 49 6e 66 6f |ame).Set|FileInfo|
|00004ff0| 20 66 69 6c 65 4e 61 6d | 65 2c 6d 6f 76 72 2c 73 | fileNam|e,movr,s|
|00005000| 66 69 6c 0d 70 75 74 20 | 73 68 6f 72 74 4e 61 6d |fil.put |shortNam|
|00005010| 65 28 66 69 6c 65 4e 61 | 6d 65 29 20 69 6e 74 6f |e(fileNa|me) into|
|00005020| 20 73 6e 64 4e 61 6d 65 | 0d 52 65 73 52 65 6e 61 | sndName|.ResRena|
|00005030| 6d 65 20 22 73 6e 64 20 | 22 2c 22 6e 65 77 53 6f |me "snd |","newSo|
|00005040| 75 6e 64 22 2c 73 6e 64 | 4e 61 6d 65 0d 52 65 73 |und",snd|Name.Res|
|00005050| 53 77 69 74 63 68 20 73 | 6e 64 4e 61 6d 65 2c 22 |Switch s|ndName,"|
|00005060| 73 6e 64 20 22 2c 6c 6f | 6e 67 20 6e 61 6d 65 20 |snd ",lo|ng name |
|00005070| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 2c 66 69 |of this |stack,fi|
|00005080| 6c 65 4e 61 6d 65 0d 65 | 6c 73 65 0d 52 65 73 5a |leName.e|lse.ResZ|
|00005090| 61 70 20 6e 65 77 53 6f | 75 6e 64 2c 22 73 6e 64 |ap newSo|und,"snd|
|000050a0| 20 22 2c 6c 6f 6e 67 20 | 6e 61 6d 65 20 6f 66 20 | ",long |name of |
|000050b0| 74 68 69 73 20 73 74 61 | 63 6b 0d 65 6e 64 20 69 |this sta|ck.end i|
|000050c0| 66 0d 65 6c 73 65 0d 52 | 65 73 5a 61 70 20 6e 65 |f.else.R|esZap ne|
|000050d0| 77 53 6f 75 6e 64 2c 22 | 73 6e 64 20 22 2c 6c 6f |wSound,"|snd ",lo|
|000050e0| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |ng name |of this |
|000050f0| 73 74 61 63 6b 0d 65 6e | 64 20 69 66 0d 72 65 74 |stack.en|d if.ret|
|00005100| 75 72 6e 20 66 69 6c 65 | 4e 61 6d 65 0d 65 6e 64 |urn file|Name.end|
|00005110| 20 6e 65 77 53 6e 64 46 | 69 6c 65 0d 0d 6f 6e 20 | newSndF|ile..on |
|00005120| 6d 6d 50 69 63 74 0d 67 | 6c 6f 62 61 6c 20 6d 6d |mmPict.g|lobal mm|
|00005130| 50 69 63 74 73 2c 70 69 | 63 74 53 6f 75 72 63 65 |Picts,pi|ctSource|
|00005140| 73 2c 6d 65 64 44 61 74 | 61 0d 67 65 74 20 74 68 |s,medDat|a.get th|
|00005150| 65 20 6c 6f 63 20 6f 66 | 20 77 69 6e 64 6f 77 20 |e loc of| window |
|00005160| 6d 6d 0d 61 64 64 20 34 | 36 20 74 6f 20 69 74 65 |mm.add 4|6 to ite|
|00005170| 6d 20 31 20 6f 66 20 69 | 74 0d 67 65 74 20 48 50 |m 1 of i|t.get HP|
|00005180| 6f 70 75 70 4d 65 6e 75 | 28 6d 6d 50 69 63 74 73 |opupMenu|(mmPicts|
|00005190| 2c 30 2c 69 74 65 6d 20 | 32 20 6f 66 20 69 74 2c |,0,item |2 of it,|
|000051a0| 69 74 65 6d 20 31 20 6f | 66 20 69 74 29 0d 69 66 |item 1 o|f it).if|
|000051b0| 20 69 74 20 69 73 20 6e | 6f 74 20 30 20 74 68 65 | it is n|ot 0 the|
|000051c0| 6e 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |n.put it|em 1 of |
|000051d0| 69 74 20 69 6e 74 6f 20 | 70 69 63 74 4e 6f 0d 67 |it into |pictNo.g|
|000051e0| 65 74 20 6c 69 6e 65 20 | 28 69 74 65 6d 20 31 20 |et line |(item 1 |
|000051f0| 6f 66 20 69 74 29 20 6f | 66 20 6d 6d 50 69 63 74 |of it) o|f mmPict|
|00005200| 73 0d 69 66 20 69 74 20 | 69 73 20 22 55 73 65 20 |s.if it |is "Use |
|00005210| 50 69 63 74 75 72 65 20 | 46 69 6c 65 2e 2e 2e 22 |Picture |File..."|
|00005220| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 66 69 6c | then.an|swer fil|
|00005230| 65 20 22 53 65 6c 65 63 | 74 20 61 20 50 49 43 54 |e "Selec|t a PICT|
|00005240| 55 52 45 20 66 69 6c 65 | 3a 22 20 6f 66 20 74 79 |URE file|:" of ty|
|00005250| 70 65 20 50 49 43 54 0d | 69 66 20 69 74 20 69 73 |pe PICT.|if it is|
|00005260| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00005270| 70 75 74 20 22 50 49 43 | 54 2c 31 30 30 2c 31 30 |put "PIC|T,100,10|
|00005280| 30 2c 22 20 26 20 73 68 | 6f 72 74 4e 61 6d 65 28 |0," & sh|ortName(|
|00005290| 69 74 29 20 26 20 22 2c | 22 20 26 20 69 74 20 26 |it) & ",|" & it &|
|000052a0| c2 0d 22 2c 50 49 43 54 | 2c 72 65 63 74 2c 74 72 |..",PICT|,rect,tr|
|000052b0| 75 65 2c 2c 74 72 75 65 | 2c 22 c2 0d 69 6e 74 6f |ue,,true|,"..into|
|000052c0| 20 6c 69 6e 65 20 61 64 | 64 4d 65 64 69 75 6d 28 | line ad|dMedium(|
|000052d0| 22 c6 22 20 26 26 20 73 | 68 6f 72 74 4e 61 6d 65 |"." && s|hortName|
|000052e0| 28 69 74 29 29 20 6f 66 | 20 6d 65 64 44 61 74 61 |(it)) of| medData|
|000052f0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 70 75 74 |.end if.|else.put|
|00005300| 20 6c 69 6e 65 20 70 69 | 63 74 4e 6f 20 6f 66 20 | line pi|ctNo of |
|00005310| 70 69 63 74 53 6f 75 72 | 63 65 73 20 69 6e 74 6f |pictSour|ces into|
|00005320| 20 74 68 65 46 69 6c 65 | 0d 70 75 74 20 22 50 49 | theFile|.put "PI|
|00005330| 43 54 2c 31 30 30 2c 31 | 30 30 2c 22 20 26 20 73 |CT,100,1|00," & s|
|00005340| 68 6f 72 74 4e 61 6d 65 | 28 69 74 29 20 26 20 22 |hortName|(it) & "|
|00005350| 2c 22 20 26 20 74 68 65 | 46 69 6c 65 c2 0d 26 20 |," & the|File..& |
|00005360| 22 2c 22 20 26 20 66 69 | 6c 65 54 79 70 65 28 74 |"," & fi|leType(t|
|00005370| 68 65 46 69 6c 65 29 20 | 26 20 22 2c 72 65 63 74 |heFile) |& ",rect|
|00005380| 2c 74 72 75 65 2c 2c 74 | 72 75 65 2c 22 c2 0d 69 |,true,,t|rue,"..i|
|00005390| 6e 74 6f 20 6c 69 6e 65 | 20 61 64 64 4d 65 64 69 |nto line| addMedi|
|000053a0| 75 6d 28 22 c6 22 20 26 | 26 20 69 74 29 20 6f 66 |um("." &|& it) of|
|000053b0| 20 6d 65 64 44 61 74 61 | 0d 65 6e 64 20 69 66 0d | medData|.end if.|
|000053c0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6d 50 69 63 |end if.e|nd mmPic|
|000053d0| 74 0d 0d 6f 6e 20 6d 6d | 46 69 65 6c 64 0d 67 6c |t..on mm|Field.gl|
|000053e0| 6f 62 61 6c 20 6d 65 64 | 44 61 74 61 2c 65 64 69 |obal med|Data,edi|
|000053f0| 74 4c 69 6e 65 0d 70 75 | 74 20 22 55 73 65 20 54 |tLine.pu|t "Use T|
|00005400| 65 78 74 20 46 69 6c 65 | 2e 2e 2e 22 20 26 20 72 |ext File|..." & r|
|00005410| 65 74 75 72 6e 20 26 20 | 22 45 6e 74 65 72 20 54 |eturn & |"Enter T|
|00005420| 65 78 74 20 4e 6f 77 2e | 2e 2e 22 20 69 6e 74 6f |ext Now.|.." into|
|00005430| 20 70 6f 70 6d 65 6e 75 | 0d 67 65 74 20 74 68 65 | popmenu|.get the|
|00005440| 20 6c 6f 63 20 6f 66 20 | 77 69 6e 64 6f 77 20 6d | loc of |window m|
|00005450| 6d 0d 61 64 64 20 36 39 | 20 74 6f 20 69 74 65 6d |m.add 69| to item|
|00005460| 20 31 20 6f 66 20 69 74 | 0d 67 65 74 20 48 50 6f | 1 of it|.get HPo|
|00005470| 70 55 70 4d 65 6e 75 28 | 70 6f 70 4d 65 6e 75 2c |pUpMenu(|popMenu,|
|00005480| 30 2c 69 74 65 6d 20 32 | 20 6f 66 20 69 74 2c 69 |0,item 2| of it,i|
|00005490| 74 65 6d 20 31 20 6f 66 | 20 69 74 29 0d 69 66 20 |tem 1 of| it).if |
|000054a0| 69 74 20 69 73 20 6e 6f | 74 20 30 20 74 68 65 6e |it is no|t 0 then|
|000054b0| 0d 63 6c 65 61 72 45 64 | 69 74 46 69 65 6c 64 0d |.clearEd|itField.|
|000054c0| 69 66 20 69 74 20 69 73 | 20 22 32 2c 31 22 20 74 |if it is| "2,1" t|
|000054d0| 68 65 6e 0d 70 75 74 20 | 61 64 64 4d 65 64 69 75 |hen.put |addMediu|
|000054e0| 6d 28 22 b6 22 20 26 26 | 20 22 55 6e 74 69 74 6c |m("." &&| "Untitl|
|000054f0| 65 64 22 29 20 69 6e 74 | 6f 20 65 64 69 74 4c 69 |ed") int|o editLi|
|00005500| 6e 65 0d 70 75 74 20 22 | 46 49 45 4c 44 2c 55 6e |ne.put "|FIELD,Un|
|00005510| 74 69 74 6c 65 64 2c 22 | 20 26 20 52 65 73 47 65 |titled,"| & ResGe|
|00005520| 74 28 22 66 69 65 6c 64 | 22 2c 46 6f 66 66 29 c2 |t("field|",Foff).|
|00005530| 0d 69 6e 74 6f 20 6c 69 | 6e 65 20 65 64 69 74 4c |.into li|ne editL|
|00005540| 69 6e 65 20 6f 66 20 6d | 65 64 44 61 74 61 0d 73 |ine of m|edData.s|
|00005550| 65 6e 64 20 65 64 69 74 | 4d 65 64 69 75 6d 20 74 |end edit|Medium t|
|00005560| 6f 20 62 61 63 6b 67 72 | 6f 75 6e 64 0d 65 6c 73 |o backgr|ound.els|
|00005570| 65 0d 61 6e 73 77 65 72 | 20 66 69 6c 65 20 22 53 |e.answer| file "S|
|00005580| 65 6c 65 63 74 20 61 20 | 54 45 58 54 20 66 69 6c |elect a |TEXT fil|
|00005590| 65 3a 22 20 6f 66 20 74 | 79 70 65 20 54 45 58 54 |e:" of t|ype TEXT|
|000055a0| 0d 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 65 6d |.if it i|s not em|
|000055b0| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 61 64 64 |pty then|.put add|
|000055c0| 4d 65 64 69 75 6d 28 22 | b6 22 20 26 26 20 73 68 |Medium("|." && sh|
|000055d0| 6f 72 74 4e 61 6d 65 28 | 69 74 29 29 20 69 6e 74 |ortName(|it)) int|
|000055e0| 6f 20 65 64 69 74 4c 69 | 6e 65 0d 70 75 74 20 22 |o editLi|ne.put "|
|000055f0| 46 49 45 4c 44 2c 22 20 | 26 20 73 68 6f 72 74 4e |FIELD," |& shortN|
|00005600| 61 6d 65 28 69 74 29 20 | 26 20 22 2c 22 20 26 20 |ame(it) |& "," & |
|00005610| 52 65 73 47 65 74 28 22 | 66 69 65 6c 64 22 2c 46 |ResGet("|field",F|
|00005620| 6f 66 66 29 20 26 c2 0d | 22 2c 2c 74 65 78 74 46 |off) &..|",,textF|
|00005630| 69 6c 65 2c 22 20 26 20 | 69 74 20 69 6e 74 6f 20 |ile," & |it into |
|00005640| 6c 69 6e 65 20 65 64 69 | 74 4c 69 6e 65 20 6f 66 |line edi|tLine of|
|00005650| 20 6d 65 64 44 61 74 61 | 0d 73 65 6e 64 20 65 64 | medData|.send ed|
|00005660| 69 74 4d 65 64 69 75 6d | 20 74 6f 20 62 61 63 6b |itMedium| to back|
|00005670| 67 72 6f 75 6e 64 0d 65 | 6e 64 20 69 66 0d 65 6e |ground.e|nd if.en|
|00005680| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00005690| 6d 6d 46 69 65 6c 64 0d | 0d 6f 6e 20 6d 6d 4d 6f |mmField.|.on mmMo|
|000056a0| 76 69 65 0d 67 6c 6f 62 | 61 6c 20 6d 65 64 44 61 |vie.glob|al medDa|
|000056b0| 74 61 0d 61 6e 73 77 65 | 72 20 66 69 6c 65 20 22 |ta.answe|r file "|
|000056c0| 53 65 6c 65 63 74 20 61 | 20 4d 4f 56 49 45 3a 22 |Select a| MOVIE:"|
|000056d0| 20 6f 66 20 74 79 70 65 | 20 22 4d 6f 6f 56 22 0d | of type| "MooV".|
|000056e0| 69 66 20 69 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |if it is| not emp|
|000056f0| 74 79 20 74 68 65 6e 0d | 70 75 74 20 22 4d 4f 56 |ty then.|put "MOV|
|00005700| 49 45 2c 30 2c 34 30 2c | 22 20 26 20 69 74 20 26 |IE,0,40,|" & it &|
|00005710| 20 22 2c 70 6c 61 69 6e | 2c 77 61 69 74 2c 2c 22 | ",plain|,wait,,"|
|00005720| 20 69 6e 74 6f 20 6c 69 | 6e 65 c2 0d 61 64 64 4d | into li|ne..addM|
|00005730| 65 64 69 75 6d 28 22 b4 | 22 20 26 26 20 73 68 6f |edium(".|" && sho|
|00005740| 72 74 4e 61 6d 65 28 69 | 74 29 29 20 6f 66 20 6d |rtName(i|t)) of m|
|00005750| 65 64 44 61 74 61 0d 65 | 6e 64 20 69 66 0d 65 6e |edData.e|nd if.en|
|00005760| 64 20 6d 6d 4d 6f 76 69 | 65 0d 0d 6f 6e 20 6d 6d |d mmMovi|e..on mm|
|00005770| 44 65 6c 61 79 0d 67 6c | 6f 62 61 6c 20 6d 65 64 |Delay.gl|obal med|
|00005780| 44 61 74 61 0d 67 65 74 | 20 61 6e 73 77 65 72 44 |Data.get| answerD|
|00005790| 6c 6f 67 28 33 30 30 29 | 0d 69 66 20 69 74 20 69 |log(300)|.if it i|
|000057a0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 61 6e 64 20 |s not em|pty and |
|000057b0| 69 74 20 69 73 20 6e 6f | 74 20 63 61 6e 63 65 6c |it is no|t cancel|
|000057c0| 20 74 68 65 6e 0d 70 75 | 74 20 22 44 45 4c 41 59 | then.pu|t "DELAY|
|000057d0| 2c 22 20 26 20 69 74 20 | 69 6e 74 6f 20 6c 69 6e |," & it |into lin|
|000057e0| 65 20 61 64 64 4d 65 64 | 69 75 6d 28 22 b5 22 20 |e addMed|ium("." |
|000057f0| 26 26 20 69 74 29 20 6f | 66 20 6d 65 64 44 61 74 |&& it) o|f medDat|
|00005800| 61 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 6d 44 |a.end if|.end mmD|
|00005810| 65 6c 61 79 0d 0d 6f 6e | 20 6d 6d 4f 4b 0d 67 6c |elay..on| mmOK.gl|
|00005820| 6f 62 61 6c 20 6d 65 64 | 44 61 74 61 0d 70 75 74 |obal med|Data.put|
|00005830| 20 22 4f 4b 2c 34 37 36 | 2c 33 31 37 22 20 69 6e | "OK,476|,317" in|
|00005840| 74 6f 20 6c 69 6e 65 20 | 61 64 64 4d 65 64 69 75 |to line |addMediu|
|00005850| 6d 28 22 be 22 29 20 6f | 66 20 6d 65 64 44 61 74 |m(".") o|f medDat|
|00005860| 61 0d 65 6e 64 20 6d 6d | 4f 4b 0d 0d 6f 6e 20 6d |a.end mm|OK..on m|
|00005870| 6d 41 75 64 69 6f 52 65 | 73 70 0d 67 6c 6f 62 61 |mAudioRe|sp.globa|
|00005880| 6c 20 6d 65 64 44 61 74 | 61 2c 65 64 69 74 4c 69 |l medDat|a,editLi|
|00005890| 6e 65 0d 67 65 74 20 73 | 65 74 75 70 4d 69 63 52 |ne.get s|etupMicR|
|000058a0| 65 73 70 28 31 2c 31 29 | 0d 69 66 20 69 74 65 6d |esp(1,1)|.if item|
|000058b0| 20 33 20 6f 66 20 69 74 | 20 69 73 20 6e 6f 74 20 | 3 of it| is not |
|000058c0| 65 6d 70 74 79 20 61 6e | 64 20 69 74 20 69 73 20 |empty an|d it is |
|000058d0| 6e 6f 74 20 43 61 6e 63 | 65 6c 20 74 68 65 6e 0d |not Canc|el then.|
|000058e0| 70 75 74 20 61 64 64 4d | 65 64 69 75 6d 28 22 b7 |put addM|edium(".|
|000058f0| 22 20 26 26 20 69 74 65 | 6d 20 33 20 6f 66 20 69 |" && ite|m 3 of i|
|00005900| 74 29 20 69 6e 74 6f 20 | 65 64 69 74 4c 69 6e 65 |t) into |editLine|
|00005910| 0d 70 75 74 20 22 52 45 | 43 4f 52 44 2c 22 20 26 |.put "RE|CORD," &|
|00005920| 20 69 74 65 6d 20 31 20 | 74 6f 20 32 20 6f 66 20 | item 1 |to 2 of |
|00005930| 69 74 20 26 20 22 2c 34 | 37 36 2c 33 31 35 2c 2c |it & ",4|76,315,,|
|00005940| 2c 22 20 26 20 69 74 65 | 6d 20 33 20 6f 66 20 69 |," & ite|m 3 of i|
|00005950| 74 20 69 6e 74 6f c2 0d | 6c 69 6e 65 20 65 64 69 |t into..|line edi|
|00005960| 74 4c 69 6e 65 20 6f 66 | 20 6d 65 64 44 61 74 61 |tLine of| medData|
|00005970| 0d 73 65 6e 64 20 63 68 | 65 63 6b 4d 61 6e 75 61 |.send ch|eckManua|
|00005980| 6c 20 74 6f 20 63 64 20 | 66 6c 64 20 6d 65 64 66 |l to cd |fld medf|
|00005990| 6c 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6d 6d |ld.end i|f.end mm|
|000059a0| 41 75 64 69 6f 52 65 73 | 70 0d 0d 6f 6e 20 6d 6d |AudioRes|p..on mm|
|000059b0| 52 65 70 6c 61 79 0d 67 | 6c 6f 62 61 6c 20 6d 65 |Replay.g|lobal me|
|000059c0| 64 44 61 74 61 2c 63 75 | 72 73 6f 72 2c 6d 65 64 |dData,cu|rsor,med|
|000059d0| 4e 6f 0d 70 75 74 20 72 | 65 70 6c 61 79 20 69 6e |No.put r|eplay in|
|000059e0| 74 6f 20 63 75 72 73 6f | 72 0d 69 66 20 74 68 65 |to curso|r.if the|
|000059f0| 20 73 65 6c 65 63 74 65 | 64 46 69 65 6c 64 20 69 | selecte|dField i|
|00005a00| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00005a10| 0d 69 66 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |.if the |name of |
|00005a20| 74 68 65 20 73 65 6c 65 | 63 74 65 64 46 69 65 6c |the sele|ctedFiel|
|00005a30| 64 20 63 6f 6e 74 61 69 | 6e 73 20 22 6d 65 64 66 |d contai|ns "medf|
|00005a40| 6c 64 22 0d 74 68 65 6e | 20 73 65 6e 64 20 6d 6f |ld".then| send mo|
|00005a50| 75 73 65 55 70 20 74 6f | 20 63 64 20 66 6c 64 20 |useUp to| cd fld |
|00005a60| 6d 65 64 66 6c 64 0d 65 | 6e 64 20 69 66 0d 70 75 |medfld.e|nd if.pu|
|00005a70| 74 20 22 52 45 50 4c 41 | 59 2c 31 30 30 2c 31 30 |t "REPLA|Y,100,10|
|00005a80| 30 22 20 69 6e 74 6f 20 | 6c 69 6e 65 20 61 64 64 |0" into |line add|
|00005a90| 4d 65 64 69 75 6d 28 22 | ba 22 29 20 6f 66 20 6d |Medium("|.") of m|
|00005aa0| 65 64 44 61 74 61 0d 53 | 65 74 43 75 72 73 6f 72 |edData.S|etCursor|
|00005ab0| 20 72 65 70 6c 61 79 0d | 65 6e 64 20 6d 6d 52 65 | replay.|end mmRe|
|00005ac0| 70 6c 61 79 0d 0d 6f 6e | 20 6d 6d 4b 65 79 52 65 |play..on| mmKeyRe|
|00005ad0| 73 70 0d 67 6c 6f 62 61 | 6c 20 6d 65 64 44 61 74 |sp.globa|l medDat|
|00005ae0| 61 2c 65 64 69 74 4c 69 | 6e 65 0d 67 65 74 20 53 |a,editLi|ne.get S|
|00005af0| 65 74 55 70 52 65 73 70 | 28 29 0d 69 66 20 69 74 |etUpResp|().if it|
|00005b00| 20 69 73 20 6e 6f 74 20 | 43 61 6e 63 65 6c 20 61 | is not |Cancel a|
|00005b10| 6e 64 20 73 70 61 63 65 | 53 74 72 69 70 28 69 74 |nd space|Strip(it|
|00005b20| 65 6d 20 33 20 6f 66 20 | 69 74 29 20 69 73 20 6e |em 3 of |it) is n|
|00005b30| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |ot empty| then.pu|
|00005b40| 74 20 22 31 30 30 2c 31 | 30 30 2c 22 20 62 65 66 |t "100,1|00," bef|
|00005b50| 6f 72 65 20 69 74 65 6d | 20 33 20 6f 66 20 69 74 |ore item| 3 of it|
|00005b60| 0d 70 75 74 20 61 64 64 | 4d 65 64 69 75 6d 28 22 |.put add|Medium("|
|00005b70| b9 22 26 26 69 74 65 6d | 20 35 20 6f 66 20 69 74 |."&&item| 5 of it|
|00005b80| 29 20 69 6e 74 6f 20 65 | 64 69 74 4c 69 6e 65 0d |) into e|ditLine.|
|00005b90| 70 75 74 20 22 4b 45 59 | 52 45 53 50 4f 4e 53 45 |put "KEY|RESPONSE|
|00005ba0| 2c 22 20 26 20 69 74 20 | 69 6e 74 6f 20 6c 69 6e |," & it |into lin|
|00005bb0| 65 20 65 64 69 74 4c 69 | 6e 65 20 6f 66 20 6d 65 |e editLi|ne of me|
|00005bc0| 64 44 61 74 61 0d 69 66 | 20 69 74 65 6d 20 32 20 |dData.if| item 2 |
|00005bd0| 6f 66 20 69 74 3d 32 20 | 74 68 65 6e 0d 73 65 6e |of it=2 |then.sen|
|00005be0| 64 20 70 6f 73 6e 4b 65 | 79 52 65 73 70 20 74 6f |d posnKe|yResp to|
|00005bf0| 20 63 64 20 66 6c 64 20 | 6d 65 64 66 6c 64 0d 65 | cd fld |medfld.e|
|00005c00| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005c10| 20 6d 6d 4b 65 79 52 65 | 73 70 0d 0d 6f 6e 20 6d | mmKeyRe|sp..on m|
|00005c20| 6d 48 61 6e 64 6c 65 72 | 0d 67 6c 6f 62 61 6c 20 |mHandler|.global |
|00005c30| 6d 65 64 44 61 74 61 0d | 67 65 74 20 61 6e 73 77 |medData.|get answ|
|00005c40| 65 72 64 6c 6f 67 28 33 | 30 33 29 0d 69 66 20 69 |erdlog(3|03).if i|
|00005c50| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 61 |t is not| empty a|
|00005c60| 6e 64 20 69 74 20 69 73 | 20 6e 6f 74 20 43 61 6e |nd it is| not Can|
|00005c70| 63 65 6c 20 74 68 65 6e | 0d 70 75 74 20 22 48 41 |cel then|.put "HA|
|00005c80| 4e 44 4c 45 52 2c 22 20 | 26 20 69 74 20 69 6e 74 |NDLER," |& it int|
|00005c90| 6f 20 6c 69 6e 65 20 61 | 64 64 4d 65 64 69 75 6d |o line a|ddMedium|
|00005ca0| 28 22 c3 22 20 26 26 20 | 69 74 29 20 6f 66 20 6d |("." && |it) of m|
|00005cb0| 65 64 44 61 74 61 0d 65 | 6e 64 20 69 66 0d 65 6e |edData.e|nd if.en|
|00005cc0| 64 20 6d 6d 48 61 6e 64 | 6c 65 72 0d 0d 6f 6e 20 |d mmHand|ler..on |
|00005cd0| 6d 6d 4d 65 64 69 6f 69 | 64 0d 67 6c 6f 62 61 6c |mmMedioi|d.global|
|00005ce0| 20 6d 65 64 44 61 74 61 | 0d 61 6e 73 77 65 72 20 | medData|.answer |
|00005cf0| 66 69 6c 65 20 22 53 65 | 6c 65 63 74 20 61 20 4d |file "Se|lect a M|
|00005d00| 45 44 49 4f 49 44 3a 22 | 20 6f 66 20 74 79 70 65 |EDIOID:"| of type|
|00005d10| 20 54 45 58 54 0d 69 66 | 20 69 74 20 69 73 20 6e | TEXT.if| it is n|
|00005d20| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |ot empty| then.pu|
|00005d30| 74 20 22 4d 45 44 2c 22 | 20 26 20 69 74 20 69 6e |t "MED,"| & it in|
|00005d40| 74 6f 20 6c 69 6e 65 20 | 61 64 64 4d 65 64 69 75 |to line |addMediu|
|00005d50| 6d 28 22 c4 22 20 26 26 | 20 73 68 6f 72 74 4e 61 |m("." &&| shortNa|
|00005d60| 6d 65 28 69 74 29 29 20 | 6f 66 20 6d 65 64 44 61 |me(it)) |of medDa|
|00005d70| 74 61 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6d 6d |ta.end i|f.end mm|
|00005d80| 4d 65 64 69 6f 69 64 0d | 0d 6f 6e 20 6d 6d 4b 69 |Medioid.|.on mmKi|
|00005d90| 6c 6c 0d 67 6c 6f 62 61 | 6c 20 63 75 72 73 6f 72 |ll.globa|l cursor|
|00005da0| 0d 70 75 74 20 67 75 6e | 20 69 6e 74 6f 20 63 75 |.put gun| into cu|
|00005db0| 72 73 6f 72 0d 69 66 20 | 74 68 65 20 73 65 6c 65 |rsor.if |the sele|
|00005dc0| 63 74 65 64 46 69 65 6c | 64 20 69 73 20 6e 6f 74 |ctedFiel|d is not|
|00005dd0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 69 66 20 74 | empty t|hen.if t|
|00005de0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 73 |he name |of the s|
|00005df0| 65 6c 65 63 74 65 64 46 | 69 65 6c 64 20 63 6f 6e |electedF|ield con|
|00005e00| 74 61 69 6e 73 20 22 4d | 65 64 66 6c 64 22 20 74 |tains "M|edfld" t|
|00005e10| 68 65 6e 0d 73 65 6e 64 | 20 6d 6f 75 73 65 55 70 |hen.send| mouseUp|
|00005e20| 20 74 6f 20 63 64 20 66 | 6c 64 20 6d 65 64 66 6c | to cd f|ld medfl|
|00005e30| 64 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 53 65 |d.end if|.else.Se|
|00005e40| 74 43 75 72 73 6f 72 20 | 67 75 6e 0d 65 6e 64 20 |tCursor |gun.end |
|00005e50| 69 66 0d 65 6e 64 20 6d | 6d 4b 69 6c 6c 0d 0d 6f |if.end m|mKill..o|
|00005e60| 6e 20 6d 6d 48 61 6e 64 | 0d 67 6c 6f 62 61 6c 20 |n mmHand|.global |
|00005e70| 63 75 72 73 6f 72 0d 70 | 75 74 20 65 6d 70 74 79 |cursor.p|ut empty|
|00005e80| 20 69 6e 74 6f 20 63 75 | 72 73 6f 72 0d 53 65 74 | into cu|rsor.Set|
|00005e90| 43 75 72 73 6f 72 20 68 | 61 6e 64 0d 63 68 6f 6f |Cursor h|and.choo|
|00005ea0| 73 65 20 62 72 6f 77 73 | 65 20 74 6f 6f 6c 0d 65 |se brows|e tool.e|
|00005eb0| 6e 64 20 6d 6d 48 61 6e | 64 0d 0d 6f 6e 20 6d 6d |nd mmHan|d..on mm|
|00005ec0| 53 74 61 63 6b 0d 67 6c | 6f 62 61 6c 20 73 74 61 |Stack.gl|obal sta|
|00005ed0| 63 6b 4e 6f 2c 6d 6d 53 | 6f 75 6e 64 73 2c 73 6e |ckNo,mmS|ounds,sn|
|00005ee0| 64 53 6f 75 72 63 65 73 | 2c 6d 6d 50 69 63 74 73 |dSources|,mmPicts|
|00005ef0| 2c 70 69 63 74 53 6f 75 | 72 63 65 73 2c 73 63 72 |,pictSou|rces,scr|
|00005f00| 65 65 6e 53 69 7a 65 0d | 69 66 20 74 6f 6f 4d 61 |eenSize.|if tooMa|
|00005f10| 6e 79 28 29 20 74 68 65 | 6e 20 65 78 69 74 20 6d |ny() the|n exit m|
|00005f20| 6d 53 74 61 63 6b 0d 61 | 6e 73 77 65 72 20 66 69 |mStack.a|nswer fi|
|00005f30| 6c 65 20 22 53 65 6c 65 | 63 74 20 61 20 73 74 61 |le "Sele|ct a sta|
|00005f40| 63 6b 3a 22 20 6f 66 20 | 74 79 70 65 20 22 53 54 |ck:" of |type "ST|
|00005f50| 41 43 4b 22 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |ACK".put| it into|
|00005f60| 20 73 74 61 63 6b 4e 61 | 6d 65 0d 69 66 20 74 68 | stackNa|me.if th|
|00005f70| 65 20 73 74 61 63 6b 73 | 49 6e 55 73 65 20 63 6f |e stacks|InUse co|
|00005f80| 6e 74 61 69 6e 73 20 73 | 74 61 63 6b 4e 61 6d 65 |ntains s|tackName|
|00005f90| 20 6f 72 c2 0d 6c 6f 6e | 67 20 6e 61 6d 65 20 6f | or..lon|g name o|
|00005fa0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 63 6f 6e |f this s|tack con|
|00005fb0| 74 61 69 6e 73 20 73 74 | 61 63 6b 4e 61 6d 65 20 |tains st|ackName |
|00005fc0| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 43 61 6e |then.ans|wer "Can|
|00005fd0| 27 74 20 69 6d 70 6f 72 | 74 20 74 68 69 73 20 73 |'t impor|t this s|
|00005fe0| 74 61 63 6b 22 0d 65 78 | 69 74 20 6d 6d 53 74 61 |tack".ex|it mmSta|
|00005ff0| 63 6b 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 74 72 |ck.end i|f.put tr|
|00006000| 75 65 20 69 6e 74 6f 20 | 73 74 61 63 6b 4e 6f 74 |ue into |stackNot|
|00006010| 56 69 73 69 62 6c 65 0d | 72 65 70 65 61 74 20 77 |Visible.|repeat w|
|00006020| 69 74 68 20 73 74 61 63 | 6b 4e 6f 20 3d 20 31 20 |ith stac|kNo = 1 |
|00006030| 74 6f 20 31 30 0d 70 75 | 74 20 22 73 74 61 63 6b |to 10.pu|t "stack|
|00006040| 22 20 26 20 73 74 61 63 | 6b 4e 6f 20 69 6e 74 6f |" & stac|kNo into|
|00006050| 20 70 69 63 74 4e 61 6d | 65 0d 69 66 20 74 68 65 | pictNam|e.if the|
|00006060| 72 65 20 69 73 20 6e 6f | 20 77 69 6e 64 6f 77 20 |re is no| window |
|00006070| 70 69 63 74 4e 61 6d 65 | 20 74 68 65 6e 20 65 78 |pictName| then ex|
|00006080| 69 74 20 72 65 70 65 61 | 74 0d 69 66 20 6c 69 6e |it repea|t.if lin|
|00006090| 65 20 32 20 6f 66 20 63 | 64 20 66 6c 64 20 70 69 |e 2 of c|d fld pi|
|000060a0| 63 74 4e 61 6d 65 20 3d | 20 73 74 61 63 6b 4e 61 |ctName =| stackNa|
|000060b0| 6d 65 20 74 68 65 6e 0d | 70 75 74 20 66 61 6c 73 |me then.|put fals|
|000060c0| 65 20 69 6e 74 6f 20 73 | 74 61 63 6b 4e 6f 74 56 |e into s|tackNotV|
|000060d0| 69 73 69 62 6c 65 0d 65 | 6e 64 20 69 66 0d 65 6e |isible.e|nd if.en|
|000060e0| 64 20 72 65 70 65 61 74 | 0d 69 66 20 73 74 61 63 |d repeat|.if stac|
|000060f0| 6b 4e 6f 20 3d 20 31 30 | 20 74 68 65 6e 0d 61 6e |kNo = 10| then.an|
|00006100| 73 77 65 72 20 22 4d 61 | 78 69 6d 75 6d 20 73 74 |swer "Ma|ximum st|
|00006110| 61 63 6b 20 6c 69 6d 69 | 74 20 72 65 61 63 68 65 |ack limi|t reache|
|00006120| 64 22 0d 65 78 69 74 20 | 6d 6d 53 74 61 63 6b 0d |d".exit |mmStack.|
|00006130| 65 6e 64 20 69 66 0d 69 | 66 20 69 74 20 69 73 20 |end if.i|f it is |
|00006140| 6e 6f 74 20 65 6d 70 74 | 79 20 61 6e 64 20 73 74 |not empt|y and st|
|00006150| 61 63 6b 4e 6f 74 56 69 | 73 69 62 6c 65 20 74 68 |ackNotVi|sible th|
|00006160| 65 6e 0d 70 69 63 74 75 | 72 65 20 70 69 63 74 4e |en.pictu|re pictN|
|00006170| 61 6d 65 2c 72 65 73 6f | 75 72 63 65 2c 72 65 63 |ame,reso|urce,rec|
|00006180| 74 2c 66 61 6c 73 65 0d | 69 66 20 73 63 72 65 65 |t,false.|if scree|
|00006190| 6e 53 69 7a 65 20 3d 20 | 31 20 74 68 65 6e 0d 73 |nSize = |1 then.s|
|000061a0| 65 74 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 77 |et the r|ect of w|
|000061b0| 69 6e 64 6f 77 20 70 69 | 63 74 4e 61 6d 65 20 74 |indow pi|ctName t|
|000061c0| 6f 20 22 34 31 37 2c 31 | 2c 34 33 31 2c 31 31 22 |o "417,1|,431,11"|
|000061d0| 0d 65 6c 73 65 20 69 66 | 20 73 63 72 65 65 6e 53 |.else if| screenS|
|000061e0| 69 7a 65 20 3d 20 32 20 | 74 68 65 6e 0d 73 65 74 |ize = 2 |then.set|
|000061f0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 77 69 6e | the rec|t of win|
|00006200| 64 6f 77 20 70 69 63 74 | 4e 61 6d 65 20 74 6f 20 |dow pict|Name to |
|00006210| 22 34 31 37 2c 31 2c 34 | 33 31 2c 31 31 22 0d 65 |"417,1,4|31,11".e|
|00006220| 6c 73 65 20 69 66 20 73 | 63 72 65 65 6e 53 69 7a |lse if s|creenSiz|
|00006230| 65 20 3d 20 33 20 74 68 | 65 6e 0d 73 65 74 20 74 |e = 3 th|en.set t|
|00006240| 68 65 20 72 65 63 74 20 | 6f 66 20 77 69 6e 64 6f |he rect |of windo|
|00006250| 77 20 70 69 63 74 4e 61 | 6d 65 20 74 6f 20 22 35 |w pictNa|me to "5|
|00006260| 32 35 2c 32 36 2c 35 33 | 39 2c 33 36 22 0d 65 6c |25,26,53|9,36".el|
|00006270| 73 65 0d 73 65 74 20 74 | 68 65 20 72 65 63 74 20 |se.set t|he rect |
|00006280| 6f 66 20 77 69 6e 64 6f | 77 20 70 69 63 74 4e 61 |of windo|w pictNa|
|00006290| 6d 65 20 74 6f 20 22 35 | 35 32 2c 32 30 2c 35 36 |me to "5|52,20,56|
|000062a0| 36 2c 33 30 22 0d 65 6e | 64 20 69 66 0d 69 66 20 |6,30".en|d if.if |
|000062b0| 73 74 61 63 6b 4e 6f 20 | 3e 20 31 20 74 68 65 6e |stackNo |> 1 then|
|000062c0| 0d 70 75 74 20 22 73 74 | 61 63 6b 22 20 26 20 73 |.put "st|ack" & s|
|000062d0| 74 61 63 6b 4e 6f 20 2d | 20 31 20 69 6e 74 6f 20 |tackNo -| 1 into |
|000062e0| 70 72 65 76 50 69 63 74 | 4e 61 6d 65 0d 67 65 74 |prevPict|Name.get|
|000062f0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 77 69 6e 64 | the loc| of wind|
|00006300| 6f 77 20 70 72 65 76 50 | 69 63 74 4e 61 6d 65 0d |ow prevP|ictName.|
|00006310| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 77 |set the |loc of w|
|00006320| 69 6e 64 6f 77 20 70 69 | 63 74 4e 61 6d 65 20 74 |indow pi|ctName t|
|00006330| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 69 74 2c 20 |o item 1| of it, |
|00006340| 69 74 65 6d 20 32 20 6f | 66 20 69 74 20 2b 20 31 |item 2 o|f it + 1|
|00006350| 31 0d 65 6e 64 20 69 66 | 0d 6c 6f 63 6b 20 73 63 |1.end if|.lock sc|
|00006360| 72 65 65 6e 0d 73 68 6f | 77 20 63 64 20 66 6c 64 |reen.sho|w cd fld|
|00006370| 20 73 74 61 63 6b 31 0d | 69 66 20 73 74 61 63 6b | stack1.|if stack|
|00006380| 4e 6f 20 69 73 20 31 20 | 74 68 65 6e 0d 70 75 74 |No is 1 |then.put|
|00006390| 20 73 74 61 63 6b 31 20 | 69 6e 74 6f 20 70 69 63 | stack1 |into pic|
|000063a0| 74 4e 61 6d 65 0d 65 6c | 73 65 0d 73 65 6c 65 63 |tName.el|se.selec|
|000063b0| 74 20 63 64 20 66 6c 64 | 20 73 74 61 63 6b 31 0d |t cd fld| stack1.|
|000063c0| 64 6f 4d 65 6e 75 20 22 | 43 6f 70 79 20 46 69 65 |doMenu "|Copy Fie|
|000063d0| 6c 64 22 0d 64 6f 4d 65 | 6e 75 20 22 50 61 73 74 |ld".doMe|nu "Past|
|000063e0| 65 20 46 69 65 6c 64 22 | 0d 73 65 74 20 74 68 65 |e Field"|.set the|
|000063f0| 20 6e 61 6d 65 20 6f 66 | 20 63 64 20 66 6c 64 20 | name of| cd fld |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.