home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: ArcFS Archive
(archive/arcFS).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| ArcFS Archive (archive/arcFS)
| magic
| Supported |
100%
| file
| RISC OS archive (ArcFS format)
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Acorn ArcFS Archive
| default
| |
100%
| gt2
| Kopftext: 'Archive'
| default (weak)
| |
100%
| detectItEasy
| Archive: ArcFS
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 8c 01 00 00 54 03 00 00 |Archive.|....T...|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|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 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 53 68 65 6c 6c 00 | 74 61 00 00 ff ff ff ff |.!Shell.|ta......|
|00000070| 44 ff ff ff cf 94 ab 1a | 00 00 00 00 ff ff ff ff |D.......|........|
|00000080| 44 01 00 80 82 21 42 6f | 6f 74 00 00 00 00 00 00 |D....!Bo|ot......|
|00000090| 74 00 00 00 42 eb ff ff | 0b 7a 21 3d 03 00 e5 54 |t...B...|.z!=...T|
|000000a0| 74 00 00 00 f4 00 00 00 | 82 21 48 45 4c 50 00 00 |t.......|.!HELP..|
|000000b0| 00 00 00 00 c3 00 00 00 | 42 ff ff ff e0 8b 44 c9 |........|B.....D.|
|000000c0| 03 00 e5 37 c3 00 00 00 | 8c 01 00 00 82 21 52 75 |...7....|.....!Ru|
|000000d0| 6e 00 00 00 00 00 00 00 | 04 01 00 00 42 eb ff ff |n.......|....B...|
|000000e0| 90 e3 6f 32 03 00 3e ff | 04 01 00 00 73 02 00 00 |..o2..>.|....s...|
|000000f0| 82 21 52 75 6e 49 6d 61 | 67 65 00 00 60 9b 00 00 |.!RunIma|ge..`...|
|00000100| 42 fb ff ff dc a5 25 7e | 03 00 67 bc 60 9b 00 00 |B.....%~|..g.`...|
|00000110| 9b 03 00 00 82 21 53 70 | 72 69 74 65 73 00 00 00 |.....!Sp|rites...|
|00000120| 50 04 00 00 42 f9 ff ff | 6b b9 61 3f 03 00 af 31 |P...B...|k.a?...1|
|00000130| 50 04 00 00 1f 9f 00 00 | 82 53 70 72 69 74 65 73 |P.......|.Sprites|
|00000140| 00 00 00 00 1c 10 00 00 | 42 f9 ff ff c7 ba 2d 38 |........|B.....-8|
|00000150| 03 00 48 b8 1c 10 00 00 | 93 a3 00 00 82 54 65 6d |..H.....|.....Tem|
|00000160| 70 6c 61 74 65 73 00 00 | 87 0a 00 00 42 ec ff ff |plates..|....B...|
|00000170| c2 f5 6d 68 03 00 c8 70 | 87 0a 00 00 d3 b3 00 00 |..mh...p|........|
|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 82 53 68 65 | 6c 6c 44 61 74 61 00 00 |.....She|llData..|
|000001b0| ac 00 00 00 42 00 f2 ff | 94 f9 ff 7d 03 00 2e aa |....B...|...}....|
|000001c0| ac 00 00 00 24 00 00 00 | 00 00 00 00 00 00 00 00 |....$...|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 46 69 6c 65 | 44 61 74 61 82 53 68 65 |....File|Data.She|
|00000360| 6c 6c 44 61 74 61 00 00 | ac 00 00 00 42 00 f2 ff |llData..|....B...|
|00000370| 94 f9 ff 7d 03 00 2e aa | 00 0a 73 62 62 6f 48 20 |...}....|..sbboH |
|00000380| 6c 75 61 50 00 12 32 20 | 65 df 61 72 74 73 7a 6c |luaP..2 |e.artszl|
|00000390| 61 66 70 6e 69 65 68 52 | 00 0f 74 64 61 74 73 6c |afpniehR|..tdatsl|
|000003a0| 6f 67 6e 49 20 30 37 30 | 38 00 0c 79 6e 61 6d 72 |ognI 070|8..ynamr|
|000003b0| 65 47 20 74 73 65 57 00 | 11 30 32 33 36 20 38 35 |eG tseW.|.0236 85|
|000003c0| 34 38 20 29 39 34 30 31 | 30 28 00 00 00 00 00 00 |48 )9401|0(......|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 46 69 6c 65 | 44 61 74 61 82 21 42 6f |....File|Data.!Bo|
|00000430| 6f 74 00 00 00 00 00 00 | 74 00 00 00 42 eb ff ff |ot......|t...B...|
|00000440| 0b 7a 21 3d 03 00 e5 54 | 7c 20 21 42 6f 6f 74 20 |.z!=...T|| !Boot |
|00000450| 66 69 6c 65 20 66 6f 72 | 20 53 68 65 6c 6c 20 41 |file for| Shell A|
|00000460| 70 70 6c 69 63 61 74 69 | 6f 6e 0a 7c 20 4c 6f 61 |pplicati|on.| Loa|
|00000470| 64 20 77 69 6d 70 27 73 | 20 73 70 72 69 74 65 73 |d wimp's| sprites|
|00000480| 0a 49 63 6f 6e 53 70 72 | 69 74 65 73 20 3c 4f 62 |.IconSpr|ites <Ob|
|00000490| 65 79 24 44 69 72 3e 2e | 21 53 70 72 69 74 65 73 |ey$Dir>.|!Sprites|
|000004a0| 0a 53 65 74 20 46 69 6c | 65 24 54 79 70 65 5f 32 |.Set Fil|e$Type_2|
|000004b0| 30 30 20 53 68 65 6c 6c | 46 69 6c 65 46 69 6c 65 |00 Shell|FileFile|
|000004c0| 44 61 74 61 82 21 48 45 | 4c 50 00 00 00 00 00 00 |Data.!HE|LP......|
|000004d0| c3 00 00 00 42 ff ff ff | e0 8b 44 c9 03 00 e5 37 |....B...|..D....7|
|000004e0| 54 68 65 20 20 21 53 68 | 65 6c 6c 20 61 70 70 6c |The !Sh|ell appl|
|000004f0| 69 63 61 74 69 6f 6e 20 | 69 73 20 61 6e 20 61 74 |ication |is an at|
|00000500| 74 65 6d 70 74 20 74 6f | 20 70 72 6f 76 69 64 65 |tempt to| provide|
|00000510| 0a 61 20 64 6f 63 75 6d | 65 6e 74 65 64 20 27 73 |.a docum|ented 's|
|00000520| 68 65 6c 6c 27 20 77 68 | 69 63 68 20 20 63 61 6e |hell' wh|ich can|
|00000530| 20 62 65 20 61 64 61 70 | 74 65 64 20 74 6f 20 6d | be adap|ted to m|
|00000540| 61 6e 79 0a 64 69 66 66 | 65 72 65 6e 74 20 70 75 |any.diff|erent pu|
|00000550| 72 70 6f 73 65 73 2e 20 | 54 68 69 73 20 69 73 20 |rposes. |This is |
|00000560| 65 73 70 65 63 69 61 6c | 6c 79 20 75 73 65 66 75 |especial|ly usefu|
|00000570| 6c 0a 66 6f 72 20 63 6f | 6e 76 65 72 74 69 6e 67 |l.for co|nverting|
|00000580| 20 6e 6f 6e 20 52 49 53 | 43 2d 4f 53 20 70 72 6f | non RIS|C-OS pro|
|00000590| 67 72 61 6d 73 2e 0a 0a | 0a 50 61 75 6c 20 48 6f |grams...|.Paul Ho|
|000005a0| 62 62 73 46 69 6c 65 44 | 61 74 61 82 21 52 75 6e |bbsFileD|ata.!Run|
|000005b0| 00 00 00 00 00 00 00 04 | 01 00 00 42 eb ff ff 90 |........|...B....|
|000005c0| e3 6f 32 03 00 3e ff 7c | 20 21 52 75 6e 20 4f 62 |.o2..>.|| !Run Ob|
|000005d0| 65 79 20 66 69 6c 65 20 | 66 6f 72 20 21 53 68 65 |ey file |for !She|
|000005e0| 6c 6c 0a 53 65 74 20 53 | 68 65 6c 6c 24 44 69 72 |ll.Set S|hell$Dir|
|000005f0| 20 3c 4f 62 65 79 24 44 | 69 72 3e 0a 7c 43 68 61 | <Obey$D|ir>.|Cha|
|00000600| 6e 67 65 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e |nge the |next lin|
|00000610| 65 20 69 66 20 79 6f 75 | 20 61 72 65 20 75 73 69 |e if you| are usi|
|00000620| 6e 67 20 61 20 64 69 66 | 66 65 72 65 6e 74 0a 7c |ng a dif|ferent.||
|00000630| 66 69 6c 65 74 79 70 65 | 20 6e 75 6d 62 65 72 0a |filetype| number.|
|00000640| 53 65 74 20 41 6c 69 61 | 73 24 40 52 75 6e 54 79 |Set Alia|s$@RunTy|
|00000650| 70 65 5f 32 30 30 20 52 | 75 6e 20 3c 4f 62 65 79 |pe_200 R|un <Obey|
|00000660| 24 44 69 72 3e 2e 21 52 | 75 6e 20 25 25 2a 30 0a |$Dir>.!R|un %%*0.|
|00000670| 49 63 6f 6e 53 70 72 69 | 74 65 73 20 3c 4f 62 65 |IconSpri|tes <Obe|
|00000680| 79 24 44 69 72 3e 2e 21 | 53 70 72 69 74 65 73 0a |y$Dir>.!|Sprites.|
|00000690| 57 69 6d 70 53 6c 6f 74 | 20 2d 6d 69 6e 20 31 34 |WimpSlot| -min 14|
|000006a0| 38 4b 20 2d 6d 61 78 20 | 31 34 38 4b 0a 52 75 6e |8K -max |148K.Run|
|000006b0| 20 3c 53 68 65 6c 6c 24 | 44 69 72 3e 2e 21 52 75 | <Shell$|Dir>.!Ru|
|000006c0| 6e 49 6d 61 67 65 20 25 | 2a 30 0a 46 69 6c 65 44 |nImage %|*0.FileD|
|000006d0| 61 74 61 82 21 52 75 6e | 49 6d 61 67 65 00 00 60 |ata.!Run|Image..`|
|000006e0| 9b 00 00 42 fb ff ff dc | a5 25 7e 03 00 67 bc 0d |...B....|.%~..g..|
|000006f0| 00 0a 1d f4 20 3e 20 3c | 53 68 65 6c 6c 24 44 69 |.... > <|Shell$Di|
|00000700| 72 3e 2e 21 52 75 6e 49 | 6d 61 67 65 0d 00 14 04 |r>.!RunI|mage....|
|00000710| 0d 00 1e 45 f4 20 54 68 | 69 73 20 70 72 6f 67 72 |...E. Th|is progr|
|00000720| 61 6d 20 69 73 20 64 65 | 73 69 67 6e 65 64 20 74 |am is de|signed t|
|00000730| 6f 20 73 68 6f 77 20 73 | 6f 6d 65 20 61 73 70 65 |o show s|ome aspe|
|00000740| 63 74 73 20 6f 66 20 75 | 73 69 6e 67 20 74 68 65 |cts of u|sing the|
|00000750| 20 57 49 4d 50 0d 00 28 | 47 f4 20 53 79 73 74 65 | WIMP..(|G. Syste|
|00000760| 6d 20 6f 6e 20 74 68 65 | 20 41 72 63 68 69 6d 65 |m on the| Archime|
|00000770| 64 65 73 2e 20 55 73 69 | 6e 67 20 69 74 20 61 73 |des. Usi|ng it as|
|00000780| 20 61 20 62 61 73 65 20 | 79 6f 75 20 73 68 6f 75 | a base |you shou|
|00000790| 6c 64 20 68 6f 70 65 66 | 75 6c 6c 79 0d 00 32 47 |ld hopef|ully..2G|
|000007a0| f4 20 62 65 20 61 62 6c | 65 20 74 6f 20 63 6f 6e |. be abl|e to con|
|000007b0| 76 65 72 74 20 65 78 69 | 73 74 69 6e 67 20 6e 6f |vert exi|sting no|
|000007c0| 6e 2d 57 49 4d 50 20 70 | 72 6f 67 72 61 6d 73 20 |n-WIMP p|rograms |
|000007d0| 6f 72 20 63 72 65 61 74 | 65 20 6e 65 77 20 6f 6e |or creat|e new on|
|000007e0| 65 73 2e 0d 00 3c 47 f4 | 20 45 61 63 68 20 70 61 |es...<G.| Each pa|
|000007f0| 72 74 20 6f 66 20 74 68 | 65 20 70 72 6f 67 72 61 |rt of th|e progra|
|00000800| 6d 20 68 61 73 20 65 78 | 74 65 6e 73 69 76 65 20 |m has ex|tensive |
|00000810| 52 45 4d 20 73 74 61 74 | 65 6d 65 6e 74 73 20 74 |REM stat|ements t|
|00000820| 6f 20 64 65 73 63 72 69 | 62 65 0d 00 46 44 f4 20 |o descri|be..FD. |
|00000830| 77 68 61 74 20 69 73 20 | 67 6f 69 6e 67 20 6f 6e |what is |going on|
|00000840| 2e 20 59 6f 75 20 77 69 | 6c 6c 20 6e 65 65 64 20 |. You wi|ll need |
|00000850| 76 61 72 69 6f 75 73 20 | 6f 74 68 65 72 20 52 49 |various |other RI|
|00000860| 53 43 2d 4f 53 20 70 72 | 6f 67 72 61 6d 73 0d 00 |SC-OS pr|ograms..|
|00000870| 50 48 f4 20 74 6f 20 63 | 72 65 61 74 65 20 61 6e |PH. to c|reate an|
|00000880| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 6e 6f | applica|tion, no|
|00000890| 74 61 62 6c 79 20 21 50 | 61 69 6e 74 20 28 66 6f |tably !P|aint (fo|
|000008a0| 72 20 73 70 72 69 74 65 | 73 29 20 61 6e 64 20 21 |r sprite|s) and !|
|000008b0| 46 6f 72 6d 45 64 0d 00 | 5a 4a f4 20 28 41 63 6f |FormEd..|ZJ. (Aco|
|000008c0| 72 6e 27 73 20 76 65 72 | 73 69 6f 6e 29 20 66 6f |rn's ver|sion) fo|
|000008d0| 72 20 77 69 6e 64 6f 77 | 20 74 65 6d 70 6c 61 74 |r window| templat|
|000008e0| 65 73 2e 20 49 27 6d 20 | 61 66 72 61 69 64 20 49 |es. I'm |afraid I|
|000008f0| 20 63 61 6e 27 74 20 72 | 65 63 6f 6d 6d 65 6e 64 | can't r|ecommend|
|00000900| 0d 00 64 48 f4 20 4e 6f | 72 77 69 63 68 20 43 6f |..dH. No|rwich Co|
|00000910| 6d 70 75 74 65 72 20 53 | 65 72 76 69 63 65 73 20 |mputer S|ervices |
|00000920| 54 65 6d 70 6c 61 74 65 | 20 45 64 69 74 6f 72 20 |Template| Editor |
|00000930| 28 73 6f 72 72 79 20 41 | 64 72 69 61 6e 29 20 61 |(sorry A|drian) a|
|00000940| 73 20 69 74 20 63 61 6e | 0d 00 6e 43 f4 20 70 72 |s it can|..nC. pr|
|00000950| 6f 64 75 63 65 20 6e 6f | 6e 2d 73 74 61 6e 64 61 |oduce no|n-standa|
|00000960| 72 64 20 66 69 6c 65 73 | 20 74 68 61 74 20 63 61 |rd files| that ca|
|00000970| 6e 6e 6f 74 20 62 65 20 | 6c 6f 61 64 65 64 20 69 |nnot be |loaded i|
|00000980| 6e 74 6f 20 41 63 6f 72 | 6e 27 73 0d 00 78 47 f4 |nto Acor|n's..xG.|
|00000990| 20 21 46 6f 72 6d 45 64 | 2e 20 54 68 69 73 20 63 | !FormEd|. This c|
|000009a0| 61 75 73 65 73 20 61 20 | 70 72 6f 62 6c 65 6d 20 |auses a |problem |
|000009b0| 61 73 20 21 46 6f 72 6d | 45 64 20 69 73 2c 20 61 |as !Form|Ed is, a|
|000009c0| 73 20 66 61 72 20 61 73 | 20 49 20 6b 6e 6f 77 2c |s far as| I know,|
|000009d0| 20 61 0d 00 82 48 f4 20 | 27 50 75 62 6c 69 63 20 | a...H. |'Public |
|000009e0| 44 6f 6d 61 69 6e 27 20 | 70 72 6f 67 72 61 6d 20 |Domain' |program |
|000009f0| 28 77 68 69 63 68 20 69 | 73 20 61 73 20 69 74 20 |(which i|s as it |
|00000a00| 73 68 6f 75 6c 64 20 62 | 65 20 66 6f 72 20 73 75 |should b|e for su|
|00000a10| 63 68 20 61 20 76 69 74 | 61 6c 0d 00 8c 43 f4 20 |ch a vit|al...C. |
|00000a20| 74 6f 6f 6c 29 20 62 75 | 74 20 74 68 65 20 4e 43 |tool) bu|t the NC|
|00000a30| 53 20 76 65 72 73 69 6f | 6e 20 69 73 20 6e 6f 74 |S versio|n is not|
|00000a40| 20 73 6f 20 49 20 63 61 | 6e 27 74 20 67 69 76 65 | so I ca|n't give|
|00000a50| 20 63 6f 70 69 65 73 20 | 61 77 61 79 2e 0d 00 8d | copies |away....|
|00000a60| 04 0d 00 96 4b f4 20 49 | 20 61 6c 73 6f 20 72 65 |....K. I| also re|
|00000a70| 63 6f 6d 6d 65 6e 64 20 | 67 65 74 74 69 6e 67 20 |commend |getting |
|00000a80| 68 6f 6c 64 20 6f 66 20 | 61 6e 20 41 63 6f 72 6e |hold of |an Acorn|
|00000a90| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 21 53 70 | applica|tion !Sp|
|00000aa0| 79 20 28 61 76 61 69 6c | 61 62 6c 65 0d 00 a0 49 |y (avail|able...I|
|00000ab0| f4 20 6f 6e 20 41 72 63 | 68 69 76 65 20 4d 61 67 |. on Arc|hive Mag|
|00000ac0| 61 7a 69 6e 65 20 43 61 | 72 65 77 61 72 65 20 64 |azine Ca|reware d|
|00000ad0| 69 73 63 20 37 29 20 77 | 68 69 63 68 20 69 73 20 |isc 7) w|hich is |
|00000ae0| 61 20 6d 6f 64 69 66 69 | 65 64 20 76 65 72 73 69 |a modifi|ed versi|
|00000af0| 6f 6e 20 6f 66 0d 00 aa | 46 f4 20 21 48 65 6c 70 |on of...|F. !Help|
|00000b00| 2e 20 54 68 69 73 20 61 | 70 70 6c 69 63 61 74 69 |. This a|pplicati|
|00000b10| 6f 6e 20 73 69 6d 70 6c | 79 20 64 69 73 70 6c 61 |on simpl|y displa|
|00000b20| 79 73 20 74 68 65 20 77 | 69 6e 64 6f 77 20 68 61 |ys the w|indow ha|
|00000b30| 6e 64 6c 65 73 2c 20 69 | 63 6f 6e 0d 00 b4 49 f4 |ndles, i|con...I.|
|00000b40| 20 69 63 6f 6e 20 68 61 | 6e 64 6c 65 73 20 65 74 | icon ha|ndles et|
|00000b50| 63 20 61 73 20 79 6f 75 | 20 6d 6f 76 65 20 74 68 |c as you| move th|
|00000b60| 65 20 70 6f 69 6e 74 65 | 72 20 61 72 6f 75 6e 64 |e pointe|r around|
|00000b70| 2e 20 54 68 69 73 20 64 | 6f 65 73 6e 27 74 20 73 |. This d|oesn't s|
|00000b80| 6f 75 6e 64 0d 00 be 47 | f4 20 74 6f 6f 20 77 6f |ound...G|. too wo|
|00000b90| 6e 64 65 72 66 75 6c 20 | 62 75 74 20 69 74 20 64 |nderful |but it d|
|00000ba0| 6f 65 73 20 65 6e 61 62 | 6c 65 20 79 6f 75 20 74 |oes enab|le you t|
|00000bb0| 6f 20 64 69 73 63 6f 76 | 65 72 20 69 63 6f 6e 20 |o discov|er icon |
|00000bc0| 68 61 6e 64 6c 65 73 20 | 65 74 63 0d 00 c8 47 f4 |handles |etc...G.|
|00000bd0| 20 77 69 74 68 6f 75 74 | 20 6c 6f 61 64 69 6e 67 | without| loading|
|00000be0| 20 74 68 65 20 74 65 6d | 70 6c 61 74 65 73 20 69 | the tem|plates i|
|00000bf0| 6e 74 6f 20 21 46 6f 72 | 6d 45 64 20 61 6e 64 20 |nto !For|mEd and |
|00000c00| 77 72 69 74 69 6e 67 20 | 65 76 65 72 79 74 68 69 |writing |everythi|
|00000c10| 6e 67 0d 00 d2 3a f4 20 | 64 6f 77 6e 20 6f 6e 20 |ng...:. |down on |
|00000c20| 62 69 74 73 20 6f 66 20 | 70 61 70 65 72 21 20 41 |bits of |paper! A|
|00000c30| 6e 64 20 69 74 20 6f 6e | 6c 79 20 6e 65 65 64 73 |nd it on|ly needs|
|00000c40| 20 33 32 6b 20 74 6f 20 | 72 75 6e 2e 0d 00 dc 04 | 32k to |run.....|
|00000c50| 0d 00 e6 45 f4 20 49 20 | 64 6f 75 62 74 20 77 68 |...E. I |doubt wh|
|00000c60| 65 74 68 65 72 20 49 20 | 68 61 76 65 20 74 68 6f |ether I |have tho|
|00000c70| 75 67 68 74 20 6f 66 20 | 65 76 65 72 79 74 68 69 |ught of |everythi|
|00000c80| 6e 67 2c 20 68 6f 77 65 | 76 65 72 2c 20 61 6e 64 |ng, howe|ver, and|
|00000c90| 20 73 6f 6d 65 0d 00 f0 | 45 f4 20 74 68 69 6e 67 | some...|E. thing|
|00000ca0| 73 20 28 73 75 63 68 20 | 61 73 20 70 61 6e 65 73 |s (such |as panes|
|00000cb0| 29 20 77 68 69 63 68 20 | 61 72 65 20 6e 69 63 65 |) which |are nice|
|00000cc0| 20 74 6f 20 68 61 76 65 | 20 73 6f 6d 65 74 69 6d | to have| sometim|
|00000cd0| 65 73 20 61 72 65 20 6e | 6f 74 0d 00 fa 45 f4 20 |es are n|ot...E. |
|00000ce0| 61 63 74 75 61 6c 6c 79 | 20 76 69 74 61 6c 20 74 |actually| vital t|
|00000cf0| 6f 20 67 65 74 74 69 6e | 67 20 74 68 65 20 61 70 |o gettin|g the ap|
|00000d00| 70 6c 69 63 61 74 69 6f | 6e 20 72 75 6e 6e 69 6e |plicatio|n runnin|
|00000d10| 67 20 2d 20 73 6f 20 74 | 68 65 79 20 61 72 65 0d |g - so t|hey are.|
|00000d20| 01 04 45 f4 20 6e 6f 74 | 20 64 65 6d 6f 6e 73 74 |..E. not| demonst|
|00000d30| 72 61 74 65 64 2e 20 41 | 6c 73 6f 20 49 20 68 61 |rated. A|lso I ha|
|00000d40| 76 65 6e 27 74 20 67 6f | 74 20 74 68 65 6d 20 77 |ven't go|t them w|
|00000d50| 6f 72 6b 69 6e 67 20 70 | 72 6f 70 65 72 6c 79 20 |orking p|roperly |
|00000d60| 79 65 74 2e 0d 01 0e 44 | f4 20 41 73 20 6d 6f 73 |yet....D|. As mos|
|00000d70| 74 20 70 72 6f 67 72 61 | 6d 73 20 63 61 6e 20 62 |t progra|ms can b|
|00000d80| 65 20 63 72 75 64 65 6c | 79 20 62 72 6f 6b 65 6e |e crudel|y broken|
|00000d90| 20 64 6f 77 6e 20 74 6f | 20 27 67 65 74 20 73 6f | down to| 'get so|
|00000da0| 6d 65 20 64 61 74 61 2c | 0d 01 18 43 f4 20 70 72 |me data,|...C. pr|
|00000db0| 6f 63 65 73 73 20 69 74 | 20 61 6e 64 20 73 61 76 |ocess it| and sav|
|00000dc0| 65 20 69 74 20 62 61 63 | 6b 20 74 6f 20 64 69 73 |e it bac|k to dis|
|00000dd0| 6b 27 20 49 27 6c 6c 20 | 75 73 65 20 61 20 72 65 |k' I'll |use a re|
|00000de0| 61 6c 6c 79 20 73 69 6d | 70 6c 65 0d 01 22 47 f4 |ally sim|ple.."G.|
|00000df0| 20 64 61 74 61 62 61 73 | 65 20 61 73 20 61 6e 20 | databas|e as an |
|00000e00| 65 78 61 6d 70 6c 65 20 | 77 68 69 63 68 20 77 69 |example |which wi|
|00000e10| 6c 6c 20 73 68 6f 77 20 | 68 6f 77 20 74 6f 20 6c |ll show |how to l|
|00000e20| 6f 61 64 20 61 6e 64 20 | 73 61 76 65 20 66 69 6c |oad and |save fil|
|00000e30| 65 73 0d 01 2c 48 f4 20 | 75 6e 64 65 72 20 52 49 |es..,H. |under RI|
|00000e40| 53 43 2d 4f 53 2e 20 48 | 6f 77 65 76 65 72 2c 20 |SC-OS. H|owever, |
|00000e50| 49 27 6c 6c 20 74 72 79 | 20 74 6f 20 73 68 6f 77 |I'll try| to show|
|00000e60| 20 61 73 20 6d 61 6e 79 | 20 64 69 66 66 65 72 65 | as many| differe|
|00000e70| 6e 74 20 61 73 70 65 63 | 74 73 0d 01 36 20 f4 20 |nt aspec|ts..6 . |
|00000e80| 6f 66 20 57 49 4d 50 20 | 70 72 6f 67 72 61 6d 73 |of WIMP |programs|
|00000e90| 20 61 73 20 49 20 63 61 | 6e 2e 0d 01 40 04 0d 01 | as I ca|n...@...|
|00000ea0| 4a 49 f4 20 52 65 61 64 | 69 6e 67 20 73 6f 6d 65 |JI. Read|ing some|
|00000eb0| 20 6f 66 20 74 68 65 20 | 63 6f 6d 6d 65 6e 74 73 | of the |comments|
|00000ec0| 20 69 6e 20 74 68 65 20 | 6d 61 67 61 7a 69 6e 65 | in the |magazine|
|00000ed0| 73 20 69 74 20 73 65 65 | 6d 73 20 74 68 61 74 20 |s it see|ms that |
|00000ee0| 77 68 61 74 20 69 73 0d | 01 54 47 f4 20 72 65 71 |what is.|.TG. req|
|00000ef0| 75 69 72 65 64 20 69 73 | 20 61 20 6d 61 67 69 63 |uired is| a magic|
|00000f00| 20 77 61 6e 64 20 77 68 | 69 63 68 20 77 69 6c 6c | wand wh|ich will|
|00000f10| 20 70 72 6f 64 75 63 65 | 20 77 6f 72 6b 69 6e 67 | produce| working|
|00000f20| 20 6d 75 6c 74 69 2d 74 | 61 73 6b 69 6e 67 0d 01 | multi-t|asking..|
|00000f30| 5e 47 f4 20 57 49 4d 50 | 20 70 72 6f 67 72 61 6d |^G. WIMP| program|
|00000f40| 73 20 77 69 74 68 6f 75 | 74 20 74 6f 6f 20 6d 75 |s withou|t too mu|
|00000f50| 63 68 20 65 66 66 6f 72 | 74 2e 20 55 6e 66 6f 72 |ch effor|t. Unfor|
|00000f60| 74 75 6e 61 74 65 6c 79 | 20 69 66 20 79 6f 75 20 |tunately| if you |
|00000f70| 63 61 6e 27 74 0d 01 68 | 48 f4 20 70 72 6f 67 72 |can't..h|H. progr|
|00000f80| 61 6d 20 69 6e 20 42 41 | 53 49 43 20 79 6f 75 20 |am in BA|SIC you |
|00000f90| 68 61 76 65 20 6e 6f 20 | 63 68 61 6e 63 65 21 20 |have no |chance! |
|00000fa0| 54 68 69 73 20 21 53 68 | 65 6c 6c 20 70 72 6f 67 |This !Sh|ell prog|
|00000fb0| 72 61 6d 20 77 69 6c 6c | 20 68 65 6c 70 0d 01 72 |ram will| help..r|
|00000fc0| 48 f4 20 62 75 74 20 69 | 74 20 63 61 6e 27 74 20 |H. but i|t can't |
|00000fd0| 74 65 61 63 68 20 79 6f | 75 20 74 6f 20 70 72 6f |teach yo|u to pro|
|00000fe0| 67 72 61 6d 20 28 6e 65 | 69 74 68 65 72 20 63 61 |gram (ne|ither ca|
|00000ff0| 6e 20 41 72 63 68 57 61 | 79 20 61 6e 64 20 74 68 |n ArchWa|y and th|
|00001000| 69 73 20 69 73 0d 01 7c | 14 f4 20 6d 75 63 68 20 |is is..||.. much |
|00001010| 63 68 65 61 70 65 72 29 | 2e 0d 01 86 04 0d 01 90 |cheaper)|........|
|00001020| 4c f4 20 4f 6e 65 20 74 | 68 69 6e 67 20 49 20 73 |L. One t|hing I s|
|00001030| 74 69 6c 6c 20 68 61 76 | 65 20 61 20 70 72 6f 62 |till hav|e a prob|
|00001040| 6c 65 6d 20 77 69 74 68 | 20 69 73 20 74 68 65 20 |lem with| is the |
|00001050| 50 72 65 51 75 69 74 20 | 62 72 6f 61 64 63 61 73 |PreQuit |broadcas|
|00001060| 74 20 6d 65 73 73 61 67 | 65 0d 01 9a 4a f4 20 73 |t messag|e...J. s|
|00001070| 65 6e 74 20 62 79 20 74 | 68 65 20 74 61 73 6b 20 |ent by t|he task |
|00001080| 6d 61 6e 61 67 65 72 20 | 77 68 65 6e 20 79 6f 75 |manager |when you|
|00001090| 20 71 75 69 74 20 74 68 | 65 20 64 65 73 6b 74 6f | quit th|e deskto|
|000010a0| 70 2e 20 41 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |p. Accor|ding to |
|000010b0| 74 68 65 0d 01 a4 48 f4 | 20 52 49 53 43 2d 4f 53 |the...H.| RISC-OS|
|000010c0| 20 50 52 4d 73 20 74 68 | 65 20 61 70 70 6c 69 63 | PRMs th|e applic|
|000010d0| 61 74 69 6f 6e 20 73 68 | 6f 75 6c 64 20 63 68 65 |ation sh|ould che|
|000010e0| 63 6b 20 69 66 20 75 6e | 73 61 76 65 64 20 64 61 |ck if un|saved da|
|000010f0| 74 61 20 69 73 20 74 6f | 20 62 65 0d 01 ae 49 f4 |ta is to| be...I.|
|00001100| 20 74 68 72 6f 77 6e 20 | 61 77 61 79 20 61 6e 64 | thrown |away and|
|00001110| 20 74 68 65 6e 20 72 65 | 73 74 61 72 74 20 74 68 | then re|start th|
|00001120| 65 20 63 6c 6f 73 65 64 | 6f 77 6e 20 70 72 6f 63 |e closed|own proc|
|00001130| 65 64 75 72 65 2e 20 55 | 6e 66 6f 72 74 75 6e 61 |edure. U|nfortuna|
|00001140| 74 65 6c 79 0d 01 b8 46 | f4 20 74 68 65 20 50 52 |tely...F|. the PR|
|00001150| 4d 20 69 73 20 61 20 62 | 69 74 20 6c 69 67 68 74 |M is a b|it light|
|00001160| 20 6f 6e 20 69 6e 66 6f | 20 6f 6e 20 68 6f 77 20 | on info| on how |
|00001170| 74 6f 20 64 6f 20 74 68 | 69 73 20 61 6e 64 20 6e |to do th|is and n|
|00001180| 6f 6e 65 20 6f 66 20 74 | 68 65 0d 01 c2 48 f4 20 |one of t|he...H. |
|00001190| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 49 20 68 |applicat|ions I h|
|000011a0| 61 76 65 20 28 69 6e 63 | 6c 75 64 69 6e 67 20 21 |ave (inc|luding !|
|000011b0| 4d 61 65 73 74 72 6f 20 | 61 6e 64 20 21 48 6f 6d |Maestro |and !Hom|
|000011c0| 65 41 63 63 20 66 72 6f | 6d 20 4d 69 6e 65 72 76 |eAcc fro|m Minerv|
|000011d0| 61 29 0d 01 cc 45 f4 20 | 61 63 74 75 61 6c 6c 79 |a)...E. |actually|
|000011e0| 20 66 6f 6c 6c 6f 77 20 | 74 68 65 20 67 75 69 64 | follow |the guid|
|000011f0| 65 6c 69 6e 65 73 21 20 | 53 6f 20 61 73 20 69 74 |elines! |So as it|
|00001200| 20 73 74 61 6e 64 73 20 | 69 66 20 75 6e 73 61 76 | stands |if unsav|
|00001210| 65 64 20 64 61 74 61 0d | 01 d6 43 f4 20 65 78 69 |ed data.|..C. exi|
|00001220| 73 74 73 20 69 6e 20 21 | 53 68 65 6c 6c 20 77 68 |sts in !|Shell wh|
|00001230| 65 6e 20 74 68 65 20 64 | 65 73 6b 74 6f 70 20 69 |en the d|esktop i|
|00001240| 73 20 65 78 69 74 65 64 | 20 79 6f 75 20 77 69 6c |s exited| you wil|
|00001250| 6c 20 6c 6f 73 65 20 69 | 74 2e 0d 01 e0 30 f4 20 |l lose i|t....0. |
|00001260| 41 6e 79 20 68 65 6c 70 | 20 68 65 72 65 20 77 69 |Any help| here wi|
|00001270| 6c 6c 20 62 65 20 67 72 | 61 74 65 66 75 6c 6c 79 |ll be gr|atefully|
|00001280| 20 72 65 63 65 69 76 65 | 64 21 0d 01 ea 04 0d 01 | receive|d!......|
|00001290| f4 1f f4 20 43 6f 70 79 | 72 69 67 68 74 20 50 61 |... Copy|right Pa|
|000012a0| 75 6c 20 48 6f 62 62 73 | 20 31 39 39 30 0d 01 fe |ul Hobbs| 1990...|
|000012b0| 04 0d 02 08 19 f4 20 52 | 68 65 69 6e 70 66 6c 61 |...... R|heinpfla|
|000012c0| 7a 73 74 72 61 73 73 65 | 20 32 0d 02 12 19 f4 20 |zstrasse| 2..... |
|000012d0| 20 20 20 20 38 30 37 30 | 20 49 6e 67 6f 6c 73 74 | 8070| Ingolst|
|000012e0| 61 64 74 0d 02 1c 19 f4 | 20 20 20 20 20 20 20 20 |adt.....| |
|000012f0| 57 65 73 74 20 47 65 72 | 6d 61 6e 79 0d 02 26 04 |West Ger|many..&.|
|00001300| 0d 02 30 3e f4 20 54 68 | 69 73 20 70 72 6f 67 72 |..0>. Th|is progr|
|00001310| 61 6d 20 61 6e 64 20 70 | 61 72 74 73 20 74 68 65 |am and p|arts the|
|00001320| 72 65 6f 66 20 6d 61 79 | 20 62 65 20 66 72 65 65 |reof may| be free|
|00001330| 6c 79 20 64 69 73 74 72 | 69 62 75 74 65 64 0d 02 |ly distr|ibuted..|
|00001340| 3a 04 0d 02 44 47 76 65 | 72 73 69 6f 6e 24 3d 22 |:...DGve|rsion$="|
|00001350| 31 2e 30 37 20 28 31 2d | 4a 75 6c 2d 39 30 29 22 |1.07 (1-|Jul-90)"|
|00001360| 20 20 3a f4 20 74 68 69 | 73 20 73 74 72 69 6e 67 | :. thi|s string|
|00001370| 20 77 69 6c 6c 20 62 65 | 20 69 6e 73 65 72 74 65 | will be| inserte|
|00001380| 64 20 69 6e 74 6f 20 61 | 6e 0d 02 4e 45 20 20 20 |d into a|n..NE |
|00001390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013a0| 20 20 20 20 20 20 20 20 | 20 3a f4 20 69 63 6f 6e | | :. icon|
|000013b0| 20 69 6e 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | in the |standard|
|000013c0| 20 27 69 6e 66 6f 27 20 | 77 69 6e 64 6f 77 0d 02 | 'info' |window..|
|000013d0| 58 4b 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |XK | |
|000013e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a f4 | | :.|
|000013f0| 20 77 68 69 63 68 20 69 | 73 20 61 63 63 65 73 73 | which i|s access|
|00001400| 65 64 20 76 69 61 20 74 | 68 65 20 69 63 6f 6e 20 |ed via t|he icon |
|00001410| 69 6e 73 74 61 6c 6c 65 | 64 0d 02 62 31 20 20 20 |installe|d..b1 |
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001430| 20 20 20 20 20 20 20 20 | 20 3a f4 20 6f 6e 20 74 | | :. on t|
|00001440| 68 65 20 69 63 6f 6e 62 | 61 72 0d 02 6c 04 0d 02 |he iconb|ar..l...|
|00001450| 76 4c f4 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |vL. ----|--------|
|00001460| 2d 2d 2d 2d 2d 2d 2d 2d | 20 57 49 4d 50 20 54 61 |--------| WIMP Ta|
|00001470| 73 6b 20 49 6e 69 74 69 | 61 6c 69 73 61 74 69 6f |sk Initi|alisatio|
|00001480| 6e 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |n ------|--------|
|00001490| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 02 80 04 0d 02 |--------|--......|
|000014a0| 8a 47 f4 20 44 69 6d 65 | 6e 73 69 6f 6e 20 74 68 |.G. Dime|nsion th|
|000014b0| 65 20 67 65 6e 65 72 61 | 6c 20 70 75 72 70 6f 73 |e genera|l purpos|
|000014c0| 65 20 57 49 4d 50 20 70 | 61 72 61 6d 65 74 65 72 |e WIMP p|arameter|
|000014d0| 20 62 6c 6f 63 6b 2c 20 | 61 6e 64 20 73 74 61 72 | block, |and star|
|000014e0| 74 20 74 68 65 0d 02 94 | 46 f4 20 57 49 4d 50 20 |t the...|F. WIMP |
|000014f0| 74 61 73 6b 2e 20 4d 61 | 6b 65 20 74 68 65 20 70 |task. Ma|ke the p|
|00001500| 61 72 61 6d 65 74 65 72 | 20 62 6c 6f 63 6b 20 6c |arameter| block l|
|00001510| 61 72 67 65 20 74 6f 20 | 73 74 61 72 74 20 77 69 |arge to |start wi|
|00001520| 74 68 2c 20 63 75 74 74 | 69 6e 67 0d 02 9e 46 f4 |th, cutt|ing...F.|
|00001530| 20 69 74 20 64 6f 77 6e | 20 77 68 65 6e 20 74 68 | it down| when th|
|00001540| 65 20 70 72 6f 67 72 61 | 6d 20 69 73 20 66 69 6e |e progra|m is fin|
|00001550| 69 73 68 65 64 2e 20 59 | 6f 75 27 6c 6c 20 6b 6e |ished. Y|ou'll kn|
|00001560| 6f 77 20 77 68 65 6e 20 | 69 74 20 69 73 20 74 6f |ow when |it is to|
|00001570| 6f 0d 02 a8 47 f4 20 73 | 6d 61 6c 6c 20 61 73 20 |o...G. s|mall as |
|00001580| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 77 6f 6e 27 |the prog|ram won'|
|00001590| 74 20 72 75 6e 21 20 54 | 68 65 20 22 53 68 65 6c |t run! T|he "Shel|
|000015a0| 6c 22 20 73 74 72 69 6e | 67 20 69 73 20 75 73 65 |l" strin|g is use|
|000015b0| 64 20 62 79 20 74 68 65 | 0d 02 b2 48 f4 20 54 61 |d by the|...H. Ta|
|000015c0| 73 6b 20 4d 61 6e 61 67 | 65 72 20 69 6e 20 74 68 |sk Manag|er in th|
|000015d0| 65 20 64 65 73 6b 74 6f | 70 20 2d 20 73 6f 20 63 |e deskto|p - so c|
|000015e0| 68 61 6e 67 65 20 69 74 | 20 74 6f 20 73 75 69 74 |hange it| to suit|
|000015f0| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00001600| 0d 02 bc 15 f4 20 79 6f | 75 20 61 72 65 20 77 72 |..... yo|u are wr|
|00001610| 69 74 69 6e 67 0d 02 c6 | 04 0d 02 d0 0d de 20 71 |iting...|...... q|
|00001620| 25 20 32 35 30 30 0d 02 | da 0e 24 71 25 3d 22 54 |% 2500..|..$q%="T|
|00001630| 41 53 4b 22 0d 02 e4 31 | c8 99 20 22 57 69 6d 70 |ASK"...1|.. "Wimp|
|00001640| 5f 49 6e 69 74 69 61 6c | 69 73 65 22 2c 32 30 30 |_Initial|ise",200|
|00001650| 2c 21 71 25 2c 22 53 68 | 65 6c 6c 22 20 b8 20 2c |,!q%,"Sh|ell" . ,|
|00001660| 74 61 73 6b 25 0d 02 ee | 48 c8 99 20 22 48 6f 75 |task%...|H.. "Hou|
|00001670| 72 67 6c 61 73 73 5f 4f | 6e 22 20 3a f4 20 77 65 |rglass_O|n" :. we|
|00001680| 27 6c 6c 20 74 75 72 6e | 20 74 68 65 20 48 6f 75 |'ll turn| the Hou|
|00001690| 72 47 6c 61 73 73 20 6f | 6e 20 75 6e 74 69 6c 20 |rGlass o|n until |
|000016a0| 65 76 65 72 79 74 68 69 | 6e 67 20 69 73 0d 02 f8 |everythi|ng is...|
|000016b0| 46 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |F | |
|000016c0| 20 20 20 20 3a f4 20 73 | 65 74 20 75 70 20 61 6e | :. s|et up an|
|000016d0| 64 20 72 65 61 64 79 20 | 74 6f 20 67 6f 20 28 74 |d ready |to go (t|
|000016e0| 6f 20 73 68 6f 77 20 73 | 6f 6d 65 74 68 69 6e 67 |o show s|omething|
|000016f0| 20 69 73 0d 03 02 4a 20 | 20 20 20 20 20 20 20 20 | is...J | |
|00001700| 20 20 20 20 20 20 20 20 | 20 20 3a f4 20 68 61 70 | | :. hap|
|00001710| 70 65 6e 69 6e 67 20 77 | 68 69 6c 65 20 74 68 65 |pening w|hile the|
|00001720| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 69 73 20 | applica|tion is |
|00001730| 69 6e 69 74 69 61 6c 69 | 73 69 6e 67 29 0d 03 0c |initiali|sing)...|
|00001740| 04 0d 03 16 4c f4 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |....L. -|--------|
|00001750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 4c 6f 61 64 |--------|--- Load|
|00001760| 20 53 70 72 69 74 65 20 | 46 69 6c 65 20 2d 2d 2d | Sprite |File ---|
|00001770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 03 20 |--------|-----.. |
|00001790| 04 0d 03 2a 4b f4 20 53 | 65 74 20 75 70 20 61 6e |...*K. S|et up an|
|000017a0| 64 20 63 6c 65 61 72 20 | 61 20 75 73 65 72 20 73 |d clear |a user s|
|000017b0| 70 72 69 74 65 20 61 72 | 65 61 20 66 6f 72 20 74 |prite ar|ea for t|
|000017c0| 68 65 20 22 53 70 72 69 | 74 65 73 22 20 66 69 6c |he "Spri|tes" fil|
|000017d0| 65 20 77 68 69 63 68 20 | 6d 75 73 74 0d 03 34 4a |e which |must..4J|
|000017e0| f4 20 62 65 20 69 6e 20 | 74 68 65 20 61 70 70 6c |. be in |the appl|
|000017f0| 69 63 61 74 69 6f 6e 20 | 64 69 72 65 63 74 6f 72 |ication |director|
|00001800| 79 2e 20 54 68 69 73 20 | 77 69 6c 6c 20 63 6f 6e |y. This |will con|
|00001810| 74 61 69 6e 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |tain all| of the |
|00001820| 75 6e 69 71 75 65 0d 03 | 3e 4b f4 20 73 70 72 69 |unique..|>K. spri|
|00001830| 74 65 73 20 72 65 71 75 | 69 72 65 64 20 62 79 20 |tes requ|ired by |
|00001840| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |the appl|ication.|
|00001850| 20 54 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | The siz|e of the|
|00001860| 20 75 73 65 72 20 73 70 | 72 69 74 65 20 61 72 65 | user sp|rite are|
|00001870| 61 0d 03 48 4b f4 20 69 | 73 20 73 65 74 20 62 79 |a..HK. i|s set by|
|00001880| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | the siz|e of the|
|00001890| 20 73 70 72 69 74 65 20 | 66 69 6c 65 2e 20 54 68 | sprite |file. Th|
|000018a0| 65 20 6f 6e 6c 79 20 70 | 61 72 74 20 79 6f 75 20 |e only p|art you |
|000018b0| 77 69 6c 6c 20 6e 65 65 | 64 20 74 6f 0d 03 52 4c |will nee|d to..RL|
|000018c0| f4 20 63 68 61 6e 67 65 | 20 68 65 72 65 20 69 73 |. change| here is|
|000018d0| 20 74 68 65 20 3c 53 68 | 65 6c 6c 24 44 69 72 3e | the <Sh|ell$Dir>|
|000018e0| 20 73 74 72 69 6e 67 20 | 77 68 69 63 68 20 73 68 | string |which sh|
|000018f0| 6f 75 6c 64 20 62 65 20 | 74 68 65 20 73 61 6d 65 |ould be |the same|
|00001900| 20 61 73 20 74 68 61 74 | 0d 03 5c 3c f4 20 67 69 | as that|..\<. gi|
|00001910| 76 65 6e 20 69 6e 20 74 | 68 65 20 21 52 75 6e 20 |ven in t|he !Run |
|00001920| 66 69 6c 65 20 28 69 6e | 20 74 68 69 73 20 65 78 |file (in| this ex|
|00001930| 61 6d 70 6c 65 20 74 68 | 65 20 6c 69 6e 65 20 72 |ample th|e line r|
|00001940| 65 61 64 73 0d 03 66 21 | f4 20 27 53 65 74 20 53 |eads..f!|. 'Set S|
|00001950| 68 65 6c 6c 24 44 69 72 | 20 3c 4f 62 65 79 24 44 |hell$Dir| <Obey$D|
|00001960| 69 72 3e 27 29 0d 03 70 | 48 f4 20 48 61 76 69 6e |ir>')..p|H. Havin|
|00001970| 67 20 75 73 65 72 20 73 | 70 72 69 74 65 73 20 69 |g user s|prites i|
|00001980| 73 20 6e 6f 74 20 61 6c | 77 61 79 73 20 6e 65 63 |s not al|ways nec|
|00001990| 65 73 73 61 72 79 20 6f | 66 20 63 6f 75 72 73 65 |essary o|f course|
|000019a0| 20 61 73 20 79 6f 75 20 | 63 6f 75 6c 64 0d 03 7a | as you |could..z|
|000019b0| 4b f4 20 75 73 65 20 74 | 65 78 74 20 69 63 6f 6e |K. use t|ext icon|
|000019c0| 73 20 6f 72 20 75 73 65 | 72 20 67 65 6e 65 72 61 |s or use|r genera|
|000019d0| 74 65 64 20 67 72 61 70 | 68 69 63 73 20 69 6e 20 |ted grap|hics in |
|000019e0| 74 68 65 20 77 69 6e 64 | 6f 77 73 20 2d 20 69 66 |the wind|ows - if|
|000019f0| 20 74 68 69 73 20 69 73 | 0d 03 84 2d f4 20 74 68 | this is|...-. th|
|00001a00| 65 20 63 61 73 65 20 74 | 68 65 6e 20 79 6f 75 20 |e case t|hen you |
|00001a10| 63 61 6e 20 6f 6d 69 74 | 20 74 68 69 73 20 73 65 |can omit| this se|
|00001a20| 63 74 69 6f 6e 0d 03 8e | 04 0d 03 98 2f 53 25 3d |ction...|..../S%=|
|00001a30| 8e 20 22 3c 53 68 65 6c | 6c 24 44 69 72 3e 2e 53 |. "<Shel|l$Dir>.S|
|00001a40| 70 72 69 74 65 73 22 3a | 54 25 3d a2 23 53 25 2b |prites":|T%=.#S%+|
|00001a50| 31 36 3a d9 20 23 53 25 | 0d 03 a2 19 de 20 73 70 |16:. #S%|..... sp|
|00001a60| 20 54 25 3a 21 73 70 3d | 54 25 3a 73 70 21 34 3d | T%:!sp=|T%:sp!4=|
|00001a70| 30 0d 03 ac 14 73 70 21 | 38 3d 31 36 3a 73 70 21 |0....sp!|8=16:sp!|
|00001a80| 31 32 3d 31 36 0d 03 b6 | 45 c8 99 20 22 4f 53 5f |12=16...|E.. "OS_|
|00001a90| 53 70 72 69 74 65 4f 70 | 22 2c 26 32 30 39 2c 73 |SpriteOp|",&209,s|
|00001aa0| 70 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |p | |
|00001ab0| 20 20 20 20 20 20 20 20 | 3a f4 20 63 6c 65 61 72 | |:. clear|
|00001ac0| 20 75 73 65 72 20 61 72 | 65 61 0d 03 c0 42 c8 99 | user ar|ea...B..|
|00001ad0| 20 22 4f 53 5f 53 70 72 | 69 74 65 4f 70 22 2c 26 | "OS_Spr|iteOp",&|
|00001ae0| 32 30 41 2c 73 70 2c 22 | 3c 53 68 65 6c 6c 24 44 |20A,sp,"|<Shell$D|
|00001af0| 69 72 3e 2e 53 70 72 69 | 74 65 73 22 20 3a f4 20 |ir>.Spri|tes" :. |
|00001b00| 6c 6f 61 64 20 73 70 72 | 69 74 65 73 0d 03 ca 04 |load spr|ites....|
|00001b10| 0d 03 d4 4c f4 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...L. --|--------|
|00001b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 50 6c 61 63 65 |--------|-- Place|
|00001b30| 20 53 70 72 69 74 65 20 | 4f 6e 20 49 63 6f 6e 20 | Sprite |On Icon |
|00001b40| 42 61 72 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |Bar ----|--------|
|00001b50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 03 de 04 |--------|----....|
|00001b60| 0d 03 e8 48 f4 20 41 67 | 61 69 6e 20 74 68 69 73 |...H. Ag|ain this|
|00001b70| 20 73 74 65 70 20 63 6f | 75 6c 64 20 62 65 20 6c | step co|uld be l|
|00001b80| 65 66 74 20 6f 75 74 20 | 69 66 20 79 6f 75 20 64 |eft out |if you d|
|00001b90| 6f 6e 27 74 20 77 61 6e | 74 20 61 6e 20 69 63 6f |on't wan|t an ico|
|00001ba0| 6e 20 6f 6e 20 74 68 65 | 0d 03 f2 4b f4 20 69 63 |n on the|...K. ic|
|00001bb0| 6f 6e 62 61 72 2e 20 54 | 68 65 20 73 74 72 69 6e |onbar. T|he strin|
|00001bc0| 67 20 22 21 53 68 65 6c | 6c 22 20 72 65 66 65 72 |g "!Shel|l" refer|
|00001bd0| 73 20 74 6f 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |s to the| name of|
|00001be0| 20 61 20 73 70 72 69 74 | 65 20 65 69 74 68 65 72 | a sprit|e either|
|00001bf0| 20 69 6e 0d 03 fc 4b f4 | 20 74 68 65 20 27 21 53 | in...K.| the '!S|
|00001c00| 70 72 69 74 65 27 20 6f | 72 20 27 53 70 72 69 74 |prite' o|r 'Sprit|
|00001c10| 65 73 27 20 66 69 6c 65 | 20 69 6e 20 74 68 65 20 |es' file| in the |
|00001c20| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 64 69 72 65 |applicat|ion dire|
|00001c30| 63 74 6f 72 79 2e 20 49 | 74 20 6d 75 73 74 0d 04 |ctory. I|t must..|
|00001c40| 06 4c f4 20 68 61 76 65 | 20 74 68 65 20 73 61 6d |.L. have| the sam|
|00001c50| 65 20 6e 61 6d 65 20 61 | 73 20 74 68 65 20 61 70 |e name a|s the ap|
|00001c60| 70 6c 69 63 61 74 69 6f | 6e 20 64 69 72 65 63 74 |plicatio|n direct|
|00001c70| 6f 72 79 20 74 6f 20 62 | 65 20 64 69 73 70 6c 61 |ory to b|e displa|
|00001c80| 79 65 64 20 62 79 20 74 | 68 65 0d 04 10 4b f4 20 |yed by t|he...K. |
|00001c90| 74 68 65 20 46 69 6c 65 | 72 2e 20 54 68 65 20 66 |the File|r. The f|
|00001ca0| 69 72 73 74 20 70 61 72 | 61 6d 65 74 65 72 20 28 |irst par|ameter (|
|00001cb0| 2d 31 29 20 6d 65 61 6e | 73 20 27 72 69 67 68 74 |-1) mean|s 'right|
|00001cc0| 20 73 69 64 65 20 6f 66 | 20 74 68 65 20 69 63 6f | side of| the ico|
|00001cd0| 6e 62 61 72 27 0d 04 1a | 47 f4 20 75 73 65 20 2d |nbar'...|G. use -|
|00001ce0| 32 20 74 6f 20 70 6c 61 | 63 65 20 74 68 65 20 69 |2 to pla|ce the i|
|00001cf0| 63 6f 6e 20 6f 6e 20 74 | 68 65 20 6c 65 66 74 20 |con on t|he left |
|00001d00| 73 69 64 65 2e 20 54 68 | 69 73 20 72 6f 75 74 69 |side. Th|is routi|
|00001d10| 6e 65 20 77 69 6c 6c 20 | 6f 6e 6c 79 0d 04 24 3b |ne will |only..$;|
|00001d20| f4 20 70 6c 61 63 65 20 | 61 20 73 70 72 69 74 65 |. place |a sprite|
|00001d30| 20 6f 6e 20 74 68 65 20 | 69 63 6f 6e 62 61 72 20 | on the |iconbar |
|00001d40| 28 6e 6f 20 74 65 78 74 | 20 75 6e 64 65 72 6e 65 |(no text| underne|
|00001d50| 61 74 68 20 69 74 29 0d | 04 2e 04 0d 04 38 37 73 |ath it).|.....87s|
|00001d60| 69 63 6f 6e 3d a4 69 63 | 6f 6e 5f 63 72 65 61 74 |icon=.ic|on_creat|
|00001d70| 65 28 2d 31 2c 30 2c 30 | 2c 36 38 2c 36 38 2c 30 |e(-1,0,0|,68,68,0|
|00001d80| 2c 30 2c 26 33 30 30 32 | 2c 22 21 53 68 65 6c 6c |,0,&3002|,"!Shell|
|00001d90| 22 29 0d 04 42 04 0d 04 | 4c 4c f4 20 2d 2d 2d 2d |")..B...|LL. ----|
|00001da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001db0| 20 49 6e 69 74 69 61 6c | 69 73 65 20 43 6f 6e 73 | Initial|ise Cons|
|00001dc0| 74 61 6e 74 73 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tants --|--------|
|00001dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001de0| 2d 2d 0d 04 56 04 0d 04 | 60 4c f4 20 2d 2d 2d 2d |--..V...|`L. ----|
|00001df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e00| 20 49 6e 69 74 69 61 6c | 69 73 65 20 56 61 72 69 | Initial|ise Vari|
|00001e10| 61 62 6c 65 73 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ables --|--------|
|00001e20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e30| 2d 2d 0d 04 6a 04 0d 04 | 74 46 63 6c 61 69 6d 71 |--..j...|tFclaimq|
|00001e40| 75 65 72 79 24 3d 22 22 | 20 20 20 20 20 20 20 20 |uery$=""| |
|00001e50| 20 3a f4 20 4b 65 65 70 | 73 20 74 72 61 63 6b 20 | :. Keep|s track |
|00001e60| 6f 66 20 77 68 6f 20 69 | 73 20 74 68 65 20 27 6f |of who i|s the 'o|
|00001e70| 77 6e 65 72 27 20 6f 66 | 20 74 68 65 0d 04 7e 4b |wner' of| the..~K|
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e90| 20 20 20 20 20 20 20 3a | f4 20 27 71 75 65 72 79 | :|. 'query|
|00001ea0| 27 20 77 69 6e 64 6f 77 | 2e 20 54 68 69 73 20 69 |' window|. This i|
|00001eb0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 62 65 63 61 |s necess|ary beca|
|00001ec0| 75 73 65 20 74 68 65 0d | 04 88 49 20 20 20 20 20 |use the.|..I |
|00001ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ee0| 20 20 3a f4 20 73 61 6d | 65 20 77 69 6e 64 6f 77 | :. sam|e window|
|00001ef0| 20 63 61 6e 20 75 73 65 | 64 20 66 6f 72 20 64 69 | can use|d for di|
|00001f00| 66 66 65 72 65 6e 74 20 | 70 75 72 70 6f 73 65 73 |fferent |purposes|
|00001f10| 0d 04 92 49 20 20 20 20 | 20 20 20 20 20 20 20 20 |...I | |
|00001f20| 20 20 20 20 20 20 20 20 | 20 20 20 3a f4 20 61 6e | | :. an|
|00001f30| 64 20 74 68 65 72 65 66 | 6f 72 65 20 74 68 65 20 |d theref|ore the |
|00001f40| 72 65 73 70 6f 6e 73 65 | 73 20 74 6f 20 6d 6f 75 |response|s to mou|
|00001f50| 73 65 20 63 6c 69 63 6b | 73 0d 04 9c 49 20 20 20 |se click|s...I |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f70| 20 20 20 20 3a f4 20 6d | 61 79 20 62 65 20 64 69 | :. m|ay be di|
|00001f80| 66 66 65 72 65 6e 74 2e | 20 53 65 65 20 50 52 4f |fferent.| See PRO|
|00001f90| 43 63 6c 69 63 6b 71 75 | 65 72 79 20 66 6f 72 20 |Cclickqu|ery for |
|00001fa0| 61 6e 0d 04 a6 25 20 20 | 20 20 20 20 20 20 20 20 |an...% | |
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3a f4 20 | | :. |
|00001fc0| 65 78 61 6d 70 6c 65 0d | 04 b0 3b 63 6c 61 69 6d |example.|..;claim|
|00001fd0| 6d 65 6e 75 24 20 3d 22 | 22 20 20 20 20 20 20 20 |menu$ ="|" |
|00001fe0| 20 20 3a f4 20 53 65 74 | 20 62 79 20 74 68 65 20 | :. Set| by the |
|00001ff0| 6d 65 6e 75 5f 78 78 78 | 78 20 72 6f 75 74 69 6e |menu_xxx|x routin|
|00002000| 65 73 0d 04 ba 3f 63 6c | 61 69 6d 64 72 61 67 24 |es...?cl|aimdrag$|
|00002010| 20 3d 22 22 20 20 20 20 | 20 20 20 20 20 3a f4 20 | ="" | :. |
|00002020| 53 65 74 20 62 79 20 74 | 68 65 20 75 73 65 72 64 |Set by t|he userd|
|00002030| 72 61 67 5f 78 78 78 78 | 20 72 6f 75 74 69 6e 65 |rag_xxxx| routine|
|00002040| 73 0d 04 c4 47 63 6c 6f | 73 65 64 6f 77 6e 20 20 |s...Gclo|sedown |
|00002050| 20 20 20 20 20 3d a3 20 | 3a f4 20 53 65 74 20 74 | =. |:. Set t|
|00002060| 68 69 73 20 74 6f 20 54 | 52 55 45 20 77 68 65 6e |his to T|RUE when|
|00002070| 20 79 6f 75 20 77 61 6e | 74 20 74 68 65 20 70 72 | you wan|t the pr|
|00002080| 6f 67 72 61 6d 20 74 6f | 0d 04 ce 21 20 20 20 20 |ogram to|...! |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020a0| 20 20 20 3a f4 20 65 6e | 64 0d 04 d8 43 6f 70 65 | :. en|d...Cope|
|000020b0| 6e 25 20 20 20 20 20 20 | 20 20 20 20 20 3d a3 20 |n% | =. |
|000020c0| 3a f4 20 55 73 65 64 20 | 74 6f 20 64 65 63 69 64 |:. Used |to decid|
|000020d0| 65 20 77 68 65 74 68 65 | 72 20 74 68 65 20 6d 61 |e whethe|r the ma|
|000020e0| 69 6e 20 77 69 6e 64 6f | 77 20 6f 66 0d 04 e2 4a |in windo|w of...J|
|000020f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002100| 20 20 20 20 20 20 20 3a | f4 20 74 68 65 20 61 70 | :|. the ap|
|00002110| 70 6c 69 63 61 74 69 6f | 6e 20 69 73 20 6f 70 65 |plicatio|n is ope|
|00002120| 6e 2e 20 4e 61 74 75 72 | 61 6c 6c 79 20 74 68 69 |n. Natur|ally thi|
|00002130| 73 20 6d 75 73 74 0d 04 | ec 4b 20 20 20 20 20 20 |s must..|.K |
|00002140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002150| 20 3a f4 20 62 65 20 73 | 65 74 20 74 6f 20 74 72 | :. be s|et to tr|
|00002160| 75 65 20 77 68 65 6e 20 | 74 68 65 20 77 69 6e 64 |ue when |the wind|
|00002170| 6f 77 20 69 73 20 6f 70 | 65 6e 65 64 2c 20 61 6e |ow is op|ened, an|
|00002180| 64 0d 04 f6 36 20 20 20 | 20 20 20 20 20 20 20 20 |d...6 | |
|00002190| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a f4 20 46 | | :. F|
|000021a0| 41 4c 53 45 20 77 68 65 | 6e 20 69 74 20 69 73 20 |ALSE whe|n it is |
|000021b0| 63 6c 6f 73 65 64 21 0d | 05 00 44 63 68 61 6e 67 |closed!.|..Dchang|
|000021c0| 65 64 25 20 20 20 20 20 | 20 20 20 3d a3 20 3a f4 |ed% | =. :.|
|000021d0| 20 55 73 65 64 20 74 6f | 20 6b 65 65 70 20 74 72 | Used to| keep tr|
|000021e0| 61 63 6b 20 6f 66 20 77 | 68 65 74 68 65 72 20 74 |ack of w|hether t|
|000021f0| 68 65 20 64 61 74 61 20 | 68 61 73 0d 05 0a 4b 20 |he data |has...K |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002210| 20 20 20 20 20 20 3a f4 | 20 62 65 65 6e 20 63 68 | :.| been ch|
|00002220| 61 6e 67 65 64 2e 20 43 | 61 6c 6c 20 50 52 4f 43 |anged. C|all PROC|
|00002230| 66 69 6c 65 5f 63 68 61 | 6e 67 65 64 28 29 20 77 |file_cha|nged() w|
|00002240| 68 65 6e 20 69 74 0d 05 | 14 47 20 20 20 20 20 20 |hen it..|.G |
|00002250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002260| 20 3a f4 20 68 61 73 2e | 20 42 75 74 20 69 66 20 | :. has.| But if |
|00002270| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 64 6f 65 73 |the prog|ram does|
|00002280| 20 6e 6f 74 20 75 73 65 | 20 64 61 74 61 0d 05 1e | not use| data...|
|00002290| 48 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |H | |
|000022a0| 20 20 20 20 20 20 20 20 | 3a f4 20 66 69 6c 65 73 | |:. files|
|000022b0| 20 6a 75 73 74 20 69 67 | 6e 6f 72 65 20 74 68 69 | just ig|nore thi|
|000022c0| 73 20 76 61 72 69 61 62 | 6c 65 20 62 75 74 20 64 |s variab|le but d|
|000022d0| 6f 20 6e 6f 74 0d 05 28 | 47 20 20 20 20 20 20 20 |o not..(|G |
|000022e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022f0| 3a f4 20 64 65 6c 65 74 | 65 20 69 74 20 61 73 20 |:. delet|e it as |
|00002300| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 63 68 65 63 |the prog|ram chec|
|00002310| 6b 73 20 69 74 20 62 65 | 66 6f 72 65 0d 05 32 26 |ks it be|fore..2&|
|00002320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002330| 20 20 20 20 20 20 20 3a | f4 20 65 78 69 74 69 6e | :|. exitin|
|00002340| 67 21 0d 05 3c 04 0d 05 | 46 4c f4 20 2d 2d 2d 2d |g!..<...|FL. ----|
|00002350| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002360| 20 49 6e 69 74 69 61 6c | 69 73 65 20 41 72 72 61 | Initial|ise Arra|
|00002370| 79 73 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ys -----|--------|
|00002380| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002390| 2d 2d 0d 05 50 04 0d 05 | 5a 42 de 20 74 65 78 74 |--..P...|ZB. text|
|000023a0| 24 28 35 30 29 2c 73 65 | 74 74 69 6e 67 28 35 30 |$(50),se|tting(50|
|000023b0| 29 2c 66 6c 61 67 73 28 | 35 30 29 20 3a f4 20 75 |),flags(|50) :. u|
|000023c0| 73 65 64 20 62 79 20 74 | 68 65 20 6d 65 6e 75 20 |sed by t|he menu |
|000023d0| 72 6f 75 74 69 6e 65 73 | 0d 05 64 42 de 20 73 75 |routines|..dB. su|
|000023e0| 62 6d 65 6e 75 28 35 30 | 29 2c 72 65 66 28 35 30 |bmenu(50|),ref(50|
|000023f0| 29 2c 6d 65 6e 75 70 6f | 73 28 32 30 29 20 3a f4 |),menupo|s(20) :.|
|00002400| 20 75 73 65 64 20 62 79 | 20 74 68 65 20 6d 65 6e | used by| the men|
|00002410| 75 20 72 6f 75 74 69 6e | 65 73 0d 05 6e 04 0d 05 |u routin|es..n...|
|00002420| 78 4c f4 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |xL. ----|--------|
|00002430| 2d 2d 2d 2d 2d 2d 2d 2d | 20 49 6e 69 74 69 61 6c |--------| Initial|
|00002440| 69 73 65 20 53 74 6f 72 | 61 67 65 20 2d 2d 2d 2d |ise Stor|age ----|
|00002450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 05 82 04 0d 05 |--------|--......|
|00002470| 8c 0f de 20 6d 65 6e 75 | 25 20 35 31 32 0d 05 96 |... menu|% 512...|
|00002480| 46 de 20 69 6e 64 69 72 | 65 63 74 25 20 26 32 30 |F. indir|ect% &20|
|00002490| 30 30 20 3a f4 20 55 73 | 65 64 20 66 6f 72 20 69 |00 :. Us|ed for i|
|000024a0| 6e 64 69 72 65 63 74 65 | 64 20 69 63 6f 6e 73 2e |ndirecte|d icons.|
|000024b0| 20 4d 61 6b 65 20 74 68 | 69 73 20 61 72 65 61 20 | Make th|is area |
|000024c0| 42 49 47 0d 05 a0 48 20 | 20 20 20 20 20 20 20 20 |BIG...H | |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 3a f4 20 77 68 | | :. wh|
|000024e0| 69 6c 65 20 64 65 76 65 | 6c 6f 70 69 6e 67 20 74 |ile deve|loping t|
|000024f0| 68 65 20 70 72 6f 67 72 | 61 6d 2c 20 63 75 74 74 |he progr|am, cutt|
|00002500| 69 6e 67 20 69 74 20 64 | 6f 77 6e 0d 05 aa 4b 20 |ing it d|own...K |
|00002510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002520| 20 20 20 3a f4 20 77 68 | 65 6e 20 69 74 20 69 73 | :. wh|en it is|
|00002530| 20 66 69 6e 69 73 68 65 | 64 2e 20 41 67 61 69 6e | finishe|d. Again|
|00002540| 20 79 6f 75 27 6c 6c 20 | 6b 6e 6f 77 20 77 68 65 | you'll |know whe|
|00002550| 6e 20 69 74 27 73 0d 05 | b4 40 20 20 20 20 20 20 |n it's..|.@ |
|00002560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a f4 | | :.|
|00002570| 20 74 6f 6f 20 73 6d 61 | 6c 6c 20 27 63 6f 73 20 | too sma|ll 'cos |
|00002580| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 77 6f 6e 27 |the prog|ram won'|
|00002590| 74 20 72 75 6e 21 0d 05 | be 3b de 20 6d 73 67 62 |t run!..|.;. msgb|
|000025a0| 6c 6b 25 20 32 35 36 20 | 20 20 20 20 3a f4 20 55 |lk% 256 | :. U|
|000025b0| 73 65 64 20 66 6f 72 20 | 69 6e 74 65 72 20 74 61 |sed for |inter ta|
|000025c0| 73 6b 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |sk commu|nication|
|000025d0| 73 0d 05 c8 04 0d 05 d2 | 4c f4 20 2d 2d 2d 2d 2d |s.......|L. -----|
|000025e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|000025f0| 4d 69 73 63 65 6c 6c 65 | 61 6e 6f 75 73 20 49 6e |Miscelle|anous In|
|00002600| 69 74 69 61 6c 69 73 61 | 74 69 6f 6e 20 2d 2d 2d |itialisa|tion ---|
|00002610| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002620| 2d 0d 05 dc 04 0d 05 e6 | 25 69 70 74 72 25 3d 69 |-.......|%iptr%=i|
|00002630| 6e 64 69 72 65 63 74 25 | 3a 69 65 6e 64 25 3d 69 |ndirect%|:iend%=i|
|00002640| 70 74 72 25 2b 26 32 30 | 30 30 0d 05 f0 04 0d 05 |ptr%+&20|00......|
|00002650| fa 4c f4 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.L. ----|--------|
|00002660| 2d 2d 2d 2d 2d 2d 2d 2d | 20 41 70 70 6c 69 63 61 |--------| Applica|
|00002670| 74 69 6f 6e 20 49 6e 69 | 74 69 61 6c 69 73 61 74 |tion Ini|tialisat|
|00002680| 69 6f 6e 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ion ----|--------|
|00002690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 06 04 04 0d 06 |--------|--......|
|000026a0| 0e 4c f4 20 49 6e 69 74 | 69 61 6c 69 73 61 74 69 |.L. Init|ialisati|
|000026b0| 6f 6e 20 73 74 75 66 66 | 20 77 68 69 63 68 20 69 |on stuff| which i|
|000026c0| 73 20 75 6e 69 71 75 65 | 20 74 6f 20 79 6f 75 72 |s unique| to your|
|000026d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 49 6e | applica|tion. In|
|000026e0| 20 74 68 69 73 20 63 61 | 73 65 0d 06 18 21 f4 20 | this ca|se...!. |
|000026f0| 69 74 20 64 6f 65 73 20 | 6e 6f 74 20 61 6d 6f 75 |it does |not amou|
|00002700| 6e 74 20 74 6f 20 6d 75 | 63 68 21 0d 06 22 04 0d |nt to mu|ch!.."..|
|00002710| 06 2c 14 6d 61 78 5f 66 | 69 65 6c 64 73 25 20 20 |.,.max_f|ields% |
|00002720| 3d 20 35 0d 06 36 14 6d | 61 78 5f 72 65 63 73 25 |= 5..6.m|ax_recs%|
|00002730| 20 20 20 20 3d 31 30 0d | 06 40 34 6d 61 74 63 68 | =10.|.@4match|
|00002740| 25 20 20 20 20 20 20 20 | 3d a3 20 20 20 20 3a f4 |% |=. :.|
|00002750| 20 55 73 65 64 20 69 6e | 20 74 68 65 20 73 65 61 | Used in| the sea|
|00002760| 72 63 68 20 72 6f 75 74 | 69 6e 65 0d 06 4a 23 de |rch rout|ine..J#.|
|00002770| 20 66 69 65 6c 64 24 28 | 6d 61 78 5f 66 69 65 6c | field$(|max_fiel|
|00002780| 64 73 25 2c 6d 61 78 5f | 72 65 63 73 25 29 0d 06 |ds%,max_|recs%)..|
|00002790| 54 47 6d 61 69 6e 77 5f | 74 69 74 6c 65 24 20 3d |TGmainw_|title$ =|
|000027a0| 20 22 53 68 65 6c 6c 22 | 20 3a f4 20 57 65 20 6e | "Shell"| :. We n|
|000027b0| 65 65 64 20 61 20 73 74 | 72 69 6e 67 20 68 65 72 |eed a st|ring her|
|000027c0| 65 20 66 6f 72 20 74 68 | 65 20 6d 61 69 6e 20 77 |e for th|e main w|
|000027d0| 69 6e 64 6f 77 0d 06 5e | 4b 20 20 20 20 20 20 20 |indow..^|K |
|000027e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027f0| 3a f4 20 74 69 74 6c 65 | 20 61 73 20 77 65 20 77 |:. title| as we w|
|00002800| 69 6c 6c 20 62 65 20 61 | 64 64 69 6e 67 20 22 20 |ill be a|dding " |
|00002810| 2a 22 20 74 6f 20 69 74 | 20 74 6f 20 73 68 6f 77 |*" to it| to show|
|00002820| 0d 06 68 4c 20 20 20 20 | 20 20 20 20 20 20 20 20 |..hL | |
|00002830| 20 20 20 20 20 20 20 20 | 20 20 20 3a f4 20 74 68 | | :. th|
|00002840| 65 20 64 61 74 61 20 66 | 69 6c 65 20 68 61 73 20 |e data f|ile has |
|00002850| 62 65 65 6e 20 65 64 69 | 74 65 64 2e 20 44 6f 6e |been edi|ted. Don|
|00002860| 27 74 20 66 6f 72 67 65 | 74 20 74 6f 0d 06 72 4b |'t forge|t to..rK|
|00002870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002880| 20 20 20 20 20 20 20 3a | f4 20 63 68 61 6e 67 65 | :|. change|
|00002890| 20 69 74 20 69 6e 20 74 | 68 65 20 74 65 6d 70 6c | it in t|he templ|
|000028a0| 61 74 65 20 66 69 6c 65 | 20 61 73 20 77 65 6c 6c |ate file| as well|
|000028b0| 20 69 66 20 79 6f 75 0d | 06 7c 34 20 20 20 20 20 | if you.|.|4 |
|000028c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028d0| 20 20 3a f4 20 77 61 6e | 74 20 61 20 64 69 66 66 | :. wan|t a diff|
|000028e0| 65 72 65 6e 74 20 74 69 | 74 6c 65 0d 06 86 4a 63 |erent ti|tle...Jc|
|000028f0| 75 72 72 65 6e 74 5f 72 | 65 63 25 20 3d 20 31 20 |urrent_r|ec% = 1 |
|00002900| 20 20 20 20 20 20 3a f4 | 20 54 68 65 20 6e 75 6d | :.| The num|
|00002910| 62 65 72 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ber of t|he curre|
|00002920| 6e 74 6c 79 20 64 69 73 | 70 6c 61 79 65 64 20 72 |ntly dis|played r|
|00002930| 65 63 6f 72 64 0d 06 90 | 45 6d 79 5f 66 69 6c 65 |ecord...|Emy_file|
|00002940| 74 79 70 65 25 20 3d 20 | 26 32 30 30 20 20 20 20 |type% = |&200 |
|00002950| 3a f4 20 54 68 65 20 66 | 69 6c 65 74 79 70 65 20 |:. The f|iletype |
|00002960| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00002970| 27 6f 77 6e 73 27 20 61 | 6e 64 0d 06 9a 43 20 20 |'owns' a|nd...C |
|00002980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002990| 20 20 20 20 20 3a f4 20 | 72 65 73 70 6f 6e 64 73 | :. |responds|
|000029a0| 20 74 6f 20 77 68 65 6e | 20 74 68 65 20 64 61 74 | to when| the dat|
|000029b0| 61 66 69 6c 65 20 69 63 | 6f 6e 20 69 73 0d 06 a4 |afile ic|on is...|
|000029c0| 49 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |I | |
|000029d0| 20 20 20 20 20 20 20 20 | 3a f4 20 64 6f 75 62 6c | |:. doubl|
|000029e0| 65 20 63 6c 69 63 6b 65 | 64 2e 20 49 66 20 79 6f |e clicke|d. If yo|
|000029f0| 75 20 63 68 61 6e 67 65 | 20 74 68 69 73 20 79 6f |u change| this yo|
|00002a00| 75 20 6d 75 73 74 0d 06 | ae 4b 20 20 20 20 20 20 |u must..|.K |
|00002a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a20| 20 3a f4 20 63 68 61 6e | 67 65 20 74 68 65 20 2a | :. chan|ge the *|
|00002a30| 53 65 74 20 52 75 6e 40 | 54 79 70 65 20 76 61 72 |Set Run@|Type var|
|00002a40| 69 61 62 6c 65 20 69 6e | 20 74 68 65 20 21 52 55 |iable in| the !RU|
|00002a50| 4e 0d 06 b8 4a 20 20 20 | 20 20 20 20 20 20 20 20 |N...J | |
|00002a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a f4 20 66 | | :. f|
|00002a70| 69 6c 65 20 61 6e 64 20 | 74 68 65 20 2a 53 65 74 |ile and |the *Set|
|00002a80| 20 46 69 6c 65 24 40 54 | 79 70 65 5f 78 78 78 20 | File$@T|ype_xxx |
|00002a90| 6c 69 6e 65 20 69 6e 20 | 74 68 65 0d 06 c2 28 20 |line in |the...( |
|00002aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ab0| 20 20 20 20 20 20 3a f4 | 20 21 42 6f 6f 74 20 66 | :.| !Boot f|
|00002ac0| 69 6c 65 0d 06 cc 39 63 | 75 72 72 65 6e 74 5f 66 |ile...9c|urrent_f|
|00002ad0| 69 6c 65 24 20 3d 20 22 | 22 20 20 20 20 20 3a f4 |ile$ = "|" :.|
|00002ae0| 20 4e 61 6d 65 20 6f 66 | 20 74 68 65 20 6c 6f 61 | Name of| the loa|
|00002af0| 64 65 64 20 64 61 74 61 | 66 69 6c 65 0d 06 d6 33 |ded data|file...3|
|00002b00| 74 69 63 6b 25 20 20 20 | 20 20 20 20 20 20 3d 20 |tick% | = |
|00002b10| a3 20 20 3a f4 20 55 73 | 65 64 20 69 6e 20 74 68 |. :. Us|ed in th|
|00002b20| 65 20 73 75 62 2d 6d 65 | 6e 75 20 64 65 6d 6f 0d |e sub-me|nu demo.|
|00002b30| 06 e0 33 73 68 61 64 65 | 64 25 20 20 20 20 20 20 |..3shade|d% |
|00002b40| 20 3d 20 a3 20 20 3a f4 | 20 55 73 65 64 20 69 6e | = . :.| Used in|
|00002b50| 20 74 68 65 20 73 75 62 | 2d 6d 65 6e 75 20 64 65 | the sub|-menu de|
|00002b60| 6d 6f 0d 06 ea 44 de 20 | 62 75 66 66 65 72 31 25 |mo...D. |buffer1%|
|00002b70| 20 31 36 2c 62 75 66 66 | 65 72 32 25 20 31 36 2c | 16,buff|er2% 16,|
|00002b80| 62 75 66 66 65 72 33 25 | 20 31 36 20 3a f4 20 69 |buffer3%| 16 :. i|
|00002b90| 6e 64 69 72 65 63 74 65 | 64 20 6d 65 6e 75 20 62 |ndirecte|d menu b|
|00002ba0| 75 66 66 65 72 73 0d 06 | f4 45 24 62 75 66 66 65 |uffers..|.E$buffe|
|00002bb0| 72 31 25 3d 22 53 75 62 | 2d 4d 65 6e 75 20 44 65 |r1%="Sub|-Menu De|
|00002bc0| 6d 6f 22 3a 24 62 75 66 | 66 65 72 32 25 3d 22 57 |mo":$buf|fer2%="W|
|00002bd0| 72 69 74 65 61 62 6c 65 | 20 44 65 6d 6f 22 3a 24 |riteable| Demo":$|
|00002be0| 62 75 66 66 65 72 33 25 | 3d 22 22 0d 06 fe 3e de |buffer3%|=""...>.|
|00002bf0| 20 66 64 61 74 65 25 20 | 35 2c 66 62 75 66 66 65 | fdate% |5,fbuffe|
|00002c00| 72 25 20 32 38 20 20 3a | f4 20 55 73 65 64 20 62 |r% 28 :|. Used b|
|00002c10| 79 20 74 68 65 20 27 66 | 69 6c 65 5f 64 61 74 65 |y the 'f|ile_date|
|00002c20| 27 20 72 6f 75 74 69 6e | 65 0d 07 08 04 0d 07 12 |' routin|e.......|
|00002c30| 4c f4 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |L. -----|--------|
|00002c40| 2d 2d 2d 2d 2d 2d 2d 20 | 50 69 63 6b 20 55 70 20 |------- |Pick Up |
|00002c50| 46 69 6c 65 20 4e 61 6d | 65 20 46 72 6f 6d 20 43 |File Nam|e From C|
|00002c60| 6f 6d 6d 61 6e 64 20 4c | 69 6e 65 20 2d 2d 2d 2d |ommand L|ine ----|
|00002c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 07 1c 04 0d 07 26 |--------|-......&|
|00002c80| 44 f4 20 54 68 69 73 20 | 73 65 63 74 69 6f 6e 20 |D. This |section |
|00002c90| 69 73 20 75 73 65 64 20 | 77 68 65 6e 20 74 68 65 |is used |when the|
|00002ca0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 69 73 20 | applica|tion is |
|00002cb0| 73 74 61 72 74 65 64 20 | 62 79 20 64 6f 75 62 6c |started |by doubl|
|00002cc0| 65 0d 07 30 47 f4 20 63 | 6c 69 63 6b 69 6e 67 20 |e..0G. c|licking |
|00002cd0| 6f 6e 20 61 20 64 61 74 | 61 66 69 6c 65 20 6f 66 |on a dat|afile of|
|00002ce0| 20 74 68 65 20 74 79 70 | 65 20 72 65 63 6f 67 6e | the typ|e recogn|
|00002cf0| 69 73 65 64 20 62 79 20 | 74 68 65 20 61 70 70 6c |ised by |the appl|
|00002d00| 69 63 61 74 69 6f 6e 2e | 0d 07 3a 49 f4 20 41 6c |ication.|..:I. Al|
|00002d10| 6c 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 6b 6e |l you ne|ed to kn|
|00002d20| 6f 77 20 61 62 6f 75 74 | 20 74 68 69 73 20 70 61 |ow about| this pa|
|00002d30| 72 74 20 69 73 20 74 68 | 61 74 20 69 66 20 74 68 |rt is th|at if th|
|00002d40| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 77 61 |e applic|ation wa|
|00002d50| 73 0d 07 44 47 f4 20 73 | 74 61 72 74 65 64 20 62 |s..DG. s|tarted b|
|00002d60| 79 20 64 6f 75 62 6c 65 | 20 63 6c 69 63 6b 69 6e |y double| clickin|
|00002d70| 67 20 6f 6e 20 61 20 66 | 69 6c 65 20 74 68 65 6e |g on a f|ile then|
|00002d80| 20 63 75 72 72 65 6e 74 | 5f 66 69 6c 65 24 20 69 | current|_file$ i|
|00002d90| 73 20 73 65 74 20 74 6f | 0d 07 4e 3e f4 20 74 68 |s set to|..N>. th|
|00002da0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 66 69 |e name o|f the fi|
|00002db0| 6c 65 2c 20 6f 74 68 65 | 72 77 69 73 65 20 63 75 |le, othe|rwise cu|
|00002dc0| 72 72 65 6e 74 5f 66 69 | 6c 65 24 20 65 71 75 61 |rrent_fi|le$ equa|
|00002dd0| 6c 73 20 22 22 2e 0d 07 | 58 04 0d 07 62 22 c8 99 |ls ""...|X...b"..|
|00002de0| 20 22 4f 53 5f 47 65 74 | 45 6e 76 22 20 b8 20 63 | "OS_Get|Env" . c|
|00002df0| 75 72 72 65 6e 74 5f 66 | 69 6c 65 24 0d 07 6c 14 |urrent_f|ile$..l.|
|00002e00| 61 24 3d 63 75 72 72 65 | 6e 74 5f 66 69 6c 65 24 |a$=curre|nt_file$|
|00002e10| 0d 07 76 31 70 3d a7 63 | 75 72 72 65 6e 74 5f 66 |..v1p=.c|urrent_f|
|00002e20| 69 6c 65 24 2c 22 22 22 | 22 2c a7 63 75 72 72 65 |ile$,"""|",.curre|
|00002e30| 6e 74 5f 66 69 6c 65 24 | 2c 22 22 22 22 29 2b 31 |nt_file$|,"""")+1|
|00002e40| 29 0d 07 80 25 63 75 72 | 72 65 6e 74 5f 66 69 6c |)...%cur|rent_fil|
|00002e50| 65 24 3d c1 63 75 72 72 | 65 6e 74 5f 66 69 6c 65 |e$=.curr|ent_file|
|00002e60| 24 2c 70 2b 31 29 0d 07 | 8a 1c c8 95 20 c0 63 75 |$,p+1)..|.... .cu|
|00002e70| 72 72 65 6e 74 5f 66 69 | 6c 65 24 2c 31 29 3d 22 |rrent_fi|le$,1)="|
|00002e80| 20 22 0d 07 94 25 20 20 | 63 75 72 72 65 6e 74 5f | "...% |current_|
|00002e90| 66 69 6c 65 24 3d c1 63 | 75 72 72 65 6e 74 5f 66 |file$=.c|urrent_f|
|00002ea0| 69 6c 65 24 2c 32 29 0d | 07 9e 05 ce 0d 07 a8 04 |ile$,2).|........|
|00002eb0| 0d 07 b2 4c f4 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...L. --|--------|
|00002ec0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 4c 6f 61 64 20 |--------|-- Load |
|00002ed0| 54 65 6d 70 6c 61 74 65 | 20 46 69 6c 65 73 20 2d |Template| Files -|
|00002ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 07 bc 04 |--------|----....|
|00002f00| 0d 07 c6 47 f4 20 54 68 | 69 73 20 21 53 68 65 6c |...G. Th|is !Shel|
|00002f10| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 68 61 |l applic|ation ha|
|00002f20| 73 20 61 20 27 54 65 6d | 70 6c 61 74 65 73 27 20 |s a 'Tem|plates' |
|00002f30| 66 69 6c 65 20 77 68 69 | 63 68 20 69 6e 63 6c 75 |file whi|ch inclu|
|00002f40| 64 65 73 20 74 68 65 0d | 07 d0 4a f4 20 73 74 61 |des the.|..J. sta|
|00002f50| 6e 64 61 72 64 20 52 49 | 53 43 2d 4f 53 20 74 65 |ndard RI|SC-OS te|
|00002f60| 6d 70 6c 61 74 65 73 20 | 77 68 69 63 68 20 73 68 |mplates |which sh|
|00002f70| 6f 75 6c 64 20 62 65 20 | 75 73 65 64 20 62 79 20 |ould be |used by |
|00002f80| 61 6c 6c 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |all appl|ications|
|00002f90| 2e 0d 07 da 49 f4 20 49 | 66 20 79 6f 75 20 6c 6f |....I. I|f you lo|
|00002fa0| 61 64 20 69 74 20 69 6e | 74 6f 20 21 46 6f 72 6d |ad it in|to !Form|
|00002fb0| 45 64 20 79 6f 75 20 77 | 69 6c 6c 20 66 69 6e 64 |Ed you w|ill find|
|00002fc0| 20 74 68 65 6d 20 77 69 | 74 68 20 74 68 65 20 69 | them wi|th the i|
|00002fd0| 64 65 6e 74 69 66 69 65 | 72 73 0d 07 e4 36 f4 20 |dentifie|rs...6. |
|00002fe0| 27 70 72 6f 67 49 6e 66 | 6f 27 2c 20 27 71 75 65 |'progInf|o', 'que|
|00002ff0| 72 79 27 2c 20 27 66 69 | 6c 65 69 6e 66 6f 27 20 |ry', 'fi|leinfo' |
|00003000| 61 6e 64 20 27 78 66 65 | 72 5f 73 65 6e 64 27 2e |and 'xfe|r_send'.|
|00003010| 0d 07 ee 04 0d 07 f8 2f | f4 20 54 68 65 20 73 74 |......./|. The st|
|00003020| 61 6e 64 61 72 64 20 77 | 69 6e 64 6f 77 73 20 61 |andard w|indows a|
|00003030| 72 65 20 75 73 65 64 20 | 61 73 20 66 6f 6c 6c 6f |re used |as follo|
|00003040| 77 73 3a 0d 08 02 04 0d | 08 0c 47 f4 20 20 20 70 |ws:.....|..G. p|
|00003050| 72 6f 67 49 6e 66 6f 20 | 20 2d 20 67 69 76 65 73 |rogInfo | - gives|
|00003060| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00003070| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 74 68 | applica|tion, th|
|00003080| 65 20 70 75 72 70 6f 73 | 65 2c 20 74 68 65 0d 08 |e purpos|e, the..|
|00003090| 16 4b f4 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.K. | |
|000030a0| 20 20 61 75 74 68 6f 72 | 20 61 6e 64 20 74 68 65 | author| and the|
|000030b0| 20 76 65 72 73 69 6f 6e | 20 6e 75 6d 62 65 72 2e | version| number.|
|000030c0| 20 41 70 70 65 61 72 73 | 20 77 68 65 6e 20 74 68 | Appears| when th|
|000030d0| 65 20 70 6f 69 6e 74 65 | 72 0d 08 20 45 f4 20 20 |e pointe|r.. E. |
|000030e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 73 20 | | is |
|000030f0| 6d 6f 76 65 64 20 74 6f | 20 74 68 65 20 72 69 67 |moved to| the rig|
|00003100| 68 74 20 6f 66 20 74 68 | 65 20 27 49 6e 66 6f 27 |ht of th|e 'Info'|
|00003110| 20 6f 70 74 69 6f 6e 20 | 6f 6e 20 74 68 65 0d 08 | option |on the..|
|00003120| 2a 47 f4 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |*G. | |
|00003130| 20 20 69 63 6f 6e 62 61 | 72 20 6d 65 6e 75 2e 20 | iconba|r menu. |
|00003140| 54 68 65 72 65 20 73 68 | 6f 75 6c 64 20 61 6c 73 |There sh|ould als|
|00003150| 6f 20 62 65 20 61 6e 20 | 27 49 6e 66 6f 27 20 6f |o be an |'Info' o|
|00003160| 70 74 69 6f 6e 0d 08 34 | 43 f4 20 20 20 20 20 20 |ption..4|C. |
|00003170| 20 20 20 20 20 20 20 20 | 20 61 74 20 74 6f 70 20 | | at top |
|00003180| 6f 66 20 74 68 65 20 6d | 61 69 6e 20 77 69 6e 64 |of the m|ain wind|
|00003190| 6f 77 20 6d 65 6e 75 20 | 61 63 63 6f 72 64 69 6e |ow menu |accordin|
|000031a0| 67 20 74 6f 20 74 68 65 | 0d 08 3e 32 f4 20 20 20 |g to the|..>2. |
|000031b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 52 49 53 43 | | RISC|
|000031c0| 2d 4f 53 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |-OS appl|ication |
|000031d0| 67 75 69 64 65 6c 69 6e | 65 73 0d 08 48 49 f4 20 |guidelin|es..HI. |
|000031e0| 20 20 71 75 65 72 79 20 | 20 20 20 20 2d 20 61 20 | query | - a |
|000031f0| 71 75 65 73 74 69 6f 6e | 20 77 69 6e 64 6f 77 20 |question| window |
|00003200| 63 6f 6e 73 69 73 74 69 | 6e 67 20 6f 66 20 73 65 |consisti|ng of se|
|00003210| 76 65 72 61 6c 20 6c 69 | 6e 65 73 20 6f 66 20 74 |veral li|nes of t|
|00003220| 65 78 74 0d 08 52 2f f4 | 20 20 20 20 20 20 20 20 |ext..R/.| |
|00003230| 20 20 20 20 20 20 20 61 | 6e 64 20 27 43 61 6e 63 | a|nd 'Canc|
|00003240| 65 6c 27 20 61 6e 64 20 | 27 4f 6b 27 20 69 63 6f |el' and |'Ok' ico|
|00003250| 6e 73 0d 08 5c 46 f4 20 | 20 20 66 69 6c 65 49 6e |ns..\F. | fileIn|
|00003260| 66 6f 20 20 2d 20 67 69 | 76 65 73 20 64 65 74 61 |fo - gi|ves deta|
|00003270| 69 6c 73 20 6f 6e 20 74 | 68 65 20 66 69 6c 65 20 |ils on t|he file |
|00003280| 6c 6f 61 64 65 64 20 6f | 72 20 63 72 65 61 74 65 |loaded o|r create|
|00003290| 64 20 62 79 20 74 68 65 | 0d 08 66 1b f4 20 20 20 |d by the|..f.. |
|000032a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 72 6f 67 | | prog|
|000032b0| 72 61 6d 0d 08 70 2b f4 | 20 20 20 78 66 65 72 5f |ram..p+.| xfer_|
|000032c0| 73 65 6e 64 20 2d 20 74 | 68 65 20 52 49 53 43 2d |send - t|he RISC-|
|000032d0| 4f 53 20 73 61 76 65 20 | 77 69 6e 64 6f 77 0d 08 |OS save |window..|
|000032e0| 7a 04 0d 08 84 4c f4 20 | 4e 6f 74 65 20 74 68 61 |z....L. |Note tha|
|000032f0| 74 20 74 68 65 20 70 6f | 73 69 74 69 6f 6e 20 6f |t the po|sition o|
|00003300| 66 20 74 68 65 20 27 71 | 75 65 72 79 27 20 77 69 |f the 'q|uery' wi|
|00003310| 6e 64 6f 77 20 69 73 20 | 73 65 74 20 69 6e 20 74 |ndow is |set in t|
|00003320| 68 65 20 27 54 65 6d 70 | 6c 61 74 65 73 27 0d 08 |he 'Temp|lates'..|
|00003330| 8e 46 f4 20 66 69 6c 65 | 2e 20 54 6f 20 63 68 61 |.F. file|. To cha|
|00003340| 6e 67 65 20 69 74 20 6c | 6f 61 64 20 74 68 65 20 |nge it l|oad the |
|00003350| 74 65 6d 70 6c 61 74 65 | 20 66 69 6c 65 20 69 6e |template| file in|
|00003360| 74 6f 20 21 46 6f 72 6d | 45 64 2c 20 64 72 61 67 |to !Form|Ed, drag|
|00003370| 20 74 68 65 0d 08 98 48 | f4 20 77 69 6e 64 6f 77 | the...H|. window|
|00003380| 20 74 6f 20 74 68 65 20 | 6e 65 77 20 70 6f 73 69 | to the |new posi|
|00003390| 74 69 6f 6e 20 61 6e 64 | 20 74 68 65 20 72 65 73 |tion and| the res|
|000033a0| 61 76 65 20 69 74 2e 20 | 54 68 69 73 20 61 6c 73 |ave it. |This als|
|000033b0| 6f 20 61 70 70 6c 69 65 | 73 20 74 6f 0d 08 a2 19 |o applie|s to....|
|000033c0| f4 20 74 68 65 20 27 6d | 61 69 6e 77 27 20 77 69 |. the 'm|ainw' wi|
|000033d0| 6e 64 6f 77 2e 0d 08 ac | 04 0d 08 b6 49 f4 20 57 |ndow....|....I. W|
|000033e0| 68 65 6e 20 63 72 65 61 | 74 69 6e 67 20 65 78 74 |hen crea|ting ext|
|000033f0| 72 61 20 77 69 6e 64 6f | 77 73 20 66 6f 72 20 79 |ra windo|ws for y|
|00003400| 6f 75 72 20 6f 77 6e 20 | 61 70 70 6c 69 63 61 74 |our own |applicat|
|00003410| 69 6f 6e 73 20 6d 61 6b | 65 20 61 20 73 6b 65 74 |ions mak|e a sket|
|00003420| 63 68 0d 08 c0 44 f4 20 | 6f 66 20 74 68 65 20 69 |ch...D. |of the i|
|00003430| 63 6f 6e 73 20 61 6e 64 | 20 6e 6f 74 65 20 74 68 |cons and| note th|
|00003440| 65 69 72 20 6e 75 6d 62 | 65 72 73 20 2d 20 61 63 |eir numb|ers - ac|
|00003450| 63 6f 72 64 69 6e 67 20 | 74 6f 20 74 68 65 20 52 |cording |to the R|
|00003460| 49 53 43 2d 4f 53 0d 08 | ca 49 f4 20 61 70 70 6c |ISC-OS..|.I. appl|
|00003470| 69 63 61 74 69 6f 6e 20 | 67 75 69 64 65 6c 69 6e |ication |guidelin|
|00003480| 65 73 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |es appli|cations |
|00003490| 61 72 65 20 61 6c 6c 6f | 77 65 64 20 74 6f 20 6d |are allo|wed to m|
|000034a0| 61 6b 65 20 61 73 73 75 | 6d 70 74 69 6f 6e 73 0d |ake assu|mptions.|
|000034b0| 08 d4 47 f4 20 61 62 6f | 75 74 20 74 68 65 20 6e |..G. abo|ut the n|
|000034c0| 75 6d 62 65 72 73 20 61 | 6e 64 20 63 68 61 72 61 |umbers a|nd chara|
|000034d0| 63 74 65 72 69 73 74 69 | 63 73 20 6f 66 20 74 68 |cteristi|cs of th|
|000034e0| 65 20 69 63 6f 6e 73 20 | 61 6e 64 20 77 69 6e 64 |e icons |and wind|
|000034f0| 6f 77 73 20 69 6e 0d 08 | de 49 f4 20 74 68 65 69 |ows in..|.I. thei|
|00003500| 72 20 74 65 6d 70 6c 61 | 74 65 20 66 69 6c 65 73 |r templa|te files|
|00003510| 2e 20 54 68 69 73 20 69 | 73 20 70 61 72 74 69 63 |. This i|s partic|
|00003520| 75 6c 61 72 6c 79 20 69 | 6d 70 6f 72 74 61 6e 74 |ularly i|mportant|
|00003530| 20 66 6f 72 20 69 63 6f | 6e 73 20 74 68 61 74 0d | for ico|ns that.|
|00003540| 08 e8 4b f4 20 74 68 65 | 20 61 70 70 6c 69 63 61 |..K. the| applica|
|00003550| 74 69 6f 6e 20 70 6c 61 | 63 65 73 20 69 6e 66 6f |tion pla|ces info|
|00003560| 72 6d 61 74 69 6f 6e 20 | 69 6e 20 61 74 20 72 75 |rmation |in at ru|
|00003570| 6e 20 74 69 6d 65 20 73 | 75 63 68 20 61 73 20 74 |n time s|uch as t|
|00003580| 68 65 20 76 65 72 73 69 | 6f 6e 0d 08 f2 46 f4 20 |he versi|on...F. |
|00003590| 69 63 6f 6e 20 69 6e 20 | 74 68 65 20 70 72 6f 67 |icon in |the prog|
|000035a0| 49 6e 66 6f 20 77 69 6e | 64 6f 77 2e 20 59 6f 75 |Info win|dow. You|
|000035b0| 20 6d 75 73 74 20 65 6e | 73 75 72 65 20 74 68 61 | must en|sure tha|
|000035c0| 74 20 73 75 63 68 20 69 | 63 6f 6e 73 20 61 72 65 |t such i|cons are|
|000035d0| 0d 08 fc 47 f4 20 73 65 | 74 20 74 6f 20 27 69 6e |...G. se|t to 'in|
|000035e0| 64 69 72 65 63 74 65 64 | 27 20 69 6e 20 74 68 65 |directed|' in the|
|000035f0| 20 74 65 6d 70 6c 61 74 | 65 20 66 69 6c 65 20 28 | templat|e file (|
|00003600| 75 73 69 6e 67 20 21 46 | 6f 72 6d 45 64 29 20 61 |using !F|ormEd) a|
|00003610| 6e 64 20 74 68 61 74 0d | 09 06 48 f4 20 74 68 65 |nd that.|..H. the|
|00003620| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 64 6f 65 | applica|tion doe|
|00003630| 73 20 6e 6f 74 20 61 74 | 74 65 6d 70 74 20 74 6f |s not at|tempt to|
|00003640| 20 77 72 69 74 65 20 64 | 61 74 61 20 74 6f 20 61 | write d|ata to a|
|00003650| 20 6e 6f 6e 2d 69 6e 64 | 69 72 65 63 74 65 64 0d | non-ind|irected.|
|00003660| 09 10 4b f4 20 69 63 6f | 6e 20 61 73 20 74 68 69 |..K. ico|n as thi|
|00003670| 73 20 75 73 75 61 6c 6c | 79 20 72 65 73 75 6c 74 |s usuall|y result|
|00003680| 73 20 69 6e 20 61 6e 20 | 61 64 64 72 65 73 73 20 |s in an |address |
|00003690| 65 78 63 65 70 74 69 6f | 6e 20 65 72 72 6f 72 21 |exceptio|n error!|
|000036a0| 20 53 69 6d 69 6c 61 72 | 6c 79 0d 09 1a 46 f4 20 | Similar|ly...F. |
|000036b0| 77 69 6e 64 6f 77 73 20 | 77 69 74 68 20 74 69 74 |windows |with tit|
|000036c0| 6c 65 73 20 63 68 61 6e | 67 65 64 20 61 74 20 72 |les chan|ged at r|
|000036d0| 75 6e 20 74 69 6d 65 20 | 28 73 75 63 68 20 61 73 |un time |(such as|
|000036e0| 20 27 6d 61 69 6e 77 27 | 20 69 6e 20 74 68 69 73 | 'mainw'| in this|
|000036f0| 0d 09 24 45 f4 20 70 72 | 6f 67 72 61 6d 29 20 6d |..$E. pr|ogram) m|
|00003700| 75 73 74 20 62 65 20 27 | 69 6e 64 69 72 65 63 74 |ust be '|indirect|
|00003710| 65 64 27 2e 20 54 68 69 | 73 20 69 73 20 64 75 65 |ed'. Thi|s is due|
|00003720| 20 74 6f 20 77 65 61 6b | 6e 65 73 73 65 73 20 69 | to weak|nesses i|
|00003730| 6e 20 74 68 65 0d 09 2e | 45 f4 20 6c 69 62 72 61 |n the...|E. libra|
|00003740| 72 79 20 72 6f 75 74 69 | 6e 65 73 20 69 2e 65 2e |ry routi|nes i.e.|
|00003750| 20 74 68 65 79 20 64 6f | 6e 27 74 20 62 6f 74 68 | they do|n't both|
|00003760| 65 72 20 74 6f 20 63 68 | 65 63 6b 20 69 66 20 74 |er to ch|eck if t|
|00003770| 68 65 20 69 63 6f 6e 20 | 6f 72 0d 09 38 23 f4 20 |he icon |or..8#. |
|00003780| 74 69 74 6c 65 20 64 61 | 74 61 20 69 73 20 6e 6f |title da|ta is no|
|00003790| 74 20 69 6e 64 69 72 65 | 63 74 65 64 2e 0d 09 42 |t indire|cted...B|
|000037a0| 04 0d 09 4c 48 f4 20 4e | 6f 74 65 20 74 68 65 20 |...LH. N|ote the |
|000037b0| 76 61 72 69 61 62 6c 65 | 73 20 72 65 74 75 72 6e |variable|s return|
|000037c0| 65 64 20 66 72 6f 6d 20 | 74 68 65 20 22 57 69 6d |ed from |the "Wim|
|000037d0| 70 5f 43 72 65 61 74 65 | 57 69 6e 64 6f 77 22 20 |p_Create|Window" |
|000037e0| 63 61 6c 6c 20 28 69 2e | 65 0d 09 56 48 f4 20 71 |call (i.|e..VH. q|
|000037f0| 75 65 72 79 25 2c 20 69 | 6e 66 6f 25 2c 20 78 66 |uery%, i|nfo%, xf|
|00003800| 65 72 25 20 65 74 63 29 | 2e 20 54 68 65 73 65 20 |er% etc)|. These |
|00003810| 61 72 65 20 74 68 65 20 | 77 69 6e 64 6f 77 20 68 |are the |window h|
|00003820| 61 6e 64 6c 65 73 20 77 | 68 69 63 68 20 57 49 4d |andles w|hich WIM|
|00003830| 50 0d 09 60 46 f4 20 70 | 72 6f 67 72 61 6d 73 20 |P..`F. p|rograms |
|00003840| 75 73 65 20 74 6f 20 72 | 65 66 65 72 20 74 6f 20 |use to r|efer to |
|00003850| 74 68 65 20 77 69 6e 64 | 6f 77 73 2e 20 41 73 20 |the wind|ows. As |
|00003860| 79 6f 75 20 63 61 6e 20 | 73 65 65 20 74 68 65 20 |you can |see the |
|00003870| 68 61 6e 64 6c 65 73 0d | 09 6a 47 f4 20 6e 65 65 |handles.|.jG. nee|
|00003880| 64 20 6e 6f 74 20 62 65 | 20 74 68 65 20 73 61 6d |d not be| the sam|
|00003890| 65 20 61 73 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |e as the| window |
|000038a0| 27 69 64 65 6e 74 69 66 | 69 65 72 73 27 20 77 68 |'identif|iers' wh|
|000038b0| 69 63 68 20 79 6f 75 20 | 73 65 74 20 75 70 0d 09 |ich you |set up..|
|000038c0| 74 2a f4 20 77 68 65 6e | 20 64 65 66 69 6e 69 6e |t*. when| definin|
|000038d0| 67 20 74 68 65 20 77 69 | 6e 64 6f 77 20 69 6e 20 |g the wi|ndow in |
|000038e0| 21 46 6f 72 6d 45 64 2e | 0d 09 7e 04 0d 09 88 4a |!FormEd.|..~....J|
|000038f0| f4 20 4f 62 76 69 6f 75 | 73 6c 79 20 74 68 65 20 |. Obviou|sly the |
|00003900| 3c 53 68 65 6c 6c 24 44 | 69 72 3e 20 62 69 74 20 |<Shell$D|ir> bit |
|00003910| 77 69 6c 6c 20 6e 65 65 | 64 20 63 68 61 6e 67 69 |will nee|d changi|
|00003920| 6e 67 20 74 6f 20 74 68 | 65 20 6e 61 6d 65 20 6f |ng to th|e name o|
|00003930| 66 20 79 6f 75 72 0d 09 | 92 15 f4 20 6f 77 6e 20 |f your..|... own |
|00003940| 61 70 70 6c 69 63 61 74 | 69 6f 6e 0d 09 9c 04 0d |applicat|ion.....|
|00003950| 09 a6 2e f2 6f 70 65 6e | 74 65 6d 70 6c 61 74 65 |....open|template|
|00003960| 66 69 6c 65 28 22 3c 53 | 68 65 6c 6c 24 44 69 72 |file("<S|hell$Dir|
|00003970| 3e 2e 54 65 6d 70 6c 61 | 74 65 73 22 29 0d 09 b0 |>.Templa|tes")...|
|00003980| 1a f2 6c 6f 61 64 74 65 | 6d 70 6c 61 74 65 28 22 |..loadte|mplate("|
|00003990| 71 75 65 72 79 22 29 0d | 09 ba 27 c8 99 20 22 57 |query").|..'.. "W|
|000039a0| 69 6d 70 5f 43 72 65 61 | 74 65 57 69 6e 64 6f 77 |imp_Crea|teWindow|
|000039b0| 22 2c 2c 71 25 20 b8 20 | 71 75 65 72 79 25 0d 09 |",,q% . |query%..|
|000039c0| c4 1d f2 6c 6f 61 64 74 | 65 6d 70 6c 61 74 65 28 |...loadt|emplate(|
|000039d0| 22 70 72 6f 67 49 6e 66 | 6f 22 29 0d 09 ce 26 c8 |"progInf|o")...&.|
|000039e0| 99 20 22 57 69 6d 70 5f | 43 72 65 61 74 65 57 69 |. "Wimp_|CreateWi|
|000039f0| 6e 64 6f 77 22 2c 2c 71 | 25 20 b8 20 69 6e 66 6f |ndow",,q|% . info|
|00003a00| 25 0d 09 d8 1e f2 6c 6f | 61 64 74 65 6d 70 6c 61 |%.....lo|adtempla|
|00003a10| 74 65 28 22 78 66 65 72 | 5f 73 65 6e 64 22 29 0d |te("xfer|_send").|
|00003a20| 09 e2 26 c8 99 20 22 57 | 69 6d 70 5f 43 72 65 61 |..&.. "W|imp_Crea|
|00003a30| 74 65 57 69 6e 64 6f 77 | 22 2c 2c 71 25 20 b8 20 |teWindow|",,q% . |
|00003a40| 78 66 65 72 25 0d 09 ec | 1d f2 6c 6f 61 64 74 65 |xfer%...|..loadte|
|00003a50| 6d 70 6c 61 74 65 28 22 | 66 69 6c 65 49 6e 66 6f |mplate("|fileInfo|
|00003a60| 22 29 0d 09 f6 27 c8 99 | 20 22 57 69 6d 70 5f 43 |")...'..| "Wimp_C|
|00003a70| 72 65 61 74 65 57 69 6e | 64 6f 77 22 2c 2c 71 25 |reateWin|dow",,q%|
|00003a80| 20 b8 20 66 69 6e 66 6f | 25 0d 0a 00 1a f2 6c 6f | . finfo|%.....lo|
|00003a90| 61 64 74 65 6d 70 6c 61 | 74 65 28 22 6d 61 69 6e |adtempla|te("main|
|00003aa0| 77 22 29 0d 0a 0a 4a 71 | 25 21 36 34 3d 73 70 20 |w")...Jq|%!64=sp |
|00003ab0| 3a f4 20 61 6e 79 20 77 | 69 6e 64 6f 77 20 75 73 |:. any w|indow us|
|00003ac0| 69 6e 67 20 73 70 72 69 | 74 65 73 20 66 72 6f 6d |ing spri|tes from|
|00003ad0| 20 74 68 65 20 75 73 65 | 72 20 61 72 65 61 20 73 | the use|r area s|
|00003ae0| 68 6f 75 6c 64 20 64 6f | 20 74 68 69 73 0d 0a 14 |hould do| this...|
|00003af0| 4a 20 20 20 20 20 20 20 | 20 20 3a f4 20 62 65 66 |J | :. bef|
|00003b00| 6f 72 65 20 63 72 65 61 | 74 69 6e 67 20 74 68 65 |ore crea|ting the|
|00003b10| 20 77 69 6e 64 6f 77 20 | 2d 20 74 68 69 73 20 74 | window |- this t|
|00003b20| 65 6c 6c 73 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |ells the| window |
|00003b30| 6d 61 6e 61 67 65 72 0d | 0a 1e 34 20 20 20 20 20 |manager.|..4 |
|00003b40| 20 20 20 20 3a f4 20 74 | 6f 20 66 69 6e 64 20 74 | :. t|o find t|
|00003b50| 68 65 20 73 70 72 69 74 | 65 73 20 69 6e 20 74 68 |he sprit|es in th|
|00003b60| 65 20 75 73 65 72 20 61 | 72 65 61 0d 0a 28 27 c8 |e user a|rea..('.|
|00003b70| 99 20 22 57 69 6d 70 5f | 43 72 65 61 74 65 57 69 |. "Wimp_|CreateWi|
|00003b80| 6e 64 6f 77 22 2c 2c 71 | 25 20 b8 20 6d 61 69 6e |ndow",,q|% . main|
|00003b90| 77 25 0d 0a 32 1b f2 6c | 6f 61 64 74 65 6d 70 6c |w%..2..l|oadtempl|
|00003ba0| 61 74 65 28 22 73 65 61 | 72 63 68 22 29 0d 0a 3c |ate("sea|rch")..<|
|00003bb0| 28 c8 99 20 22 57 69 6d | 70 5f 43 72 65 61 74 65 |(.. "Wim|p_Create|
|00003bc0| 57 69 6e 64 6f 77 22 2c | 2c 71 25 20 b8 20 73 65 |Window",|,q% . se|
|00003bd0| 61 72 63 68 25 0d 0a 46 | 16 f2 63 6c 6f 73 65 74 |arch%..F|..closet|
|00003be0| 65 6d 70 6c 61 74 65 66 | 69 6c 65 0d 0a 50 04 0d |emplatef|ile..P..|
|00003bf0| 0a 5a 4c f4 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.ZL. ---|--------|
|00003c00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 4c 6f 61 64 20 44 |--------|- Load D|
|00003c10| 61 74 61 20 46 69 6c 65 | 20 2d 2d 2d 2d 2d 2d 2d |ata File| -------|
|00003c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003c30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 64 04 0d |--------|---..d..|
|00003c40| 0a 6e 49 f4 20 49 66 20 | 74 68 65 20 61 70 70 6c |.nI. If |the appl|
|00003c50| 69 63 61 74 69 6f 6e 20 | 68 61 73 20 62 65 65 6e |ication |has been|
|00003c60| 20 73 74 61 72 74 65 64 | 20 62 79 20 64 6f 75 62 | started| by doub|
|00003c70| 6c 65 20 63 6c 69 63 6b | 69 6e 67 20 6f 6e 20 61 |le click|ing on a|
|00003c80| 20 66 69 6c 65 20 6f 66 | 0d 0a 78 40 f4 20 74 68 | file of|..x@. th|
|00003c90| 65 20 74 79 70 65 20 72 | 65 63 6f 67 6e 69 73 65 |e type r|ecognise|
|00003ca0| 64 20 62 79 20 74 68 65 | 20 61 70 70 6c 69 63 61 |d by the| applica|
|00003cb0| 74 69 6f 6e 20 77 65 27 | 6c 6c 20 6c 6f 61 64 20 |tion we'|ll load |
|00003cc0| 69 74 20 68 65 72 65 2e | 0d 0a 82 04 0d 0a 8c 19 |it here.|........|
|00003cd0| e7 20 63 75 72 72 65 6e | 74 5f 66 69 6c 65 24 3c |. curren|t_file$<|
|00003ce0| 3e 22 22 20 8c 0d 0a 96 | 1e 20 20 f2 6c 6f 61 64 |>"" ....|. .load|
|00003cf0| 66 69 6c 65 28 63 75 72 | 72 65 6e 74 5f 66 69 6c |file(cur|rent_fil|
|00003d00| 65 24 29 0d 0a a0 05 cd | 0d 0a aa 04 0d 0a b4 4c |e$).....|.......L|
|00003d10| f4 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |. ------|--------|
|00003d20| 2d 2d 2d 2d 2d 2d 20 44 | 65 66 69 6e 65 20 49 63 |------ D|efine Ic|
|00003d30| 6f 6e 73 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ons ----|--------|
|00003d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d50| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a be 04 0d 0a c8 4b |--------|.......K|
|00003d60| f4 20 41 6e 79 20 64 61 | 74 61 20 77 68 69 63 68 |. Any da|ta which|
|00003d70| 20 6e 65 65 64 73 20 74 | 6f 20 62 65 20 70 6c 61 | needs t|o be pla|
|00003d80| 63 65 64 20 69 6e 20 69 | 63 6f 6e 73 20 69 73 20 |ced in i|cons is |
|00003d90| 74 72 61 6e 73 66 65 72 | 72 65 64 20 68 65 72 65 |transfer|red here|
|00003da0| 2e 20 45 76 65 72 79 0d | 0a d2 49 f4 20 57 49 4d |. Every.|..I. WIM|
|00003db0| 50 20 70 72 6f 67 72 61 | 6d 20 77 69 6c 6c 20 6e |P progra|m will n|
|00003dc0| 65 65 64 20 74 6f 20 64 | 6f 20 74 68 69 73 20 61 |eed to d|o this a|
|00003dd0| 73 20 74 68 65 20 76 65 | 72 73 69 6f 6e 20 73 74 |s the ve|rsion st|
|00003de0| 72 69 6e 67 20 6d 75 73 | 74 20 61 70 70 65 61 72 |ring mus|t appear|
|00003df0| 0d 0a dc 4a f4 20 69 6e | 20 74 68 65 20 61 70 70 |...J. in| the app|
|00003e00| 72 6f 70 72 69 61 74 65 | 20 69 63 6f 6e 20 69 6e |ropriate| icon in|
|00003e10| 20 74 68 65 20 69 6e 66 | 6f 20 77 69 6e 64 6f 77 | the inf|o window|
|00003e20| 20 28 6f 74 68 65 72 77 | 69 73 65 20 79 6f 75 27 | (otherw|ise you'|
|00003e30| 6c 6c 20 68 61 76 65 20 | 74 6f 0d 0a e6 42 f4 20 |ll have |to...B. |
|00003e40| 63 68 61 6e 67 65 20 74 | 68 65 20 74 65 6d 70 6c |change t|he templ|
|00003e50| 61 74 65 20 66 69 6c 65 | 20 65 76 65 72 79 20 74 |ate file| every t|
|00003e60| 69 6d 65 20 79 6f 75 20 | 63 68 61 6e 67 65 20 74 |ime you |change t|
|00003e70| 68 65 20 21 52 75 6e 49 | 6d 61 67 65 0d 0a f0 10 |he !RunI|mage....|
|00003e80| f4 20 70 72 6f 67 72 61 | 6d 21 29 2e 0d 0a fa 04 |. progra|m!).....|
|00003e90| 0d 0b 04 28 f2 69 63 6f | 6e 5f 70 75 74 64 61 74 |...(.ico|n_putdat|
|00003ea0| 61 28 71 25 2c 69 6e 66 | 6f 25 2c 34 2c 76 65 72 |a(q%,inf|o%,4,ver|
|00003eb0| 73 69 6f 6e 24 2c 30 29 | 0d 0b 0e 04 0d 0b 18 48 |sion$,0)|.......H|
|00003ec0| f4 20 49 66 20 79 6f 75 | 20 61 72 65 20 75 73 69 |. If you| are usi|
|00003ed0| 6e 67 20 74 68 65 20 27 | 66 69 6c 65 49 6e 66 6f |ng the '|fileInfo|
|00003ee0| 27 20 77 69 6e 64 6f 77 | 20 74 6f 20 67 69 76 65 |' window| to give|
|00003ef0| 20 64 65 74 61 69 6c 73 | 20 6f 66 20 74 68 65 20 | details| of the |
|00003f00| 66 69 6c 65 0d 0b 22 4c | f4 20 6c 6f 61 64 65 64 |file.."L|. loaded|
|00003f10| 20 62 79 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | by the |applicat|
|00003f20| 69 6f 6e 20 79 6f 75 20 | 63 61 6e 20 70 6c 61 63 |ion you |can plac|
|00003f30| 65 20 74 65 78 74 20 69 | 6e 20 74 68 65 20 69 63 |e text i|n the ic|
|00003f40| 6f 6e 73 20 68 65 72 65 | 20 61 73 20 77 65 6c 6c |ons here| as well|
|00003f50| 0d 0b 2c 04 0d 0b 36 41 | f2 69 63 6f 6e 5f 70 75 |..,...6A|.icon_pu|
|00003f60| 74 64 61 74 61 28 71 25 | 2c 66 69 6e 66 6f 25 2c |tdata(q%|,finfo%,|
|00003f70| 32 2c 22 4e 6f 22 2c 30 | 29 20 20 20 20 20 20 20 |2,"No",0|) |
|00003f80| 20 20 20 3a f4 20 27 4d | 6f 64 69 66 69 65 64 27 | :. 'M|odified'|
|00003f90| 20 69 63 6f 6e 0d 0b 40 | 3d f2 69 63 6f 6e 5f 70 | icon..@|=.icon_p|
|00003fa0| 75 74 64 61 74 61 28 71 | 25 2c 66 69 6e 66 6f 25 |utdata(q|%,finfo%|
|00003fb0| 2c 33 2c 22 53 68 65 6c | 6c 44 61 74 61 22 2c 30 |,3,"Shel|lData",0|
|00003fc0| 29 20 20 20 3a f4 20 27 | 54 79 70 65 27 20 69 63 |) :. '|Type' ic|
|00003fd0| 6f 6e 0d 0b 4a 18 e7 20 | 63 75 72 72 65 6e 74 5f |on..J.. |current_|
|00003fe0| 66 69 6c 65 24 3d 22 22 | 20 8c 0d 0b 54 3d 20 20 |file$=""| ...T= |
|00003ff0| f2 69 63 6f 6e 5f 70 75 | 74 64 61 74 61 28 71 25 |.icon_pu|tdata(q%|
|00004000| 2c 66 69 6e 66 6f 25 2c | 31 2c 22 53 68 65 6c 6c |,finfo%,|1,"Shell|
|00004010| 46 69 6c 65 22 2c 30 29 | 20 3a f4 20 27 4e 61 6d |File",0)| :. 'Nam|
|00004020| 65 27 20 69 63 6f 6e 0d | 0b 5e 3d 20 20 f2 69 63 |e' icon.|.^= .ic|
|00004030| 6f 6e 5f 70 75 74 64 61 | 74 61 28 71 25 2c 66 69 |on_putda|ta(q%,fi|
|00004040| 6e 66 6f 25 2c 34 2c 22 | 30 20 62 79 74 65 73 22 |nfo%,4,"|0 bytes"|
|00004050| 2c 30 29 20 20 20 3a f4 | 20 27 53 69 7a 65 27 20 |,0) :.| 'Size' |
|00004060| 69 63 6f 6e 0d 0b 68 3d | 20 20 f2 69 63 6f 6e 5f |icon..h=| .icon_|
|00004070| 70 75 74 64 61 74 61 28 | 71 25 2c 66 69 6e 66 6f |putdata(|q%,finfo|
|00004080| 25 2c 35 2c 22 22 2c 30 | 29 20 20 20 20 20 20 20 |%,5,"",0|) |
|00004090| 20 20 20 3a f4 20 27 44 | 61 74 65 27 20 69 63 6f | :. 'D|ate' ico|
|000040a0| 6e 0d 0b 72 05 cd 0d 0b | 7c 04 0d 0b 86 4a f4 20 |n..r....||....J. |
|000040b0| 57 65 27 6c 6c 20 61 6c | 73 6f 20 70 6c 61 63 65 |We'll al|so place|
|000040c0| 20 61 20 64 65 66 61 75 | 6c 74 20 66 69 6c 65 20 | a defau|lt file |
|000040d0| 6e 61 6d 65 20 69 6e 20 | 74 68 65 20 27 78 66 65 |name in |the 'xfe|
|000040e0| 72 5f 73 65 6e 64 27 20 | 77 69 6e 64 6f 77 20 69 |r_send' |window i|
|000040f0| 66 20 6e 6f 0d 0b 90 14 | f4 20 66 69 6c 65 20 69 |f no....|. file i|
|00004100| 73 20 6c 6f 61 64 65 64 | 0d 0b 9a 04 0d 0b a4 18 |s loaded|........|
|00004110| e7 20 63 75 72 72 65 6e | 74 5f 66 69 6c 65 24 3d |. curren|t_file$=|
|00004120| 22 22 20 8c 0d 0b ae 2d | 20 20 f2 69 63 6f 6e 5f |"" ....-| .icon_|
|00004130| 70 75 74 64 61 74 61 28 | 71 25 2c 78 66 65 72 25 |putdata(|q%,xfer%|
|00004140| 2c 32 2c 22 53 68 65 6c | 6c 44 61 74 61 22 2c 30 |,2,"Shel|lData",0|
|00004150| 29 0d 0b b8 05 cd 0d 0b | c2 04 0d 0b cc 4c f4 20 |).......|.....L. |
|00004160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004170| 2d 2d 2d 2d 20 4c 61 75 | 6e 63 68 20 49 6e 69 74 |---- Lau|nch Init|
|00004180| 69 61 6c 20 57 69 6e 64 | 6f 77 73 20 2d 2d 2d 2d |ial Wind|ows ----|
|00004190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041a0| 2d 2d 2d 2d 2d 2d 0d 0b | d6 04 0d 0b e0 47 f4 20 |------..|.....G. |
|000041b0| 4f 70 65 6e 20 61 6e 79 | 20 69 6e 69 74 69 61 6c |Open any| initial|
|000041c0| 20 77 69 6e 64 6f 77 73 | 20 68 65 72 65 2e 20 49 | windows| here. I|
|000041d0| 6e 20 74 68 69 73 20 63 | 61 73 65 20 69 66 20 74 |n this c|ase if t|
|000041e0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |he appli|cation i|
|000041f0| 73 0d 0b ea 48 f4 20 73 | 74 61 72 74 69 6e 67 20 |s...H. s|tarting |
|00004200| 75 70 20 77 69 74 68 20 | 61 20 66 69 6c 65 20 6c |up with |a file l|
|00004210| 6f 61 64 65 64 20 77 65 | 27 6c 6c 20 6f 70 65 6e |oaded we|'ll open|
|00004220| 20 74 68 65 20 6d 61 69 | 6e 20 77 69 6e 64 6f 77 | the mai|n window|
|00004230| 2c 20 62 75 74 20 79 6f | 75 0d 0b f4 48 f4 20 63 |, but yo|u...H. c|
|00004240| 6f 75 6c 64 20 77 61 69 | 74 20 66 6f 72 20 74 68 |ould wai|t for th|
|00004250| 65 20 69 63 6f 6e 62 61 | 72 20 69 63 6f 6e 20 74 |e iconba|r icon t|
|00004260| 6f 20 62 65 20 63 6c 69 | 63 6b 65 64 20 6f 6e 20 |o be cli|cked on |
|00004270| 2d 20 69 74 27 73 20 75 | 70 20 74 6f 20 79 6f 75 |- it's u|p to you|
|00004280| 21 0d 0b fe 04 0d 0c 08 | 19 e7 20 63 75 72 72 65 |!.......|.. curre|
|00004290| 6e 74 5f 66 69 6c 65 24 | 3c 3e 22 22 20 8c 0d 0c |nt_file$|<>"" ...|
|000042a0| 12 1e 20 20 f2 6f 70 65 | 6e 77 69 6e 64 6f 77 28 |.. .ope|nwindow(|
|000042b0| 6d 61 69 6e 77 25 2c a3 | 2c 2d 31 29 0d 0c 1c 0d |mainw%,.|,-1)....|
|000042c0| 20 20 6f 70 65 6e 25 3d | b9 0d 0c 26 05 cd 0d 0c | open%=|...&....|
|000042d0| 30 04 0d 0c 3a 4c f4 20 | 2d 2d 2d 2d 2d 2d 2d 2d |0...:L. |--------|
|000042e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 53 65 74 |--------|---- Set|
|000042f0| 20 55 70 20 45 72 72 6f | 72 20 54 72 61 70 20 2d | Up Erro|r Trap -|
|00004300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0c |--------|------..|
|00004320| 44 04 0d 0c 4e 16 65 72 | 72 6f 72 5f 66 6c 61 67 |D...N.er|ror_flag|
|00004330| 25 20 20 20 20 20 3d 33 | 0d 0c 58 0e ee 20 85 20 |% =3|..X.. . |
|00004340| f2 65 72 72 6f 72 0d 0c | 62 04 0d 0c 6c 4c f4 20 |.error..|b...lL. |
|00004350| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004360| 2d 2d 2d 2d 20 4d 61 69 | 6e 20 50 72 6f 67 72 61 |---- Mai|n Progra|
|00004370| 6d 20 4c 6f 6f 70 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |m Loop -|--------|
|00004380| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004390| 2d 2d 2d 2d 2d 2d 0d 0c | 76 04 0d 0c 80 4a f4 20 |------..|v....J. |
|000043a0| 41 73 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 69 |As the p|rogram i|
|000043b0| 73 20 6e 6f 77 20 66 75 | 6c 6c 79 20 69 6e 69 74 |s now fu|lly init|
|000043c0| 69 61 6c 69 73 65 64 20 | 77 65 27 6c 6c 20 74 75 |ialised |we'll tu|
|000043d0| 72 6e 20 6f 66 66 20 74 | 68 65 20 48 6f 75 72 47 |rn off t|he HourG|
|000043e0| 6c 61 73 73 0d 0c 8a 4a | f4 20 61 6e 64 20 62 65 |lass...J|. and be|
|000043f0| 67 69 6e 20 74 68 65 20 | 6d 61 69 6e 20 77 69 6d |gin the |main wim|
|00004400| 70 20 70 6f 6c 6c 20 6c | 6f 6f 70 2e 20 4e 6f 74 |p poll l|oop. Not|
|00004410| 65 20 74 68 61 74 20 74 | 68 65 20 70 61 72 61 6d |e that t|he param|
|00004420| 65 74 65 72 20 74 6f 20 | 46 4e 70 6f 6c 6c 0d 0c |eter to |FNpoll..|
|00004430| 94 47 f4 20 69 73 20 30 | 20 74 6f 20 61 6c 6c 6f |.G. is 0| to allo|
|00004440| 77 20 61 6c 6c 20 77 69 | 6d 70 20 65 76 65 6e 74 |w all wi|mp event|
|00004450| 73 20 74 6f 20 62 65 20 | 70 72 6f 63 65 73 73 65 |s to be |processe|
|00004460| 64 20 2d 20 6d 6f 72 65 | 20 73 70 65 65 64 20 63 |d - more| speed c|
|00004470| 61 6e 20 62 65 0d 0c 9e | 47 f4 20 6f 62 74 61 69 |an be...|G. obtai|
|00004480| 6e 65 64 20 62 79 20 75 | 73 69 6e 67 20 64 69 66 |ned by u|sing dif|
|00004490| 66 65 72 65 6e 74 20 70 | 61 72 61 6d 65 74 65 72 |ferent p|arameter|
|000044a0| 73 2c 20 62 75 74 20 6c | 65 61 76 65 20 69 74 20 |s, but l|eave it |
|000044b0| 61 6c 6f 6e 65 20 75 6e | 6c 65 73 73 0d 0c a8 2a |alone un|less...*|
|000044c0| f4 20 79 6f 75 20 6b 6e | 6f 77 20 65 78 61 63 74 |. you kn|ow exact|
|000044d0| 6c 79 20 77 68 61 74 20 | 79 6f 75 20 61 72 65 20 |ly what |you are |
|000044e0| 64 6f 69 6e 67 21 0d 0c | b2 04 0d 0c bc 16 c8 99 |doing!..|........|
|000044f0| 20 22 48 6f 75 72 67 6c | 61 73 73 5f 4f 66 66 22 | "Hourgl|ass_Off"|
|00004500| 0d 0c c6 05 f5 0d 0c d0 | 17 20 20 f2 61 63 74 69 |........|. .acti|
|00004510| 6f 6e 28 a4 70 6f 6c 6c | 28 30 29 29 0d 0c da 0f |on(.poll|(0))....|
|00004520| fd 20 63 6c 6f 73 65 64 | 6f 77 6e 0d 0c e4 04 0d |. closed|own.....|
|00004530| 0c ee 4c f4 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..L. ---|--------|
|00004540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 41 70 70 6c 69 63 |--------|- Applic|
|00004550| 61 74 69 6f 6e 20 43 6c | 6f 73 65 64 6f 77 6e 20 |ation Cl|osedown |
|00004560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0c f8 04 0d |--------|---.....|
|00004580| 0d 02 0e 24 71 25 3d 22 | 54 41 53 4b 22 0d 0d 0c |...$q%="|TASK"...|
|00004590| 22 c8 99 20 22 57 69 6d | 70 5f 43 6c 6f 73 65 44 |".. "Wim|p_CloseD|
|000045a0| 6f 77 6e 22 2c 74 61 73 | 6b 25 2c 71 25 21 30 0d |own",tas|k%,q%!0.|
|000045b0| 0d 16 05 e0 0d 0d 20 04 | 0d 0d 2a 4c f4 20 3d 3d |...... .|..*L. ==|
|000045c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000045d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000045e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000045f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004600| 3d 3d 3d 3d 0d 0d 34 04 | 0d 0d 3e 0b dd f2 65 72 |====..4.|..>...er|
|00004610| 72 6f 72 0d 0d 48 15 e7 | 20 65 72 72 6f 72 5f 66 |ror..H..| error_f|
|00004620| 6c 61 67 25 3d 33 20 8c | 0d 0d 52 44 20 20 f2 65 |lag%=3 .|..RD .e|
|00004630| 72 72 6f 72 62 6f 78 28 | 22 55 6e 65 78 70 65 63 |rrorbox(|"Unexpec|
|00004640| 74 65 64 20 65 72 72 6f | 72 3a 2d 20 22 2b f6 24 |ted erro|r:- "+.$|
|00004650| 2b 22 20 49 6e 74 65 72 | 6e 61 6c 20 65 72 72 6f |+" Inter|nal erro|
|00004660| 72 20 63 6f 64 65 20 22 | 2b c3 9e 29 0d 0d 5c 05 |r code "|+..)..\.|
|00004670| cc 0d 0d 66 13 20 20 f2 | 65 72 72 6f 72 62 6f 78 |...f. .|errorbox|
|00004680| 28 f6 24 29 0d 0d 70 05 | cd 0d 0d 7a 11 65 72 72 |(.$)..p.|...z.err|
|00004690| 6f 72 5f 66 6c 61 67 25 | 3d 33 0d 0d 84 18 c8 99 |or_flag%|=3......|
|000046a0| 20 22 48 6f 75 72 67 6c | 61 73 73 5f 53 6d 61 73 | "Hourgl|ass_Smas|
|000046b0| 68 22 0d 0d 8e 05 e1 0d | 0d 98 04 0d 0d a2 0c dd |h"......|........|
|000046c0| f2 6f 6b 28 65 24 29 0d | 0d ac 11 65 72 72 6f 72 |.ok(e$).|...error|
|000046d0| 5f 66 6c 61 67 25 3d 31 | 0d 0d b6 0a 85 20 31 2c |_flag%=1|..... 1,|
|000046e0| 65 24 0d 0d c0 05 e1 0d | 0d ca 04 0d 0d d4 12 dd |e$......|........|
|000046f0| f2 65 72 72 6f 72 62 6f | 78 28 72 24 29 0d 0d de |.errorbo|x(r$)...|
|00004700| 08 ea 20 72 25 0d 0d e8 | 19 21 71 25 3d 9f 3a 24 |.. r%...|.!q%=.:$|
|00004710| 28 71 25 2b 34 29 3d 72 | 24 2b bd 28 30 29 0d 0d |(q%+4)=r|$+.(0)..|
|00004720| f2 35 c8 99 20 22 57 69 | 6d 70 5f 52 65 70 6f 72 |.5.. "Wi|mp_Repor|
|00004730| 74 45 72 72 6f 72 22 2c | 71 25 2c 65 72 72 6f 72 |tError",|q%,error|
|00004740| 5f 66 6c 61 67 25 2c 22 | 53 68 65 6c 6c 22 20 b8 |_flag%,"|Shell" .|
|00004750| 20 72 25 0d 0d fc 18 e7 | 20 72 25 3d 32 20 8c 20 | r%.....| r%=2 . |
|00004760| 63 6c 6f 73 65 64 6f 77 | 6e 3d b9 0d 0e 06 05 e1 |closedow|n=......|
|00004770| 0d 0e 10 04 0d 0e 1a 4a | f4 20 45 76 65 72 79 20 |.......J|. Every |
|00004780| 6e 65 77 20 77 69 6e 64 | 6f 77 20 28 69 66 20 6d |new wind|ow (if m|
|00004790| 6f 75 73 65 20 63 6c 69 | 63 6b 73 20 6e 65 65 64 |ouse cli|cks need|
|000047a0| 20 74 6f 20 62 65 20 72 | 65 73 70 6f 6e 64 65 64 | to be r|esponded|
|000047b0| 20 74 6f 29 20 77 69 6c | 6c 20 6e 65 65 64 0d 0e | to) wil|l need..|
|000047c0| 24 2d f4 20 61 20 6c 69 | 6e 65 20 69 6e 20 74 68 |$-. a li|ne in th|
|000047d0| 65 20 43 41 53 45 20 73 | 74 61 74 65 6d 65 6e 74 |e CASE s|tatement|
|000047e0| 20 62 65 6c 6f 77 20 69 | 2e 65 2e 0d 0e 2e 2e f4 | below i|.e......|
|000047f0| 20 57 48 45 4e 20 66 72 | 65 64 25 3a 50 52 4f 43 | WHEN fr|ed%:PROC|
|00004800| 63 6c 69 63 6b 66 72 65 | 64 28 62 75 74 74 6f 6e |clickfre|d(button|
|00004810| 25 2c 69 63 6f 6e 25 29 | 2e 0d 0e 38 47 f4 20 4e |%,icon%)|...8G. N|
|00004820| 6f 74 65 20 74 68 65 20 | 27 66 69 6c 65 49 6e 66 |ote the |'fileInf|
|00004830| 6f 27 20 61 6e 64 20 27 | 70 72 6f 67 49 6e 66 6f |o' and '|progInfo|
|00004840| 27 20 77 69 6e 64 6f 77 | 73 20 64 6f 20 6e 6f 74 |' window|s do not|
|00004850| 20 66 65 61 74 75 72 65 | 20 69 6e 20 74 68 69 73 | feature| in this|
|00004860| 0d 0e 42 49 f4 20 72 6f | 75 74 69 6e 65 20 2d 20 |..BI. ro|utine - |
|00004870| 74 68 65 79 20 63 6f 6e | 74 61 69 6e 20 6e 6f 20 |they con|tain no |
|00004880| 69 63 6f 6e 73 20 74 68 | 61 74 20 74 72 69 67 67 |icons th|at trigg|
|00004890| 65 72 20 61 63 74 69 6f | 6e 73 20 62 79 20 74 68 |er actio|ns by th|
|000048a0| 65 20 70 72 6f 67 72 61 | 6d 0d 0e 4c 04 0d 0e 56 |e progra|m..L...V|
|000048b0| 3c dd f2 63 6c 69 63 6b | 77 69 6e 64 6f 77 28 6d |<..click|window(m|
|000048c0| 6f 75 73 65 78 25 2c 6d | 6f 75 73 65 79 25 2c 62 |ousex%,m|ousey%,b|
|000048d0| 75 74 74 6f 6e 25 2c 68 | 61 6e 64 6c 65 25 2c 69 |utton%,h|andle%,i|
|000048e0| 63 6f 6e 25 2c 6f 62 25 | 29 0d 0e 60 10 c8 8e 20 |con%,ob%|)..`... |
|000048f0| 68 61 6e 64 6c 65 25 20 | ca 0d 0e 6a 2c 20 20 c9 |handle% |...j, .|
|00004900| 20 6d 61 69 6e 77 25 20 | 20 20 3a f2 63 6c 69 63 | mainw% | :.clic|
|00004910| 6b 6d 61 69 6e 77 28 62 | 75 74 74 6f 6e 25 2c 69 |kmainw(b|utton%,i|
|00004920| 63 6f 6e 25 29 0d 0e 74 | 2c 20 20 c9 20 71 75 65 |con%)..t|, . que|
|00004930| 72 79 25 20 20 20 3a f2 | 63 6c 69 63 6b 71 75 65 |ry% :.|clickque|
|00004940| 72 79 28 62 75 74 74 6f | 6e 25 2c 69 63 6f 6e 25 |ry(butto|n%,icon%|
|00004950| 29 0d 0e 7e 2b 20 20 c9 | 20 78 66 65 72 25 20 20 |)..~+ .| xfer% |
|00004960| 20 20 3a f2 63 6c 69 63 | 6b 78 66 65 72 28 62 75 | :.clic|kxfer(bu|
|00004970| 74 74 6f 6e 25 2c 69 63 | 6f 6e 25 29 0d 0e 88 2d |tton%,ic|on%)...-|
|00004980| 20 20 c9 20 73 65 61 72 | 63 68 25 20 20 3a f2 63 | . sear|ch% :.c|
|00004990| 6c 69 63 6b 73 65 61 72 | 63 68 28 62 75 74 74 6f |licksear|ch(butto|
|000049a0| 6e 25 2c 69 63 6f 6e 25 | 29 0d 0e 92 2e 20 20 c9 |n%,icon%|).... .|
|000049b0| 20 2d 32 20 20 20 20 20 | 20 20 3a f2 63 6c 69 63 | -2 | :.clic|
|000049c0| 6b 69 63 6f 6e 62 61 72 | 28 62 75 74 74 6f 6e 25 |kiconbar|(button%|
|000049d0| 2c 69 63 6f 6e 25 29 0d | 0e 9c 05 cb 0d 0e a6 05 |,icon%).|........|
|000049e0| e1 0d 0e b0 04 0d 0e ba | 4c f4 20 2d 2d 2d 2d 2d |........|L. -----|
|000049f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 4d 6f 75 73 |--------|--- Mous|
|00004a00| 65 20 43 6c 69 63 6b 20 | 52 6f 75 74 69 6e 65 73 |e Click |Routines|
|00004a10| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00004a20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a30| 2d 0d 0e c4 04 0d 0e ce | 4b f4 20 41 20 72 6f 75 |-.......|K. A rou|
|00004a40| 74 69 6e 65 20 69 73 20 | 6e 65 65 64 65 64 20 68 |tine is |needed h|
|00004a50| 65 72 65 20 66 6f 72 20 | 65 76 65 72 79 20 77 69 |ere for |every wi|
|00004a60| 6e 64 6f 77 20 28 69 66 | 20 6d 6f 75 73 65 20 63 |ndow (if| mouse c|
|00004a70| 6c 69 63 6b 73 20 6e 65 | 65 64 20 74 6f 20 62 65 |licks ne|ed to be|
|00004a80| 0d 0e d8 28 f4 20 72 65 | 73 70 6f 6e 64 65 64 20 |...(. re|sponded |
|00004a90| 74 6f 29 20 63 61 6c 6c | 65 64 20 50 52 4f 43 63 |to) call|ed PROCc|
|00004aa0| 6c 69 63 6b 78 78 78 78 | 0d 0e e2 04 0d 0e ec 21 |lickxxxx|.......!|
|00004ab0| dd f2 63 6c 69 63 6b 69 | 63 6f 6e 62 61 72 28 62 |..clicki|conbar(b|
|00004ac0| 75 74 74 6f 6e 25 2c 69 | 63 6f 6e 25 29 0d 0e f6 |utton%,i|con%)...|
|00004ad0| 11 e7 20 69 63 6f 6e 25 | 3c 30 20 8c 20 e1 0d 0f |.. icon%|<0 . ...|
|00004ae0| 00 0a c8 8e 20 b9 20 ca | 0d 0f 0a 11 20 20 c9 20 |.... . .|.... . |
|00004af0| 62 75 74 74 6f 6e 25 3d | 32 0d 0f 14 20 20 20 20 |button%=|2... |
|00004b00| 20 f4 20 6f 70 65 6e 73 | 20 74 68 65 20 69 63 6f | . opens| the ico|
|00004b10| 6e 62 61 72 20 6d 65 6e | 75 0d 0f 1e 17 20 20 20 |nbar men|u.... |
|00004b20| 20 e7 20 69 63 6f 6e 25 | 3d 73 69 63 6f 6e 20 8c | . icon%|=sicon .|
|00004b30| 0d 0f 28 15 20 20 20 20 | 20 20 f2 6d 65 6e 75 5f |..(. | .menu_|
|00004b40| 73 69 63 6f 6e 0d 0f 32 | 09 20 20 20 20 cd 0d 0f |sicon..2|. ...|
|00004b50| 3c 11 20 20 c9 20 62 75 | 74 74 6f 6e 25 3d 34 0d |<. . bu|tton%=4.|
|00004b60| 0f 46 4b 20 20 20 20 f4 | 20 6f 70 65 6e 73 20 74 |.FK .| opens t|
|00004b70| 68 65 20 6d 61 69 6e 20 | 77 69 6e 64 6f 77 20 69 |he main |window i|
|00004b80| 66 20 69 74 20 69 73 20 | 63 6c 6f 73 65 64 20 69 |f it is |closed i|
|00004b90| 6e 20 74 68 69 73 20 65 | 78 61 6d 70 6c 65 20 77 |n this e|xample w|
|00004ba0| 68 65 6e 20 73 65 6c 65 | 63 74 0d 0f 50 4a 20 20 |hen sele|ct..PJ |
|00004bb0| 20 20 f4 20 69 73 20 63 | 6c 69 63 6b 65 64 20 6f | . is c|licked o|
|00004bc0| 6e 20 74 68 65 20 69 63 | 6f 6e 62 61 72 20 69 63 |n the ic|onbar ic|
|00004bd0| 6f 6e 2e 20 49 74 20 63 | 6f 75 6c 64 20 6f 66 20 |on. It c|ould of |
|00004be0| 63 6f 75 72 73 65 20 6f | 70 65 6e 20 6d 75 6c 74 |course o|pen mult|
|00004bf0| 69 70 6c 65 0d 0f 5a 1d | 20 20 20 20 f4 20 77 69 |iple..Z.| . wi|
|00004c00| 6e 64 6f 77 73 20 69 66 | 20 72 65 71 75 69 72 65 |ndows if| require|
|00004c10| 64 0d 0f 64 13 20 20 20 | 20 e7 20 ac 20 6f 70 65 |d..d. | . . ope|
|00004c20| 6e 25 20 8c 0d 0f 6e 22 | 20 20 20 20 20 20 f2 6f |n% ...n"| .o|
|00004c30| 70 65 6e 77 69 6e 64 6f | 77 28 6d 61 69 6e 77 25 |penwindo|w(mainw%|
|00004c40| 2c a3 2c 2d 31 29 0d 0f | 78 11 20 20 20 20 20 20 |,.,-1)..|x. |
|00004c50| 6f 70 65 6e 25 3d b9 0d | 0f 82 09 20 20 20 20 cd |open%=..|... .|
|00004c60| 0d 0f 8c 05 cb 0d 0f 96 | 05 e1 0d 0f a0 04 0d 0f |........|........|
|00004c70| aa 1f dd f2 63 6c 69 63 | 6b 6d 61 69 6e 77 28 62 |....clic|kmainw(b|
|00004c80| 75 74 74 6f 6e 25 2c 69 | 63 6f 6e 25 29 0d 0f b4 |utton%,i|con%)...|
|00004c90| 11 e7 20 62 75 74 74 6f | 6e 25 3d 32 20 8c 0d 0f |.. butto|n%=2 ...|
|00004ca0| be 10 20 20 f2 6d 65 6e | 75 5f 6d 61 69 6e 0d 0f |.. .men|u_main..|
|00004cb0| c8 05 cd 0d 0f d2 0a c8 | 8e 20 b9 20 ca 0d 0f dc |........|. . ....|
|00004cc0| 21 c9 20 28 62 75 74 74 | 6f 6e 25 20 80 20 34 29 |!. (butt|on% . 4)|
|00004cd0| 3d 34 20 80 20 69 63 6f | 6e 25 3c 3e 2d 31 0d 0f |=4 . ico|n%<>-1..|
|00004ce0| e6 10 20 20 c8 8e 20 69 | 63 6f 6e 25 20 ca 0d 0f |.. .. i|con% ...|
|00004cf0| f0 28 20 20 c9 20 20 32 | 20 3a f4 20 27 3c 27 20 |.( . 2| :. '<' |
|00004d00| 28 62 61 63 6b 20 6f 6e | 65 20 72 65 63 6f 72 64 |(back on|e record|
|00004d10| 20 69 63 6f 6e 29 0d 0f | fa 41 20 20 20 20 63 75 | icon)..|.A cu|
|00004d20| 72 72 65 6e 74 5f 72 65 | 63 25 2d 3d 31 3a e7 20 |rrent_re|c%-=1:. |
|00004d30| 63 75 72 72 65 6e 74 5f | 72 65 63 25 3c 31 20 8c |current_|rec%<1 .|
|00004d40| 20 63 75 72 72 65 6e 74 | 5f 72 65 63 25 3d 6d 61 | current|_rec%=ma|
|00004d50| 78 5f 72 65 63 73 25 0d | 10 04 25 20 20 20 20 f2 |x_recs%.|..% .|
|00004d60| 64 69 73 70 6c 61 79 5f | 72 65 63 6f 72 64 28 63 |display_|record(c|
|00004d70| 75 72 72 65 6e 74 5f 72 | 65 63 25 29 0d 10 0e 2b |urrent_r|ec%)...+|
|00004d80| 20 20 c9 20 20 33 20 3a | f4 20 27 3e 27 20 28 66 | . 3 :|. '>' (f|
|00004d90| 6f 72 77 61 72 64 20 6f | 6e 65 20 72 65 63 6f 72 |orward o|ne recor|
|00004da0| 64 20 69 63 6f 6e 29 0d | 10 18 41 20 20 20 20 63 |d icon).|..A c|
|00004db0| 75 72 72 65 6e 74 5f 72 | 65 63 25 2b 3d 31 3a e7 |urrent_r|ec%+=1:.|
|00004dc0| 20 63 75 72 72 65 6e 74 | 5f 72 65 63 25 3e 6d 61 | current|_rec%>ma|
|00004dd0| 78 5f 72 65 63 73 25 20 | 8c 20 63 75 72 72 65 6e |x_recs% |. curren|
|00004de0| 74 5f 72 65 63 25 3d 31 | 0d 10 22 25 20 20 20 20 |t_rec%=1|.."% |
|00004df0| f2 64 69 73 70 6c 61 79 | 5f 72 65 63 6f 72 64 28 |.display|_record(|
|00004e00| 63 75 72 72 65 6e 74 5f | 72 65 63 25 29 0d 10 2c |current_|rec%)..,|
|00004e10| 1b 20 20 c9 20 31 37 20 | 3a f4 20 27 55 70 64 61 |. . 17 |:. 'Upda|
|00004e20| 74 65 27 20 49 63 6f 6e | 0d 10 36 3a 20 20 20 20 |te' Icon|..6: |
|00004e30| 66 69 65 6c 64 24 28 31 | 2c 63 75 72 72 65 6e 74 |field$(1|,current|
|00004e40| 5f 72 65 63 25 29 3d a4 | 69 63 6f 6e 5f 67 65 74 |_rec%)=.|icon_get|
|00004e50| 64 61 74 61 28 71 25 2c | 6d 61 69 6e 77 25 2c 31 |data(q%,|mainw%,1|
|00004e60| 31 29 0d 10 40 3a 20 20 | 20 20 66 69 65 6c 64 24 |1)..@: | field$|
|00004e70| 28 32 2c 63 75 72 72 65 | 6e 74 5f 72 65 63 25 29 |(2,curre|nt_rec%)|
|00004e80| 3d a4 69 63 6f 6e 5f 67 | 65 74 64 61 74 61 28 71 |=.icon_g|etdata(q|
|00004e90| 25 2c 6d 61 69 6e 77 25 | 2c 31 32 29 0d 10 4a 3a |%,mainw%|,12)..J:|
|00004ea0| 20 20 20 20 66 69 65 6c | 64 24 28 33 2c 63 75 72 | fiel|d$(3,cur|
|00004eb0| 72 65 6e 74 5f 72 65 63 | 25 29 3d a4 69 63 6f 6e |rent_rec|%)=.icon|
|00004ec0| 5f 67 65 74 64 61 74 61 | 28 71 25 2c 6d 61 69 6e |_getdata|(q%,main|
|00004ed0| 77 25 2c 31 33 29 0d 10 | 54 3a 20 20 20 20 66 69 |w%,13)..|T: fi|
|00004ee0| 65 6c 64 24 28 34 2c 63 | 75 72 72 65 6e 74 5f 72 |eld$(4,c|urrent_r|
|00004ef0| 65 63 25 29 3d a4 69 63 | 6f 6e 5f 67 65 74 64 61 |ec%)=.ic|on_getda|
|00004f00| 74 61 28 71 25 2c 6d 61 | 69 6e 77 25 2c 31 34 29 |ta(q%,ma|inw%,14)|
|00004f10| 0d 10 5e 3a 20 20 20 20 | 66 69 65 6c 64 24 28 35 |..^: |field$(5|
|00004f20| 2c 63 75 72 72 65 6e 74 | 5f 72 65 63 25 29 3d a4 |,current|_rec%)=.|
|00004f30| 69 63 6f 6e 5f 67 65 74 | 64 61 74 61 28 71 25 2c |icon_get|data(q%,|
|00004f40| 6d 61 69 6e 77 25 2c 31 | 35 29 0d 10 68 15 20 20 |mainw%,1|5)..h. |
|00004f50| 20 20 f2 66 69 6c 65 5f | 63 68 61 6e 67 65 64 0d | .file_|changed.|
|00004f60| 10 72 1b 20 20 c9 20 31 | 38 20 3a f4 20 27 43 61 |.r. . 1|8 :. 'Ca|
|00004f70| 6e 63 65 6c 27 20 49 63 | 6f 6e 0d 10 7c 25 20 20 |ncel' Ic|on..|% |
|00004f80| 20 20 f2 64 69 73 70 6c | 61 79 5f 72 65 63 6f 72 | .displ|ay_recor|
|00004f90| 64 28 63 75 72 72 65 6e | 74 5f 72 65 63 25 29 0d |d(curren|t_rec%).|
|00004fa0| 10 86 07 20 20 cb 0d 10 | 90 05 cb 0d 10 9a 05 e1 |... ...|........|
|00004fb0| 0d 10 a4 04 0d 10 ae 20 | dd f2 63 6c 69 63 6b 73 |....... |..clicks|
|00004fc0| 65 61 72 63 68 28 62 75 | 74 74 6f 6e 25 2c 69 63 |earch(bu|tton%,ic|
|00004fd0| 6f 6e 25 29 0d 10 b8 0a | c8 8e 20 b9 20 ca 0d 10 |on%)....|.. . ...|
|00004fe0| c2 27 c9 20 28 62 75 74 | 74 6f 6e 25 20 80 20 34 |.'. (but|ton% . 4|
|00004ff0| 29 3d 34 20 84 20 28 62 | 75 74 74 6f 6e 25 20 80 |)=4 . (b|utton% .|
|00005000| 20 31 29 3d 31 0d 10 cc | 10 20 20 c8 8e 20 69 63 | 1)=1...|. .. ic|
|00005010| 6f 6e 25 20 ca 0d 10 d6 | 0a 20 20 c9 20 20 30 0d |on% ....|. . 0.|
|00005020| 10 e0 12 20 20 20 20 f2 | 64 6f 5f 73 65 61 72 63 |... .|do_searc|
|00005030| 68 0d 10 ea 34 20 20 20 | 20 e7 20 28 62 75 74 74 |h...4 | . (butt|
|00005040| 6f 6e 25 20 80 20 34 29 | 3d 34 20 8c 20 c8 99 20 |on% . 4)|=4 . .. |
|00005050| 22 57 69 6d 70 5f 43 72 | 65 61 74 65 4d 65 6e 75 |"Wimp_Cr|eateMenu|
|00005060| 22 2c 2c 2d 31 0d 10 f4 | 0a 20 20 c9 20 20 31 0d |",,-1...|. . 1.|
|00005070| 10 fe 20 20 20 20 20 c8 | 99 20 22 57 69 6d 70 5f |.. .|. "Wimp_|
|00005080| 43 72 65 61 74 65 4d 65 | 6e 75 22 2c 2c 2d 31 0d |CreateMe|nu",,-1.|
|00005090| 11 08 0a 20 20 c9 20 20 | 33 0d 11 12 10 20 20 20 |... . |3.... |
|000050a0| 20 6d 61 74 63 68 25 3d | b9 0d 11 1c 0a 20 20 c9 | match%=|..... .|
|000050b0| 20 20 34 0d 11 26 10 20 | 20 20 20 6d 61 74 63 68 | 4..&. | match|
|000050c0| 25 3d a3 0d 11 30 07 20 | 20 cb 0d 11 3a 05 cb 0d |%=...0. | ...:...|
|000050d0| 11 44 05 e1 0d 11 4e 04 | 0d 11 58 1f dd f2 63 6c |.D....N.|..X...cl|
|000050e0| 69 63 6b 71 75 65 72 79 | 28 62 75 74 74 6f 6e 25 |ickquery|(button%|
|000050f0| 2c 69 63 6f 6e 25 29 0d | 11 62 0a c8 8e 20 b9 20 |,icon%).|.b... . |
|00005100| ca 0d 11 6c 21 c9 20 28 | 62 75 74 74 6f 6e 25 20 |...l!. (|button% |
|00005110| 80 20 34 29 3d 34 20 80 | 20 69 63 6f 6e 25 3c 3e |. 4)=4 .| icon%<>|
|00005120| 2d 31 0d 11 76 20 20 20 | e7 20 63 6c 61 69 6d 71 |-1..v |. claimq|
|00005130| 75 65 72 79 24 3d 22 71 | 75 69 74 70 72 6f 67 22 |uery$="q|uitprog"|
|00005140| 20 8c 0d 11 80 12 20 20 | 20 20 c8 8e 20 69 63 6f | ..... | .. ico|
|00005150| 6e 25 20 ca 0d 11 8a 0d | 20 20 20 20 20 20 c9 20 |n% .....| . |
|00005160| 32 0d 11 94 2f 20 20 20 | 20 20 20 20 20 f2 63 6c |2.../ | .cl|
|00005170| 6f 73 65 77 69 6e 64 6f | 77 28 71 75 65 72 79 25 |osewindo|w(query%|
|00005180| 29 3a 63 6c 61 69 6d 71 | 75 65 72 79 24 3d 22 22 |):claimq|uery$=""|
|00005190| 0d 11 9e 2b 20 20 20 20 | 20 20 20 20 f2 6d 6f 75 |...+ | .mou|
|000051a0| 73 65 5f 72 65 63 74 61 | 6e 67 6c 65 28 30 2c 30 |se_recta|ngle(0,0|
|000051b0| 2c 33 30 30 30 2c 33 30 | 30 30 29 0d 11 a8 17 20 |,3000,30|00).... |
|000051c0| 20 20 20 20 20 20 20 63 | 6c 6f 73 65 64 6f 77 6e | c|losedown|
|000051d0| 3d b9 0d 11 b2 0d 20 20 | 20 20 20 20 c9 20 30 0d |=..... | . 0.|
|000051e0| 11 bc 2f 20 20 20 20 20 | 20 20 20 f2 63 6c 6f 73 |../ | .clos|
|000051f0| 65 77 69 6e 64 6f 77 28 | 71 75 65 72 79 25 29 3a |ewindow(|query%):|
|00005200| 63 6c 61 69 6d 71 75 65 | 72 79 24 3d 22 22 0d 11 |claimque|ry$=""..|
|00005210| c6 1d 20 20 20 20 20 20 | 20 20 c8 99 20 22 48 6f |.. | .. "Ho|
|00005220| 75 72 67 6c 61 73 73 5f | 4f 6e 22 0d 11 d0 24 20 |urglass_|On"...$ |
|00005230| 20 20 20 20 20 20 20 f2 | 73 61 76 65 66 69 6c 65 | .|savefile|
|00005240| 28 63 75 72 72 65 6e 74 | 5f 66 69 6c 65 24 29 0d |(current|_file$).|
|00005250| 11 da 1e 20 20 20 20 20 | 20 20 20 c8 99 20 22 48 |... | .. "H|
|00005260| 6f 75 72 67 6c 61 73 73 | 5f 4f 66 66 22 0d 11 e4 |ourglass|_Off"...|
|00005270| 17 20 20 20 20 20 20 20 | 20 63 6c 6f 73 65 64 6f |. | closedo|
|00005280| 77 6e 3d b9 0d 11 ee 2b | 20 20 20 20 20 20 20 20 |wn=....+| |
|00005290| f2 6d 6f 75 73 65 5f 72 | 65 63 74 61 6e 67 6c 65 |.mouse_r|ectangle|
|000052a0| 28 30 2c 30 2c 33 30 30 | 30 2c 33 30 30 30 29 0d |(0,0,300|0,3000).|
|000052b0| 11 f8 09 20 20 20 20 cb | 0d 12 02 07 20 20 cd 0d |... .|.... ..|
|000052c0| 12 0c 05 cb 0d 12 16 05 | e1 0d 12 20 04 0d 12 2a |........|... ...*|
|000052d0| 1e dd f2 63 6c 69 63 6b | 78 66 65 72 28 62 75 74 |...click|xfer(but|
|000052e0| 74 6f 6e 25 2c 69 63 6f | 6e 25 29 0d 12 34 0a c8 |ton%,ico|n%)..4..|
|000052f0| 8e 20 b9 20 ca 0d 12 3e | 1f c9 20 28 62 75 74 74 |. . ...>|.. (butt|
|00005300| 6f 6e 25 20 80 20 34 29 | 3d 34 20 80 20 69 63 6f |on% . 4)|=4 . ico|
|00005310| 6e 25 3d 30 0d 12 48 2a | 20 20 f2 73 61 76 65 66 |n%=0..H*| .savef|
|00005320| 69 6c 65 28 a4 69 63 6f | 6e 5f 67 65 74 64 61 74 |ile(.ico|n_getdat|
|00005330| 61 28 71 25 2c 78 66 65 | 72 25 2c 32 29 29 0d 12 |a(q%,xfe|r%,2))..|
|00005340| 52 1e 20 20 c8 99 20 22 | 57 69 6d 70 5f 43 72 65 |R. .. "|Wimp_Cre|
|00005350| 61 74 65 4d 65 6e 75 22 | 2c 2c 2d 31 0d 12 5c 1f |ateMenu"|,,-1..\.|
|00005360| c9 20 28 62 75 74 74 6f | 6e 25 20 80 20 34 29 3d |. (butto|n% . 4)=|
|00005370| 34 20 80 20 69 63 6f 6e | 25 3d 33 0d 12 66 17 20 |4 . icon|%=3..f. |
|00005380| 20 63 6c 61 69 6d 64 72 | 61 67 24 3d 22 78 66 65 | claimdr|ag$="xfe|
|00005390| 72 22 0d 12 70 0f 20 20 | 21 71 25 3d 78 66 65 72 |r"..p. |!q%=xfer|
|000053a0| 25 0d 12 7a 22 20 20 c8 | 99 20 22 57 69 6d 70 5f |%..z" .|. "Wimp_|
|000053b0| 47 65 74 57 69 6e 64 6f | 77 53 74 61 74 65 22 2c |GetWindo|wState",|
|000053c0| 2c 71 25 0d 12 84 14 20 | 20 77 65 78 3d 71 25 21 |,q%.... | wex=q%!|
|000053d0| 34 2d 71 25 21 32 30 0d | 12 8e 15 20 20 77 65 79 |4-q%!20.|... wey|
|000053e0| 3d 71 25 21 31 36 2d 71 | 25 21 32 34 0d 12 98 0c |=q%!16-q|%!24....|
|000053f0| 20 20 71 25 21 34 3d 33 | 0d 12 a2 20 20 20 c8 99 | q%!4=3|... ..|
|00005400| 20 22 57 69 6d 70 5f 47 | 65 74 49 63 6f 6e 53 74 | "Wimp_G|etIconSt|
|00005410| 61 74 65 22 2c 2c 71 25 | 0d 12 ac 16 20 20 21 71 |ate",,q%|.... !q|
|00005420| 25 3d 78 66 65 72 25 3a | 71 25 21 34 3d 35 0d 12 |%=xfer%:|q%!4=5..|
|00005430| b6 13 20 20 71 25 21 38 | 3d 71 25 21 38 2b 77 65 |.. q%!8|=q%!8+we|
|00005440| 78 0d 12 c0 15 20 20 71 | 25 21 31 32 3d 71 25 21 |x.... q|%!12=q%!|
|00005450| 31 32 2b 77 65 79 0d 12 | ca 15 20 20 71 25 21 31 |12+wey..|.. q%!1|
|00005460| 36 3d 71 25 21 31 36 2b | 77 65 78 0d 12 d4 15 20 |6=q%!16+|wex.... |
|00005470| 20 71 25 21 32 30 3d 71 | 25 21 32 30 2b 77 65 79 | q%!20=q|%!20+wey|
|00005480| 0d 12 de 15 20 20 71 25 | 21 32 34 3d 30 3a 71 25 |.... q%|!24=0:q%|
|00005490| 21 32 38 3d 30 0d 12 e8 | 25 20 20 71 25 21 33 32 |!28=0...|% q%!32|
|000054a0| 3d 26 37 46 46 46 46 46 | 46 46 3a 71 25 21 33 36 |=&7FFFFF|FF:q%!36|
|000054b0| 3d 26 37 46 46 46 46 46 | 46 46 0d 12 f2 1b 20 20 |=&7FFFFF|FF.... |
|000054c0| c8 99 20 22 57 69 6d 70 | 5f 44 72 61 67 42 6f 78 |.. "Wimp|_DragBox|
|000054d0| 22 2c 2c 71 25 0d 12 fc | 05 cb 0d 13 06 05 e1 0d |",,q%...|........|
|000054e0| 13 10 04 0d 13 1a 18 dd | f2 64 6f 5f 62 61 63 6b |........|.do_back|
|000054f0| 67 72 6f 75 6e 64 5f 74 | 61 73 6b 0d 13 24 05 e1 |ground_t|ask..$..|
|00005500| 0d 13 2e 04 0d 13 38 1b | dd f2 72 65 64 72 61 77 |......8.|..redraw|
|00005510| 77 69 6e 64 6f 77 28 68 | 61 6e 64 6c 65 25 29 0d |window(h|andle%).|
|00005520| 13 42 0b ea 20 76 6f 69 | 64 25 0d 13 4c 10 71 25 |.B.. voi|d%..L.q%|
|00005530| 21 30 3d 68 61 6e 64 6c | 65 25 0d 13 56 27 c8 99 |!0=handl|e%..V'..|
|00005540| 20 22 57 69 6d 70 5f 52 | 65 64 72 61 77 57 69 6e | "Wimp_R|edrawWin|
|00005550| 64 6f 77 22 2c 30 2c 71 | 25 20 b8 20 6d 6f 72 65 |dow",0,q|% . more|
|00005560| 25 0d 13 60 1c f2 6c 77 | 61 6f 72 69 67 69 6e 28 |%..`..lw|aorigin(|
|00005570| 71 25 2b 34 2c 78 30 25 | 2c 79 30 25 29 0d 13 6a |q%+4,x0%|,y0%)..j|
|00005580| 0c c8 95 20 6d 6f 72 65 | 25 0d 13 74 0e 20 20 f2 |... more|%..t. .|
|00005590| 6e 65 77 76 61 6c 73 0d | 13 7e 12 20 20 c8 8e 20 |newvals.|.~. .. |
|000055a0| 68 61 6e 64 6c 65 25 20 | ca 0d 13 88 07 20 20 cb |handle% |..... .|
|000055b0| 0d 13 92 29 20 20 c8 99 | 20 22 57 69 6d 70 5f 47 |...) ..| "Wimp_G|
|000055c0| 65 74 52 65 63 74 61 6e | 67 6c 65 22 2c 30 2c 71 |etRectan|gle",0,q|
|000055d0| 25 20 b8 20 6d 6f 72 65 | 25 0d 13 9c 05 ce 0d 13 |% . more|%.......|
|000055e0| a6 05 e1 0d 13 b0 04 0d | 13 ba 48 f4 20 54 68 69 |........|..H. Thi|
|000055f0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 68 61 6e 64 6c |s functi|on handl|
|00005600| 65 73 20 61 6e 79 20 73 | 70 65 63 69 61 6c 20 77 |es any s|pecial w|
|00005610| 69 6e 64 6f 77 20 63 6c | 6f 73 69 6e 67 20 72 65 |indow cl|osing re|
|00005620| 71 75 69 72 65 6d 65 6e | 74 73 2e 20 46 6f 72 0d |quiremen|ts. For.|
|00005630| 13 c4 4a f4 20 74 68 65 | 20 27 6d 61 69 6e 77 27 |..J. the| 'mainw'|
|00005640| 20 77 69 6e 64 6f 77 20 | 69 74 20 6a 75 73 74 20 | window |it just |
|00005650| 73 65 74 73 20 74 68 65 | 20 6f 70 65 6e 25 20 66 |sets the| open% f|
|00005660| 6c 61 67 20 74 6f 20 46 | 41 4c 53 45 20 77 68 69 |lag to F|ALSE whi|
|00005670| 63 68 20 61 6c 6c 6f 77 | 73 0d 13 ce 49 f4 20 74 |ch allow|s...I. t|
|00005680| 68 65 20 6d 61 69 6e 20 | 77 69 6e 64 6f 77 20 74 |he main |window t|
|00005690| 6f 20 62 65 20 63 6c 6f | 73 65 64 20 61 6e 64 20 |o be clo|sed and |
|000056a0| 72 65 6f 70 65 6e 65 64 | 20 62 79 20 63 6c 69 63 |reopened| by clic|
|000056b0| 6b 69 6e 67 20 73 65 6c | 65 63 74 20 6f 6e 20 74 |king sel|ect on t|
|000056c0| 68 65 0d 13 d8 49 f4 20 | 69 63 6f 6e 62 61 72 20 |he...I. |iconbar |
|000056d0| 69 63 6f 6e 2e 20 49 74 | 20 63 6f 75 6c 64 20 61 |icon. It| could a|
|000056e0| 6c 73 6f 20 6d 61 6b 65 | 20 77 69 6e 64 6f 77 73 |lso make| windows|
|000056f0| 20 72 65 66 75 73 65 20 | 74 6f 20 63 6c 6f 73 65 | refuse |to close|
|00005700| 20 62 79 20 73 65 74 74 | 69 6e 67 0d 13 e2 1d f4 | by sett|ing.....|
|00005710| 20 73 68 75 74 74 69 6e | 67 25 20 66 6c 61 67 20 | shuttin|g% flag |
|00005720| 74 6f 20 46 41 4c 53 45 | 0d 13 ec 04 0d 13 f6 19 |to FALSE|........|
|00005730| dd a4 6f 6b 74 6f 63 6c | 6f 73 65 77 28 68 61 6e |..oktocl|osew(han|
|00005740| 64 6c 65 25 29 0d 14 00 | 0f ea 20 73 68 75 74 74 |dle%)...|.. shutt|
|00005750| 69 6e 67 25 0d 14 0a 0f | 73 68 75 74 74 69 6e 67 |ing%....|shutting|
|00005760| 25 3d b9 0d 14 14 1e e7 | 20 68 61 6e 64 6c 65 25 |%=......| handle%|
|00005770| 3d 6d 61 69 6e 77 25 20 | 8c 20 6f 70 65 6e 25 3d |=mainw% |. open%=|
|00005780| a3 0d 14 1e 0e 3d 73 68 | 75 74 74 69 6e 67 25 0d |.....=sh|utting%.|
|00005790| 14 28 04 0d 14 32 46 f4 | 20 54 68 65 20 6b 65 79 |.(...2F.| The key|
|000057a0| 70 72 65 73 73 20 72 6f | 75 74 69 6e 65 20 69 73 |press ro|utine is|
|000057b0| 20 6e 65 65 64 65 64 20 | 74 6f 20 68 61 6e 64 6c | needed |to handl|
|000057c0| 65 20 27 73 70 65 63 69 | 61 6c 27 20 6b 65 79 73 |e 'speci|al' keys|
|000057d0| 20 74 68 61 74 20 74 68 | 65 0d 14 3c 48 f4 20 57 | that th|e..<H. W|
|000057e0| 49 4d 50 20 6d 61 6e 61 | 67 65 72 20 63 61 6e 6e |IMP mana|ger cann|
|000057f0| 6f 74 20 70 72 6f 63 65 | 73 73 20 69 74 73 65 6c |ot proce|ss itsel|
|00005800| 66 2e 20 54 68 65 73 65 | 20 69 6e 63 6c 75 64 65 |f. These| include|
|00005810| 20 74 68 65 20 3c 52 45 | 54 55 52 4e 3e 20 61 6e | the <RE|TURN> an|
|00005820| 64 0d 14 46 4a f4 20 75 | 70 20 61 6e 64 20 64 6f |d..FJ. u|p and do|
|00005830| 77 6e 20 63 75 72 73 6f | 72 20 6b 65 79 73 20 77 |wn curso|r keys w|
|00005840| 68 69 63 68 20 61 72 65 | 20 75 73 65 64 20 74 6f |hich are| used to|
|00005850| 20 6d 6f 76 65 20 74 68 | 65 20 63 61 72 65 74 20 | move th|e caret |
|00005860| 74 6f 20 74 68 65 20 6e | 65 78 74 0d 14 50 46 f4 |to the n|ext..PF.|
|00005870| 20 6f 72 20 70 72 65 76 | 69 6f 75 73 20 77 72 69 | or prev|ious wri|
|00005880| 74 65 61 62 6c 65 20 69 | 63 6f 6e 2e 20 53 69 6e |teable i|con. Sin|
|00005890| 63 65 20 74 68 65 20 57 | 49 4d 50 20 6d 61 6e 61 |ce the W|IMP mana|
|000058a0| 67 65 72 20 64 6f 65 73 | 20 6e 6f 74 20 6b 6e 6f |ger does| not kno|
|000058b0| 77 0d 14 5a 44 f4 20 74 | 68 65 20 6f 72 64 65 72 |w..ZD. t|he order|
|000058c0| 20 69 6e 20 77 68 69 63 | 68 20 79 6f 75 20 73 70 | in whic|h you sp|
|000058d0| 65 63 69 66 69 65 64 20 | 74 68 65 20 69 63 6f 6e |ecified |the icon|
|000058e0| 73 20 69 74 20 6e 65 65 | 64 73 20 73 6f 6d 65 20 |s it nee|ds some |
|000058f0| 68 65 6c 70 21 0d 14 64 | 49 f4 20 59 6f 75 20 63 |help!..d|I. You c|
|00005900| 61 6e 20 6d 61 6b 65 20 | 74 68 69 6e 67 73 20 65 |an make |things e|
|00005910| 61 73 69 65 72 20 66 6f | 72 20 79 6f 75 72 73 65 |asier fo|r yourse|
|00005920| 6c 66 20 69 66 20 79 6f | 75 20 64 65 66 69 6e 65 |lf if yo|u define|
|00005930| 20 74 68 65 20 77 72 69 | 74 65 61 62 6c 65 0d 14 | the wri|teable..|
|00005940| 6e 47 f4 20 69 63 6f 6e | 73 20 69 6e 20 21 46 6f |nG. icon|s in !Fo|
|00005950| 72 6d 45 64 20 73 6f 20 | 74 68 61 74 20 74 68 65 |rmEd so |that the|
|00005960| 79 20 66 6f 72 6d 20 61 | 20 63 6f 6e 74 69 6e 75 |y form a| continu|
|00005970| 6f 75 73 20 62 6c 6f 63 | 6b 20 28 69 2e 65 2e 20 |ous bloc|k (i.e. |
|00005980| 31 31 2d 31 35 0d 14 78 | 4b f4 20 69 6e 20 27 6d |11-15..x|K. in 'm|
|00005990| 61 69 6e 77 27 20 69 6e | 20 74 68 69 73 20 61 70 |ainw' in| this ap|
|000059a0| 70 6c 69 63 61 74 69 6f | 6e 29 2e 20 41 6c 6c 20 |plicatio|n). All |
|000059b0| 77 69 6e 64 6f 77 73 20 | 72 65 71 75 69 72 69 6e |windows |requirin|
|000059c0| 67 20 73 70 65 63 69 61 | 6c 20 63 75 72 73 6f 72 |g specia|l cursor|
|000059d0| 0d 14 82 45 f4 20 6d 6f | 76 65 6d 65 6e 74 73 20 |...E. mo|vements |
|000059e0| 2d 20 61 6e 79 20 77 69 | 74 68 20 6d 6f 72 65 20 |- any wi|th more |
|000059f0| 74 68 61 6e 20 6f 6e 65 | 20 77 72 69 74 65 61 62 |than one| writeab|
|00005a00| 6c 65 20 69 63 6f 6e 20 | 2d 20 77 69 6c 6c 20 6e |le icon |- will n|
|00005a10| 65 65 64 20 61 0d 14 8c | 4b f4 20 44 45 46 50 52 |eed a...|K. DEFPR|
|00005a20| 4f 43 6b 65 79 70 72 65 | 73 73 5f 78 78 78 78 20 |OCkeypre|ss_xxxx |
|00005a30| 72 6f 75 74 69 6e 65 20 | 68 65 72 65 2e 20 48 61 |routine |here. Ha|
|00005a40| 76 69 6e 67 20 61 20 73 | 65 70 61 72 61 74 65 20 |ving a s|eparate |
|00005a50| 72 6f 75 74 69 6e 65 20 | 66 6f 72 20 65 61 63 68 |routine |for each|
|00005a60| 0d 14 96 41 f4 20 77 69 | 6e 64 6f 77 20 6d 61 6b |...A. wi|ndow mak|
|00005a70| 65 73 20 74 68 69 6e 67 | 73 20 61 20 62 69 74 20 |es thing|s a bit |
|00005a80| 65 61 73 69 65 72 20 77 | 68 65 6e 20 61 6c 74 65 |easier w|hen alte|
|00005a90| 72 69 6e 67 20 74 68 65 | 20 70 72 6f 67 72 61 6d |ring the| program|
|00005aa0| 2e 0d 14 a0 04 0d 14 aa | 0e dd f2 6b 65 79 70 72 |........|...keypr|
|00005ab0| 65 73 73 0d 14 b4 09 ea | 20 69 63 25 0d 14 be 10 |ess.....| ic%....|
|00005ac0| e7 20 71 25 21 34 3c 3e | 2d 31 20 8c 0d 14 c8 29 |. q%!4<>|-1 ....)|
|00005ad0| 20 20 c8 99 20 22 57 69 | 6d 70 5f 47 65 74 43 61 | .. "Wi|mp_GetCa|
|00005ae0| 72 65 74 50 6f 73 69 74 | 69 6f 6e 22 2c 2c 6d 73 |retPosit|ion",,ms|
|00005af0| 67 62 6c 6b 25 0d 14 d2 | 13 20 20 69 63 25 3d 6d |gblk%...|. ic%=m|
|00005b00| 73 67 62 6c 6b 25 21 34 | 0d 14 dc 10 20 20 c8 8e |sgblk%!4|.... ..|
|00005b10| 20 71 25 21 32 34 20 ca | 0d 14 e6 27 20 20 20 20 | q%!24 .|...' |
|00005b20| c9 20 32 37 20 8c 20 c8 | 99 20 22 57 69 6d 70 5f |. 27 . .|. "Wimp_|
|00005b30| 43 72 65 61 74 65 4d 65 | 6e 75 22 2c 2c 2d 31 0d |CreateMe|nu",,-1.|
|00005b40| 14 f0 07 20 20 7f 0d 14 | fa 11 20 20 20 20 c8 8e |... ...|.. ..|
|00005b50| 20 71 25 21 30 20 ca 0d | 15 04 2f 20 20 20 20 20 | q%!0 ..|../ |
|00005b60| 20 c9 20 6d 61 69 6e 77 | 25 20 20 3a f2 6b 65 79 | . mainw|% :.key|
|00005b70| 70 72 65 73 73 5f 6d 61 | 69 6e 77 28 69 63 25 2c |press_ma|inw(ic%,|
|00005b80| 71 25 21 32 34 29 0d 15 | 0e 09 20 20 20 20 cb 0d |q%!24)..|.. ..|
|00005b90| 15 18 07 20 20 cb 0d 15 | 22 05 cd 0d 15 2c 05 e1 |... ...|"....,..|
|00005ba0| 0d 15 36 04 0d 15 40 20 | dd f2 6b 65 79 70 72 65 |..6...@ |..keypre|
|00005bb0| 73 73 5f 6d 61 69 6e 77 | 28 69 63 6f 6e 25 2c 6b |ss_mainw|(icon%,k|
|00005bc0| 65 79 25 29 0d 15 4a 0d | c8 8e 20 6b 65 79 25 20 |ey%)..J.|.. key% |
|00005bd0| ca 0d 15 54 17 20 20 c9 | 20 31 33 20 20 3a f4 20 |...T. .| 13 :. |
|00005be0| 3c 52 45 54 55 52 4e 3e | 0d 15 5e 24 20 20 69 63 |<RETURN>|..^$ ic|
|00005bf0| 6f 6e 25 2b 3d 31 3a e7 | 20 69 63 6f 6e 25 3e 31 |on%+=1:.| icon%>1|
|00005c00| 35 20 8c 20 69 63 6f 6e | 25 3d 31 31 0d 15 68 1b |5 . icon|%=11..h.|
|00005c10| 20 20 c9 20 26 31 38 45 | 20 3a f4 20 63 75 72 73 | . &18E| :. curs|
|00005c20| 6f 72 20 64 6f 77 6e 0d | 15 72 24 20 20 69 63 6f |or down.|.r$ ico|
|00005c30| 6e 25 2b 3d 31 3a e7 20 | 69 63 6f 6e 25 3e 31 35 |n%+=1:. |icon%>15|
|00005c40| 20 8c 20 69 63 6f 6e 25 | 3d 31 31 0d 15 7c 19 20 | . icon%|=11..|. |
|00005c50| 20 c9 20 26 31 38 46 20 | 3a f4 20 63 75 72 73 6f | . &18F |:. curso|
|00005c60| 72 20 75 70 0d 15 86 24 | 20 20 69 63 6f 6e 25 2d |r up...$| icon%-|
|00005c70| 3d 31 3a e7 20 69 63 6f | 6e 25 3c 31 31 20 8c 20 |=1:. ico|n%<11 . |
|00005c80| 69 63 6f 6e 25 3d 31 35 | 0d 15 90 05 cb 0d 15 9a |icon%=15|........|
|00005c90| 4f f2 63 61 72 65 74 5f | 73 65 74 70 6f 73 69 74 |O.caret_|setposit|
|00005ca0| 69 6f 6e 28 6d 61 69 6e | 77 25 2c 69 63 6f 6e 25 |ion(main|w%,icon%|
|00005cb0| 2c 2d 31 2c 2d 31 2c 2d | 31 2c a9 28 a4 69 63 6f |,-1,-1,-|1,.(.ico|
|00005cc0| 6e 5f 67 65 74 64 61 74 | 61 28 71 25 2c 6d 61 69 |n_getdat|a(q%,mai|
|00005cd0| 6e 77 25 2c 69 63 6f 6e | 25 29 29 29 0d 15 a4 05 |nw%,icon|%)))....|
|00005ce0| e1 0d 15 ae 04 0d 15 b8 | 48 f4 20 54 68 65 20 66 |........|H. The f|
|00005cf0| 6f 6c 6c 6f 77 69 6e 67 | 20 72 6f 75 74 69 6e 65 |ollowing| routine|
|00005d00| 73 20 68 61 6e 64 6c 65 | 20 6d 65 6e 75 20 73 65 |s handle| menu se|
|00005d10| 6c 65 63 74 69 6f 6e 73 | 2e 20 53 6f 6d 65 20 6f |lections|. Some o|
|00005d20| 66 20 74 68 65 20 6f 70 | 74 69 6f 6e 73 0d 15 c2 |f the op|tions...|
|00005d30| 49 f4 20 28 69 2e 65 2e | 20 74 68 65 20 66 69 72 |I. (i.e.| the fir|
|00005d40| 73 74 20 74 68 72 65 65 | 29 20 64 6f 20 6e 6f 74 |st three|) do not|
|00005d50| 20 72 65 71 75 69 72 65 | 20 61 6e 79 20 63 6f 64 | require| any cod|
|00005d60| 65 20 62 65 63 61 75 73 | 65 20 74 68 65 79 20 6c |e becaus|e they l|
|00005d70| 65 61 64 20 74 6f 0d 15 | cc 39 f4 20 64 69 61 6c |ead to..|.9. dial|
|00005d80| 6f 67 20 62 6f 78 65 73 | 20 77 68 69 63 68 20 61 |og boxes| which a|
|00005d90| 72 65 20 68 61 6e 64 6c | 65 64 20 62 79 20 74 68 |re handl|ed by th|
|00005da0| 65 20 57 49 4d 50 20 6d | 61 6e 61 67 65 72 2e 0d |e WIMP m|anager..|
|00005db0| 15 d6 44 f4 20 45 61 63 | 68 20 6d 65 6e 75 20 77 |..D. Eac|h menu w|
|00005dc0| 69 6c 6c 20 72 65 71 75 | 69 72 65 20 61 20 72 6f |ill requ|ire a ro|
|00005dd0| 75 74 69 6e 65 20 63 61 | 6c 6c 65 64 20 46 4e 6d |utine ca|lled FNm|
|00005de0| 65 6e 75 73 65 6c 65 63 | 74 5f 78 78 78 78 20 68 |enuselec|t_xxxx h|
|00005df0| 65 72 65 0d 15 e0 04 0d | 15 ea 15 dd a4 6d 65 6e |ere.....|.....men|
|00005e00| 75 73 65 6c 65 63 74 5f | 6d 61 69 6e 0d 15 f4 1b |uselect_|main....|
|00005e10| ea 20 6c 65 76 65 6c 30 | 2c 6c 65 76 65 6c 31 2c |. level0|,level1,|
|00005e20| 62 75 74 74 6f 6e 25 0d | 15 fe 0f 6c 65 76 65 6c |button%.|...level|
|00005e30| 30 3d 71 25 21 30 0d 16 | 08 0f 6c 65 76 65 6c 31 |0=q%!0..|..level1|
|00005e40| 3d 71 25 21 34 0d 16 12 | 48 c8 99 20 22 57 69 6d |=q%!4...|H.. "Wim|
|00005e50| 70 5f 47 65 74 50 6f 69 | 6e 74 65 72 49 6e 66 6f |p_GetPoi|nterInfo|
|00005e60| 22 2c 2c 71 25 20 3a f4 | 20 72 65 74 72 69 65 76 |",,q% :.| retriev|
|00005e70| 65 20 6d 6f 75 73 65 20 | 62 75 74 74 6f 6e 20 73 |e mouse |button s|
|00005e80| 74 61 74 65 20 77 68 69 | 63 68 20 69 73 0d 16 1c |tate whi|ch is...|
|00005e90| 49 62 75 74 74 6f 6e 25 | 3d 71 25 21 38 20 20 20 |Ibutton%|=q%!8 |
|00005ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a | | :|
|00005eb0| f4 20 6e 65 65 64 65 64 | 20 74 6f 20 63 68 65 63 |. needed| to chec|
|00005ec0| 6b 20 69 66 20 27 61 64 | 6a 75 73 74 27 20 77 61 |k if 'ad|just' wa|
|00005ed0| 73 20 75 73 65 64 0d 16 | 26 0f c8 8e 20 6c 65 76 |s used..|&... lev|
|00005ee0| 65 6c 30 20 ca 0d 16 30 | 21 20 20 c9 20 30 20 20 |el0 ...0|! . 0 |
|00005ef0| 3a 20 f4 20 3d 3d 3d 3d | 20 49 6e 66 6f 20 20 20 |: . ====| Info |
|00005f00| 20 20 20 3d 3d 3d 0d 16 | 3a 21 20 20 c9 20 31 20 | ===..|:! . 1 |
|00005f10| 20 3a 20 f4 20 3d 3d 3d | 3d 20 46 69 6c 65 73 20 | : . ===|= Files |
|00005f20| 20 20 20 20 3d 3d 3d 0d | 16 44 21 20 20 c9 20 32 | ===.|.D! . 2|
|00005f30| 20 20 3a 20 f4 20 3d 3d | 3d 3d 20 53 61 76 65 20 | : . ==|== Save |
|00005f40| 20 20 20 20 20 3d 3d 3d | 0d 16 4e 21 20 20 c9 20 | ===|..N! . |
|00005f50| 33 20 20 3a 20 f4 20 3d | 3d 3d 3d 20 53 65 61 72 |3 : . =|=== Sear|
|00005f60| 63 68 20 20 20 20 3d 3d | 3d 0d 16 58 21 20 20 c9 |ch ==|=..X! .|
|00005f70| 20 34 20 20 3a 20 f4 20 | 3d 3d 3d 3d 20 53 75 62 | 4 : . |==== Sub|
|00005f80| 2d 4d 65 6e 75 20 20 3d | 3d 3d 0d 16 62 13 20 20 |-Menu =|==..b. |
|00005f90| 20 20 c8 8e 20 6c 65 76 | 65 6c 31 20 ca 0d 16 6c | .. lev|el1 ...l|
|00005fa0| 0d 20 20 20 20 20 20 c9 | 20 30 0d 16 76 13 20 20 |. .| 0..v. |
|00005fb0| 20 20 20 20 20 20 74 69 | 63 6b 25 3d b9 0d 16 80 | ti|ck%=....|
|00005fc0| 0d 20 20 20 20 20 20 c9 | 20 31 0d 16 8a 13 20 20 |. .| 1.... |
|00005fd0| 20 20 20 20 20 20 74 69 | 63 6b 25 3d a3 0d 16 94 | ti|ck%=....|
|00005fe0| 0d 20 20 20 20 20 20 c9 | 20 32 0d 16 9e 15 20 20 |. .| 2.... |
|00005ff0| 20 20 20 20 20 20 73 68 | 61 64 65 64 25 3d b9 0d | sh|aded%=..|
|00006000| 16 a8 0d 20 20 20 20 20 | 20 c9 20 33 0d 16 b2 15 |... | . 3....|
|00006010| 20 20 20 20 20 20 20 20 | 73 68 61 64 65 64 25 3d | |shaded%=|
|00006020| a3 0d 16 bc 09 20 20 20 | 20 cb 0d 16 c6 21 20 20 |..... | ....! |
|00006030| c9 20 35 20 20 3a 20 f4 | 20 3d 3d 3d 3d 20 57 72 |. 5 : .| ==== Wr|
|00006040| 69 74 65 61 62 6c 65 20 | 3d 3d 3d 0d 16 d0 05 cb |iteable |===.....|
|00006050| 0d 16 da 3d e7 20 62 75 | 74 74 6f 6e 25 3d 31 20 |...=. bu|tton%=1 |
|00006060| 8c 20 f2 6d 65 6e 75 5f | 6d 61 69 6e 20 3a f4 20 |. .menu_|main :. |
|00006070| 61 64 6a 75 73 74 20 62 | 75 74 74 6f 6e 20 75 73 |adjust b|utton us|
|00006080| 65 64 2c 20 73 6f 20 72 | 65 6f 70 65 6e 0d 16 e4 |ed, so r|eopen...|
|00006090| 2b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |+ | |
|000060a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000060b0| 20 3a f4 20 6d 65 6e 75 | 0d 16 ee 06 3d 30 0d 16 | :. menu|....=0..|
|000060c0| f8 04 0d 17 02 4c f4 20 | 48 61 6e 64 6c 65 73 20 |.....L. |Handles |
|000060d0| 6d 65 6e 75 20 63 6c 69 | 63 6b 73 20 6f 6e 20 74 |menu cli|cks on t|
|000060e0| 68 65 20 69 63 6f 6e 62 | 61 72 20 69 63 6f 6e 2e |he iconb|ar icon.|
|000060f0| 20 49 6e 20 74 68 69 73 | 20 63 61 73 65 20 73 65 | In this| case se|
|00006100| 6c 65 63 74 69 6e 67 20 | 6f 70 74 69 6f 6e 0d 17 |lecting |option..|
|00006110| 0c 4c f4 20 31 20 28 51 | 75 69 74 29 20 63 68 65 |.L. 1 (Q|uit) che|
|00006120| 63 6b 73 20 74 6f 20 73 | 65 65 20 69 66 20 75 6e |cks to s|ee if un|
|00006130| 73 61 76 65 64 20 64 61 | 74 61 20 65 78 69 73 74 |saved da|ta exist|
|00006140| 73 20 2d 20 69 66 20 69 | 74 20 64 6f 65 73 20 74 |s - if i|t does t|
|00006150| 68 65 20 27 71 75 65 72 | 79 27 0d 17 16 4a f4 20 |he 'quer|y'...J. |
|00006160| 77 69 6e 64 6f 77 20 69 | 73 20 6f 70 65 6e 65 64 |window i|s opened|
|00006170| 20 74 6f 20 61 73 6b 20 | 61 20 71 75 65 73 74 69 | to ask |a questi|
|00006180| 6f 6e 2e 20 4f 70 74 69 | 6f 6e 20 30 20 69 73 20 |on. Opti|on 0 is |
|00006190| 27 49 6e 66 6f 27 20 28 | 77 68 69 63 68 20 73 68 |'Info' (|which sh|
|000061a0| 6f 75 6c 64 0d 17 20 48 | f4 20 61 6c 77 61 79 73 |ould.. H|. always|
|000061b0| 20 62 65 20 74 68 65 20 | 66 69 72 73 74 20 65 6e | be the |first en|
|000061c0| 74 72 79 20 69 6e 20 74 | 68 69 73 20 6d 65 6e 75 |try in t|his menu|
|000061d0| 29 20 61 6e 64 20 74 68 | 69 73 20 69 73 20 68 61 |) and th|is is ha|
|000061e0| 6e 64 6c 65 64 20 62 79 | 20 74 68 65 0d 17 2a 2e |ndled by| the..*.|
|000061f0| f4 20 57 49 4d 50 20 6d | 61 6e 61 67 65 72 20 73 |. WIMP m|anager s|
|00006200| 6f 20 6e 6f 20 63 6f 64 | 65 20 69 73 20 72 65 71 |o no cod|e is req|
|00006210| 75 69 72 65 64 20 68 65 | 72 65 0d 17 34 04 0d 17 |uired he|re..4...|
|00006220| 3e 16 dd a4 6d 65 6e 75 | 73 65 6c 65 63 74 5f 73 |>...menu|select_s|
|00006230| 69 63 6f 6e 0d 17 48 0c | ea 20 6c 65 76 65 6c 30 |icon..H.|. level0|
|00006240| 0d 17 52 0f 6c 65 76 65 | 6c 30 3d 71 25 21 30 0d |..R.leve|l0=q%!0.|
|00006250| 17 5c 0f c8 8e 20 6c 65 | 76 65 6c 30 20 ca 0d 17 |.\... le|vel0 ...|
|00006260| 66 09 20 20 c9 20 30 0d | 17 70 09 20 20 c9 20 31 |f. . 0.|.p. . 1|
|00006270| 0d 17 7a 14 20 20 20 20 | e7 20 63 68 61 6e 67 65 |..z. |. change|
|00006280| 64 25 20 8c 0d 17 84 20 | 20 20 20 20 20 20 63 6c |d% .... | cl|
|00006290| 61 69 6d 71 75 65 72 79 | 24 3d 22 71 75 69 74 70 |aimquery|$="quitp|
|000062a0| 72 6f 67 22 0d 17 8e 34 | 20 20 20 20 20 20 f4 20 |rog"...4| . |
|000062b0| 66 69 72 73 74 20 70 75 | 74 20 74 68 65 20 74 65 |first pu|t the te|
|000062c0| 78 74 20 69 6e 74 6f 20 | 74 68 65 20 71 75 65 72 |xt into |the quer|
|000062d0| 79 20 77 69 6e 64 6f 77 | 0d 17 98 76 20 20 20 20 |y window|...v |
|000062e0| 20 20 f2 69 63 6f 6e 5f | 70 75 74 64 61 74 61 28 | .icon_|putdata(|
|000062f0| 71 25 2c 71 75 65 72 79 | 25 2c 31 2c 22 54 68 65 |q%,query|%,1,"The|
|00006300| 20 64 61 74 61 20 68 61 | 73 20 62 65 65 6e 20 65 | data ha|s been e|
|00006310| 64 69 74 65 64 20 62 75 | 74 20 6e 6f 74 20 73 61 |dited bu|t not sa|
|00006320| 76 65 64 2e 20 44 6f 20 | 79 6f 75 20 77 61 6e 74 |ved. Do |you want|
|00006330| 20 74 6f 20 73 61 76 65 | 20 74 68 65 20 72 65 76 | to save| the rev|
|00006340| 69 73 65 64 20 66 69 6c | 65 3f 22 2c 30 29 0d 17 |ised fil|e?",0)..|
|00006350| a2 37 20 20 20 20 20 20 | f2 6f 70 65 6e 77 69 6e |.7 |.openwin|
|00006360| 64 6f 77 28 71 75 65 72 | 79 25 2c a3 2c 2d 31 29 |dow(quer|y%,.,-1)|
|00006370| 20 3a f4 20 6f 70 65 6e | 20 71 75 65 72 79 20 77 | :. open| query w|
|00006380| 69 6e 64 6f 77 0d 17 ac | 48 20 20 20 20 20 20 f2 |indow...|H .|
|00006390| 6d 6f 75 73 65 5f 6c 69 | 6d 69 74 28 71 25 2c 71 |mouse_li|mit(q%,q|
|000063a0| 75 65 72 79 25 29 20 20 | 20 20 20 20 3a f4 20 73 |uery%) | :. s|
|000063b0| 74 6f 70 20 74 68 65 20 | 6d 6f 75 73 65 20 77 61 |top the |mouse wa|
|000063c0| 6e 64 65 72 69 6e 67 20 | 61 62 6f 75 74 0d 17 b6 |ndering |about...|
|000063d0| 48 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |H | |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063f0| 20 20 20 20 20 20 20 3a | f4 20 75 6e 74 69 6c 20 | :|. until |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.