home *** CD-ROM | disk | FTP | other *** search
Unknown | 1991-06-10 | 38.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Truevision Targa Graphic (image/tga)
| magic
| Supported |
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 1d f4 20 3e 20 | 3c 53 68 65 6c 6c 24 44 |..... > |<Shell$D|
|00000010| 69 72 3e 2e 21 52 75 6e | 49 6d 61 67 65 0d 00 14 |ir>.!Run|Image...|
|00000020| 04 0d 00 1e 45 f4 20 54 | 68 69 73 20 70 72 6f 67 |....E. T|his prog|
|00000030| 72 61 6d 20 69 73 20 64 | 65 73 69 67 6e 65 64 20 |ram is d|esigned |
|00000040| 74 6f 20 73 68 6f 77 20 | 73 6f 6d 65 20 61 73 70 |to show |some asp|
|00000050| 65 63 74 73 20 6f 66 20 | 75 73 69 6e 67 20 74 68 |ects of |using th|
|00000060| 65 20 57 49 4d 50 0d 00 | 28 47 f4 20 53 79 73 74 |e WIMP..|(G. Syst|
|00000070| 65 6d 20 6f 6e 20 74 68 | 65 20 41 72 63 68 69 6d |em on th|e Archim|
|00000080| 65 64 65 73 2e 20 55 73 | 69 6e 67 20 69 74 20 61 |edes. Us|ing it a|
|00000090| 73 20 61 20 62 61 73 65 | 20 79 6f 75 20 73 68 6f |s a base| you sho|
|000000a0| 75 6c 64 20 68 6f 70 65 | 66 75 6c 6c 79 0d 00 32 |uld hope|fully..2|
|000000b0| 47 f4 20 62 65 20 61 62 | 6c 65 20 74 6f 20 63 6f |G. be ab|le to co|
|000000c0| 6e 76 65 72 74 20 65 78 | 69 73 74 69 6e 67 20 6e |nvert ex|isting n|
|000000d0| 6f 6e 2d 57 49 4d 50 20 | 70 72 6f 67 72 61 6d 73 |on-WIMP |programs|
|000000e0| 20 6f 72 20 63 72 65 61 | 74 65 20 6e 65 77 20 6f | or crea|te new o|
|000000f0| 6e 65 73 2e 0d 00 3c 47 | f4 20 45 61 63 68 20 70 |nes...<G|. Each p|
|00000100| 61 72 74 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |art of t|he progr|
|00000110| 61 6d 20 68 61 73 20 65 | 78 74 65 6e 73 69 76 65 |am has e|xtensive|
|00000120| 20 52 45 4d 20 73 74 61 | 74 65 6d 65 6e 74 73 20 | REM sta|tements |
|00000130| 74 6f 20 64 65 73 63 72 | 69 62 65 0d 00 46 44 f4 |to descr|ibe..FD.|
|00000140| 20 77 68 61 74 20 69 73 | 20 67 6f 69 6e 67 20 6f | what is| going o|
|00000150| 6e 2e 20 59 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |n. You w|ill need|
|00000160| 20 76 61 72 69 6f 75 73 | 20 6f 74 68 65 72 20 52 | various| other R|
|00000170| 49 53 43 2d 4f 53 20 70 | 72 6f 67 72 61 6d 73 0d |ISC-OS p|rograms.|
|00000180| 00 50 48 f4 20 74 6f 20 | 63 72 65 61 74 65 20 61 |.PH. to |create a|
|00000190| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 6e |n applic|ation, n|
|000001a0| 6f 74 61 62 6c 79 20 21 | 50 61 69 6e 74 20 28 66 |otably !|Paint (f|
|000001b0| 6f 72 20 73 70 72 69 74 | 65 73 29 20 61 6e 64 20 |or sprit|es) and |
|000001c0| 21 46 6f 72 6d 45 64 0d | 00 5a 4a f4 20 28 41 63 |!FormEd.|.ZJ. (Ac|
|000001d0| 6f 72 6e 27 73 20 76 65 | 72 73 69 6f 6e 29 20 66 |orn's ve|rsion) f|
|000001e0| 6f 72 20 77 69 6e 64 6f | 77 20 74 65 6d 70 6c 61 |or windo|w templa|
|000001f0| 74 65 73 2e 20 49 27 6d | 20 61 66 72 61 69 64 20 |tes. I'm| afraid |
|00000200| 49 20 63 61 6e 27 74 20 | 72 65 63 6f 6d 6d 65 6e |I can't |recommen|
|00000210| 64 0d 00 64 48 f4 20 4e | 6f 72 77 69 63 68 20 43 |d..dH. N|orwich C|
|00000220| 6f 6d 70 75 74 65 72 20 | 53 65 72 76 69 63 65 73 |omputer |Services|
|00000230| 20 54 65 6d 70 6c 61 74 | 65 20 45 64 69 74 6f 72 | Templat|e Editor|
|00000240| 20 28 73 6f 72 72 79 20 | 41 64 72 69 61 6e 29 20 | (sorry |Adrian) |
|00000250| 61 73 20 69 74 20 63 61 | 6e 0d 00 6e 43 f4 20 70 |as it ca|n..nC. p|
|00000260| 72 6f 64 75 63 65 20 6e | 6f 6e 2d 73 74 61 6e 64 |roduce n|on-stand|
|00000270| 61 72 64 20 66 69 6c 65 | 73 20 74 68 61 74 20 63 |ard file|s that c|
|00000280| 61 6e 6e 6f 74 20 62 65 | 20 6c 6f 61 64 65 64 20 |annot be| loaded |
|00000290| 69 6e 74 6f 20 41 63 6f | 72 6e 27 73 0d 00 78 47 |into Aco|rn's..xG|
|000002a0| f4 20 21 46 6f 72 6d 45 | 64 2e 20 54 68 69 73 20 |. !FormE|d. This |
|000002b0| 63 61 75 73 65 73 20 61 | 20 70 72 6f 62 6c 65 6d |causes a| problem|
|000002c0| 20 61 73 20 21 46 6f 72 | 6d 45 64 20 69 73 2c 20 | as !For|mEd is, |
|000002d0| 61 73 20 66 61 72 20 61 | 73 20 49 20 6b 6e 6f 77 |as far a|s I know|
|000002e0| 2c 20 61 0d 00 82 48 f4 | 20 27 50 75 62 6c 69 63 |, a...H.| 'Public|
|000002f0| 20 44 6f 6d 61 69 6e 27 | 20 70 72 6f 67 72 61 6d | Domain'| program|
|00000300| 20 28 77 68 69 63 68 20 | 69 73 20 61 73 20 69 74 | (which |is as it|
|00000310| 20 73 68 6f 75 6c 64 20 | 62 65 20 66 6f 72 20 73 | should |be for s|
|00000320| 75 63 68 20 61 20 76 69 | 74 61 6c 0d 00 8c 43 f4 |uch a vi|tal...C.|
|00000330| 20 74 6f 6f 6c 29 20 62 | 75 74 20 74 68 65 20 4e | tool) b|ut the N|
|00000340| 43 53 20 76 65 72 73 69 | 6f 6e 20 69 73 20 6e 6f |CS versi|on is no|
|00000350| 74 20 73 6f 20 49 20 63 | 61 6e 27 74 20 67 69 76 |t so I c|an't giv|
|00000360| 65 20 63 6f 70 69 65 73 | 20 61 77 61 79 2e 0d 00 |e copies| away...|
|00000370| 96 04 0d 00 a0 4b f4 20 | 49 20 61 6c 73 6f 20 72 |.....K. |I also r|
|00000380| 65 63 6f 6d 6d 65 6e 64 | 20 67 65 74 74 69 6e 67 |ecommend| getting|
|00000390| 20 68 6f 6c 64 20 6f 66 | 20 61 6e 20 41 63 6f 72 | hold of| an Acor|
|000003a0| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 21 53 |n applic|ation !S|
|000003b0| 70 79 20 28 61 76 61 69 | 6c 61 62 6c 65 0d 00 aa |py (avai|lable...|
|000003c0| 49 f4 20 6f 6e 20 41 72 | 63 68 69 76 65 20 4d 61 |I. on Ar|chive Ma|
|000003d0| 67 61 7a 69 6e 65 20 43 | 61 72 65 77 61 72 65 20 |gazine C|areware |
|000003e0| 64 69 73 63 20 37 29 20 | 77 68 69 63 68 20 69 73 |disc 7) |which is|
|000003f0| 20 61 20 6d 6f 64 69 66 | 69 65 64 20 76 65 72 73 | a modif|ied vers|
|00000400| 69 6f 6e 20 6f 66 0d 00 | b4 46 f4 20 21 48 65 6c |ion of..|.F. !Hel|
|00000410| 70 2e 20 54 68 69 73 20 | 61 70 70 6c 69 63 61 74 |p. This |applicat|
|00000420| 69 6f 6e 20 73 69 6d 70 | 6c 79 20 64 69 73 70 6c |ion simp|ly displ|
|00000430| 61 79 73 20 74 68 65 20 | 77 69 6e 64 6f 77 20 68 |ays the |window h|
|00000440| 61 6e 64 6c 65 73 2c 20 | 69 63 6f 6e 0d 00 be 49 |andles, |icon...I|
|00000450| f4 20 69 63 6f 6e 20 68 | 61 6e 64 6c 65 73 20 65 |. icon h|andles e|
|00000460| 74 63 20 61 73 20 79 6f | 75 20 6d 6f 76 65 20 74 |tc as yo|u move t|
|00000470| 68 65 20 70 6f 69 6e 74 | 65 72 20 61 72 6f 75 6e |he point|er aroun|
|00000480| 64 2e 20 54 68 69 73 20 | 64 6f 65 73 6e 27 74 20 |d. This |doesn't |
|00000490| 73 6f 75 6e 64 0d 00 c8 | 47 f4 20 74 6f 6f 20 77 |sound...|G. too w|
|000004a0| 6f 6e 64 65 72 66 75 6c | 20 62 75 74 20 69 74 20 |onderful| but it |
|000004b0| 64 6f 65 73 20 65 6e 61 | 62 6c 65 20 79 6f 75 20 |does ena|ble you |
|000004c0| 74 6f 20 64 69 73 63 6f | 76 65 72 20 69 63 6f 6e |to disco|ver icon|
|000004d0| 20 68 61 6e 64 6c 65 73 | 20 65 74 63 0d 00 d2 47 | handles| etc...G|
|000004e0| f4 20 77 69 74 68 6f 75 | 74 20 6c 6f 61 64 69 6e |. withou|t loadin|
|000004f0| 67 20 74 68 65 20 74 65 | 6d 70 6c 61 74 65 73 20 |g the te|mplates |
|00000500| 69 6e 74 6f 20 21 46 6f | 72 6d 45 64 20 61 6e 64 |into !Fo|rmEd and|
|00000510| 20 77 72 69 74 69 6e 67 | 20 65 76 65 72 79 74 68 | writing| everyth|
|00000520| 69 6e 67 0d 00 dc 3a f4 | 20 64 6f 77 6e 20 6f 6e |ing...:.| down on|
|00000530| 20 62 69 74 73 20 6f 66 | 20 70 61 70 65 72 21 20 | bits of| paper! |
|00000540| 41 6e 64 20 69 74 20 6f | 6e 6c 79 20 6e 65 65 64 |And it o|nly need|
|00000550| 73 20 33 32 6b 20 74 6f | 20 72 75 6e 2e 0d 00 e6 |s 32k to| run....|
|00000560| 04 0d 00 f0 45 f4 20 49 | 20 64 6f 75 62 74 20 77 |....E. I| doubt w|
|00000570| 68 65 74 68 65 72 20 49 | 20 68 61 76 65 20 74 68 |hether I| have th|
|00000580| 6f 75 67 68 74 20 6f 66 | 20 65 76 65 72 79 74 68 |ought of| everyth|
|00000590| 69 6e 67 2c 20 68 6f 77 | 65 76 65 72 2c 20 61 6e |ing, how|ever, an|
|000005a0| 64 20 73 6f 6d 65 0d 00 | fa 45 f4 20 74 68 69 6e |d some..|.E. thin|
|000005b0| 67 73 20 28 73 75 63 68 | 20 61 73 20 70 61 6e 65 |gs (such| as pane|
|000005c0| 73 29 20 77 68 69 63 68 | 20 61 72 65 20 6e 69 63 |s) which| are nic|
|000005d0| 65 20 74 6f 20 68 61 76 | 65 20 73 6f 6d 65 74 69 |e to hav|e someti|
|000005e0| 6d 65 73 20 61 72 65 20 | 6e 6f 74 0d 01 04 45 f4 |mes are |not...E.|
|000005f0| 20 61 63 74 75 61 6c 6c | 79 20 76 69 74 61 6c 20 | actuall|y vital |
|00000600| 74 6f 20 67 65 74 74 69 | 6e 67 20 74 68 65 20 61 |to getti|ng the a|
|00000610| 70 70 6c 69 63 61 74 69 | 6f 6e 20 72 75 6e 6e 69 |pplicati|on runni|
|00000620| 6e 67 20 2d 20 73 6f 20 | 74 68 65 79 20 61 72 65 |ng - so |they are|
|00000630| 0d 01 0e 45 f4 20 6e 6f | 74 20 64 65 6d 6f 6e 73 |...E. no|t demons|
|00000640| 74 72 61 74 65 64 2e 20 | 41 6c 73 6f 20 49 20 68 |trated. |Also I h|
|00000650| 61 76 65 6e 27 74 20 67 | 6f 74 20 74 68 65 6d 20 |aven't g|ot them |
|00000660| 77 6f 72 6b 69 6e 67 20 | 70 72 6f 70 65 72 6c 79 |working |properly|
|00000670| 20 79 65 74 2e 0d 01 18 | 44 f4 20 41 73 20 6d 6f | yet....|D. As mo|
|00000680| 73 74 20 70 72 6f 67 72 | 61 6d 73 20 63 61 6e 20 |st progr|ams can |
|00000690| 62 65 20 63 72 75 64 65 | 6c 79 20 62 72 6f 6b 65 |be crude|ly broke|
|000006a0| 6e 20 64 6f 77 6e 20 74 | 6f 20 27 67 65 74 20 73 |n down t|o 'get s|
|000006b0| 6f 6d 65 20 64 61 74 61 | 2c 0d 01 22 43 f4 20 70 |ome data|,.."C. p|
|000006c0| 72 6f 63 65 73 73 20 69 | 74 20 61 6e 64 20 73 61 |rocess i|t and sa|
|000006d0| 76 65 20 69 74 20 62 61 | 63 6b 20 74 6f 20 64 69 |ve it ba|ck to di|
|000006e0| 73 6b 27 20 49 27 6c 6c | 20 75 73 65 20 61 20 72 |sk' I'll| use a r|
|000006f0| 65 61 6c 6c 79 20 73 69 | 6d 70 6c 65 0d 01 2c 47 |eally si|mple..,G|
|00000700| f4 20 64 61 74 61 62 61 | 73 65 20 61 73 20 61 6e |. databa|se as an|
|00000710| 20 65 78 61 6d 70 6c 65 | 20 77 68 69 63 68 20 77 | example| which w|
|00000720| 69 6c 6c 20 73 68 6f 77 | 20 68 6f 77 20 74 6f 20 |ill show| how to |
|00000730| 6c 6f 61 64 20 61 6e 64 | 20 73 61 76 65 20 66 69 |load and| save fi|
|00000740| 6c 65 73 0d 01 36 48 f4 | 20 75 6e 64 65 72 20 52 |les..6H.| under R|
|00000750| 49 53 43 2d 4f 53 2e 20 | 48 6f 77 65 76 65 72 2c |ISC-OS. |However,|
|00000760| 20 49 27 6c 6c 20 74 72 | 79 20 74 6f 20 73 68 6f | I'll tr|y to sho|
|00000770| 77 20 61 73 20 6d 61 6e | 79 20 64 69 66 66 65 72 |w as man|y differ|
|00000780| 65 6e 74 20 61 73 70 65 | 63 74 73 0d 01 40 20 f4 |ent aspe|cts..@ .|
|00000790| 20 6f 66 20 57 49 4d 50 | 20 70 72 6f 67 72 61 6d | of WIMP| program|
|000007a0| 73 20 61 73 20 49 20 63 | 61 6e 2e 0d 01 4a 04 0d |s as I c|an...J..|
|000007b0| 01 54 49 f4 20 52 65 61 | 64 69 6e 67 20 73 6f 6d |.TI. Rea|ding som|
|000007c0| 65 20 6f 66 20 74 68 65 | 20 63 6f 6d 6d 65 6e 74 |e of the| comment|
|000007d0| 73 20 69 6e 20 74 68 65 | 20 6d 61 67 61 7a 69 6e |s in the| magazin|
|000007e0| 65 73 20 69 74 20 73 65 | 65 6d 73 20 74 68 61 74 |es it se|ems that|
|000007f0| 20 77 68 61 74 20 69 73 | 0d 01 5e 47 f4 20 72 65 | what is|..^G. re|
|00000800| 71 75 69 72 65 64 20 69 | 73 20 61 20 6d 61 67 69 |quired i|s a magi|
|00000810| 63 20 77 61 6e 64 20 77 | 68 69 63 68 20 77 69 6c |c wand w|hich wil|
|00000820| 6c 20 70 72 6f 64 75 63 | 65 20 77 6f 72 6b 69 6e |l produc|e workin|
|00000830| 67 20 6d 75 6c 74 69 2d | 74 61 73 6b 69 6e 67 0d |g multi-|tasking.|
|00000840| 01 68 47 f4 20 57 49 4d | 50 20 70 72 6f 67 72 61 |.hG. WIM|P progra|
|00000850| 6d 73 20 77 69 74 68 6f | 75 74 20 74 6f 6f 20 6d |ms witho|ut too m|
|00000860| 75 63 68 20 65 66 66 6f | 72 74 2e 20 55 6e 66 6f |uch effo|rt. Unfo|
|00000870| 72 74 75 6e 61 74 65 6c | 79 20 69 66 20 79 6f 75 |rtunatel|y if you|
|00000880| 20 63 61 6e 27 74 0d 01 | 72 48 f4 20 70 72 6f 67 | can't..|rH. prog|
|00000890| 72 61 6d 20 69 6e 20 42 | 41 53 49 43 20 79 6f 75 |ram in B|ASIC you|
|000008a0| 20 68 61 76 65 20 6e 6f | 20 63 68 61 6e 63 65 21 | have no| chance!|
|000008b0| 20 54 68 69 73 20 21 53 | 68 65 6c 6c 20 70 72 6f | This !S|hell pro|
|000008c0| 67 72 61 6d 20 77 69 6c | 6c 20 68 65 6c 70 0d 01 |gram wil|l help..|
|000008d0| 7c 48 f4 20 62 75 74 20 | 69 74 20 63 61 6e 27 74 ||H. but |it can't|
|000008e0| 20 74 65 61 63 68 20 79 | 6f 75 20 74 6f 20 70 72 | teach y|ou to pr|
|000008f0| 6f 67 72 61 6d 20 28 6e | 65 69 74 68 65 72 20 63 |ogram (n|either c|
|00000900| 61 6e 20 41 72 63 68 57 | 61 79 20 61 6e 64 20 74 |an ArchW|ay and t|
|00000910| 68 69 73 20 69 73 0d 01 | 86 14 f4 20 6d 75 63 68 |his is..|... much|
|00000920| 20 63 68 65 61 70 65 72 | 29 2e 0d 01 90 04 0d 01 | cheaper|).......|
|00000930| 9a 4c f4 20 4f 6e 65 20 | 74 68 69 6e 67 20 49 20 |.L. One |thing I |
|00000940| 73 74 69 6c 6c 20 68 61 | 76 65 20 61 20 70 72 6f |still ha|ve a pro|
|00000950| 62 6c 65 6d 20 77 69 74 | 68 20 69 73 20 74 68 65 |blem wit|h is the|
|00000960| 20 50 72 65 51 75 69 74 | 20 62 72 6f 61 64 63 61 | PreQuit| broadca|
|00000970| 73 74 20 6d 65 73 73 61 | 67 65 0d 01 a4 4a f4 20 |st messa|ge...J. |
|00000980| 73 65 6e 74 20 62 79 20 | 74 68 65 20 74 61 73 6b |sent by |the task|
|00000990| 20 6d 61 6e 61 67 65 72 | 20 77 68 65 6e 20 79 6f | manager| when yo|
|000009a0| 75 20 71 75 69 74 20 74 | 68 65 20 64 65 73 6b 74 |u quit t|he deskt|
|000009b0| 6f 70 2e 20 41 63 63 6f | 72 64 69 6e 67 20 74 6f |op. Acco|rding to|
|000009c0| 20 74 68 65 0d 01 ae 48 | f4 20 52 49 53 43 2d 4f | the...H|. RISC-O|
|000009d0| 53 20 50 52 4d 73 20 74 | 68 65 20 61 70 70 6c 69 |S PRMs t|he appli|
|000009e0| 63 61 74 69 6f 6e 20 73 | 68 6f 75 6c 64 20 63 68 |cation s|hould ch|
|000009f0| 65 63 6b 20 69 66 20 75 | 6e 73 61 76 65 64 20 64 |eck if u|nsaved d|
|00000a00| 61 74 61 20 69 73 20 74 | 6f 20 62 65 0d 01 b8 49 |ata is t|o be...I|
|00000a10| f4 20 74 68 72 6f 77 6e | 20 61 77 61 79 20 61 6e |. thrown| away an|
|00000a20| 64 20 74 68 65 6e 20 72 | 65 73 74 61 72 74 20 74 |d then r|estart t|
|00000a30| 68 65 20 63 6c 6f 73 65 | 64 6f 77 6e 20 70 72 6f |he close|down pro|
|00000a40| 63 65 64 75 72 65 2e 20 | 55 6e 66 6f 72 74 75 6e |cedure. |Unfortun|
|00000a50| 61 74 65 6c 79 0d 01 c2 | 46 f4 20 74 68 65 20 50 |ately...|F. the P|
|00000a60| 52 4d 20 69 73 20 61 20 | 62 69 74 20 6c 69 67 68 |RM is a |bit ligh|
|00000a70| 74 20 6f 6e 20 69 6e 66 | 6f 20 6f 6e 20 68 6f 77 |t on inf|o on how|
|00000a80| 20 74 6f 20 64 6f 20 74 | 68 69 73 20 61 6e 64 20 | to do t|his and |
|00000a90| 6e 6f 6e 65 20 6f 66 20 | 74 68 65 0d 01 cc 48 f4 |none of |the...H.|
|00000aa0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 49 20 | applica|tions I |
|00000ab0| 68 61 76 65 20 28 69 6e | 63 6c 75 64 69 6e 67 20 |have (in|cluding |
|00000ac0| 21 4d 61 65 73 74 72 6f | 20 61 6e 64 20 21 48 6f |!Maestro| and !Ho|
|00000ad0| 6d 65 41 63 63 20 66 72 | 6f 6d 20 4d 69 6e 65 72 |meAcc fr|om Miner|
|00000ae0| 76 61 29 0d 01 d6 45 f4 | 20 61 63 74 75 61 6c 6c |va)...E.| actuall|
|00000af0| 79 20 66 6f 6c 6c 6f 77 | 20 74 68 65 20 67 75 69 |y follow| the gui|
|00000b00| 64 65 6c 69 6e 65 73 21 | 20 53 6f 20 61 73 20 69 |delines!| So as i|
|00000b10| 74 20 73 74 61 6e 64 73 | 20 69 66 20 75 6e 73 61 |t stands| if unsa|
|00000b20| 76 65 64 20 64 61 74 61 | 0d 01 e0 43 f4 20 65 78 |ved data|...C. ex|
|00000b30| 69 73 74 73 20 69 6e 20 | 21 53 68 65 6c 6c 20 77 |ists in |!Shell w|
|00000b40| 68 65 6e 20 74 68 65 20 | 64 65 73 6b 74 6f 70 20 |hen the |desktop |
|00000b50| 69 73 20 65 78 69 74 65 | 64 20 79 6f 75 20 77 69 |is exite|d you wi|
|00000b60| 6c 6c 20 6c 6f 73 65 20 | 69 74 2e 0d 01 ea 30 f4 |ll lose |it....0.|
|00000b70| 20 41 6e 79 20 68 65 6c | 70 20 68 65 72 65 20 77 | Any hel|p here w|
|00000b80| 69 6c 6c 20 62 65 20 67 | 72 61 74 65 66 75 6c 6c |ill be g|ratefull|
|00000b90| 79 20 72 65 63 65 69 76 | 65 64 21 0d 01 f4 04 0d |y receiv|ed!.....|
|00000ba0| 01 fe 1f f4 20 43 6f 70 | 79 72 69 67 68 74 20 50 |.... Cop|yright P|
|00000bb0| 61 75 6c 20 48 6f 62 62 | 73 20 31 39 39 30 0d 02 |aul Hobb|s 1990..|
|00000bc0| 08 04 0d 02 12 19 f4 20 | 52 68 65 69 6e 70 66 6c |....... |Rheinpfl|
|00000bd0| 61 7a 73 74 72 61 73 73 | 65 20 32 0d 02 1c 19 f4 |azstrass|e 2.....|
|00000be0| 20 20 20 20 20 38 30 37 | 30 20 49 6e 67 6f 6c 73 | 807|0 Ingols|
|00000bf0| 74 61 64 74 0d 02 26 19 | f4 20 20 20 20 20 20 20 |tadt..&.|. |
|00000c00| 20 57 65 73 74 20 47 65 | 72 6d 61 6e 79 0d 02 30 | West Ge|rmany..0|
|00000c10| 04 0d 02 3a 3e f4 20 54 | 68 69 73 20 70 72 6f 67 |...:>. T|his prog|
|00000c20| 72 61 6d 20 61 6e 64 20 | 70 61 72 74 73 20 74 68 |ram and |parts th|
|00000c30| 65 72 65 6f 66 20 6d 61 | 79 20 62 65 20 66 72 65 |ereof ma|y be fre|
|00000c40| 65 6c 79 20 64 69 73 74 | 72 69 62 75 74 65 64 0d |ely dist|ributed.|
|00000c50| 02 44 04 0d 02 4e 47 76 | 65 72 73 69 6f 6e 24 3d |.D...NGv|ersion$=|
|00000c60| 22 31 2e 30 37 20 28 31 | 2d 4a 75 6c 2d 39 30 29 |"1.07 (1|-Jul-90)|
|00000c70| 22 20 20 3a f4 20 74 68 | 69 73 20 73 74 72 69 6e |" :. th|is strin|
|00000c80| 67 20 77 69 6c 6c 20 62 | 65 20 69 6e 73 65 72 74 |g will b|e insert|
|00000c90| 65 64 20 69 6e 74 6f 20 | 61 6e 0d 02 58 45 20 20 |ed into |an..XE |
|00000ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cb0| 20 20 20 20 20 20 20 20 | 20 20 3a f4 20 69 63 6f | | :. ico|
|00000cc0| 6e 20 69 6e 20 74 68 65 | 20 73 74 61 6e 64 61 72 |n in the| standar|
|00000cd0| 64 20 27 69 6e 66 6f 27 | 20 77 69 6e 64 6f 77 0d |d 'info'| window.|
|00000ce0| 02 62 4b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.bK | |
|00000cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a | | :|
|00000d00| f4 20 77 68 69 63 68 20 | 69 73 20 61 63 63 65 73 |. which |is acces|
|00000d10| 73 65 64 20 76 69 61 20 | 74 68 65 20 69 63 6f 6e |sed via |the icon|
|00000d20| 20 69 6e 73 74 61 6c 6c | 65 64 0d 02 6c 31 20 20 | install|ed..l1 |
|00000d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d40| 20 20 20 20 20 20 20 20 | 20 20 3a f4 20 6f 6e 20 | | :. on |
|00000d50| 74 68 65 20 69 63 6f 6e | 62 61 72 0d 02 76 04 0d |the icon|bar..v..|
|00000d60| 02 80 4c f4 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..L. ---|--------|
|00000d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 57 49 4d 50 20 54 |--------|- WIMP T|
|00000d80| 61 73 6b 20 49 6e 69 74 | 69 61 6c 69 73 61 74 69 |ask Init|ialisati|
|00000d90| 6f 6e 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |on -----|--------|
|00000da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 02 8a 04 0d |--------|---.....|
|00000db0| 02 94 47 f4 20 44 69 6d | 65 6e 73 69 6f 6e 20 74 |..G. Dim|ension t|
|00000dc0| 68 65 20 67 65 6e 65 72 | 61 6c 20 70 75 72 70 6f |he gener|al purpo|
|00000dd0| 73 65 20 57 49 4d 50 20 | 70 61 72 61 6d 65 74 65 |se WIMP |paramete|
|00000de0| 72 20 62 6c 6f 63 6b 2c | 20 61 6e 64 20 73 74 61 |r block,| and sta|
|00000df0| 72 74 20 74 68 65 0d 02 | 9e 46 f4 20 57 49 4d 50 |rt the..|.F. WIMP|
|00000e00| 20 74 61 73 6b 2e 20 4d | 61 6b 65 20 74 68 65 20 | task. M|ake the |
|00000e10| 70 61 72 61 6d 65 74 65 | 72 20 62 6c 6f 63 6b 20 |paramete|r block |
|00000e20| 6c 61 72 67 65 20 74 6f | 20 73 74 61 72 74 20 77 |large to| start w|
|00000e30| 69 74 68 2c 20 63 75 74 | 74 69 6e 67 0d 02 a8 46 |ith, cut|ting...F|
|00000e40| f4 20 69 74 20 64 6f 77 | 6e 20 77 68 65 6e 20 74 |. it dow|n when t|
|00000e50| 68 65 20 70 72 6f 67 72 | 61 6d 20 69 73 20 66 69 |he progr|am is fi|
|00000e60| 6e 69 73 68 65 64 2e 20 | 59 6f 75 27 6c 6c 20 6b |nished. |You'll k|
|00000e70| 6e 6f 77 20 77 68 65 6e | 20 69 74 20 69 73 20 74 |now when| it is t|
|00000e80| 6f 6f 0d 02 b2 47 f4 20 | 73 6d 61 6c 6c 20 61 73 |oo...G. |small as|
|00000e90| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 77 6f 6e | the pro|gram won|
|00000ea0| 27 74 20 72 75 6e 21 20 | 54 68 65 20 22 53 68 65 |'t run! |The "She|
|00000eb0| 6c 6c 22 20 73 74 72 69 | 6e 67 20 69 73 20 75 73 |ll" stri|ng is us|
|00000ec0| 65 64 20 62 79 20 74 68 | 65 0d 02 bc 48 f4 20 54 |ed by th|e...H. T|
|00000ed0| 61 73 6b 20 4d 61 6e 61 | 67 65 72 20 69 6e 20 74 |ask Mana|ger in t|
|00000ee0| 68 65 20 64 65 73 6b 74 | 6f 70 20 2d 20 73 6f 20 |he deskt|op - so |
|00000ef0| 63 68 61 6e 67 65 20 69 | 74 20 74 6f 20 73 75 69 |change i|t to sui|
|00000f00| 74 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |t the ap|plicatio|
|00000f10| 6e 0d 02 c6 15 f4 20 79 | 6f 75 20 61 72 65 20 77 |n..... y|ou are w|
|00000f20| 72 69 74 69 6e 67 0d 02 | d0 04 0d 02 da 0d de 20 |riting..|....... |
|00000f30| 71 25 20 32 35 30 30 0d | 02 e4 0e 24 71 25 3d 22 |q% 2500.|...$q%="|
|00000f40| 54 41 53 4b 22 0d 02 ee | 31 c8 99 20 22 57 69 6d |TASK"...|1.. "Wim|
|00000f50| 70 5f 49 6e 69 74 69 61 | 6c 69 73 65 22 2c 32 30 |p_Initia|lise",20|
|00000f60| 30 2c 21 71 25 2c 22 53 | 68 65 6c 6c 22 20 b8 20 |0,!q%,"S|hell" . |
|00000f70| 2c 74 61 73 6b 25 0d 02 | f8 48 c8 99 20 22 48 6f |,task%..|.H.. "Ho|
|00000f80| 75 72 67 6c 61 73 73 5f | 4f 6e 22 20 3a f4 20 77 |urglass_|On" :. w|
|00000f90| 65 27 6c 6c 20 74 75 72 | 6e 20 74 68 65 20 48 6f |e'll tur|n the Ho|
|00000fa0| 75 72 47 6c 61 73 73 20 | 6f 6e 20 75 6e 74 69 6c |urGlass |on until|
|00000fb0| 20 65 76 65 72 79 74 68 | 69 6e 67 20 69 73 0d 03 | everyth|ing is..|
|00000fc0| 02 46 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.F | |
|00000fd0| 20 20 20 20 20 3a f4 20 | 73 65 74 20 75 70 20 61 | :. |set up a|
|00000fe0| 6e 64 20 72 65 61 64 79 | 20 74 6f 20 67 6f 20 28 |nd ready| to go (|
|00000ff0| 74 6f 20 73 68 6f 77 20 | 73 6f 6d 65 74 68 69 6e |to show |somethin|
|00001000| 67 20 69 73 0d 03 0c 4a | 20 20 20 20 20 20 20 20 |g is...J| |
|00001010| 20 20 20 20 20 20 20 20 | 20 20 20 3a f4 20 68 61 | | :. ha|
|00001020| 70 70 65 6e 69 6e 67 20 | 77 68 69 6c 65 20 74 68 |ppening |while th|
|00001030| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |e applic|ation is|
|00001040| 20 69 6e 69 74 69 61 6c | 69 73 69 6e 67 29 0d 03 | initial|ising)..|
|00001050| 16 04 0d 03 20 4c f4 20 | 2d 2d 2d 2d 2d 2d 2d 2d |.... L. |--------|
|00001060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 4c 6f 61 |--------|---- Loa|
|00001070| 64 20 53 70 72 69 74 65 | 20 46 69 6c 65 20 2d 2d |d Sprite| File --|
|00001080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 03 |--------|------..|
|000010a0| 2a 04 0d 03 34 4b f4 20 | 53 65 74 20 75 70 20 61 |*...4K. |Set up a|
|000010b0| 6e 64 20 63 6c 65 61 72 | 20 61 20 75 73 65 72 20 |nd clear| a user |
|000010c0| 73 70 72 69 74 65 20 61 | 72 65 61 20 66 6f 72 20 |sprite a|rea for |
|000010d0| 74 68 65 20 22 53 70 72 | 69 74 65 73 22 20 66 69 |the "Spr|ites" fi|
|000010e0| 6c 65 20 77 68 69 63 68 | 20 6d 75 73 74 0d 03 3e |le which| must..>|
|000010f0| 4a f4 20 62 65 20 69 6e | 20 74 68 65 20 61 70 70 |J. be in| the app|
|00001100| 6c 69 63 61 74 69 6f 6e | 20 64 69 72 65 63 74 6f |lication| directo|
|00001110| 72 79 2e 20 54 68 69 73 | 20 77 69 6c 6c 20 63 6f |ry. This| will co|
|00001120| 6e 74 61 69 6e 20 61 6c | 6c 20 6f 66 20 74 68 65 |ntain al|l of the|
|00001130| 20 75 6e 69 71 75 65 0d | 03 48 4b f4 20 73 70 72 | unique.|.HK. spr|
|00001140| 69 74 65 73 20 72 65 71 | 75 69 72 65 64 20 62 79 |ites req|uired by|
|00001150| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00001160| 2e 20 54 68 65 20 73 69 | 7a 65 20 6f 66 20 74 68 |. The si|ze of th|
|00001170| 65 20 75 73 65 72 20 73 | 70 72 69 74 65 20 61 72 |e user s|prite ar|
|00001180| 65 61 0d 03 52 4b f4 20 | 69 73 20 73 65 74 20 62 |ea..RK. |is set b|
|00001190| 79 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 74 68 |y the si|ze of th|
|000011a0| 65 20 73 70 72 69 74 65 | 20 66 69 6c 65 2e 20 54 |e sprite| file. T|
|000011b0| 68 65 20 6f 6e 6c 79 20 | 70 61 72 74 20 79 6f 75 |he only |part you|
|000011c0| 20 77 69 6c 6c 20 6e 65 | 65 64 20 74 6f 0d 03 5c | will ne|ed to..\|
|000011d0| 4c f4 20 63 68 61 6e 67 | 65 20 68 65 72 65 20 69 |L. chang|e here i|
|000011e0| 73 20 74 68 65 20 3c 53 | 68 65 6c 6c 24 44 69 72 |s the <S|hell$Dir|
|000011f0| 3e 20 73 74 72 69 6e 67 | 20 77 68 69 63 68 20 73 |> string| which s|
|00001200| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 20 73 61 6d |hould be| the sam|
|00001210| 65 20 61 73 20 74 68 61 | 74 0d 03 66 3c f4 20 67 |e as tha|t..f<. g|
|00001220| 69 76 65 6e 20 69 6e 20 | 74 68 65 20 21 52 75 6e |iven in |the !Run|
|00001230| 20 66 69 6c 65 20 28 69 | 6e 20 74 68 69 73 20 65 | file (i|n this e|
|00001240| 78 61 6d 70 6c 65 20 74 | 68 65 20 6c 69 6e 65 20 |xample t|he line |
|00001250| 72 65 61 64 73 0d 03 70 | 21 f4 20 27 53 65 74 20 |reads..p|!. 'Set |
|00001260| 53 68 65 6c 6c 24 44 69 | 72 20 3c 4f 62 65 79 24 |Shell$Di|r <Obey$|
|00001270| 44 69 72 3e 27 29 0d 03 | 7a 48 f4 20 48 61 76 69 |Dir>')..|zH. Havi|
|00001280| 6e 67 20 75 73 65 72 20 | 73 70 72 69 74 65 73 20 |ng user |sprites |
|00001290| 69 73 20 6e 6f 74 20 61 | 6c 77 61 79 73 20 6e 65 |is not a|lways ne|
|000012a0| 63 65 73 73 61 72 79 20 | 6f 66 20 63 6f 75 72 73 |cessary |of cours|
|000012b0| 65 20 61 73 20 79 6f 75 | 20 63 6f 75 6c 64 0d 03 |e as you| could..|
|000012c0| 84 4b f4 20 75 73 65 20 | 74 65 78 74 20 69 63 6f |.K. use |text ico|
|000012d0| 6e 73 20 6f 72 20 75 73 | 65 72 20 67 65 6e 65 72 |ns or us|er gener|
|000012e0| 61 74 65 64 20 67 72 61 | 70 68 69 63 73 20 69 6e |ated gra|phics in|
|000012f0| 20 74 68 65 20 77 69 6e | 64 6f 77 73 20 2d 20 69 | the win|dows - i|
|00001300| 66 20 74 68 69 73 20 69 | 73 0d 03 8e 2d f4 20 74 |f this i|s...-. t|
|00001310| 68 65 20 63 61 73 65 20 | 74 68 65 6e 20 79 6f 75 |he case |then you|
|00001320| 20 63 61 6e 20 6f 6d 69 | 74 20 74 68 69 73 20 73 | can omi|t this s|
|00001330| 65 63 74 69 6f 6e 0d 03 | 98 04 0d 03 a2 2f 53 25 |ection..|...../S%|
|00001340| 3d 8e 20 22 3c 53 68 65 | 6c 6c 24 44 69 72 3e 2e |=. "<She|ll$Dir>.|
|00001350| 53 70 72 69 74 65 73 22 | 3a 54 25 3d a2 23 53 25 |Sprites"|:T%=.#S%|
|00001360| 2b 31 36 3a d9 20 23 53 | 25 0d 03 ac 19 de 20 73 |+16:. #S|%..... s|
|00001370| 70 20 54 25 3a 21 73 70 | 3d 54 25 3a 73 70 21 34 |p T%:!sp|=T%:sp!4|
|00001380| 3d 30 0d 03 b6 14 73 70 | 21 38 3d 31 36 3a 73 70 |=0....sp|!8=16:sp|
|00001390| 21 31 32 3d 31 36 0d 03 | c0 45 c8 99 20 22 4f 53 |!12=16..|.E.. "OS|
|000013a0| 5f 53 70 72 69 74 65 4f | 70 22 2c 26 32 30 39 2c |_SpriteO|p",&209,|
|000013b0| 73 70 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |sp | |
|000013c0| 20 20 20 20 20 20 20 20 | 20 3a f4 20 63 6c 65 61 | | :. clea|
|000013d0| 72 20 75 73 65 72 20 61 | 72 65 61 0d 03 ca 42 c8 |r user a|rea...B.|
|000013e0| 99 20 22 4f 53 5f 53 70 | 72 69 74 65 4f 70 22 2c |. "OS_Sp|riteOp",|
|000013f0| 26 32 30 41 2c 73 70 2c | 22 3c 53 68 65 6c 6c 24 |&20A,sp,|"<Shell$|
|00001400| 44 69 72 3e 2e 53 70 72 | 69 74 65 73 22 20 3a f4 |Dir>.Spr|ites" :.|
|00001410| 20 6c 6f 61 64 20 73 70 | 72 69 74 65 73 0d 03 d4 | load sp|rites...|
|00001420| 04 0d 03 de 4c f4 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |....L. -|--------|
|00001430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 50 6c 61 63 |--------|--- Plac|
|00001440| 65 20 53 70 72 69 74 65 | 20 4f 6e 20 49 63 6f 6e |e Sprite| On Icon|
|00001450| 20 42 61 72 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | Bar ---|--------|
|00001460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 03 e8 |--------|-----...|
|00001470| 04 0d 03 f2 48 f4 20 41 | 67 61 69 6e 20 74 68 69 |....H. A|gain thi|
|00001480| 73 20 73 74 65 70 20 63 | 6f 75 6c 64 20 62 65 20 |s step c|ould be |
|00001490| 6c 65 66 74 20 6f 75 74 | 20 69 66 20 79 6f 75 20 |left out| if you |
|000014a0| 64 6f 6e 27 74 20 77 61 | 6e 74 20 61 6e 20 69 63 |don't wa|nt an ic|
|000014b0| 6f 6e 20 6f 6e 20 74 68 | 65 0d 03 fc 4b f4 20 69 |on on th|e...K. i|
|000014c0| 63 6f 6e 62 61 72 2e 20 | 54 68 65 20 73 74 72 69 |conbar. |The stri|
|000014d0| 6e 67 20 22 21 53 68 65 | 6c 6c 22 20 72 65 66 65 |ng "!She|ll" refe|
|000014e0| 72 73 20 74 6f 20 74 68 | 65 20 6e 61 6d 65 20 6f |rs to th|e name o|
|000014f0| 66 20 61 20 73 70 72 69 | 74 65 20 65 69 74 68 65 |f a spri|te eithe|
|00001500| 72 20 69 6e 0d 04 06 4b | f4 20 74 68 65 20 27 21 |r in...K|. the '!|
|00001510| 53 70 72 69 74 65 27 20 | 6f 72 20 27 53 70 72 69 |Sprite' |or 'Spri|
|00001520| 74 65 73 27 20 66 69 6c | 65 20 69 6e 20 74 68 65 |tes' fil|e in the|
|00001530| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 64 69 72 | applica|tion dir|
|00001540| 65 63 74 6f 72 79 2e 20 | 49 74 20 6d 75 73 74 0d |ectory. |It must.|
|00001550| 04 10 4c f4 20 68 61 76 | 65 20 74 68 65 20 73 61 |..L. hav|e the sa|
|00001560| 6d 65 20 6e 61 6d 65 20 | 61 73 20 74 68 65 20 61 |me name |as the a|
|00001570| 70 70 6c 69 63 61 74 69 | 6f 6e 20 64 69 72 65 63 |pplicati|on direc|
|00001580| 74 6f 72 79 20 74 6f 20 | 62 65 20 64 69 73 70 6c |tory to |be displ|
|00001590| 61 79 65 64 20 62 79 20 | 74 68 65 0d 04 1a 4b f4 |ayed by |the...K.|
|000015a0| 20 74 68 65 20 46 69 6c | 65 72 2e 20 54 68 65 20 | the Fil|er. The |
|000015b0| 66 69 72 73 74 20 70 61 | 72 61 6d 65 74 65 72 20 |first pa|rameter |
|000015c0| 28 2d 31 29 20 6d 65 61 | 6e 73 20 27 72 69 67 68 |(-1) mea|ns 'righ|
|000015d0| 74 20 73 69 64 65 20 6f | 66 20 74 68 65 20 69 63 |t side o|f the ic|
|000015e0| 6f 6e 62 61 72 27 0d 04 | 24 47 f4 20 75 73 65 20 |onbar'..|$G. use |
|000015f0| 2d 32 20 74 6f 20 70 6c | 61 63 65 20 74 68 65 20 |-2 to pl|ace the |
|00001600| 69 63 6f 6e 20 6f 6e 20 | 74 68 65 20 6c 65 66 74 |icon on |the left|
|00001610| 20 73 69 64 65 2e 20 54 | 68 69 73 20 72 6f 75 74 | side. T|his rout|
|00001620| 69 6e 65 20 77 69 6c 6c | 20 6f 6e 6c 79 0d 04 2e |ine will| only...|
|00001630| 3b f4 20 70 6c 61 63 65 | 20 61 20 73 70 72 69 74 |;. place| a sprit|
|00001640| 65 20 6f 6e 20 74 68 65 | 20 69 63 6f 6e 62 61 72 |e on the| iconbar|
|00001650| 20 28 6e 6f 20 74 65 78 | 74 20 75 6e 64 65 72 6e | (no tex|t undern|
|00001660| 65 61 74 68 20 69 74 29 | 0d 04 38 04 0d 04 42 37 |eath it)|..8...B7|
|00001670| 73 69 63 6f 6e 3d a4 69 | 63 6f 6e 5f 63 72 65 61 |sicon=.i|con_crea|
|00001680| 74 65 28 2d 31 2c 30 2c | 30 2c 36 38 2c 36 38 2c |te(-1,0,|0,68,68,|
|00001690| 30 2c 30 2c 26 33 30 30 | 32 2c 22 21 53 68 65 6c |0,0,&300|2,"!Shel|
|000016a0| 6c 22 29 0d 04 4c 04 0d | 04 56 4c f4 20 2d 2d 2d |l")..L..|.VL. ---|
|000016b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016c0| 2d 20 49 6e 69 74 69 61 | 6c 69 73 65 20 43 6f 6e |- Initia|lise Con|
|000016d0| 73 74 61 6e 74 73 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |stants -|--------|
|000016e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016f0| 2d 2d 2d 0d 04 60 04 0d | 04 6a 4c f4 20 2d 2d 2d |---..`..|.jL. ---|
|00001700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001710| 2d 20 49 6e 69 74 69 61 | 6c 69 73 65 20 56 61 72 |- Initia|lise Var|
|00001720| 69 61 62 6c 65 73 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |iables -|--------|
|00001730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001740| 2d 2d 2d 0d 04 74 04 0d | 04 7e 46 63 6c 61 69 6d |---..t..|.~Fclaim|
|00001750| 71 75 65 72 79 24 3d 22 | 22 20 20 20 20 20 20 20 |query$="|" |
|00001760| 20 20 3a f4 20 4b 65 65 | 70 73 20 74 72 61 63 6b | :. Kee|ps track|
|00001770| 20 6f 66 20 77 68 6f 20 | 69 73 20 74 68 65 20 27 | of who |is the '|
|00001780| 6f 77 6e 65 72 27 20 6f | 66 20 74 68 65 0d 04 88 |owner' o|f the...|
|00001790| 4b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |K | |
|000017a0| 20 20 20 20 20 20 20 20 | 3a f4 20 27 71 75 65 72 | |:. 'quer|
|000017b0| 79 27 20 77 69 6e 64 6f | 77 2e 20 54 68 69 73 20 |y' windo|w. This |
|000017c0| 69 73 20 6e 65 63 65 73 | 73 61 72 79 20 62 65 63 |is neces|sary bec|
|000017d0| 61 75 73 65 20 74 68 65 | 0d 04 92 49 20 20 20 20 |ause the|...I |
|000017e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017f0| 20 20 20 3a f4 20 73 61 | 6d 65 20 77 69 6e 64 6f | :. sa|me windo|
|00001800| 77 20 63 61 6e 20 75 73 | 65 64 20 66 6f 72 20 64 |w can us|ed for d|
|00001810| 69 66 66 65 72 65 6e 74 | 20 70 75 72 70 6f 73 65 |ifferent| purpose|
|00001820| 73 0d 04 9c 49 20 20 20 | 20 20 20 20 20 20 20 20 |s...I | |
|00001830| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a f4 20 61 | | :. a|
|00001840| 6e 64 20 74 68 65 72 65 | 66 6f 72 65 20 74 68 65 |nd there|fore the|
|00001850| 20 72 65 73 70 6f 6e 73 | 65 73 20 74 6f 20 6d 6f | respons|es to mo|
|00001860| 75 73 65 20 63 6c 69 63 | 6b 73 0d 04 a6 49 20 20 |use clic|ks...I |
|00001870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001880| 20 20 20 20 20 3a f4 20 | 6d 61 79 20 62 65 20 64 | :. |may be d|
|00001890| 69 66 66 65 72 65 6e 74 | 2e 20 53 65 65 20 50 52 |ifferent|. See PR|
|000018a0| 4f 43 63 6c 69 63 6b 71 | 75 65 72 79 20 66 6f 72 |OCclickq|uery for|
|000018b0| 20 61 6e 0d 04 b0 25 20 | 20 20 20 20 20 20 20 20 | an...% | |
|000018c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a f4 | | :.|
|000018d0| 20 65 78 61 6d 70 6c 65 | 0d 04 ba 3b 63 6c 61 69 | example|...;clai|
|000018e0| 6d 6d 65 6e 75 24 20 3d | 22 22 20 20 20 20 20 20 |mmenu$ =|"" |
|000018f0| 20 20 20 3a f4 20 53 65 | 74 20 62 79 20 74 68 65 | :. Se|t by the|
|00001900| 20 6d 65 6e 75 5f 78 78 | 78 78 20 72 6f 75 74 69 | menu_xx|xx routi|
|00001910| 6e 65 73 0d 04 c4 3f 63 | 6c 61 69 6d 64 72 61 67 |nes...?c|laimdrag|
|00001920| 24 20 3d 22 22 20 20 20 | 20 20 20 20 20 20 3a f4 |$ ="" | :.|
|00001930| 20 53 65 74 20 62 79 20 | 74 68 65 20 75 73 65 72 | Set by |the user|
|00001940| 64 72 61 67 5f 78 78 78 | 78 20 72 6f 75 74 69 6e |drag_xxx|x routin|
|00001950| 65 73 0d 04 ce 47 63 6c | 6f 73 65 64 6f 77 6e 20 |es...Gcl|osedown |
|00001960| 20 20 20 20 20 20 3d a3 | 20 3a f4 20 53 65 74 20 | =.| :. Set |
|00001970| 74 68 69 73 20 74 6f 20 | 54 52 55 45 20 77 68 65 |this to |TRUE whe|
|00001980| 6e 20 79 6f 75 20 77 61 | 6e 74 20 74 68 65 20 70 |n you wa|nt the p|
|00001990| 72 6f 67 72 61 6d 20 74 | 6f 0d 04 d8 21 20 20 20 |rogram t|o...! |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019b0| 20 20 20 20 3a f4 20 65 | 6e 64 0d 04 e2 43 6f 70 | :. e|nd...Cop|
|000019c0| 65 6e 25 20 20 20 20 20 | 20 20 20 20 20 20 3d a3 |en% | =.|
|000019d0| 20 3a f4 20 55 73 65 64 | 20 74 6f 20 64 65 63 69 | :. Used| to deci|
|000019e0| 64 65 20 77 68 65 74 68 | 65 72 20 74 68 65 20 6d |de wheth|er the m|
|000019f0| 61 69 6e 20 77 69 6e 64 | 6f 77 20 6f 66 0d 04 ec |ain wind|ow of...|
|00001a00| 4a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |J | |
|00001a10| 20 20 20 20 20 20 20 20 | 3a f4 20 74 68 65 20 61 | |:. the a|
|00001a20| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 6f 70 |pplicati|on is op|
|00001a30| 65 6e 2e 20 4e 61 74 75 | 72 61 6c 6c 79 20 74 68 |en. Natu|rally th|
|00001a40| 69 73 20 6d 75 73 74 0d | 04 f6 4b 20 20 20 20 20 |is must.|..K |
|00001a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a60| 20 20 3a f4 20 62 65 20 | 73 65 74 20 74 6f 20 74 | :. be |set to t|
|00001a70| 72 75 65 20 77 68 65 6e | 20 74 68 65 20 77 69 6e |rue when| the win|
|00001a80| 64 6f 77 20 69 73 20 6f | 70 65 6e 65 64 2c 20 61 |dow is o|pened, a|
|00001a90| 6e 64 0d 05 00 36 20 20 | 20 20 20 20 20 20 20 20 |nd...6 | |
|00001aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3a f4 20 | | :. |
|00001ab0| 46 41 4c 53 45 20 77 68 | 65 6e 20 69 74 20 69 73 |FALSE wh|en it is|
|00001ac0| 20 63 6c 6f 73 65 64 21 | 0d 05 0a 44 63 68 61 6e | closed!|...Dchan|
|00001ad0| 67 65 64 25 20 20 20 20 | 20 20 20 20 3d a3 20 3a |ged% | =. :|
|00001ae0| f4 20 55 73 65 64 20 74 | 6f 20 6b 65 65 70 20 74 |. Used t|o keep t|
|00001af0| 72 61 63 6b 20 6f 66 20 | 77 68 65 74 68 65 72 20 |rack of |whether |
|00001b00| 74 68 65 20 64 61 74 61 | 20 68 61 73 0d 05 14 4b |the data| has...K|
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 20 20 20 20 20 20 3a | f4 20 62 65 65 6e 20 63 | :|. been c|
|00001b30| 68 61 6e 67 65 64 2e 20 | 43 61 6c 6c 20 50 52 4f |hanged. |Call PRO|
|00001b40| 43 66 69 6c 65 5f 63 68 | 61 6e 67 65 64 28 29 20 |Cfile_ch|anged() |
|00001b50| 77 68 65 6e 20 69 74 0d | 05 1e 47 20 20 20 20 20 |when it.|..G |
|00001b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b70| 20 20 3a f4 20 68 61 73 | 2e 20 42 75 74 20 69 66 | :. has|. But if|
|00001b80| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 64 6f 65 | the pro|gram doe|
|00001b90| 73 20 6e 6f 74 20 75 73 | 65 20 64 61 74 61 0d 05 |s not us|e data..|
|00001ba0| 28 48 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |(H | |
|00001bb0| 20 20 20 20 20 20 20 20 | 20 3a f4 20 66 69 6c 65 | | :. file|
|00001bc0| 73 20 6a 75 73 74 20 69 | 67 6e 6f 72 65 20 74 68 |s just i|gnore th|
|00001bd0| 69 73 20 76 61 72 69 61 | 62 6c 65 20 62 75 74 20 |is varia|ble but |
|00001be0| 64 6f 20 6e 6f 74 0d 05 | 32 47 20 20 20 20 20 20 |do not..|2G |
|00001bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c00| 20 3a f4 20 64 65 6c 65 | 74 65 20 69 74 20 61 73 | :. dele|te it as|
|00001c10| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 63 68 65 | the pro|gram che|
|00001c20| 63 6b 73 20 69 74 20 62 | 65 66 6f 72 65 0d 05 3c |cks it b|efore..<|
|00001c30| 26 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |& | |
|00001c40| 20 20 20 20 20 20 20 20 | 3a f4 20 65 78 69 74 69 | |:. exiti|
|00001c50| 6e 67 21 0d 05 46 04 0d | 05 50 4c f4 20 2d 2d 2d |ng!..F..|.PL. ---|
|00001c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001c70| 2d 20 49 6e 69 74 69 61 | 6c 69 73 65 20 41 72 72 |- Initia|lise Arr|
|00001c80| 61 79 73 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ays ----|--------|
|00001c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ca0| 2d 2d 2d 0d 05 5a 04 0d | 05 64 42 de 20 74 65 78 |---..Z..|.dB. tex|
|00001cb0| 74 24 28 35 30 29 2c 73 | 65 74 74 69 6e 67 28 35 |t$(50),s|etting(5|
|00001cc0| 30 29 2c 66 6c 61 67 73 | 28 35 30 29 20 3a f4 20 |0),flags|(50) :. |
|00001cd0| 75 73 65 64 20 62 79 20 | 74 68 65 20 6d 65 6e 75 |used by |the menu|
|00001ce0| 20 72 6f 75 74 69 6e 65 | 73 0d 05 6e 42 de 20 73 | routine|s..nB. s|
|00001cf0| 75 62 6d 65 6e 75 28 35 | 30 29 2c 72 65 66 28 35 |ubmenu(5|0),ref(5|
|00001d00| 30 29 2c 6d 65 6e 75 70 | 6f 73 28 32 30 29 20 3a |0),menup|os(20) :|
|00001d10| f4 20 75 73 65 64 20 62 | 79 20 74 68 65 20 6d 65 |. used b|y the me|
|00001d20| 6e 75 20 72 6f 75 74 69 | 6e 65 73 0d 05 78 04 0d |nu routi|nes..x..|
|00001d30| 05 82 4c f4 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..L. ---|--------|
|00001d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 49 6e 69 74 69 61 |--------|- Initia|
|00001d50| 6c 69 73 65 20 53 74 6f | 72 61 67 65 20 2d 2d 2d |lise Sto|rage ---|
|00001d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 05 8c 04 0d |--------|---.....|
|00001d80| 05 96 0f de 20 6d 65 6e | 75 25 20 35 31 32 0d 05 |.... men|u% 512..|
|00001d90| a0 46 de 20 69 6e 64 69 | 72 65 63 74 25 20 26 32 |.F. indi|rect% &2|
|00001da0| 30 30 30 20 3a f4 20 55 | 73 65 64 20 66 6f 72 20 |000 :. U|sed for |
|00001db0| 69 6e 64 69 72 65 63 74 | 65 64 20 69 63 6f 6e 73 |indirect|ed icons|
|00001dc0| 2e 20 4d 61 6b 65 20 74 | 68 69 73 20 61 72 65 61 |. Make t|his area|
|00001dd0| 20 42 49 47 0d 05 aa 48 | 20 20 20 20 20 20 20 20 | BIG...H| |
|00001de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a f4 20 77 | | :. w|
|00001df0| 68 69 6c 65 20 64 65 76 | 65 6c 6f 70 69 6e 67 20 |hile dev|eloping |
|00001e00| 74 68 65 20 70 72 6f 67 | 72 61 6d 2c 20 63 75 74 |the prog|ram, cut|
|00001e10| 74 69 6e 67 20 69 74 20 | 64 6f 77 6e 0d 05 b4 4b |ting it |down...K|
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e30| 20 20 20 20 3a f4 20 77 | 68 65 6e 20 69 74 20 69 | :. w|hen it i|
|00001e40| 73 20 66 69 6e 69 73 68 | 65 64 2e 20 41 67 61 69 |s finish|ed. Agai|
|00001e50| 6e 20 79 6f 75 27 6c 6c | 20 6b 6e 6f 77 20 77 68 |n you'll| know wh|
|00001e60| 65 6e 20 69 74 27 73 0d | 05 be 40 20 20 20 20 20 |en it's.|..@ |
|00001e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a | | :|
|00001e80| f4 20 74 6f 6f 20 73 6d | 61 6c 6c 20 27 63 6f 73 |. too sm|all 'cos|
|00001e90| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 77 6f 6e | the pro|gram won|
|00001ea0| 27 74 20 72 75 6e 21 0d | 05 c8 3b de 20 6d 73 67 |'t run!.|..;. msg|
|00001eb0| 62 6c 6b 25 20 32 35 36 | 20 20 20 20 20 3a f4 20 |blk% 256| :. |
|00001ec0| 55 73 65 64 20 66 6f 72 | 20 69 6e 74 65 72 20 74 |Used for| inter t|
|00001ed0| 61 73 6b 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ask comm|unicatio|
|00001ee0| 6e 73 0d 05 d2 04 0d 05 | dc 4c f4 20 2d 2d 2d 2d |ns......|.L. ----|
|00001ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f00| 20 4d 69 73 63 65 6c 6c | 65 61 6e 6f 75 73 20 49 | Miscell|eanous I|
|00001f10| 6e 69 74 69 61 6c 69 73 | 61 74 69 6f 6e 20 2d 2d |nitialis|ation --|
|00001f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f30| 2d 2d 0d 05 e6 04 0d 05 | f0 25 69 70 74 72 25 3d |--......|.%iptr%=|
|00001f40| 69 6e 64 69 72 65 63 74 | 25 3a 69 65 6e 64 25 3d |indirect|%:iend%=|
|00001f50| 69 70 74 72 25 2b 26 32 | 30 30 30 0d 05 fa 04 0d |iptr%+&2|000.....|
|00001f60| 06 04 4c f4 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..L. ---|--------|
|00001f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 41 70 70 6c 69 63 |--------|- Applic|
|00001f80| 61 74 69 6f 6e 20 49 6e | 69 74 69 61 6c 69 73 61 |ation In|itialisa|
|00001f90| 74 69 6f 6e 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tion ---|--------|
|00001fa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 06 0e 04 0d |--------|---.....|
|00001fb0| 06 18 4c f4 20 49 6e 69 | 74 69 61 6c 69 73 61 74 |..L. Ini|tialisat|
|00001fc0| 69 6f 6e 20 73 74 75 66 | 66 20 77 68 69 63 68 20 |ion stuf|f which |
|00001fd0| 69 73 20 75 6e 69 71 75 | 65 20 74 6f 20 79 6f 75 |is uniqu|e to you|
|00001fe0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 49 |r applic|ation. I|
|00001ff0| 6e 20 74 68 69 73 20 63 | 61 73 65 0d 06 22 21 f4 |n this c|ase.."!.|
|00002000| 20 69 74 20 64 6f 65 73 | 20 6e 6f 74 20 61 6d 6f | it does| not amo|
|00002010| 75 6e 74 20 74 6f 20 6d | 75 63 68 21 0d 06 2c 04 |unt to m|uch!..,.|
|00002020| 0d 06 36 14 6d 61 78 5f | 66 69 65 6c 64 73 25 20 |..6.max_|fields% |
|00002030| 20 3d 20 35 0d 06 40 14 | 6d 61 78 5f 72 65 63 73 | = 5..@.|max_recs|
|00002040| 25 20 20 20 20 3d 31 30 | 0d 06 4a 34 6d 61 74 63 |% =10|..J4matc|
|00002050| 68 25 20 20 20 20 20 20 | 20 3d a3 20 20 20 20 3a |h% | =. :|
|00002060| f4 20 55 73 65 64 20 69 | 6e 20 74 68 65 20 73 65 |. Used i|n the se|
|00002070| 61 72 63 68 20 72 6f 75 | 74 69 6e 65 0d 06 54 23 |arch rou|tine..T#|
|00002080| de 20 66 69 65 6c 64 24 | 28 6d 61 78 5f 66 69 65 |. field$|(max_fie|
|00002090| 6c 64 73 25 2c 6d 61 78 | 5f 72 65 63 73 25 29 0d |lds%,max|_recs%).|
|000020a0| 06 5e 47 6d 61 69 6e 77 | 5f 74 69 74 6c 65 24 20 |.^Gmainw|_title$ |
|000020b0| 3d 20 22 53 68 65 6c 6c | 22 20 3a f4 20 57 65 20 |= "Shell|" :. We |
|000020c0| 6e 65 65 64 20 61 20 73 | 74 72 69 6e 67 20 68 65 |need a s|tring he|
|000020d0| 72 65 20 66 6f 72 20 74 | 68 65 20 6d 61 69 6e 20 |re for t|he main |
|000020e0| 77 69 6e 64 6f 77 0d 06 | 68 4b 20 20 20 20 20 20 |window..|hK |
|000020f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002100| 20 3a f4 20 74 69 74 6c | 65 20 61 73 20 77 65 20 | :. titl|e as we |
|00002110| 77 69 6c 6c 20 62 65 20 | 61 64 64 69 6e 67 20 22 |will be |adding "|
|00002120| 20 2a 22 20 74 6f 20 69 | 74 20 74 6f 20 73 68 6f | *" to i|t to sho|
|00002130| 77 0d 06 72 4c 20 20 20 | 20 20 20 20 20 20 20 20 |w..rL | |
|00002140| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a f4 20 74 | | :. t|
|00002150| 68 65 20 64 61 74 61 20 | 66 69 6c 65 20 68 61 73 |he data |file has|
|00002160| 20 62 65 65 6e 20 65 64 | 69 74 65 64 2e 20 44 6f | been ed|ited. Do|
|00002170| 6e 27 74 20 66 6f 72 67 | 65 74 20 74 6f 0d 06 7c |n't forg|et to..||
|00002180| 4b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |K | |
|00002190| 20 20 20 20 20 20 20 20 | 3a f4 20 63 68 61 6e 67 | |:. chang|
|000021a0| 65 20 69 74 20 69 6e 20 | 74 68 65 20 74 65 6d 70 |e it in |the temp|
|000021b0| 6c 61 74 65 20 66 69 6c | 65 20 61 73 20 77 65 6c |late fil|e as wel|
|000021c0| 6c 20 69 66 20 79 6f 75 | 0d 06 86 34 20 20 20 20 |l if you|...4 |
|000021d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021e0| 20 20 20 3a f4 20 77 61 | 6e 74 20 61 20 64 69 66 | :. wa|nt a dif|
|000021f0| 66 65 72 65 6e 74 20 74 | 69 74 6c 65 0d 06 90 4a |ferent t|itle...J|
|00002200| 63 75 72 72 65 6e 74 5f | 72 65 63 25 20 3d 20 31 |current_|rec% = 1|
|00002210| 20 20 20 20 20 20 20 3a | f4 20 54 68 65 20 6e 75 | :|. The nu|
|00002220| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 63 75 72 72 |mber of |the curr|
|00002230| 65 6e 74 6c 79 20 64 69 | 73 70 6c 61 79 65 64 20 |ently di|splayed |
|00002240| 72 65 63 6f 72 64 0d 06 | 9a 45 6d 79 5f 66 69 6c |record..|.Emy_fil|
|00002250| 65 74 79 70 65 25 20 3d | 20 26 32 30 30 20 20 20 |etype% =| &200 |
|00002260| 20 3a f4 20 54 68 65 20 | 66 69 6c 65 74 79 70 65 | :. The |filetype|
|00002270| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00002280| 20 27 6f 77 6e 73 27 20 | 61 6e 64 0d 06 a4 43 20 | 'owns' |and...C |
|00002290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022a0| 20 20 20 20 20 20 3a f4 | 20 72 65 73 70 6f 6e 64 | :.| respond|
|000022b0| 73 20 74 6f 20 77 68 65 | 6e 20 74 68 65 20 64 61 |s to whe|n the da|
|000022c0| 74 61 66 69 6c 65 20 69 | 63 6f 6e 20 69 73 0d 06 |tafile i|con is..|
|000022d0| ae 49 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.I | |
|000022e0| 20 20 20 20 20 20 20 20 | 20 3a f4 20 64 6f 75 62 | | :. doub|
|000022f0| 6c 65 20 63 6c 69 63 6b | 65 64 2e 20 49 66 20 79 |le click|ed. If y|
|00002300| 6f 75 20 63 68 61 6e 67 | 65 20 74 68 69 73 20 79 |ou chang|e this y|
|00002310| 6f 75 20 6d 75 73 74 0d | 06 b8 4b 20 20 20 20 20 |ou must.|..K |
|00002320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002330| 20 20 3a f4 20 63 68 61 | 6e 67 65 20 74 68 65 20 | :. cha|nge the |
|00002340| 2a 53 65 74 20 52 75 6e | 40 54 79 70 65 20 76 61 |*Set Run|@Type va|
|00002350| 72 69 61 62 6c 65 20 69 | 6e 20 74 68 65 20 21 52 |riable i|n the !R|
|00002360| 55 4e 0d 06 c2 4a 20 20 | 20 20 20 20 20 20 20 20 |UN...J | |
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3a f4 20 | | :. |
|00002380| 66 69 6c 65 20 61 6e 64 | 20 74 68 65 20 2a 53 65 |file and| the *Se|
|00002390| 74 20 46 69 6c 65 24 40 | 54 79 70 65 5f 78 78 78 |t File$@|Type_xxx|
|000023a0| 20 6c 69 6e 65 20 69 6e | 20 74 68 65 0d 06 cc 28 | line in| the...(|
|000023b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023c0| 20 20 20 20 20 20 20 3a | f4 20 21 42 6f 6f 74 20 | :|. !Boot |
|000023d0| 66 69 6c 65 0d 06 d6 39 | 63 75 72 72 65 6e 74 5f |file...9|current_|
|000023e0| 66 69 6c 65 24 20 3d 20 | 22 22 20 20 20 20 20 3a |file$ = |"" :|
|000023f0| f4 20 4e 61 6d 65 20 6f | 66 20 74 68 65 20 6c 6f |. Name o|f the lo|
|00002400| 61 64 65 64 20 64 61 74 | 61 66 69 6c 65 0d 06 e0 |aded dat|afile...|
|00002410| 33 74 69 63 6b 25 20 20 | 20 20 20 20 20 20 20 3d |3tick% | =|
|00002420| 20 a3 20 20 3a f4 20 55 | 73 65 64 20 69 6e 20 74 | . :. U|sed in t|
|00002430| 68 65 20 73 75 62 2d 6d | 65 6e 75 20 64 65 6d 6f |he sub-m|enu demo|
|00002440| 0d 06 ea 33 73 68 61 64 | 65 64 25 20 20 20 20 20 |...3shad|ed% |
|00002450| 20 20 3d 20 a3 20 20 3a | f4 20 55 73 65 64 20 69 | = . :|. Used i|
|00002460| 6e 20 74 68 65 20 73 75 | 62 2d 6d 65 6e 75 20 64 |n the su|b-menu d|
|00002470| 65 6d 6f 0d 06 f4 44 de | 20 62 75 66 66 65 72 31 |emo...D.| buffer1|
|00002480| 25 20 31 36 2c 62 75 66 | 66 65 72 32 25 20 31 36 |% 16,buf|fer2% 16|
|00002490| 2c 62 75 66 66 65 72 33 | 25 20 31 36 20 3a f4 20 |,buffer3|% 16 :. |
|000024a0| 69 6e 64 69 72 65 63 74 | 65 64 20 6d 65 6e 75 20 |indirect|ed menu |
|000024b0| 62 75 66 66 65 72 73 0d | 06 fe 45 24 62 75 66 66 |buffers.|..E$buff|
|000024c0| 65 72 31 25 3d 22 53 75 | 62 2d 4d 65 6e 75 20 44 |er1%="Su|b-Menu D|
|000024d0| 65 6d 6f 22 3a 24 62 75 | 66 66 65 72 32 25 3d 22 |emo":$bu|ffer2%="|
|000024e0| 57 72 69 74 65 61 62 6c | 65 20 44 65 6d 6f 22 3a |Writeabl|e Demo":|
|000024f0| 24 62 75 66 66 65 72 33 | 25 3d 22 22 0d 07 08 3e |$buffer3|%=""...>|
|00002500| de 20 66 64 61 74 65 25 | 20 35 2c 66 62 75 66 66 |. fdate%| 5,fbuff|
|00002510| 65 72 25 20 32 38 20 20 | 3a f4 20 55 73 65 64 20 |er% 28 |:. Used |
|00002520| 62 79 20 74 68 65 20 27 | 66 69 6c 65 5f 64 61 74 |by the '|file_dat|
|00002530| 65 27 20 72 6f 75 74 69 | 6e 65 0d 07 12 04 0d 07 |e' routi|ne......|
|00002540| 1c 4c f4 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.L. ----|--------|
|00002550| 2d 2d 2d 2d 2d 2d 2d 2d | 20 50 69 63 6b 20 55 70 |--------| Pick Up|
|00002560| 20 46 69 6c 65 20 4e 61 | 6d 65 20 46 72 6f 6d 20 | File Na|me From |
|00002570| 43 6f 6d 6d 61 6e 64 20 | 4c 69 6e 65 20 2d 2d 2d |Command |Line ---|
|00002580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 07 26 04 0d 07 |--------|--..&...|
|00002590| 30 44 f4 20 54 68 69 73 | 20 73 65 63 74 69 6f 6e |0D. This| section|
|000025a0| 20 69 73 20 75 73 65 64 | 20 77 68 65 6e 20 74 68 | is used| when th|
|000025b0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |e applic|ation is|
|000025c0| 20 73 74 61 72 74 65 64 | 20 62 79 20 64 6f 75 62 | started| by doub|
|000025d0| 6c 65 0d 07 3a 47 f4 20 | 63 6c 69 63 6b 69 6e 67 |le..:G. |clicking|
|000025e0| 20 6f 6e 20 61 20 64 61 | 74 61 66 69 6c 65 20 6f | on a da|tafile o|
|000025f0| 66 20 74 68 65 20 74 79 | 70 65 20 72 65 63 6f 67 |f the ty|pe recog|
|00002600| 6e 69 73 65 64 20 62 79 | 20 74 68 65 20 61 70 70 |nised by| the app|
|00002610| 6c 69 63 61 74 69 6f 6e | 2e 0d 07 44 49 f4 20 41 |lication|...DI. A|
|00002620| 6c 6c 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 6b |ll you n|eed to k|
|00002630| 6e 6f 77 20 61 62 6f 75 | 74 20 74 68 69 73 20 70 |now abou|t this p|
|00002640| 61 72 74 20 69 73 20 74 | 68 61 74 20 69 66 20 74 |art is t|hat if t|
|00002650| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 77 |he appli|cation w|
|00002660| 61 73 0d 07 4e 47 f4 20 | 73 74 61 72 74 65 64 20 |as..NG. |started |
|00002670| 62 79 20 64 6f 75 62 6c | 65 20 63 6c 69 63 6b 69 |by doubl|e clicki|
|00002680| 6e 67 20 6f 6e 20 61 20 | 66 69 6c 65 20 74 68 65 |ng on a |file the|
|00002690| 6e 20 63 75 72 72 65 6e | 74 5f 66 69 6c 65 24 20 |n curren|t_file$ |
|000026a0| 69 73 20 73 65 74 20 74 | 6f 0d 07 58 3e f4 20 74 |is set t|o..X>. t|
|000026b0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 66 |he name |of the f|
|000026c0| 69 6c 65 2c 20 6f 74 68 | 65 72 77 69 73 65 20 63 |ile, oth|erwise c|
|000026d0| 75 72 72 65 6e 74 5f 66 | 69 6c 65 24 20 65 71 75 |urrent_f|ile$ equ|
|000026e0| 61 6c 73 20 22 22 2e 0d | 07 62 04 0d 07 6c 22 c8 |als ""..|.b...l".|
|000026f0| 99 20 22 4f 53 5f 47 65 | 74 45 6e 76 22 20 b8 20 |. "OS_Ge|tEnv" . |
|00002700| 63 75 72 72 65 6e 74 5f | 66 69 6c 65 24 0d 07 76 |current_|file$..v|
|00002710| 14 61 24 3d 63 75 72 72 | 65 6e 74 5f 66 69 6c 65 |.a$=curr|ent_file|
|00002720| 24 0d 07 80 31 70 3d a7 | 63 75 72 72 65 6e 74 5f |$...1p=.|current_|
|00002730| 66 69 6c 65 24 2c 22 22 | 22 22 2c a7 63 75 72 72 |file$,""|"",.curr|
|00002740| 65 6e 74 5f 66 69 6c 65 | 24 2c 22 22 22 22 29 2b |ent_file|$,"""")+|
|00002750| 31 29 0d 07 8a 25 63 75 | 72 72 65 6e 74 5f 66 69 |1)...%cu|rrent_fi|
|00002760| 6c 65 24 3d c1 63 75 72 | 72 65 6e 74 5f 66 69 6c |le$=.cur|rent_fil|
|00002770| 65 24 2c 70 2b 31 29 0d | 07 94 1c c8 95 20 c0 63 |e$,p+1).|..... .c|
|00002780| 75 72 72 65 6e 74 5f 66 | 69 6c 65 24 2c 31 29 3d |urrent_f|ile$,1)=|
|00002790| 22 20 22 0d 07 9e 25 20 | 20 63 75 72 72 65 6e 74 |" "...% | current|
|000027a0| 5f 66 69 6c 65 24 3d c1 | 63 75 72 72 65 6e 74 5f |_file$=.|current_|
|000027b0| 66 69 6c 65 24 2c 32 29 | 0d 07 a8 05 ce 0d 07 b2 |file$,2)|........|
|000027c0| 04 0d 07 bc 4c f4 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |....L. -|--------|
|000027d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 4c 6f 61 64 |--------|--- Load|
|000027e0| 20 54 65 6d 70 6c 61 74 | 65 20 46 69 6c 65 73 20 | Templat|e Files |
|000027f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002800| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 07 c6 |--------|-----...|
|00002810| 04 0d 07 d0 47 f4 20 54 | 68 69 73 20 21 53 68 65 |....G. T|his !She|
|00002820| 6c 6c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 68 |ll appli|cation h|
|00002830| 61 73 20 61 20 27 54 65 | 6d 70 6c 61 74 65 73 27 |as a 'Te|mplates'|
|00002840| 20 66 69 6c 65 20 77 68 | 69 63 68 20 69 6e 63 6c | file wh|ich incl|
|00002850| 75 64 65 73 20 74 68 65 | 0d 07 da 4a f4 20 73 74 |udes the|...J. st|
|00002860| 61 6e 64 61 72 64 20 52 | 49 53 43 2d 4f 53 20 74 |andard R|ISC-OS t|
|00002870| 65 6d 70 6c 61 74 65 73 | 20 77 68 69 63 68 20 73 |emplates| which s|
|00002880| 68 6f 75 6c 64 20 62 65 | 20 75 73 65 64 20 62 79 |hould be| used by|
|00002890| 20 61 6c 6c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | all app|lication|
|000028a0| 73 2e 0d 07 e4 49 f4 20 | 49 66 20 79 6f 75 20 6c |s....I. |If you l|
|000028b0| 6f 61 64 20 69 74 20 69 | 6e 74 6f 20 21 46 6f 72 |oad it i|nto !For|
|000028c0| 6d 45 64 20 79 6f 75 20 | 77 69 6c 6c 20 66 69 6e |mEd you |will fin|
|000028d0| 64 20 74 68 65 6d 20 77 | 69 74 68 20 74 68 65 20 |d them w|ith the |
|000028e0| 69 64 65 6e 74 69 66 69 | 65 72 73 0d 07 ee 36 f4 |identifi|ers...6.|
|000028f0| 20 27 70 72 6f 67 49 6e | 66 6f 27 2c 20 27 71 75 | 'progIn|fo', 'qu|
|00002900| 65 72 79 27 2c 20 27 66 | 69 6c 65 69 6e 66 6f 27 |ery', 'f|ileinfo'|
|00002910| 20 61 6e 64 20 27 78 66 | 65 72 5f 73 65 6e 64 27 | and 'xf|er_send'|
|00002920| 2e 0d 07 f8 04 0d 08 02 | 2f f4 20 54 68 65 20 73 |........|/. The s|
|00002930| 74 61 6e 64 61 72 64 20 | 77 69 6e 64 6f 77 73 20 |tandard |windows |
|00002940| 61 72 65 20 75 73 65 64 | 20 61 73 20 66 6f 6c 6c |are used| as foll|
|00002950| 6f 77 73 3a 0d 08 0c 04 | 0d 08 16 47 f4 20 20 20 |ows:....|...G. |
|00002960| 70 72 6f 67 49 6e 66 6f | 20 20 2d 20 67 69 76 65 |progInfo| - give|
|00002970| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th|
|00002980| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 74 |e applic|ation, t|
|00002990| 68 65 20 70 75 72 70 6f | 73 65 2c 20 74 68 65 0d |he purpo|se, the.|
|000029a0| 08 20 4b f4 20 20 20 20 | 20 20 20 20 20 20 20 20 |. K. | |
|000029b0| 20 20 20 61 75 74 68 6f | 72 20 61 6e 64 20 74 68 | autho|r and th|
|000029c0| 65 20 76 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 |e versio|n number|
|000029d0| 2e 20 41 70 70 65 61 72 | 73 20 77 68 65 6e 20 74 |. Appear|s when t|
|000029e0| 68 65 20 70 6f 69 6e 74 | 65 72 0d 08 2a 45 f4 20 |he point|er..*E. |
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 73 | | is|
|00002a00| 20 6d 6f 76 65 64 20 74 | 6f 20 74 68 65 20 72 69 | moved t|o the ri|
|00002a10| 67 68 74 20 6f 66 20 74 | 68 65 20 27 49 6e 66 6f |ght of t|he 'Info|
|00002a20| 27 20 6f 70 74 69 6f 6e | 20 6f 6e 20 74 68 65 0d |' option| on the.|
|00002a30| 08 34 47 f4 20 20 20 20 | 20 20 20 20 20 20 20 20 |.4G. | |
|00002a40| 20 20 20 69 63 6f 6e 62 | 61 72 20 6d 65 6e 75 2e | iconb|ar menu.|
|00002a50| 20 54 68 65 72 65 20 73 | 68 6f 75 6c 64 20 61 6c | There s|hould al|
|00002a60| 73 6f 20 62 65 20 61 6e | 20 27 49 6e 66 6f 27 20 |so be an| 'Info' |
|00002a70| 6f 70 74 69 6f 6e 0d 08 | 3e 43 f4 20 20 20 20 20 |option..|>C. |
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 61 74 20 74 6f 70 | | at top|
|00002a90| 20 6f 66 20 74 68 65 20 | 6d 61 69 6e 20 77 69 6e | of the |main win|
|00002aa0| 64 6f 77 20 6d 65 6e 75 | 20 61 63 63 6f 72 64 69 |dow menu| accordi|
|00002ab0| 6e 67 20 74 6f 20 74 68 | 65 0d 08 48 32 f4 20 20 |ng to th|e..H2. |
|00002ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 52 49 53 | | RIS|
|00002ad0| 43 2d 4f 53 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |C-OS app|lication|
|00002ae0| 20 67 75 69 64 65 6c 69 | 6e 65 73 0d 08 52 49 f4 | guideli|nes..RI.|
|00002af0| 20 20 20 71 75 65 72 79 | 20 20 20 20 20 2d 20 61 | query| - a|
|00002b00| 20 71 75 65 73 74 69 6f | 6e 20 77 69 6e 64 6f 77 | questio|n window|
|00002b10| 20 63 6f 6e 73 69 73 74 | 69 6e 67 20 6f 66 20 73 | consist|ing of s|
|00002b20| 65 76 65 72 61 6c 20 6c | 69 6e 65 73 20 6f 66 20 |everal l|ines of |
|00002b30| 74 65 78 74 0d 08 5c 2f | f4 20 20 20 20 20 20 20 |text..\/|. |
|00002b40| 20 20 20 20 20 20 20 20 | 61 6e 64 20 27 43 61 6e | |and 'Can|
|00002b50| 63 65 6c 27 20 61 6e 64 | 20 27 4f 6b 27 20 69 63 |cel' and| 'Ok' ic|
|00002b60| 6f 6e 73 0d 08 66 46 f4 | 20 20 20 66 69 6c 65 49 |ons..fF.| fileI|
|00002b70| 6e 66 6f 20 20 2d 20 67 | 69 76 65 73 20 64 65 74 |nfo - g|ives det|
|00002b80| 61 69 6c 73 20 6f 6e 20 | 74 68 65 20 66 69 6c 65 |ails on |the file|
|00002b90| 20 6c 6f 61 64 65 64 20 | 6f 72 20 63 72 65 61 74 | loaded |or creat|
|00002ba0| 65 64 20 62 79 20 74 68 | 65 0d 08 70 1b f4 20 20 |ed by th|e..p.. |
|00002bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 72 6f | | pro|
|00002bc0| 67 72 61 6d 0d 08 7a 2b | f4 20 20 20 78 66 65 72 |gram..z+|. xfer|
|00002bd0| 5f 73 65 6e 64 20 2d 20 | 74 68 65 20 52 49 53 43 |_send - |the RISC|
|00002be0| 2d 4f 53 20 73 61 76 65 | 20 77 69 6e 64 6f 77 0d |-OS save| window.|
|00002bf0| 08 84 04 0d 08 8e 4c f4 | 20 4e 6f 74 65 20 74 68 |......L.| Note th|
|00002c00| 61 74 20 74 68 65 20 70 | 6f 73 69 74 69 6f 6e 20 |at the p|osition |
|00002c10| 6f 66 20 74 68 65 20 27 | 71 75 65 72 79 27 20 77 |of the '|query' w|
|00002c20| 69 6e 64 6f 77 20 69 73 | 20 73 65 74 20 69 6e 20 |indow is| set in |
|00002c30| 74 68 65 20 27 54 65 6d | 70 6c 61 74 65 73 27 0d |the 'Tem|plates'.|
|00002c40| 08 98 46 f4 20 66 69 6c | 65 2e 20 54 6f 20 63 68 |..F. fil|e. To ch|
|00002c50| 61 6e 67 65 20 69 74 20 | 6c 6f 61 64 20 74 68 65 |ange it |load the|
|00002c60| 20 74 65 6d 70 6c 61 74 | 65 20 66 69 6c 65 20 69 | templat|e file i|
|00002c70| 6e 74 6f 20 21 46 6f 72 | 6d 45 64 2c 20 64 72 61 |nto !For|mEd, dra|
|00002c80| 67 20 74 68 65 0d 08 a2 | 48 f4 20 77 69 6e 64 6f |g the...|H. windo|
|00002c90| 77 20 74 6f 20 74 68 65 | 20 6e 65 77 20 70 6f 73 |w to the| new pos|
|00002ca0| 69 74 69 6f 6e 20 61 6e | 64 20 74 68 65 20 72 65 |ition an|d the re|
|00002cb0| 73 61 76 65 20 69 74 2e | 20 54 68 69 73 20 61 6c |save it.| This al|
|00002cc0| 73 6f 20 61 70 70 6c 69 | 65 73 20 74 6f 0d 08 ac |so appli|es to...|
|00002cd0| 19 f4 20 74 68 65 20 27 | 6d 61 69 6e 77 27 20 77 |.. the '|mainw' w|
|00002ce0| 69 6e 64 6f 77 2e 0d 08 | b6 04 0d 08 c0 49 f4 20 |indow...|.....I. |
|00002cf0| 57 68 65 6e 20 63 72 65 | 61 74 69 6e 67 20 65 78 |When cre|ating ex|
|00002d00| 74 72 61 20 77 69 6e 64 | 6f 77 73 20 66 6f 72 20 |tra wind|ows for |
|00002d10| 79 6f 75 72 20 6f 77 6e | 20 61 70 70 6c 69 63 61 |your own| applica|
|00002d20| 74 69 6f 6e 73 20 6d 61 | 6b 65 20 61 20 73 6b 65 |tions ma|ke a ske|
|00002d30| 74 63 68 0d 08 ca 44 f4 | 20 6f 66 20 74 68 65 20 |tch...D.| of the |
|00002d40| 69 63 6f 6e 73 20 61 6e | 64 20 6e 6f 74 65 20 74 |icons an|d note t|
|00002d50| 68 65 69 72 20 6e 75 6d | 62 65 72 73 20 2d 20 61 |heir num|bers - a|
|00002d60| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |ccording| to the |
|00002d70| 52 49 53 43 2d 4f 53 0d | 08 d4 49 f4 20 61 70 70 |RISC-OS.|..I. app|
|00002d80| 6c 69 63 61 74 69 6f 6e | 20 67 75 69 64 65 6c 69 |lication| guideli|
|00002d90| 6e 65 73 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |nes appl|ications|
|00002da0| 20 61 72 65 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | are all|owed to |
|00002db0| 6d 61 6b 65 20 61 73 73 | 75 6d 70 74 69 6f 6e 73 |make ass|umptions|
|00002dc0| 0d 08 de 47 f4 20 61 62 | 6f 75 74 20 74 68 65 20 |...G. ab|out the |
|00002dd0| 6e 75 6d 62 65 72 73 20 | 61 6e 64 20 63 68 61 72 |numbers |and char|
|00002de0| 61 63 74 65 72 69 73 74 | 69 63 73 20 6f 66 20 74 |acterist|ics of t|
|00002df0| 68 65 20 69 63 6f 6e 73 | 20 61 6e 64 20 77 69 6e |he icons| and win|
|00002e00| 64 6f 77 73 20 69 6e 0d | 08 e8 49 f4 20 74 68 65 |dows in.|..I. the|
|00002e10| 69 72 20 74 65 6d 70 6c | 61 74 65 20 66 69 6c 65 |ir templ|ate file|
|00002e20| 73 2e 20 54 68 69 73 20 | 69 73 20 70 61 72 74 69 |s. This |is parti|
|00002e30| 63 75 6c 61 72 6c 79 20 | 69 6d 70 6f 72 74 61 6e |cularly |importan|
|00002e40| 74 20 66 6f 72 20 69 63 | 6f 6e 73 20 74 68 61 74 |t for ic|ons that|
|00002e50| 0d 08 f2 4b f4 20 74 68 | 65 20 61 70 70 6c 69 63 |...K. th|e applic|
|00002e60| 61 74 69 6f 6e 20 70 6c | 61 63 65 73 20 69 6e 66 |ation pl|aces inf|
|00002e70| 6f 72 6d 61 74 69 6f 6e | 20 69 6e 20 61 74 20 72 |ormation| in at r|
|00002e80| 75 6e 20 74 69 6d 65 20 | 73 75 63 68 20 61 73 20 |un time |such as |
|00002e90| 74 68 65 20 76 65 72 73 | 69 6f 6e 0d 08 fc 46 f4 |the vers|ion...F.|
|00002ea0| 20 69 63 6f 6e 20 69 6e | 20 74 68 65 20 70 72 6f | icon in| the pro|
|00002eb0| 67 49 6e 66 6f 20 77 69 | 6e 64 6f 77 2e 20 59 6f |gInfo wi|ndow. Yo|
|00002ec0| 75 20 6d 75 73 74 20 65 | 6e 73 75 72 65 20 74 68 |u must e|nsure th|
|00002ed0| 61 74 20 73 75 63 68 20 | 69 63 6f 6e 73 20 61 72 |at such |icons ar|
|00002ee0| 65 0d 09 06 47 f4 20 73 | 65 74 20 74 6f 20 27 69 |e...G. s|et to 'i|
|00002ef0| 6e 64 69 72 65 63 74 65 | 64 27 20 69 6e 20 74 68 |ndirecte|d' in th|
|00002f00| 65 20 74 65 6d 70 6c 61 | 74 65 20 66 69 6c 65 20 |e templa|te file |
|00002f10| 28 75 73 69 6e 67 20 21 | 46 6f 72 6d 45 64 29 20 |(using !|FormEd) |
|00002f20| 61 6e 64 20 74 68 61 74 | 0d 09 10 48 f4 20 74 68 |and that|...H. th|
|00002f30| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 64 6f |e applic|ation do|
|00002f40| 65 73 20 6e 6f 74 20 61 | 74 74 65 6d 70 74 20 74 |es not a|ttempt t|
|00002f50| 6f 20 77 72 69 74 65 20 | 64 61 74 61 20 74 6f 20 |o write |data to |
|00002f60| 61 20 6e 6f 6e 2d 69 6e | 64 69 72 65 63 74 65 64 |a non-in|directed|
|00002f70| 0d 09 1a 4b f4 20 69 63 | 6f 6e 20 61 73 20 74 68 |...K. ic|on as th|
|00002f80| 69 73 20 75 73 75 61 6c | 6c 79 20 72 65 73 75 6c |is usual|ly resul|
|00002f90| 74 73 20 69 6e 20 61 6e | 20 61 64 64 72 65 73 73 |ts in an| address|
|00002fa0| 20 65 78 63 65 70 74 69 | 6f 6e 20 65 72 72 6f 72 | excepti|on error|
|00002fb0| 21 20 53 69 6d 69 6c 61 | 72 6c 79 0d 09 24 46 f4 |! Simila|rly..$F.|
|00002fc0| 20 77 69 6e 64 6f 77 73 | 20 77 69 74 68 20 74 69 | windows| with ti|
|00002fd0| 74 6c 65 73 20 63 68 61 | 6e 67 65 64 20 61 74 20 |tles cha|nged at |
|00002fe0| 72 75 6e 20 74 69 6d 65 | 20 28 73 75 63 68 20 61 |run time| (such a|
|00002ff0| 73 20 27 6d 61 69 6e 77 | 27 20 69 6e 20 74 68 69 |s 'mainw|' in thi|
|00003000| 73 0d 09 2e 45 f4 20 70 | 72 6f 67 72 61 6d 29 20 |s...E. p|rogram) |
|00003010| 6d 75 73 74 20 62 65 20 | 27 69 6e 64 69 72 65 63 |must be |'indirec|
|00003020| 74 65 64 27 2e 20 54 68 | 69 73 20 69 73 20 64 75 |ted'. Th|is is du|
|00003030| 65 20 74 6f 20 77 65 61 | 6b 6e 65 73 73 65 73 20 |e to wea|knesses |
|00003040| 69 6e 20 74 68 65 0d 09 | 38 45 f4 20 6c 69 62 72 |in the..|8E. libr|
|00003050| 61 72 79 20 72 6f 75 74 | 69 6e 65 73 20 69 2e 65 |ary rout|ines i.e|
|00003060| 2e 20 74 68 65 79 20 64 | 6f 6e 27 74 20 62 6f 74 |. they d|on't bot|
|00003070| 68 65 72 20 74 6f 20 63 | 68 65 63 6b 20 69 66 20 |her to c|heck if |
|00003080| 74 68 65 20 69 63 6f 6e | 20 6f 72 0d 09 42 23 f4 |the icon| or..B#.|
|00003090| 20 74 69 74 6c 65 20 64 | 61 74 61 20 69 73 20 6e | title d|ata is n|
|000030a0| 6f 74 20 69 6e 64 69 72 | 65 63 74 65 64 2e 0d 09 |ot indir|ected...|
|000030b0| 4c 04 0d 09 56 48 f4 20 | 4e 6f 74 65 20 74 68 65 |L...VH. |Note the|
|000030c0| 20 76 61 72 69 61 62 6c | 65 73 20 72 65 74 75 72 | variabl|es retur|
|000030d0| 6e 65 64 20 66 72 6f 6d | 20 74 68 65 20 22 57 69 |ned from| the "Wi|
|000030e0| 6d 70 5f 43 72 65 61 74 | 65 57 69 6e 64 6f 77 22 |mp_Creat|eWindow"|
|000030f0| 20 63 61 6c 6c 20 28 69 | 2e 65 0d 09 60 48 f4 20 | call (i|.e..`H. |
|00003100| 71 75 65 72 79 25 2c 20 | 69 6e 66 6f 25 2c 20 78 |query%, |info%, x|
|00003110| 66 65 72 25 20 65 74 63 | 29 2e 20 54 68 65 73 65 |fer% etc|). These|
|00003120| 20 61 72 65 20 74 68 65 | 20 77 69 6e 64 6f 77 20 | are the| window |
|00003130| 68 61 6e 64 6c 65 73 20 | 77 68 69 63 68 20 57 49 |handles |which WI|
|00003140| 4d 50 0d 09 6a 46 f4 20 | 70 72 6f 67 72 61 6d 73 |MP..jF. |programs|
|00003150| 20 75 73 65 20 74 6f 20 | 72 65 66 65 72 20 74 6f | use to |refer to|
|00003160| 20 74 68 65 20 77 69 6e | 64 6f 77 73 2e 20 41 73 | the win|dows. As|
|00003170| 20 79 6f 75 20 63 61 6e | 20 73 65 65 20 74 68 65 | you can| see the|
|00003180| 20 68 61 6e 64 6c 65 73 | 0d 09 74 47 f4 20 6e 65 | handles|..tG. ne|
|00003190| 65 64 20 6e 6f 74 20 62 | 65 20 74 68 65 20 73 61 |ed not b|e the sa|
|000031a0| 6d 65 20 61 73 20 74 68 | 65 20 77 69 6e 64 6f 77 |me as th|e window|
|000031b0| 20 27 69 64 65 6e 74 69 | 66 69 65 72 73 27 20 77 | 'identi|fiers' w|
|000031c0| 68 69 63 68 20 79 6f 75 | 20 73 65 74 20 75 70 0d |hich you| set up.|
|000031d0| 09 7e 2a f4 20 77 68 65 | 6e 20 64 65 66 69 6e 69 |.~*. whe|n defini|
|000031e0| 6e 67 20 74 68 65 20 77 | 69 6e 64 6f 77 20 69 6e |ng the w|indow in|
|000031f0| 20 21 46 6f 72 6d 45 64 | 2e 0d 09 88 04 0d 09 92 | !FormEd|........|
|00003200| 4a f4 20 4f 62 76 69 6f | 75 73 6c 79 20 74 68 65 |J. Obvio|usly the|
|00003210| 20 3c 53 68 65 6c 6c 24 | 44 69 72 3e 20 62 69 74 | <Shell$|Dir> bit|
|00003220| 20 77 69 6c 6c 20 6e 65 | 65 64 20 63 68 61 6e 67 | will ne|ed chang|
|00003230| 69 6e 67 20 74 6f 20 74 | 68 65 20 6e 61 6d 65 20 |ing to t|he name |
|00003240| 6f 66 20 79 6f 75 72 0d | 09 9c 15 f4 20 6f 77 6e |of your.|.... own|
|00003250| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 0d 09 a6 04 | applica|tion....|
|00003260| 0d 09 b0 2e f2 6f 70 65 | 6e 74 65 6d 70 6c 61 74 |.....ope|ntemplat|
|00003270| 65 66 69 6c 65 28 22 3c | 53 68 65 6c 6c 24 44 69 |efile("<|Shell$Di|
|00003280| 72 3e 2e 54 65 6d 70 6c | 61 74 65 73 22 29 0d 09 |r>.Templ|ates")..|
|00003290| ba 1a f2 6c 6f 61 64 74 | 65 6d 70 6c 61 74 65 28 |...loadt|emplate(|
|000032a0| 22 71 75 65 72 79 22 29 | 0d 09 c4 27 c8 99 20 22 |"query")|...'.. "|
|000032b0| 57 69 6d 70 5f 43 72 65 | 61 74 65 57 69 6e 64 6f |Wimp_Cre|ateWindo|
|000032c0| 77 22 2c 2c 71 25 20 b8 | 20 71 75 65 72 79 25 0d |w",,q% .| query%.|
|000032d0| 09 ce 1d f2 6c 6f 61 64 | 74 65 6d 70 6c 61 74 65 |....load|template|
|000032e0| 28 22 70 72 6f 67 49 6e | 66 6f 22 29 0d 09 d8 26 |("progIn|fo")...&|
|000032f0| c8 99 20 22 57 69 6d 70 | 5f 43 72 65 61 74 65 57 |.. "Wimp|_CreateW|
|00003300| 69 6e 64 6f 77 22 2c 2c | 71 25 20 b8 20 69 6e 66 |indow",,|q% . inf|
|00003310| 6f 25 0d 09 e2 1e f2 6c | 6f 61 64 74 65 6d 70 6c |o%.....l|oadtempl|
|00003320| 61 74 65 28 22 78 66 65 | 72 5f 73 65 6e 64 22 29 |ate("xfe|r_send")|
|00003330| 0d 09 ec 26 c8 99 20 22 | 57 69 6d 70 5f 43 72 65 |...&.. "|Wimp_Cre|
|00003340| 61 74 65 57 69 6e 64 6f | 77 22 2c 2c 71 25 20 b8 |ateWindo|w",,q% .|
|00003350| 20 78 66 65 72 25 0d 09 | f6 1d f2 6c 6f 61 64 74 | xfer%..|...loadt|
|00003360| 65 6d 70 6c 61 74 65 28 | 22 66 69 6c 65 49 6e 66 |emplate(|"fileInf|
|00003370| 6f 22 29 0d 0a 00 27 c8 | 99 20 22 57 69 6d 70 5f |o")...'.|. "Wimp_|
|00003380| 43 72 65 61 74 65 57 69 | 6e 64 6f 77 22 2c 2c 71 |CreateWi|ndow",,q|
|00003390| 25 20 b8 20 66 69 6e 66 | 6f 25 0d 0a 0a 1a f2 6c |% . finf|o%.....l|
|000033a0| 6f 61 64 74 65 6d 70 6c | 61 74 65 28 22 6d 61 69 |oadtempl|ate("mai|
|000033b0| 6e 77 22 29 0d 0a 14 4a | 71 25 21 36 34 3d 73 70 |nw")...J|q%!64=sp|
|000033c0| 20 3a f4 20 61 6e 79 20 | 77 69 6e 64 6f 77 20 75 | :. any |window u|
|000033d0| 73 69 6e 67 20 73 70 72 | 69 74 65 73 20 66 72 6f |sing spr|ites fro|
|000033e0| 6d 20 74 68 65 20 75 73 | 65 72 20 61 72 65 61 20 |m the us|er area |
|000033f0| 73 68 6f 75 6c 64 20 64 | 6f 20 74 68 69 73 0d 0a |should d|o this..|
|00003400| 1e 4a 20 20 20 20 20 20 | 20 20 20 3a f4 20 62 65 |.J | :. be|
|00003410| 66 6f 72 65 20 63 72 65 | 61 74 69 6e 67 20 74 68 |fore cre|ating th|
|00003420| 65 20 77 69 6e 64 6f 77 | 20 2d 20 74 68 69 73 20 |e window| - this |
|00003430| 74 65 6c 6c 73 20 74 68 | 65 20 77 69 6e 64 6f 77 |tells th|e window|
|00003440| 20 6d 61 6e 61 67 65 72 | 0d 0a 28 34 20 20 20 20 | manager|..(4 |
|00003450| 20 20 20 20 20 3a f4 20 | 74 6f 20 66 69 6e 64 20 | :. |to find |
|00003460| 74 68 65 20 73 70 72 69 | 74 65 73 20 69 6e 20 74 |the spri|tes in t|
|00003470| 68 65 20 75 73 65 72 20 | 61 72 65 61 0d 0a 32 27 |he user |area..2'|
|00003480| c8 99 20 22 57 69 6d 70 | 5f 43 72 65 61 74 65 57 |.. "Wimp|_CreateW|
|00003490| 69 6e 64 6f 77 22 2c 2c | 71 25 20 b8 20 6d 61 69 |indow",,|q% . mai|
|000034a0| 6e 77 25 0d 0a 3c 1b f2 | 6c 6f 61 64 74 65 6d 70 |nw%..<..|loadtemp|
|000034b0| 6c 61 74 65 28 22 73 65 | 61 72 63 68 22 29 0d 0a |late("se|arch")..|
|000034c0| 46 28 c8 99 20 22 57 69 | 6d 70 5f 43 72 65 61 74 |F(.. "Wi|mp_Creat|
|000034d0| 65 57 69 6e 64 6f 77 22 | 2c 2c 71 25 20 b8 20 73 |eWindow"|,,q% . s|
|000034e0| 65 61 72 63 68 25 0d 0a | 50 16 f2 63 6c 6f 73 65 |earch%..|P..close|
|000034f0| 74 65 6d 70 6c 61 74 65 | 66 69 6c 65 0d 0a 5a 04 |template|file..Z.|
|00003500| 0d 0a 64 4c f4 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..dL. --|--------|
|00003510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 4c 6f 61 64 20 |--------|-- Load |
|00003520| 44 61 74 61 20 46 69 6c | 65 20 2d 2d 2d 2d 2d 2d |Data Fil|e ------|
|00003530| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 6e 04 |--------|----..n.|
|00003550| 0d 0a 78 49 f4 20 49 66 | 20 74 68 65 20 61 70 70 |..xI. If| the app|
|00003560| 6c 69 63 61 74 69 6f 6e | 20 68 61 73 20 62 65 65 |lication| has bee|
|00003570| 6e 20 73 74 61 72 74 65 | 64 20 62 79 20 64 6f 75 |n starte|d by dou|
|00003580| 62 6c 65 20 63 6c 69 63 | 6b 69 6e 67 20 6f 6e 20 |ble clic|king on |
|00003590| 61 20 66 69 6c 65 20 6f | 66 0d 0a 82 40 f4 20 74 |a file o|f...@. t|
|000035a0| 68 65 20 74 79 70 65 20 | 72 65 63 6f 67 6e 69 73 |he type |recognis|
|000035b0| 65 64 20 62 79 20 74 68 | 65 20 61 70 70 6c 69 63 |ed by th|e applic|
|000035c0| 61 74 69 6f 6e 20 77 65 | 27 6c 6c 20 6c 6f 61 64 |ation we|'ll load|
|000035d0| 20 69 74 20 68 65 72 65 | 2e 0d 0a 8c 04 0d 0a 96 | it here|........|
|000035e0| 19 e7 20 63 75 72 72 65 | 6e 74 5f 66 69 6c 65 24 |.. curre|nt_file$|
|000035f0| 3c 3e 22 22 20 8c 0d 0a | a0 1e 20 20 f2 6c 6f 61 |<>"" ...|.. .loa|
|00003600| 64 66 69 6c 65 28 63 75 | 72 72 65 6e 74 5f 66 69 |dfile(cu|rrent_fi|
|00003610| 6c 65 24 29 0d 0a aa 05 | cd 0d 0a b4 04 0d 0a be |le$)....|........|
|00003620| 4c f4 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |L. -----|--------|
|00003630| 2d 2d 2d 2d 2d 2d 2d 20 | 44 65 66 69 6e 65 20 49 |------- |Define I|
|00003640| 63 6f 6e 73 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |cons ---|--------|
|00003650| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003660| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0a c8 04 0d 0a d2 |--------|-.......|
|00003670| 4b f4 20 41 6e 79 20 64 | 61 74 61 20 77 68 69 63 |K. Any d|ata whic|
|00003680| 68 20 6e 65 65 64 73 20 | 74 6f 20 62 65 20 70 6c |h needs |to be pl|
|00003690| 61 63 65 64 20 69 6e 20 | 69 63 6f 6e 73 20 69 73 |aced in |icons is|
|000036a0| 20 74 72 61 6e 73 66 65 | 72 72 65 64 20 68 65 72 | transfe|rred her|
|000036b0| 65 2e 20 45 76 65 72 79 | 0d 0a dc 49 f4 20 57 49 |e. Every|...I. WI|
|000036c0| 4d 50 20 70 72 6f 67 72 | 61 6d 20 77 69 6c 6c 20 |MP progr|am will |
|000036d0| 6e 65 65 64 20 74 6f 20 | 64 6f 20 74 68 69 73 20 |need to |do this |
|000036e0| 61 73 20 74 68 65 20 76 | 65 72 73 69 6f 6e 20 73 |as the v|ersion s|
|000036f0| 74 72 69 6e 67 20 6d 75 | 73 74 20 61 70 70 65 61 |tring mu|st appea|
|00003700| 72 0d 0a e6 4a f4 20 69 | 6e 20 74 68 65 20 61 70 |r...J. i|n the ap|
|00003710| 70 72 6f 70 72 69 61 74 | 65 20 69 63 6f 6e 20 69 |propriat|e icon i|
|00003720| 6e 20 74 68 65 20 69 6e | 66 6f 20 77 69 6e 64 6f |n the in|fo windo|
|00003730| 77 20 28 6f 74 68 65 72 | 77 69 73 65 20 79 6f 75 |w (other|wise you|
|00003740| 27 6c 6c 20 68 61 76 65 | 20 74 6f 0d 0a f0 42 f4 |'ll have| to...B.|
|00003750| 20 63 68 61 6e 67 65 20 | 74 68 65 20 74 65 6d 70 | change |the temp|
|00003760| 6c 61 74 65 20 66 69 6c | 65 20 65 76 65 72 79 20 |late fil|e every |
|00003770| 74 69 6d 65 20 79 6f 75 | 20 63 68 61 6e 67 65 20 |time you| change |
|00003780| 74 68 65 20 21 52 75 6e | 49 6d 61 67 65 0d 0a fa |the !Run|Image...|
|00003790| 10 f4 20 70 72 6f 67 72 | 61 6d 21 29 2e 0d 0b 04 |.. progr|am!)....|
|000037a0| 04 0d 0b 0e 28 f2 69 63 | 6f 6e 5f 70 75 74 64 61 |....(.ic|on_putda|
|000037b0| 74 61 28 71 25 2c 69 6e | 66 6f 25 2c 34 2c 76 65 |ta(q%,in|fo%,4,ve|
|000037c0| 72 73 69 6f 6e 24 2c 30 | 29 0d 0b 18 04 0d 0b 22 |rsion$,0|)......"|
|000037d0| 48 f4 20 49 66 20 79 6f | 75 20 61 72 65 20 75 73 |H. If yo|u are us|
|000037e0| 69 6e 67 20 74 68 65 20 | 27 66 69 6c 65 49 6e 66 |ing the |'fileInf|
|000037f0| 6f 27 20 77 69 6e 64 6f | 77 20 74 6f 20 67 69 76 |o' windo|w to giv|
|00003800| 65 20 64 65 74 61 69 6c | 73 20 6f 66 20 74 68 65 |e detail|s of the|
|00003810| 20 66 69 6c 65 0d 0b 2c | 4c f4 20 6c 6f 61 64 65 | file..,|L. loade|
|00003820| 64 20 62 79 20 74 68 65 | 20 61 70 70 6c 69 63 61 |d by the| applica|
|00003830| 74 69 6f 6e 20 79 6f 75 | 20 63 61 6e 20 70 6c 61 |tion you| can pla|
|00003840| 63 65 20 74 65 78 74 20 | 69 6e 20 74 68 65 20 69 |ce text |in the i|
|00003850| 63 6f 6e 73 20 68 65 72 | 65 20 61 73 20 77 65 6c |cons her|e as wel|
|00003860| 6c 0d 0b 36 04 0d 0b 40 | 41 f2 69 63 6f 6e 5f 70 |l..6...@|A.icon_p|
|00003870| 75 74 64 61 74 61 28 71 | 25 2c 66 69 6e 66 6f 25 |utdata(q|%,finfo%|
|00003880| 2c 32 2c 22 4e 6f 22 2c | 30 29 20 20 20 20 20 20 |,2,"No",|0) |
|00003890| 20 20 20 20 3a f4 20 27 | 4d 6f 64 69 66 69 65 64 | :. '|Modified|
|000038a0| 27 20 69 63 6f 6e 0d 0b | 4a 3d f2 69 63 6f 6e 5f |' icon..|J=.icon_|
|000038b0| 70 75 74 64 61 74 61 28 | 71 25 2c 66 69 6e 66 6f |putdata(|q%,finfo|
|000038c0| 25 2c 33 2c 22 53 68 65 | 6c 6c 44 61 74 61 22 2c |%,3,"She|llData",|
|000038d0| 30 29 20 20 20 3a f4 20 | 27 54 79 70 65 27 20 69 |0) :. |'Type' i|
|000038e0| 63 6f 6e 0d 0b 54 18 e7 | 20 63 75 72 72 65 6e 74 |con..T..| current|
|000038f0| 5f 66 69 6c 65 24 3d 22 | 22 20 8c 0d 0b 5e 3d 20 |_file$="|" ...^= |
|00003900| 20 f2 69 63 6f 6e 5f 70 | 75 74 64 61 74 61 28 71 | .icon_p|utdata(q|
|00003910| 25 2c 66 69 6e 66 6f 25 | 2c 31 2c 22 53 68 65 6c |%,finfo%|,1,"Shel|
|00003920| 6c 46 69 6c 65 22 2c 30 | 29 20 3a f4 20 27 4e 61 |lFile",0|) :. 'Na|
|00003930| 6d 65 27 20 69 63 6f 6e | 0d 0b 68 3d 20 20 f2 69 |me' icon|..h= .i|
|00003940| 63 6f 6e 5f 70 75 74 64 | 61 74 61 28 71 25 2c 66 |con_putd|ata(q%,f|
|00003950| 69 6e 66 6f 25 2c 34 2c | 22 30 20 62 79 74 65 73 |info%,4,|"0 bytes|
|00003960| 22 2c 30 29 20 20 20 3a | f4 20 27 53 69 7a 65 27 |",0) :|. 'Size'|
|00003970| 20 69 63 6f 6e 0d 0b 72 | 3d 20 20 f2 69 63 6f 6e | icon..r|= .icon|
|00003980| 5f 70 75 74 64 61 74 61 | 28 71 25 2c 66 69 6e 66 |_putdata|(q%,finf|
|00003990| 6f 25 2c 35 2c 22 22 2c | 30 29 20 20 20 20 20 20 |o%,5,"",|0) |
|000039a0| 20 20 20 20 3a f4 20 27 | 44 61 74 65 27 20 69 63 | :. '|Date' ic|
|000039b0| 6f 6e 0d 0b 7c 05 cd 0d | 0b 86 04 0d 0b 90 4a f4 |on..|...|......J.|
|000039c0| 20 57 65 27 6c 6c 20 61 | 6c 73 6f 20 70 6c 61 63 | We'll a|lso plac|
|000039d0| 65 20 61 20 64 65 66 61 | 75 6c 74 20 66 69 6c 65 |e a defa|ult file|
|000039e0| 20 6e 61 6d 65 20 69 6e | 20 74 68 65 20 27 78 66 | name in| the 'xf|
|000039f0| 65 72 5f 73 65 6e 64 27 | 20 77 69 6e 64 6f 77 20 |er_send'| window |
|00003a00| 69 66 20 6e 6f 0d 0b 9a | 14 f4 20 66 69 6c 65 20 |if no...|.. file |
|00003a10| 69 73 20 6c 6f 61 64 65 | 64 0d 0b a4 04 0d 0b ae |is loade|d.......|
|00003a20| 18 e7 20 63 75 72 72 65 | 6e 74 5f 66 69 6c 65 24 |.. curre|nt_file$|
|00003a30| 3d 22 22 20 8c 0d 0b b8 | 2d 20 20 f2 69 63 6f 6e |="" ....|- .icon|
|00003a40| 5f 70 75 74 64 61 74 61 | 28 71 25 2c 78 66 65 72 |_putdata|(q%,xfer|
|00003a50| 25 2c 32 2c 22 53 68 65 | 6c 6c 44 61 74 61 22 2c |%,2,"She|llData",|
|00003a60| 30 29 0d 0b c2 05 cd 0d | 0b cc 04 0d 0b d6 4c f4 |0)......|......L.|
|00003a70| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00003a80| 2d 2d 2d 2d 2d 20 4c 61 | 75 6e 63 68 20 49 6e 69 |----- La|unch Ini|
|00003a90| 74 69 61 6c 20 57 69 6e | 64 6f 77 73 20 2d 2d 2d |tial Win|dows ---|
|00003aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ab0| 2d 2d 2d 2d 2d 2d 2d 0d | 0b e0 04 0d 0b ea 47 f4 |-------.|......G.|
|00003ac0| 20 4f 70 65 6e 20 61 6e | 79 20 69 6e 69 74 69 61 | Open an|y initia|
|00003ad0| 6c 20 77 69 6e 64 6f 77 | 73 20 68 65 72 65 2e 20 |l window|s here. |
|00003ae0| 49 6e 20 74 68 69 73 20 | 63 61 73 65 20 69 66 20 |In this |case if |
|00003af0| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00003b00| 69 73 0d 0b f4 48 f4 20 | 73 74 61 72 74 69 6e 67 |is...H. |starting|
|00003b10| 20 75 70 20 77 69 74 68 | 20 61 20 66 69 6c 65 20 | up with| a file |
|00003b20| 6c 6f 61 64 65 64 20 77 | 65 27 6c 6c 20 6f 70 65 |loaded w|e'll ope|
|00003b30| 6e 20 74 68 65 20 6d 61 | 69 6e 20 77 69 6e 64 6f |n the ma|in windo|
|00003b40| 77 2c 20 62 75 74 20 79 | 6f 75 0d 0b fe 48 f4 20 |w, but y|ou...H. |
|00003b50| 63 6f 75 6c 64 20 77 61 | 69 74 20 66 6f 72 20 74 |could wa|it for t|
|00003b60| 68 65 20 69 63 6f 6e 62 | 61 72 20 69 63 6f 6e 20 |he iconb|ar icon |
|00003b70| 74 6f 20 62 65 20 63 6c | 69 63 6b 65 64 20 6f 6e |to be cl|icked on|
|00003b80| 20 2d 20 69 74 27 73 20 | 75 70 20 74 6f 20 79 6f | - it's |up to yo|
|00003b90| 75 21 0d 0c 08 04 0d 0c | 12 19 e7 20 63 75 72 72 |u!......|... curr|
|00003ba0| 65 6e 74 5f 66 69 6c 65 | 24 3c 3e 22 22 20 8c 0d |ent_file|$<>"" ..|
|00003bb0| 0c 1c 1e 20 20 f2 6f 70 | 65 6e 77 69 6e 64 6f 77 |... .op|enwindow|
|00003bc0| 28 6d 61 69 6e 77 25 2c | a3 2c 2d 31 29 0d 0c 26 |(mainw%,|.,-1)..&|
|00003bd0| 0d 20 20 6f 70 65 6e 25 | 3d b9 0d 0c 30 05 cd 0d |. open%|=...0...|
|00003be0| 0c 3a 04 0d 0c 44 4c f4 | 20 2d 2d 2d 2d 2d 2d 2d |.:...DL.| -------|
|00003bf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 53 65 |--------|----- Se|
|00003c00| 74 20 55 70 20 45 72 72 | 6f 72 20 54 72 61 70 20 |t Up Err|or Trap |
|00003c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00003c30| 0c 4e 04 0d 0c 58 16 65 | 72 72 6f 72 5f 66 6c 61 |.N...X.e|rror_fla|
|00003c40| 67 25 20 20 20 20 20 3d | 33 0d 0c 62 0e ee 20 85 |g% =|3..b.. .|
|00003c50| 20 f2 65 72 72 6f 72 0d | 0c 6c 04 0d 0c 76 4c f4 | .error.|.l...vL.|
|00003c60| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00003c70| 2d 2d 2d 2d 2d 20 4d 61 | 69 6e 20 50 72 6f 67 72 |----- Ma|in Progr|
|00003c80| 61 6d 20 4c 6f 6f 70 20 | 2d 2d 2d 2d 2d 2d 2d 2d |am Loop |--------|
|00003c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ca0| 2d 2d 2d 2d 2d 2d 2d 0d | 0c 80 04 0d 0c 8a 4a f4 |-------.|......J.|
|00003cb0| 20 41 73 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 | As the |program |
|00003cc0| 69 73 20 6e 6f 77 20 66 | 75 6c 6c 79 20 69 6e 69 |is now f|ully ini|
|00003cd0| 74 69 61 6c 69 73 65 64 | 20 77 65 27 6c 6c 20 74 |tialised| we'll t|
|00003ce0| 75 72 6e 20 6f 66 66 20 | 74 68 65 20 48 6f 75 72 |urn off |the Hour|
|00003cf0| 47 6c 61 73 73 0d 0c 94 | 4a f4 20 61 6e 64 20 62 |Glass...|J. and b|
|00003d00| 65 67 69 6e 20 74 68 65 | 20 6d 61 69 6e 20 77 69 |egin the| main wi|
|00003d10| 6d 70 20 70 6f 6c 6c 20 | 6c 6f 6f 70 2e 20 4e 6f |mp poll |loop. No|
|00003d20| 74 65 20 74 68 61 74 20 | 74 68 65 20 70 61 72 61 |te that |the para|
|00003d30| 6d 65 74 65 72 20 74 6f | 20 46 4e 70 6f 6c 6c 0d |meter to| FNpoll.|
|00003d40| 0c 9e 47 f4 20 69 73 20 | 30 20 74 6f 20 61 6c 6c |..G. is |0 to all|
|00003d50| 6f 77 20 61 6c 6c 20 77 | 69 6d 70 20 65 76 65 6e |ow all w|imp even|
|00003d60| 74 73 20 74 6f 20 62 65 | 20 70 72 6f 63 65 73 73 |ts to be| process|
|00003d70| 65 64 20 2d 20 6d 6f 72 | 65 20 73 70 65 65 64 20 |ed - mor|e speed |
|00003d80| 63 61 6e 20 62 65 0d 0c | a8 47 f4 20 6f 62 74 61 |can be..|.G. obta|
|00003d90| 69 6e 65 64 20 62 79 20 | 75 73 69 6e 67 20 64 69 |ined by |using di|
|00003da0| 66 66 65 72 65 6e 74 20 | 70 61 72 61 6d 65 74 65 |fferent |paramete|
|00003db0| 72 73 2c 20 62 75 74 20 | 6c 65 61 76 65 20 69 74 |rs, but |leave it|
|00003dc0| 20 61 6c 6f 6e 65 20 75 | 6e 6c 65 73 73 0d 0c b2 | alone u|nless...|
|00003dd0| 2a f4 20 79 6f 75 20 6b | 6e 6f 77 20 65 78 61 63 |*. you k|now exac|
|00003de0| 74 6c 79 20 77 68 61 74 | 20 79 6f 75 20 61 72 65 |tly what| you are|
|00003df0| 20 64 6f 69 6e 67 21 0d | 0c bc 04 0d 0c c6 16 c8 | doing!.|........|
|00003e00| 99 20 22 48 6f 75 72 67 | 6c 61 73 73 5f 4f 66 66 |. "Hourg|lass_Off|
|00003e10| 22 0d 0c d0 05 f5 0d 0c | da 17 20 20 f2 61 63 74 |".......|.. .act|
|00003e20| 69 6f 6e 28 a4 70 6f 6c | 6c 28 30 29 29 0d 0c e4 |ion(.pol|l(0))...|
|00003e30| 0f fd 20 63 6c 6f 73 65 | 64 6f 77 6e 0d 0c ee 04 |.. close|down....|
|00003e40| 0d 0c f8 4c f4 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...L. --|--------|
|00003e50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 41 70 70 6c 69 |--------|-- Appli|
|00003e60| 63 61 74 69 6f 6e 20 43 | 6c 6f 73 65 64 6f 77 6e |cation C|losedown|
|00003e70| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00003e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 02 04 |--------|----....|
|00003e90| 0d 0d 0c 0e 24 71 25 3d | 22 54 41 53 4b 22 0d 0d |....$q%=|"TASK"..|
|00003ea0| 16 22 c8 99 20 22 57 69 | 6d 70 5f 43 6c 6f 73 65 |.".. "Wi|mp_Close|
|00003eb0| 44 6f 77 6e 22 2c 74 61 | 73 6b 25 2c 71 25 21 30 |Down",ta|sk%,q%!0|
|00003ec0| 0d 0d 20 05 e0 0d 0d 2a | 04 0d 0d 34 4c f4 20 3d |.. ....*|...4L. =|
|00003ed0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003ee0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003ef0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003f00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003f10| 3d 3d 3d 3d 3d 0d 0d 3e | 04 0d 0d 48 0b dd f2 65 |=====..>|...H...e|
|00003f20| 72 72 6f 72 0d 0d 52 15 | e7 20 65 72 72 6f 72 5f |rror..R.|. error_|
|00003f30| 66 6c 61 67 25 3d 33 20 | 8c 0d 0d 5c 44 20 20 f2 |flag%=3 |...\D .|
|00003f40| 65 72 72 6f 72 62 6f 78 | 28 22 55 6e 65 78 70 65 |errorbox|("Unexpe|
|00003f50| 63 74 65 64 20 65 72 72 | 6f 72 3a 2d 20 22 2b f6 |cted err|or:- "+.|
|00003f60| 24 2b 22 20 49 6e 74 65 | 72 6e 61 6c 20 65 72 72 |$+" Inte|rnal err|
|00003f70| 6f 72 20 63 6f 64 65 20 | 22 2b c3 9e 29 0d 0d 66 |or code |"+..)..f|
|00003f80| 05 cc 0d 0d 70 13 20 20 | f2 65 72 72 6f 72 62 6f |....p. |.errorbo|
|00003f90| 78 28 f6 24 29 0d 0d 7a | 05 cd 0d 0d 84 11 65 72 |x(.$)..z|......er|
|00003fa0| 72 6f 72 5f 66 6c 61 67 | 25 3d 33 0d 0d 8e 18 c8 |ror_flag|%=3.....|
|00003fb0| 99 20 22 48 6f 75 72 67 | 6c 61 73 73 5f 53 6d 61 |. "Hourg|lass_Sma|
|00003fc0| 73 68 22 0d 0d 98 05 e1 | 0d 0d a2 04 0d 0d ac 0c |sh".....|........|
|00003fd0| dd f2 6f 6b 28 65 24 29 | 0d 0d b6 11 65 72 72 6f |..ok(e$)|....erro|
|00003fe0| 72 5f 66 6c 61 67 25 3d | 31 0d 0d c0 0a 85 20 31 |r_flag%=|1..... 1|
|00003ff0| 2c 65 24 0d 0d ca 05 e1 | 0d 0d d4 04 0d 0d de 12 |,e$.....|........|
|00004000| dd f2 65 72 72 6f 72 62 | 6f 78 28 72 24 29 0d 0d |..errorb|ox(r$)..|
|00004010| e8 08 ea 20 72 25 0d 0d | f2 19 21 71 25 3d 9f 3a |... r%..|..!q%=.:|
|00004020| 24 28 71 25 2b 34 29 3d | 72 24 2b bd 28 30 29 0d |$(q%+4)=|r$+.(0).|
|00004030| 0d fc 35 c8 99 20 22 57 | 69 6d 70 5f 52 65 70 6f |..5.. "W|imp_Repo|
|00004040| 72 74 45 72 72 6f 72 22 | 2c 71 25 2c 65 72 72 6f |rtError"|,q%,erro|
|00004050| 72 5f 66 6c 61 67 25 2c | 22 53 68 65 6c 6c 22 20 |r_flag%,|"Shell" |
|00004060| b8 20 72 25 0d 0e 06 18 | e7 20 72 25 3d 32 20 8c |. r%....|. r%=2 .|
|00004070| 20 63 6c 6f 73 65 64 6f | 77 6e 3d b9 0d 0e 10 05 | closedo|wn=.....|
|00004080| e1 0d 0e 1a 04 0d 0e 24 | 4a f4 20 45 76 65 72 79 |.......$|J. Every|
|00004090| 20 6e 65 77 20 77 69 6e | 64 6f 77 20 28 69 66 20 | new win|dow (if |
|000040a0| 6d 6f 75 73 65 20 63 6c | 69 63 6b 73 20 6e 65 65 |mouse cl|icks nee|
|000040b0| 64 20 74 6f 20 62 65 20 | 72 65 73 70 6f 6e 64 65 |d to be |responde|
|000040c0| 64 20 74 6f 29 20 77 69 | 6c 6c 20 6e 65 65 64 0d |d to) wi|ll need.|
|000040d0| 0e 2e 2d f4 20 61 20 6c | 69 6e 65 20 69 6e 20 74 |..-. a l|ine in t|
|000040e0| 68 65 20 43 41 53 45 20 | 73 74 61 74 65 6d 65 6e |he CASE |statemen|
|000040f0| 74 20 62 65 6c 6f 77 20 | 69 2e 65 2e 0d 0e 38 2e |t below |i.e...8.|
|00004100| f4 20 57 48 45 4e 20 66 | 72 65 64 25 3a 50 52 4f |. WHEN f|red%:PRO|
|00004110| 43 63 6c 69 63 6b 66 72 | 65 64 28 62 75 74 74 6f |Cclickfr|ed(butto|
|00004120| 6e 25 2c 69 63 6f 6e 25 | 29 2e 0d 0e 42 47 f4 20 |n%,icon%|)...BG. |
|00004130| 4e 6f 74 65 20 74 68 65 | 20 27 66 69 6c 65 49 6e |Note the| 'fileIn|
|00004140| 66 6f 27 20 61 6e 64 20 | 27 70 72 6f 67 49 6e 66 |fo' and |'progInf|
|00004150| 6f 27 20 77 69 6e 64 6f | 77 73 20 64 6f 20 6e 6f |o' windo|ws do no|
|00004160| 74 20 66 65 61 74 75 72 | 65 20 69 6e 20 74 68 69 |t featur|e in thi|
|00004170| 73 0d 0e 4c 49 f4 20 72 | 6f 75 74 69 6e 65 20 2d |s..LI. r|outine -|
|00004180| 20 74 68 65 79 20 63 6f | 6e 74 61 69 6e 20 6e 6f | they co|ntain no|
|00004190| 20 69 63 6f 6e 73 20 74 | 68 61 74 20 74 72 69 67 | icons t|hat trig|
|000041a0| 67 65 72 20 61 63 74 69 | 6f 6e 73 20 62 79 20 74 |ger acti|ons by t|
|000041b0| 68 65 20 70 72 6f 67 72 | 61 6d 0d 0e 56 04 0d 0e |he progr|am..V...|
|000041c0| 60 3c dd f2 63 6c 69 63 | 6b 77 69 6e 64 6f 77 28 |`<..clic|kwindow(|
|000041d0| 6d 6f 75 73 65 78 25 2c | 6d 6f 75 73 65 79 25 2c |mousex%,|mousey%,|
|000041e0| 62 75 74 74 6f 6e 25 2c | 68 61 6e 64 6c 65 25 2c |button%,|handle%,|
|000041f0| 69 63 6f 6e 25 2c 6f 62 | 25 29 0d 0e 6a 10 c8 8e |icon%,ob|%)..j...|
|00004200| 20 68 61 6e 64 6c 65 25 | 20 ca 0d 0e 74 2c 20 20 | handle%| ...t, |
|00004210| c9 20 6d 61 69 6e 77 25 | 20 20 20 3a f2 63 6c 69 |. mainw%| :.cli|
|00004220| 63 6b 6d 61 69 6e 77 28 | 62 75 74 74 6f 6e 25 2c |ckmainw(|button%,|
|00004230| 69 63 6f 6e 25 29 0d 0e | 7e 2c 20 20 c9 20 71 75 |icon%)..|~, . qu|
|00004240| 65 72 79 25 20 20 20 3a | f2 63 6c 69 63 6b 71 75 |ery% :|.clickqu|
|00004250| 65 72 79 28 62 75 74 74 | 6f 6e 25 2c 69 63 6f 6e |ery(butt|on%,icon|
|00004260| 25 29 0d 0e 88 2b 20 20 | c9 20 78 66 65 72 25 20 |%)...+ |. xfer% |
|00004270| 20 20 20 3a f2 63 6c 69 | 63 6b 78 66 65 72 28 62 | :.cli|ckxfer(b|
|00004280| 75 74 74 6f 6e 25 2c 69 | 63 6f 6e 25 29 0d 0e 92 |utton%,i|con%)...|
|00004290| 2d 20 20 c9 20 73 65 61 | 72 63 68 25 20 20 3a f2 |- . sea|rch% :.|
|000042a0| 63 6c 69 63 6b 73 65 61 | 72 63 68 28 62 75 74 74 |clicksea|rch(butt|
|000042b0| 6f 6e 25 2c 69 63 6f 6e | 25 29 0d 0e 9c 2e 20 20 |on%,icon|%).... |
|000042c0| c9 20 2d 32 20 20 20 20 | 20 20 20 3a f2 63 6c 69 |. -2 | :.cli|
|000042d0| 63 6b 69 63 6f 6e 62 61 | 72 28 62 75 74 74 6f 6e |ckiconba|r(button|
|000042e0| 25 2c 69 63 6f 6e 25 29 | 0d 0e a6 05 cb 0d 0e b0 |%,icon%)|........|
|000042f0| 05 e1 0d 0e ba 04 0d 0e | c4 4c f4 20 2d 2d 2d 2d |........|.L. ----|
|00004300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 4d 6f 75 |--------|---- Mou|
|00004310| 73 65 20 43 6c 69 63 6b | 20 52 6f 75 74 69 6e 65 |se Click| Routine|
|00004320| 73 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s ------|--------|
|00004330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004340| 2d 2d 0d 0e ce 04 0d 0e | d8 4b f4 20 41 20 72 6f |--......|.K. A ro|
|00004350| 75 74 69 6e 65 20 69 73 | 20 6e 65 65 64 65 64 20 |utine is| needed |
|00004360| 68 65 72 65 20 66 6f 72 | 20 65 76 65 72 79 20 77 |here for| every w|
|00004370| 69 6e 64 6f 77 20 28 69 | 66 20 6d 6f 75 73 65 20 |indow (i|f mouse |
|00004380| 63 6c 69 63 6b 73 20 6e | 65 65 64 20 74 6f 20 62 |clicks n|eed to b|
|00004390| 65 0d 0e e2 28 f4 20 72 | 65 73 70 6f 6e 64 65 64 |e...(. r|esponded|
|000043a0| 20 74 6f 29 20 63 61 6c | 6c 65 64 20 50 52 4f 43 | to) cal|led PROC|
|000043b0| 63 6c 69 63 6b 78 78 78 | 78 0d 0e ec 04 0d 0e f6 |clickxxx|x.......|
|000043c0| 21 dd f2 63 6c 69 63 6b | 69 63 6f 6e 62 61 72 28 |!..click|iconbar(|
|000043d0| 62 75 74 74 6f 6e 25 2c | 69 63 6f 6e 25 29 0d 0f |button%,|icon%)..|
|000043e0| 00 11 e7 20 69 63 6f 6e | 25 3c 30 20 8c 20 e1 0d |... icon|%<0 . ..|
|000043f0| 0f 0a 0a c8 8e 20 b9 20 | ca 0d 0f 14 11 20 20 c9 |..... . |..... .|
|00004400| 20 62 75 74 74 6f 6e 25 | 3d 32 0d 0f 1e 20 20 20 | button%|=2... |
|00004410| 20 20 f4 20 6f 70 65 6e | 73 20 74 68 65 20 69 63 | . open|s the ic|
|00004420| 6f 6e 62 61 72 20 6d 65 | 6e 75 0d 0f 28 17 20 20 |onbar me|nu..(. |
|00004430| 20 20 e7 20 69 63 6f 6e | 25 3d 73 69 63 6f 6e 20 | . icon|%=sicon |
|00004440| 8c 0d 0f 32 15 20 20 20 | 20 20 20 f2 6d 65 6e 75 |...2. | .menu|
|00004450| 5f 73 69 63 6f 6e 0d 0f | 3c 09 20 20 20 20 cd 0d |_sicon..|<. ..|
|00004460| 0f 46 11 20 20 c9 20 62 | 75 74 74 6f 6e 25 3d 34 |.F. . b|utton%=4|
|00004470| 0d 0f 50 4b 20 20 20 20 | f4 20 6f 70 65 6e 73 20 |..PK |. opens |
|00004480| 74 68 65 20 6d 61 69 6e | 20 77 69 6e 64 6f 77 20 |the main| window |
|00004490| 69 66 20 69 74 20 69 73 | 20 63 6c 6f 73 65 64 20 |if it is| closed |
|000044a0| 69 6e 20 74 68 69 73 20 | 65 78 61 6d 70 6c 65 20 |in this |example |
|000044b0| 77 68 65 6e 20 73 65 6c | 65 63 74 0d 0f 5a 4a 20 |when sel|ect..ZJ |
|000044c0| 20 20 20 f4 20 69 73 20 | 63 6c 69 63 6b 65 64 20 | . is |clicked |
|000044d0| 6f 6e 20 74 68 65 20 69 | 63 6f 6e 62 61 72 20 69 |on the i|conbar i|
|000044e0| 63 6f 6e 2e 20 49 74 20 | 63 6f 75 6c 64 20 6f 66 |con. It |could of|
|000044f0| 20 63 6f 75 72 73 65 20 | 6f 70 65 6e 20 6d 75 6c | course |open mul|
|00004500| 74 69 70 6c 65 0d 0f 64 | 1d 20 20 20 20 f4 20 77 |tiple..d|. . w|
|00004510| 69 6e 64 6f 77 73 20 69 | 66 20 72 65 71 75 69 72 |indows i|f requir|
|00004520| 65 64 0d 0f 6e 22 20 20 | 20 20 20 20 f2 6f 70 65 |ed..n" | .ope|
|00004530| 6e 77 69 6e 64 6f 77 28 | 6d 61 69 6e 77 25 2c a3 |nwindow(|mainw%,.|
|00004540| 2c 2d 31 29 0d 0f 78 11 | 20 20 20 20 20 20 6f 70 |,-1)..x.| op|
|00004550| 65 6e 25 3d b9 0d 0f 82 | 05 cb 0d 0f 8c 05 e1 0d |en%=....|........|
|00004560| 0f 96 04 0d 0f a0 1f dd | f2 63 6c 69 63 6b 6d 61 |........|.clickma|
|00004570| 69 6e 77 28 62 75 74 74 | 6f 6e 25 2c 69 63 6f 6e |inw(butt|on%,icon|
|00004580| 25 29 0d 0f aa 11 e7 20 | 62 75 74 74 6f 6e 25 3d |%)..... |button%=|
|00004590| 32 20 8c 0d 0f b4 10 20 | 20 f2 6d 65 6e 75 5f 6d |2 ..... | .menu_m|
|000045a0| 61 69 6e 0d 0f be 05 cd | 0d 0f c8 0a c8 8e 20 b9 |ain.....|...... .|
|000045b0| 20 ca 0d 0f d2 21 c9 20 | 28 62 75 74 74 6f 6e 25 | ....!. |(button%|
|000045c0| 20 80 20 34 29 3d 34 20 | 80 20 69 63 6f 6e 25 3c | . 4)=4 |. icon%<|
|000045d0| 3e 2d 31 0d 0f dc 10 20 | 20 c8 8e 20 69 63 6f 6e |>-1.... | .. icon|
|000045e0| 25 20 ca 0d 0f e6 28 20 | 20 c9 20 20 32 20 3a f4 |% ....( | . 2 :.|
|000045f0| 20 27 3c 27 20 28 62 61 | 63 6b 20 6f 6e 65 20 72 | '<' (ba|ck one r|
|00004600| 65 63 6f 72 64 20 69 63 | 6f 6e 29 0d 0f f0 41 20 |ecord ic|on)...A |
|00004610| 20 20 20 63 75 72 72 65 | 6e 74 5f 72 65 63 25 2d | curre|nt_rec%-|
|00004620| 3d 31 3a e7 20 63 75 72 | 72 65 6e 74 5f 72 65 63 |=1:. cur|rent_rec|
|00004630| 25 3c 31 20 8c 20 63 75 | 72 72 65 6e 74 5f 72 65 |%<1 . cu|rrent_re|
|00004640| 63 25 3d 6d 61 78 5f 72 | 65 63 73 25 0d 0f fa 25 |c%=max_r|ecs%...%|
|00004650| 20 20 20 20 f2 64 69 73 | 70 6c 61 79 5f 72 65 63 | .dis|play_rec|
|00004660| 6f 72 64 28 63 75 72 72 | 65 6e 74 5f 72 65 63 25 |ord(curr|ent_rec%|
|00004670| 29 0d 10 04 2b 20 20 c9 | 20 20 33 20 3a f4 20 27 |)...+ .| 3 :. '|
|00004680| 3e 27 20 28 66 6f 72 77 | 61 72 64 20 6f 6e 65 20 |>' (forw|ard one |
|00004690| 72 65 63 6f 72 64 20 69 | 63 6f 6e 29 0d 10 0e 41 |record i|con)...A|
|000046a0| 20 20 20 20 63 75 72 72 | 65 6e 74 5f 72 65 63 25 | curr|ent_rec%|
|000046b0| 2b 3d 31 3a e7 20 63 75 | 72 72 65 6e 74 5f 72 65 |+=1:. cu|rrent_re|
|000046c0| 63 25 3e 6d 61 78 5f 72 | 65 63 73 25 20 8c 20 63 |c%>max_r|ecs% . c|
|000046d0| 75 72 72 65 6e 74 5f 72 | 65 63 25 3d 31 0d 10 18 |urrent_r|ec%=1...|
|000046e0| 25 20 20 20 20 f2 64 69 | 73 70 6c 61 79 5f 72 65 |% .di|splay_re|
|000046f0| 63 6f 72 64 28 63 75 72 | 72 65 6e 74 5f 72 65 63 |cord(cur|rent_rec|
|00004700| 25 29 0d 10 22 1b 20 20 | c9 20 31 37 20 3a f4 20 |%)..". |. 17 :. |
|00004710| 27 55 70 64 61 74 65 27 | 20 49 63 6f 6e 0d 10 2c |'Update'| Icon..,|
|00004720| 3a 20 20 20 20 66 69 65 | 6c 64 24 28 31 2c 63 75 |: fie|ld$(1,cu|
|00004730| 72 72 65 6e 74 5f 72 65 | 63 25 29 3d a4 69 63 6f |rrent_re|c%)=.ico|
|00004740| 6e 5f 67 65 74 64 61 74 | 61 28 71 25 2c 6d 61 69 |n_getdat|a(q%,mai|
|00004750| 6e 77 25 2c 31 31 29 0d | 10 36 3a 20 20 20 20 66 |nw%,11).|.6: f|
|00004760| 69 65 6c 64 24 28 32 2c | 63 75 72 72 65 6e 74 5f |ield$(2,|current_|
|00004770| 72 65 63 25 29 3d a4 69 | 63 6f 6e 5f 67 65 74 64 |rec%)=.i|con_getd|
|00004780| 61 74 61 28 71 25 2c 6d | 61 69 6e 77 25 2c 31 32 |ata(q%,m|ainw%,12|
|00004790| 29 0d 10 40 3a 20 20 20 | 20 66 69 65 6c 64 24 28 |)..@: | field$(|
|000047a0| 33 2c 63 75 72 72 65 6e | 74 5f 72 65 63 25 29 3d |3,curren|t_rec%)=|
|000047b0| a4 69 63 6f 6e 5f 67 65 | 74 64 61 74 61 28 71 25 |.icon_ge|tdata(q%|
|000047c0| 2c 6d 61 69 6e 77 25 2c | 31 33 29 0d 10 4a 3a 20 |,mainw%,|13)..J: |
|000047d0| 20 20 20 66 69 65 6c 64 | 24 28 34 2c 63 75 72 72 | field|$(4,curr|
|000047e0| 65 6e 74 5f 72 65 63 25 | 29 3d a4 69 63 6f 6e 5f |ent_rec%|)=.icon_|
|000047f0| 67 65 74 64 61 74 61 28 | 71 25 2c 6d 61 69 6e 77 |getdata(|q%,mainw|
|00004800| 25 2c 31 34 29 0d 10 54 | 3a 20 20 20 20 66 69 65 |%,14)..T|: fie|
|00004810| 6c 64 24 28 35 2c 63 75 | 72 72 65 6e 74 5f 72 65 |ld$(5,cu|rrent_re|
|00004820| 63 25 29 3d a4 69 63 6f | 6e 5f 67 65 74 64 61 74 |c%)=.ico|n_getdat|
|00004830| 61 28 71 25 2c 6d 61 69 | 6e 77 25 2c 31 35 29 0d |a(q%,mai|nw%,15).|
|00004840| 10 5e 15 20 20 20 20 f2 | 66 69 6c 65 5f 63 68 61 |.^. .|file_cha|
|00004850| 6e 67 65 64 0d 10 68 1b | 20 20 c9 20 31 38 20 3a |nged..h.| . 18 :|
|00004860| f4 20 27 43 61 6e 63 65 | 6c 27 20 49 63 6f 6e 0d |. 'Cance|l' Icon.|
|00004870| 10 72 25 20 20 20 20 f2 | 64 69 73 70 6c 61 79 5f |.r% .|display_|
|00004880| 72 65 63 6f 72 64 28 63 | 75 72 72 65 6e 74 5f 72 |record(c|urrent_r|
|00004890| 65 63 25 29 0d 10 7c 07 | 20 20 cb 0d 10 86 05 cb |ec%)..|.| ......|
|000048a0| 0d 10 90 05 e1 0d 10 9a | 04 0d 10 a4 20 dd f2 63 |........|.... ..c|
|000048b0| 6c 69 63 6b 73 65 61 72 | 63 68 28 62 75 74 74 6f |licksear|ch(butto|
|000048c0| 6e 25 2c 69 63 6f 6e 25 | 29 0d 10 ae 0a c8 8e 20 |n%,icon%|)...... |
|000048d0| b9 20 ca 0d 10 b8 27 c9 | 20 28 62 75 74 74 6f 6e |. ....'.| (button|
|000048e0| 25 20 80 20 34 29 3d 34 | 20 84 20 28 62 75 74 74 |% . 4)=4| . (butt|
|000048f0| 6f 6e 25 20 80 20 31 29 | 3d 31 0d 10 c2 10 20 20 |on% . 1)|=1.... |
|00004900| c8 8e 20 69 63 6f 6e 25 | 20 ca 0d 10 cc 0a 20 20 |.. icon%| ..... |
|00004910| c9 20 20 30 0d 10 d6 12 | 20 20 20 20 f2 64 6f 5f |. 0....| .do_|
|00004920| 73 65 61 72 63 68 0d 10 | e0 34 20 20 20 20 e7 20 |search..|.4 . |
|00004930| 28 62 75 74 74 6f 6e 25 | 20 80 20 34 29 3d 34 20 |(button%| . 4)=4 |
|00004940| 8c 20 c8 99 20 22 57 69 | 6d 70 5f 43 72 65 61 74 |. .. "Wi|mp_Creat|
|00004950| 65 4d 65 6e 75 22 2c 2c | 2d 31 0d 10 ea 0a 20 20 |eMenu",,|-1.... |
|00004960| c9 20 20 31 0d 10 f4 20 | 20 20 20 20 c8 99 20 22 |. 1... | .. "|
|00004970| 57 69 6d 70 5f 43 72 65 | 61 74 65 4d 65 6e 75 22 |Wimp_Cre|ateMenu"|
|00004980| 2c 2c 2d 31 0d 10 fe 0a | 20 20 c9 20 20 33 0d 11 |,,-1....| . 3..|
|00004990| 08 10 20 20 20 20 6d 61 | 74 63 68 25 3d b9 0d 11 |.. ma|tch%=...|
|000049a0| 12 0a 20 20 c9 20 20 34 | 0d 11 1c 10 20 20 20 20 |.. . 4|.... |
|000049b0| 6d 61 74 63 68 25 3d a3 | 0d 11 26 07 20 20 cb 0d |match%=.|..&. ..|
|000049c0| 11 30 05 cb 0d 11 3a 05 | e1 0d 11 44 04 0d 11 4e |.0....:.|...D...N|
|000049d0| 1f dd f2 63 6c 69 63 6b | 71 75 65 72 79 28 62 75 |...click|query(bu|
|000049e0| 74 74 6f 6e 25 2c 69 63 | 6f 6e 25 29 0d 11 58 0a |tton%,ic|on%)..X.|
|000049f0| c8 8e 20 b9 20 ca 0d 11 | 62 21 c9 20 28 62 75 74 |.. . ...|b!. (but|
|00004a00| 74 6f 6e 25 20 80 20 34 | 29 3d 34 20 80 20 69 63 |ton% . 4|)=4 . ic|
|00004a10| 6f 6e 25 3c 3e 2d 31 0d | 11 6c 20 20 20 e7 20 63 |on%<>-1.|.l . c|
|00004a20| 6c 61 69 6d 71 75 65 72 | 79 24 3d 22 71 75 69 74 |laimquer|y$="quit|
|00004a30| 70 72 6f 67 22 20 8c 0d | 11 76 12 20 20 20 20 c8 |prog" ..|.v. .|
|00004a40| 8e 20 69 63 6f 6e 25 20 | ca 0d 11 80 0d 20 20 20 |. icon% |..... |
|00004a50| 20 20 20 c9 20 32 0d 11 | 8a 2f 20 20 20 20 20 20 | . 2..|./ |
|00004a60| 20 20 f2 63 6c 6f 73 65 | 77 69 6e 64 6f 77 28 71 | .close|window(q|
|00004a70| 75 65 72 79 25 29 3a 63 | 6c 61 69 6d 71 75 65 72 |uery%):c|laimquer|
|00004a80| 79 24 3d 22 22 0d 11 94 | 2b 20 20 20 20 20 20 20 |y$=""...|+ |
|00004a90| 20 f2 6d 6f 75 73 65 5f | 72 65 63 74 61 6e 67 6c | .mouse_|rectangl|
|00004aa0| 65 28 30 2c 30 2c 33 30 | 30 30 2c 33 30 30 30 29 |e(0,0,30|00,3000)|
|00004ab0| 0d 11 9e 17 20 20 20 20 | 20 20 20 20 63 6c 6f 73 |.... | clos|
|00004ac0| 65 64 6f 77 6e 3d b9 0d | 11 a8 0d 20 20 20 20 20 |edown=..|... |
|00004ad0| 20 c9 20 30 0d 11 b2 2f | 20 20 20 20 20 20 20 20 | . 0.../| |
|00004ae0| f2 63 6c 6f 73 65 77 69 | 6e 64 6f 77 28 71 75 65 |.closewi|ndow(que|
|00004af0| 72 79 25 29 3a 63 6c 61 | 69 6d 71 75 65 72 79 24 |ry%):cla|imquery$|
|00004b00| 3d 22 22 0d 11 bc 1d 20 | 20 20 20 20 20 20 20 c8 |="".... | .|
|00004b10| 99 20 22 48 6f 75 72 67 | 6c 61 73 73 5f 4f 6e 22 |. "Hourg|lass_On"|
|00004b20| 0d 11 c6 24 20 20 20 20 | 20 20 20 20 f2 73 61 76 |...$ | .sav|
|00004b30| 65 66 69 6c 65 28 63 75 | 72 72 65 6e 74 5f 66 69 |efile(cu|rrent_fi|
|00004b40| 6c 65 24 29 0d 11 d0 1e | 20 20 20 20 20 20 20 20 |le$)....| |
|00004b50| c8 99 20 22 48 6f 75 72 | 67 6c 61 73 73 5f 4f 66 |.. "Hour|glass_Of|
|00004b60| 66 22 0d 11 da 17 20 20 | 20 20 20 20 20 20 63 6c |f".... | cl|
|00004b70| 6f 73 65 64 6f 77 6e 3d | b9 0d 11 e4 2b 20 20 20 |osedown=|....+ |
|00004b80| 20 20 20 20 20 f2 6d 6f | 75 73 65 5f 72 65 63 74 | .mo|use_rect|
|00004b90| 61 6e 67 6c 65 28 30 2c | 30 2c 33 30 30 30 2c 33 |angle(0,|0,3000,3|
|00004ba0| 30 30 30 29 0d 11 ee 09 | 20 20 20 20 cb 0d 11 f8 |000)....| ....|
|00004bb0| 07 20 20 cd 0d 12 02 05 | cb 0d 12 0c 05 e1 0d 12 |. .....|........|
|00004bc0| 16 04 0d 12 20 1e dd f2 | 63 6c 69 63 6b 78 66 65 |.... ...|clickxfe|
|00004bd0| 72 28 62 75 74 74 6f 6e | 25 2c 69 63 6f 6e 25 29 |r(button|%,icon%)|
|00004be0| 0d 12 2a 0a c8 8e 20 b9 | 20 ca 0d 12 34 1f c9 20 |..*... .| ...4.. |
|00004bf0| 28 62 75 74 74 6f 6e 25 | 20 80 20 34 29 3d 34 20 |(button%| . 4)=4 |
|00004c00| 80 20 69 63 6f 6e 25 3d | 30 0d 12 3e 2a 20 20 f2 |. icon%=|0..>* .|
|00004c10| 73 61 76 65 66 69 6c 65 | 28 a4 69 63 6f 6e 5f 67 |savefile|(.icon_g|
|00004c20| 65 74 64 61 74 61 28 71 | 25 2c 78 66 65 72 25 2c |etdata(q|%,xfer%,|
|00004c30| 32 29 29 0d 12 48 1e 20 | 20 c8 99 20 22 57 69 6d |2))..H. | .. "Wim|
|00004c40| 70 5f 43 72 65 61 74 65 | 4d 65 6e 75 22 2c 2c 2d |p_Create|Menu",,-|
|00004c50| 31 0d 12 52 1f c9 20 28 | 62 75 74 74 6f 6e 25 20 |1..R.. (|button% |
|00004c60| 80 20 34 29 3d 34 20 80 | 20 69 63 6f 6e 25 3d 33 |. 4)=4 .| icon%=3|
|00004c70| 0d 12 5c 17 20 20 63 6c | 61 69 6d 64 72 61 67 24 |..\. cl|aimdrag$|
|00004c80| 3d 22 78 66 65 72 22 0d | 12 66 0f 20 20 21 71 25 |="xfer".|.f. !q%|
|00004c90| 3d 78 66 65 72 25 0d 12 | 70 22 20 20 c8 99 20 22 |=xfer%..|p" .. "|
|00004ca0| 57 69 6d 70 5f 47 65 74 | 57 69 6e 64 6f 77 53 74 |Wimp_Get|WindowSt|
|00004cb0| 61 74 65 22 2c 2c 71 25 | 0d 12 7a 14 20 20 77 65 |ate",,q%|..z. we|
|00004cc0| 78 3d 71 25 21 34 2d 71 | 25 21 32 30 0d 12 84 15 |x=q%!4-q|%!20....|
|00004cd0| 20 20 77 65 79 3d 71 25 | 21 31 36 2d 71 25 21 32 | wey=q%|!16-q%!2|
|00004ce0| 34 0d 12 8e 0c 20 20 71 | 25 21 34 3d 33 0d 12 98 |4.... q|%!4=3...|
|00004cf0| 20 20 20 c8 99 20 22 57 | 69 6d 70 5f 47 65 74 49 | .. "W|imp_GetI|
|00004d00| 63 6f 6e 53 74 61 74 65 | 22 2c 2c 71 25 0d 12 a2 |conState|",,q%...|
|00004d10| 16 20 20 21 71 25 3d 78 | 66 65 72 25 3a 71 25 21 |. !q%=x|fer%:q%!|
|00004d20| 34 3d 35 0d 12 ac 13 20 | 20 71 25 21 38 3d 71 25 |4=5.... | q%!8=q%|
|00004d30| 21 38 2b 77 65 78 0d 12 | b6 15 20 20 71 25 21 31 |!8+wex..|.. q%!1|
|00004d40| 32 3d 71 25 21 31 32 2b | 77 65 79 0d 12 c0 15 20 |2=q%!12+|wey.... |
|00004d50| 20 71 25 21 31 36 3d 71 | 25 21 31 36 2b 77 65 78 | q%!16=q|%!16+wex|
|00004d60| 0d 12 ca 15 20 20 71 25 | 21 32 30 3d 71 25 21 32 |.... q%|!20=q%!2|
|00004d70| 30 2b 77 65 79 0d 12 d4 | 15 20 20 71 25 21 32 34 |0+wey...|. q%!24|
|00004d80| 3d 30 3a 71 25 21 32 38 | 3d 30 0d 12 de 25 20 20 |=0:q%!28|=0...% |
|00004d90| 71 25 21 33 32 3d 26 37 | 46 46 46 46 46 46 46 3a |q%!32=&7|FFFFFFF:|
|00004da0| 71 25 21 33 36 3d 26 37 | 46 46 46 46 46 46 46 0d |q%!36=&7|FFFFFFF.|
|00004db0| 12 e8 1b 20 20 c8 99 20 | 22 57 69 6d 70 5f 44 72 |... .. |"Wimp_Dr|
|00004dc0| 61 67 42 6f 78 22 2c 2c | 71 25 0d 12 f2 05 cb 0d |agBox",,|q%......|
|00004dd0| 12 fc 05 e1 0d 13 06 04 | 0d 13 10 18 dd f2 64 6f |........|......do|
|00004de0| 5f 62 61 63 6b 67 72 6f | 75 6e 64 5f 74 61 73 6b |_backgro|und_task|
|00004df0| 0d 13 1a 05 e1 0d 13 24 | 04 0d 13 2e 1b dd f2 72 |.......$|.......r|
|00004e00| 65 64 72 61 77 77 69 6e | 64 6f 77 28 68 61 6e 64 |edrawwin|dow(hand|
|00004e10| 6c 65 25 29 0d 13 38 0b | ea 20 76 6f 69 64 25 0d |le%)..8.|. void%.|
|00004e20| 13 42 10 71 25 21 30 3d | 68 61 6e 64 6c 65 25 0d |.B.q%!0=|handle%.|
|00004e30| 13 4c 27 c8 99 20 22 57 | 69 6d 70 5f 52 65 64 72 |.L'.. "W|imp_Redr|
|00004e40| 61 77 57 69 6e 64 6f 77 | 22 2c 30 2c 71 25 20 b8 |awWindow|",0,q% .|
|00004e50| 20 6d 6f 72 65 25 0d 13 | 56 1c f2 6c 77 61 6f 72 | more%..|V..lwaor|
|00004e60| 69 67 69 6e 28 71 25 2b | 34 2c 78 30 25 2c 79 30 |igin(q%+|4,x0%,y0|
|00004e70| 25 29 0d 13 60 0c c8 95 | 20 6d 6f 72 65 25 0d 13 |%)..`...| more%..|
|00004e80| 6a 0e 20 20 f2 6e 65 77 | 76 61 6c 73 0d 13 74 12 |j. .new|vals..t.|
|00004e90| 20 20 c8 8e 20 68 61 6e | 64 6c 65 25 20 ca 0d 13 | .. han|dle% ...|
|00004ea0| 7e 07 20 20 cb 0d 13 88 | 29 20 20 c8 99 20 22 57 |~. ....|) .. "W|
|00004eb0| 69 6d 70 5f 47 65 74 52 | 65 63 74 61 6e 67 6c 65 |imp_GetR|ectangle|
|00004ec0| 22 2c 30 2c 71 25 20 b8 | 20 6d 6f 72 65 25 0d 13 |",0,q% .| more%..|
|00004ed0| 92 05 ce 0d 13 9c 05 e1 | 0d 13 a6 04 0d 13 b0 48 |........|.......H|
|00004ee0| f4 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |. This f|unction |
|00004ef0| 68 61 6e 64 6c 65 73 20 | 61 6e 79 20 73 70 65 63 |handles |any spec|
|00004f00| 69 61 6c 20 77 69 6e 64 | 6f 77 20 63 6c 6f 73 69 |ial wind|ow closi|
|00004f10| 6e 67 20 72 65 71 75 69 | 72 65 6d 65 6e 74 73 2e |ng requi|rements.|
|00004f20| 20 46 6f 72 0d 13 ba 4a | f4 20 74 68 65 20 27 6d | For...J|. the 'm|
|00004f30| 61 69 6e 77 27 20 77 69 | 6e 64 6f 77 20 69 74 20 |ainw' wi|ndow it |
|00004f40| 6a 75 73 74 20 73 65 74 | 73 20 74 68 65 20 6f 70 |just set|s the op|
|00004f50| 65 6e 25 20 66 6c 61 67 | 20 74 6f 20 46 41 4c 53 |en% flag| to FALS|
|00004f60| 45 20 77 68 69 63 68 20 | 61 6c 6c 6f 77 73 0d 13 |E which |allows..|
|00004f70| c4 49 f4 20 74 68 65 20 | 6d 61 69 6e 20 77 69 6e |.I. the |main win|
|00004f80| 64 6f 77 20 74 6f 20 62 | 65 20 63 6c 6f 73 65 64 |dow to b|e closed|
|00004f90| 20 61 6e 64 20 72 65 6f | 70 65 6e 65 64 20 62 79 | and reo|pened by|
|00004fa0| 20 63 6c 69 63 6b 69 6e | 67 20 73 65 6c 65 63 74 | clickin|g select|
|00004fb0| 20 6f 6e 20 74 68 65 0d | 13 ce 49 f4 20 69 63 6f | on the.|..I. ico|
|00004fc0| 6e 62 61 72 20 69 63 6f | 6e 2e 20 49 74 20 63 6f |nbar ico|n. It co|
|00004fd0| 75 6c 64 20 61 6c 73 6f | 20 6d 61 6b 65 20 77 69 |uld also| make wi|
|00004fe0| 6e 64 6f 77 73 20 72 65 | 66 75 73 65 20 74 6f 20 |ndows re|fuse to |
|00004ff0| 63 6c 6f 73 65 20 62 79 | 20 73 65 74 74 69 6e 67 |close by| setting|
|00005000| 0d 13 d8 1d f4 20 73 68 | 75 74 74 69 6e 67 25 20 |..... sh|utting% |
|00005010| 66 6c 61 67 20 74 6f 20 | 46 41 4c 53 45 0d 13 e2 |flag to |FALSE...|
|00005020| 04 0d 13 ec 19 dd a4 6f | 6b 74 6f 63 6c 6f 73 65 |.......o|ktoclose|
|00005030| 77 28 68 61 6e 64 6c 65 | 25 29 0d 13 f6 0f ea 20 |w(handle|%)..... |
|00005040| 73 68 75 74 74 69 6e 67 | 25 0d 14 00 0f 73 68 75 |shutting|%....shu|
|00005050| 74 74 69 6e 67 25 3d b9 | 0d 14 0a 1e e7 20 68 61 |tting%=.|..... ha|
|00005060| 6e 64 6c 65 25 3d 6d 61 | 69 6e 77 25 20 8c 20 6f |ndle%=ma|inw% . o|
|00005070| 70 65 6e 25 3d a3 0d 14 | 14 0e 3d 73 68 75 74 74 |pen%=...|..=shutt|
|00005080| 69 6e 67 25 0d 14 1e 04 | 0d 14 28 46 f4 20 54 68 |ing%....|..(F. Th|
|00005090| 65 20 6b 65 79 70 72 65 | 73 73 20 72 6f 75 74 69 |e keypre|ss routi|
|000050a0| 6e 65 20 69 73 20 6e 65 | 65 64 65 64 20 74 6f 20 |ne is ne|eded to |
|000050b0| 68 61 6e 64 6c 65 20 27 | 73 70 65 63 69 61 6c 27 |handle '|special'|
|000050c0| 20 6b 65 79 73 20 74 68 | 61 74 20 74 68 65 0d 14 | keys th|at the..|
|000050d0| 32 48 f4 20 57 49 4d 50 | 20 6d 61 6e 61 67 65 72 |2H. WIMP| manager|
|000050e0| 20 63 61 6e 6e 6f 74 20 | 70 72 6f 63 65 73 73 20 | cannot |process |
|000050f0| 69 74 73 65 6c 66 2e 20 | 54 68 65 73 65 20 69 6e |itself. |These in|
|00005100| 63 6c 75 64 65 20 74 68 | 65 20 3c 52 45 54 55 52 |clude th|e <RETUR|
|00005110| 4e 3e 20 61 6e 64 0d 14 | 3c 4a f4 20 75 70 20 61 |N> and..|<J. up a|
|00005120| 6e 64 20 64 6f 77 6e 20 | 63 75 72 73 6f 72 20 6b |nd down |cursor k|
|00005130| 65 79 73 20 77 68 69 63 | 68 20 61 72 65 20 75 73 |eys whic|h are us|
|00005140| 65 64 20 74 6f 20 6d 6f | 76 65 20 74 68 65 20 63 |ed to mo|ve the c|
|00005150| 61 72 65 74 20 74 6f 20 | 74 68 65 20 6e 65 78 74 |aret to |the next|
|00005160| 0d 14 46 46 f4 20 6f 72 | 20 70 72 65 76 69 6f 75 |..FF. or| previou|
|00005170| 73 20 77 72 69 74 65 61 | 62 6c 65 20 69 63 6f 6e |s writea|ble icon|
|00005180| 2e 20 53 69 6e 63 65 20 | 74 68 65 20 57 49 4d 50 |. Since |the WIMP|
|00005190| 20 6d 61 6e 61 67 65 72 | 20 64 6f 65 73 20 6e 6f | manager| does no|
|000051a0| 74 20 6b 6e 6f 77 0d 14 | 50 44 f4 20 74 68 65 20 |t know..|PD. the |
|000051b0| 6f 72 64 65 72 20 69 6e | 20 77 68 69 63 68 20 79 |order in| which y|
|000051c0| 6f 75 20 73 70 65 63 69 | 66 69 65 64 20 74 68 65 |ou speci|fied the|
|000051d0| 20 69 63 6f 6e 73 20 69 | 74 20 6e 65 65 64 73 20 | icons i|t needs |
|000051e0| 73 6f 6d 65 20 68 65 6c | 70 21 0d 14 5a 49 f4 20 |some hel|p!..ZI. |
|000051f0| 59 6f 75 20 63 61 6e 20 | 6d 61 6b 65 20 74 68 69 |You can |make thi|
|00005200| 6e 67 73 20 65 61 73 69 | 65 72 20 66 6f 72 20 79 |ngs easi|er for y|
|00005210| 6f 75 72 73 65 6c 66 20 | 69 66 20 79 6f 75 20 64 |ourself |if you d|
|00005220| 65 66 69 6e 65 20 74 68 | 65 20 77 72 69 74 65 61 |efine th|e writea|
|00005230| 62 6c 65 0d 14 64 47 f4 | 20 69 63 6f 6e 73 20 69 |ble..dG.| icons i|
|00005240| 6e 20 21 46 6f 72 6d 45 | 64 20 73 6f 20 74 68 61 |n !FormE|d so tha|
|00005250| 74 20 74 68 65 79 20 66 | 6f 72 6d 20 61 20 63 6f |t they f|orm a co|
|00005260| 6e 74 69 6e 75 6f 75 73 | 20 62 6c 6f 63 6b 20 28 |ntinuous| block (|
|00005270| 69 2e 65 2e 20 31 31 2d | 31 35 0d 14 6e 4b f4 20 |i.e. 11-|15..nK. |
|00005280| 69 6e 20 27 6d 61 69 6e | 77 27 20 69 6e 20 74 68 |in 'main|w' in th|
|00005290| 69 73 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 29 2e |is appli|cation).|
|000052a0| 20 41 6c 6c 20 77 69 6e | 64 6f 77 73 20 72 65 71 | All win|dows req|
|000052b0| 75 69 72 69 6e 67 20 73 | 70 65 63 69 61 6c 20 63 |uiring s|pecial c|
|000052c0| 75 72 73 6f 72 0d 14 78 | 45 f4 20 6d 6f 76 65 6d |ursor..x|E. movem|
|000052d0| 65 6e 74 73 20 2d 20 61 | 6e 79 20 77 69 74 68 20 |ents - a|ny with |
|000052e0| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 77 72 |more tha|n one wr|
|000052f0| 69 74 65 61 62 6c 65 20 | 69 63 6f 6e 20 2d 20 77 |iteable |icon - w|
|00005300| 69 6c 6c 20 6e 65 65 64 | 20 61 0d 14 82 4b f4 20 |ill need| a...K. |
|00005310| 44 45 46 50 52 4f 43 6b | 65 79 70 72 65 73 73 5f |DEFPROCk|eypress_|
|00005320| 78 78 78 78 20 72 6f 75 | 74 69 6e 65 20 68 65 72 |xxxx rou|tine her|
|00005330| 65 2e 20 48 61 76 69 6e | 67 20 61 20 73 65 70 61 |e. Havin|g a sepa|
|00005340| 72 61 74 65 20 72 6f 75 | 74 69 6e 65 20 66 6f 72 |rate rou|tine for|
|00005350| 20 65 61 63 68 0d 14 8c | 41 f4 20 77 69 6e 64 6f | each...|A. windo|
|00005360| 77 20 6d 61 6b 65 73 20 | 74 68 69 6e 67 73 20 61 |w makes |things a|
|00005370| 20 62 69 74 20 65 61 73 | 69 65 72 20 77 68 65 6e | bit eas|ier when|
|00005380| 20 61 6c 74 65 72 69 6e | 67 20 74 68 65 20 70 72 | alterin|g the pr|
|00005390| 6f 67 72 61 6d 2e 0d 14 | 96 04 0d 14 a0 0e dd f2 |ogram...|........|
|000053a0| 6b 65 79 70 72 65 73 73 | 0d 14 aa 09 ea 20 69 63 |keypress|..... ic|
|000053b0| 25 0d 14 b4 10 e7 20 71 | 25 21 34 3c 3e 2d 31 20 |%..... q|%!4<>-1 |
|000053c0| 8c 0d 14 be 29 20 20 c8 | 99 20 22 57 69 6d 70 5f |....) .|. "Wimp_|
|000053d0| 47 65 74 43 61 72 65 74 | 50 6f 73 69 74 69 6f 6e |GetCaret|Position|
|000053e0| 22 2c 2c 6d 73 67 62 6c | 6b 25 0d 14 c8 13 20 20 |",,msgbl|k%.... |
|000053f0| 69 63 25 3d 6d 73 67 62 | 6c 6b 25 21 34 0d 14 d2 |ic%=msgb|lk%!4...|
|00005400| 10 20 20 c8 8e 20 71 25 | 21 32 34 20 ca 0d 14 dc |. .. q%|!24 ....|
|00005410| 27 20 20 20 20 c9 20 32 | 37 20 8c 20 c8 99 20 22 |' . 2|7 . .. "|
|00005420| 57 69 6d 70 5f 43 72 65 | 61 74 65 4d 65 6e 75 22 |Wimp_Cre|ateMenu"|
|00005430| 2c 2c 2d 31 0d 14 e6 07 | 20 20 7f 0d 14 f0 11 20 |,,-1....| ..... |
|00005440| 20 20 20 c8 8e 20 71 25 | 21 30 20 ca 0d 14 fa 2f | .. q%|!0 ..../|
|00005450| 20 20 20 20 20 20 c9 20 | 6d 61 69 6e 77 25 20 20 | . |mainw% |
|00005460| 3a f2 6b 65 79 70 72 65 | 73 73 5f 6d 61 69 6e 77 |:.keypre|ss_mainw|
|00005470| 28 69 63 25 2c 71 25 21 | 32 34 29 0d 15 04 09 20 |(ic%,q%!|24).... |
|00005480| 20 20 20 cb 0d 15 0e 07 | 20 20 cb 0d 15 18 05 cd | .....| ......|
|00005490| 0d 15 22 05 e1 0d 15 2c | 04 0d 15 36 20 dd f2 6b |.."....,|...6 ..k|
|000054a0| 65 79 70 72 65 73 73 5f | 6d 61 69 6e 77 28 69 63 |eypress_|mainw(ic|
|000054b0| 6f 6e 25 2c 6b 65 79 25 | 29 0d 15 40 0d c8 8e 20 |on%,key%|)..@... |
|000054c0| 6b 65 79 25 20 ca 0d 15 | 4a 17 20 20 c9 20 31 33 |key% ...|J. . 13|
|000054d0| 20 20 3a f4 20 3c 52 45 | 54 55 52 4e 3e 0d 15 54 | :. <RE|TURN>..T|
|000054e0| 24 20 20 69 63 6f 6e 25 | 2b 3d 31 3a e7 20 69 63 |$ icon%|+=1:. ic|
|000054f0| 6f 6e 25 3e 31 35 20 8c | 20 69 63 6f 6e 25 3d 31 |on%>15 .| icon%=1|
|00005500| 31 0d 15 5e 1b 20 20 c9 | 20 26 31 38 45 20 3a f4 |1..^. .| &18E :.|
|00005510| 20 63 75 72 73 6f 72 20 | 64 6f 77 6e 0d 15 68 24 | cursor |down..h$|
|00005520| 20 20 69 63 6f 6e 25 2b | 3d 31 3a e7 20 69 63 6f | icon%+|=1:. ico|
|00005530| 6e 25 3e 31 35 20 8c 20 | 69 63 6f 6e 25 3d 31 31 |n%>15 . |icon%=11|
|00005540| 0d 15 72 19 20 20 c9 20 | 26 31 38 46 20 3a f4 20 |..r. . |&18F :. |
|00005550| 63 75 72 73 6f 72 20 75 | 70 0d 15 7c 24 20 20 69 |cursor u|p..|$ i|
|00005560| 63 6f 6e 25 2d 3d 31 3a | e7 20 69 63 6f 6e 25 3c |con%-=1:|. icon%<|
|00005570| 31 31 20 8c 20 69 63 6f | 6e 25 3d 31 35 0d 15 81 |11 . ico|n%=15...|
|00005580| 25 20 20 7f 20 3a 20 c8 | 99 20 22 57 69 6d 70 5f |% . : .|. "Wimp_|
|00005590| 50 72 6f 63 65 73 73 4b | 65 79 22 2c 2c 71 25 21 |ProcessK|ey",,q%!|
|000055a0| 32 34 0d 15 86 05 cb 0d | 15 90 4f f2 63 61 72 65 |24......|..O.care|
|000055b0| 74 5f 73 65 74 70 6f 73 | 69 74 69 6f 6e 28 6d 61 |t_setpos|ition(ma|
|000055c0| 69 6e 77 25 2c 69 63 6f | 6e 25 2c 2d 31 2c 2d 31 |inw%,ico|n%,-1,-1|
|000055d0| 2c 2d 31 2c a9 28 a4 69 | 63 6f 6e 5f 67 65 74 64 |,-1,.(.i|con_getd|
|000055e0| 61 74 61 28 71 25 2c 6d | 61 69 6e 77 25 2c 69 63 |ata(q%,m|ainw%,ic|
|000055f0| 6f 6e 25 29 29 29 0d 15 | 9a 05 e1 0d 15 a4 04 0d |on%)))..|........|
|00005600| 15 ae 48 f4 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |..H. The| followi|
|00005610| 6e 67 20 72 6f 75 74 69 | 6e 65 73 20 68 61 6e 64 |ng routi|nes hand|
|00005620| 6c 65 20 6d 65 6e 75 20 | 73 65 6c 65 63 74 69 6f |le menu |selectio|
|00005630| 6e 73 2e 20 53 6f 6d 65 | 20 6f 66 20 74 68 65 20 |ns. Some| of the |
|00005640| 6f 70 74 69 6f 6e 73 0d | 15 b8 49 f4 20 28 69 2e |options.|..I. (i.|
|00005650| 65 2e 20 74 68 65 20 66 | 69 72 73 74 20 74 68 72 |e. the f|irst thr|
|00005660| 65 65 29 20 64 6f 20 6e | 6f 74 20 72 65 71 75 69 |ee) do n|ot requi|
|00005670| 72 65 20 61 6e 79 20 63 | 6f 64 65 20 62 65 63 61 |re any c|ode beca|
|00005680| 75 73 65 20 74 68 65 79 | 20 6c 65 61 64 20 74 6f |use they| lead to|
|00005690| 0d 15 c2 39 f4 20 64 69 | 61 6c 6f 67 20 62 6f 78 |...9. di|alog box|
|000056a0| 65 73 20 77 68 69 63 68 | 20 61 72 65 20 68 61 6e |es which| are han|
|000056b0| 64 6c 65 64 20 62 79 20 | 74 68 65 20 57 49 4d 50 |dled by |the WIMP|
|000056c0| 20 6d 61 6e 61 67 65 72 | 2e 0d 15 cc 44 f4 20 45 | manager|....D. E|
|000056d0| 61 63 68 20 6d 65 6e 75 | 20 77 69 6c 6c 20 72 65 |ach menu| will re|
|000056e0| 71 75 69 72 65 20 61 20 | 72 6f 75 74 69 6e 65 20 |quire a |routine |
|000056f0| 63 61 6c 6c 65 64 20 46 | 4e 6d 65 6e 75 73 65 6c |called F|Nmenusel|
|00005700| 65 63 74 5f 78 78 78 78 | 20 68 65 72 65 0d 15 d6 |ect_xxxx| here...|
|00005710| 04 0d 15 e0 15 dd a4 6d | 65 6e 75 73 65 6c 65 63 |.......m|enuselec|
|00005720| 74 5f 6d 61 69 6e 0d 15 | ea 1b ea 20 6c 65 76 65 |t_main..|... leve|
|00005730| 6c 30 2c 6c 65 76 65 6c | 31 2c 62 75 74 74 6f 6e |l0,level|1,button|
|00005740| 25 0d 15 f4 0f 6c 65 76 | 65 6c 30 3d 71 25 21 30 |%....lev|el0=q%!0|
|00005750| 0d 15 fe 0f 6c 65 76 65 | 6c 31 3d 71 25 21 34 0d |....leve|l1=q%!4.|
|00005760| 16 08 48 c8 99 20 22 57 | 69 6d 70 5f 47 65 74 50 |..H.. "W|imp_GetP|
|00005770| 6f 69 6e 74 65 72 49 6e | 66 6f 22 2c 2c 71 25 20 |ointerIn|fo",,q% |
|00005780| 3a f4 20 72 65 74 72 69 | 65 76 65 20 6d 6f 75 73 |:. retri|eve mous|
|00005790| 65 20 62 75 74 74 6f 6e | 20 73 74 61 74 65 20 77 |e button| state w|
|000057a0| 68 69 63 68 20 69 73 0d | 16 12 49 62 75 74 74 6f |hich is.|..Ibutto|
|000057b0| 6e 25 3d 71 25 21 38 20 | 20 20 20 20 20 20 20 20 |n%=q%!8 | |
|000057c0| 20 20 20 20 20 20 20 20 | 20 3a f4 20 6e 65 65 64 | | :. need|
|000057d0| 65 64 20 74 6f 20 63 68 | 65 63 6b 20 69 66 20 27 |ed to ch|eck if '|
|000057e0| 61 64 6a 75 73 74 27 20 | 77 61 73 20 75 73 65 64 |adjust' |was used|
|000057f0| 0d 16 1c 0f c8 8e 20 6c | 65 76 65 6c 30 20 ca 0d |...... l|evel0 ..|
|00005800| 16 26 21 20 20 c9 20 30 | 20 20 3a 20 f4 20 3d 3d |.&! . 0| : . ==|
|00005810| 3d 3d 20 49 6e 66 6f 20 | 20 20 20 20 20 3d 3d 3d |== Info | ===|
|00005820| 0d 16 30 21 20 20 c9 20 | 31 20 20 3a 20 f4 20 3d |..0! . |1 : . =|
|00005830| 3d 3d 3d 20 46 69 6c 65 | 73 20 20 20 20 20 3d 3d |=== File|s ==|
|00005840| 3d 0d 16 3a 21 20 20 c9 | 20 32 20 20 3a 20 f4 20 |=..:! .| 2 : . |
|00005850| 3d 3d 3d 3d 20 53 61 76 | 65 20 20 20 20 20 20 3d |==== Sav|e =|
|00005860| 3d 3d 0d 16 44 21 20 20 | c9 20 33 20 20 3a 20 f4 |==..D! |. 3 : .|
|00005870| 20 3d 3d 3d 3d 20 53 65 | 61 72 63 68 20 20 20 20 | ==== Se|arch |
|00005880| 3d 3d 3d 0d 16 4e 21 20 | 20 c9 20 34 20 20 3a 20 |===..N! | . 4 : |
|00005890| f4 20 3d 3d 3d 3d 20 53 | 75 62 2d 4d 65 6e 75 20 |. ==== S|ub-Menu |
|000058a0| 20 3d 3d 3d 0d 16 58 13 | 20 20 20 20 c8 8e 20 6c | ===..X.| .. l|
|000058b0| 65 76 65 6c 31 20 ca 0d | 16 62 0d 20 20 20 20 20 |evel1 ..|.b. |
|000058c0| 20 c9 20 30 0d 16 6c 13 | 20 20 20 20 20 20 20 20 | . 0..l.| |
|000058d0| 74 69 63 6b 25 3d b9 0d | 16 76 0d 20 20 20 20 20 |tick%=..|.v. |
|000058e0| 20 c9 20 31 0d 16 80 13 | 20 20 20 20 20 20 20 20 | . 1....| |
|000058f0| 74 69 63 6b 25 3d a3 0d | 16 8a 0d 20 20 20 20 20 |tick%=..|... |
|00005900| 20 c9 20 32 0d 16 94 15 | 20 20 20 20 20 20 20 20 | . 2....| |
|00005910| 73 68 61 64 65 64 25 3d | b9 0d 16 9e 0d 20 20 20 |shaded%=|..... |
|00005920| 20 20 20 c9 20 33 0d 16 | a8 15 20 20 20 20 20 20 | . 3..|.. |
|00005930| 20 20 73 68 61 64 65 64 | 25 3d a3 0d 16 b2 09 20 | shaded|%=..... |
|00005940| 20 20 20 cb 0d 16 bc 21 | 20 20 c9 20 35 20 20 3a | ....!| . 5 :|
|00005950| 20 f4 20 3d 3d 3d 3d 20 | 57 72 69 74 65 61 62 6c | . ==== |Writeabl|
|00005960| 65 20 3d 3d 3d 0d 16 c6 | 05 cb 0d 16 d0 3d e7 20 |e ===...|.....=. |
|00005970| 62 75 74 74 6f 6e 25 3d | 31 20 8c 20 f2 6d 65 6e |button%=|1 . .men|
|00005980| 75 5f 6d 61 69 6e 20 3a | f4 20 61 64 6a 75 73 74 |u_main :|. adjust|
|00005990| 20 62 75 74 74 6f 6e 20 | 75 73 65 64 2c 20 73 6f | button |used, so|
|000059a0| 20 72 65 6f 70 65 6e 0d | 16 da 2b 20 20 20 20 20 | reopen.|..+ |
|000059b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059c0| 20 20 20 20 20 20 20 20 | 20 20 20 3a f4 20 6d 65 | | :. me|
|000059d0| 6e 75 0d 16 e4 06 3d 30 | 0d 16 ee 04 0d 16 f8 4c |nu....=0|.......L|
|000059e0| f4 20 48 61 6e 64 6c 65 | 73 20 6d 65 6e 75 20 63 |. Handle|s menu c|
|000059f0| 6c 69 63 6b 73 20 6f 6e | 20 74 68 65 20 69 63 6f |licks on| the ico|
|00005a00| 6e 62 61 72 20 69 63 6f | 6e 2e 20 49 6e 20 74 68 |nbar ico|n. In th|
|00005a10| 69 73 20 63 61 73 65 20 | 73 65 6c 65 63 74 69 6e |is case |selectin|
|00005a20| 67 20 6f 70 74 69 6f 6e | 0d 17 02 4c f4 20 31 20 |g option|...L. 1 |
|00005a30| 28 51 75 69 74 29 20 63 | 68 65 63 6b 73 20 74 6f |(Quit) c|hecks to|
|00005a40| 20 73 65 65 20 69 66 20 | 75 6e 73 61 76 65 64 20 | see if |unsaved |
|00005a50| 64 61 74 61 20 65 78 69 | 73 74 73 20 2d 20 69 66 |data exi|sts - if|
|00005a60| 20 69 74 20 64 6f 65 73 | 20 74 68 65 20 27 71 75 | it does| the 'qu|
|00005a70| 65 72 79 27 0d 17 0c 4a | f4 20 77 69 6e 64 6f 77 |ery'...J|. window|
|00005a80| 20 69 73 20 6f 70 65 6e | 65 64 20 74 6f 20 61 73 | is open|ed to as|
|00005a90| 6b 20 61 20 71 75 65 73 | 74 69 6f 6e 2e 20 4f 70 |k a ques|tion. Op|
|00005aa0| 74 69 6f 6e 20 30 20 69 | 73 20 27 49 6e 66 6f 27 |tion 0 i|s 'Info'|
|00005ab0| 20 28 77 68 69 63 68 20 | 73 68 6f 75 6c 64 0d 17 | (which |should..|
|00005ac0| 16 48 f4 20 61 6c 77 61 | 79 73 20 62 65 20 74 68 |.H. alwa|ys be th|
|00005ad0| 65 20 66 69 72 73 74 20 | 65 6e 74 72 79 20 69 6e |e first |entry in|
|00005ae0| 20 74 68 69 73 20 6d 65 | 6e 75 29 20 61 6e 64 20 | this me|nu) and |
|00005af0| 74 68 69 73 20 69 73 20 | 68 61 6e 64 6c 65 64 20 |this is |handled |
|00005b00| 62 79 20 74 68 65 0d 17 | 20 2e f4 20 57 49 4d 50 |by the..| .. WIMP|
|00005b10| 20 6d 61 6e 61 67 65 72 | 20 73 6f 20 6e 6f 20 63 | manager| so no c|
|00005b20| 6f 64 65 20 69 73 20 72 | 65 71 75 69 72 65 64 20 |ode is r|equired |
|00005b30| 68 65 72 65 0d 17 2a 04 | 0d 17 34 16 dd a4 6d 65 |here..*.|..4...me|
|00005b40| 6e 75 73 65 6c 65 63 74 | 5f 73 69 63 6f 6e 0d 17 |nuselect|_sicon..|
|00005b50| 3e 0c ea 20 6c 65 76 65 | 6c 30 0d 17 48 0f 6c 65 |>.. leve|l0..H.le|
|00005b60| 76 65 6c 30 3d 71 25 21 | 30 0d 17 52 0f c8 8e 20 |vel0=q%!|0..R... |
|00005b70| 6c 65 76 65 6c 30 20 ca | 0d 17 5c 09 20 20 c9 20 |level0 .|..\. . |
|00005b80| 30 0d 17 66 09 20 20 c9 | 20 31 0d 17 70 14 20 20 |0..f. .| 1..p. |
|00005b90| 20 20 e7 20 63 68 61 6e | 67 65 64 25 20 8c 0d 17 | . chan|ged% ...|
|00005ba0| 7a 20 20 20 20 20 20 20 | 63 6c 61 69 6d 71 75 65 |z |claimque|
|00005bb0| 72 79 24 3d 22 71 75 69 | 74 70 72 6f 67 22 0d 17 |ry$="qui|tprog"..|
|00005bc0| 84 34 20 20 20 20 20 20 | f4 20 66 69 72 73 74 20 |.4 |. first |
|00005bd0| 70 75 74 20 74 68 65 20 | 74 65 78 74 20 69 6e 74 |put the |text int|
|00005be0| 6f 20 74 68 65 20 71 75 | 65 72 79 20 77 69 6e 64 |o the qu|ery wind|
|00005bf0| 6f 77 0d 17 8e 76 20 20 | 20 20 20 20 f2 69 63 6f |ow...v | .ico|
|00005c00| 6e 5f 70 75 74 64 61 74 | 61 28 71 25 2c 71 75 65 |n_putdat|a(q%,que|
|00005c10| 72 79 25 2c 31 2c 22 54 | 68 65 20 64 61 74 61 20 |ry%,1,"T|he data |
|00005c20| 68 61 73 20 62 65 65 6e | 20 65 64 69 74 65 64 20 |has been| edited |
|00005c30| 62 75 74 20 6e 6f 74 20 | 73 61 76 65 64 2e 20 44 |but not |saved. D|
|00005c40| 6f 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 73 61 |o you wa|nt to sa|
|00005c50| 76 65 20 74 68 65 20 72 | 65 76 69 73 65 64 20 66 |ve the r|evised f|
|00005c60| 69 6c 65 3f 22 2c 30 29 | 0d 17 98 37 20 20 20 20 |ile?",0)|...7 |
|00005c70| 20 20 f2 6f 70 65 6e 77 | 69 6e 64 6f 77 28 71 75 | .openw|indow(qu|
|00005c80| 65 72 79 25 2c a3 2c 2d | 31 29 20 3a f4 20 6f 70 |ery%,.,-|1) :. op|
|00005c90| 65 6e 20 71 75 65 72 79 | 20 77 69 6e 64 6f 77 0d |en query| window.|
|00005ca0| 17 a2 48 20 20 20 20 20 | 20 f2 6d 6f 75 73 65 5f |..H | .mouse_|
|00005cb0| 6c 69 6d 69 74 28 71 25 | 2c 71 75 65 72 79 25 29 |limit(q%|,query%)|
|00005cc0| 20 20 20 20 20 20 3a f4 | 20 73 74 6f 70 20 74 68 | :.| stop th|
|00005cd0| 65 20 6d 6f 75 73 65 20 | 77 61 6e 64 65 72 69 6e |e mouse |wanderin|
|00005ce0| 67 20 61 62 6f 75 74 0d | 17 ac 48 20 20 20 20 20 |g about.|..H |
|00005cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d10| 20 3a f4 20 75 6e 74 69 | 6c 20 74 68 65 20 71 75 | :. unti|l the qu|
|00005d20| 65 73 74 69 6f 6e 20 68 | 61 73 20 62 65 65 6e 0d |estion h|as been.|
|00005d30| 17 b6 35 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..5 | |
|00005d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d50| 20 20 20 20 20 20 20 20 | 20 3a f4 20 61 6e 73 77 | | :. answ|
|00005d60| 65 72 65 64 0d 17 c0 09 | 20 20 20 20 cc 0d 17 ca |ered....| ....|
|00005d70| 15 20 20 20 20 20 20 63 | 6c 6f 73 65 64 6f 77 6e |. c|losedown|
|00005d80| 3d b9 0d 17 d4 09 20 20 | 20 20 cd 0d 17 de 05 cb |=..... | ......|
|00005d90| 0d 17 e8 06 3d 30 0d 17 | f2 04 0d 17 fc 48 f4 20 |....=0..|.....H. |
|00005da0| 54 68 65 20 6d 65 6e 75 | 20 74 65 78 74 20 61 6e |The menu| text an|
|00005db0| 64 20 63 68 61 72 61 63 | 74 65 72 69 73 74 69 63 |d charac|teristic|
|00005dc0| 73 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 68 65 |s are de|fined he|
|00005dd0| 72 65 2e 20 45 61 63 68 | 20 6d 65 6e 75 20 77 69 |re. Each| menu wi|
|00005de0| 6c 6c 0d 18 06 4c f4 20 | 6e 65 65 64 20 61 20 72 |ll...L. |need a r|
|00005df0| 6f 75 74 69 6e 65 20 63 | 61 6c 6c 65 64 20 50 52 |outine c|alled PR|
|00005e00| 4f 43 6d 65 6e 75 5f 78 | 78 78 78 2e 20 4e 6f 74 |OCmenu_x|xxx. Not|
|00005e10| 65 20 74 68 61 74 20 74 | 68 65 20 66 69 72 73 74 |e that t|he first|
|00005e20| 20 74 68 72 65 65 20 6f | 70 74 69 6f 6e 73 0d 18 | three o|ptions..|
|00005e30| 10 4a f4 20 73 68 6f 77 | 20 68 6f 77 20 74 6f 20 |.J. show| how to |
|00005e40| 6f 70 65 6e 20 61 20 64 | 69 61 6c 6f 67 20 62 6f |open a d|ialog bo|
|00005e50| 78 20 69 6e 20 61 20 6d | 65 6e 75 20 2d 20 74 68 |x in a m|enu - th|
|00005e60| 65 20 6c 61 73 74 20 62 | 75 74 20 6f 6e 65 20 70 |e last b|ut one p|
|00005e70| 61 72 61 6d 65 74 65 72 | 0d 18 1a 1b f4 20 69 73 |arameter|..... is|
|00005e80| 20 74 68 65 20 77 69 6e | 64 6f 77 20 68 61 6e 64 | the win|dow hand|
|00005e90| 6c 65 2e 0d 18 24 43 f4 | 20 54 68 65 20 70 61 72 |le...$C.| The par|
|00005ea0| 61 6d 65 74 65 72 73 20 | 70 61 73 73 65 64 20 74 |ameters |passed t|
|00005eb0| 6f 20 50 52 4f 43 64 65 | 66 69 6e 65 5f 6d 65 6e |o PROCde|fine_men|
|00005ec0| 75 5f 74 65 78 74 20 61 | 72 65 20 61 73 20 66 6f |u_text a|re as fo|
|00005ed0| 6c 6c 6f 77 73 3a 0d 18 | 2e 4a f4 20 20 20 54 68 |llows:..|.J. Th|
|00005ee0| 65 20 73 74 72 69 6e 67 | 20 66 6f 72 20 74 68 65 |e string| for the|
|00005ef0| 20 6d 65 6e 75 20 74 65 | 78 74 20 2d 20 6e 6f 74 | menu te|xt - not|
|00005f00| 65 20 74 68 65 20 73 70 | 65 63 69 61 6c 20 66 6f |e the sp|ecial fo|
|00005f10| 72 6d 20 72 65 71 75 69 | 72 65 64 20 77 68 65 6e |rm requi|red when|
|00005f20| 0d 18 38 46 f4 20 20 20 | 75 73 69 6e 67 20 69 6e |..8F. |using in|
|00005f30| 64 69 72 65 63 74 65 64 | 20 6f 72 20 77 72 69 74 |directed| or writ|
|00005f40| 65 61 62 6c 65 20 74 65 | 78 74 20 62 75 74 20 70 |eable te|xt but p|
|00005f50| 72 6f 67 72 61 6d 20 63 | 72 75 6e 63 68 65 72 73 |rogram c|runchers|
|00005f60| 20 77 68 69 63 68 0d 18 | 42 49 f4 20 20 20 72 65 | which..|BI. re|
|00005f70| 61 6c 6c 6f 63 61 74 65 | 20 73 68 6f 72 74 65 72 |allocate| shorter|
|00005f80| 20 76 61 72 69 61 62 6c | 65 20 6e 61 6d 65 73 20 | variabl|e names |
|00005f90| 77 69 6c 6c 20 6e 6f 74 | 20 63 6f 70 65 20 77 69 |will not| cope wi|
|00005fa0| 74 68 20 74 68 69 73 21 | 20 49 66 20 79 6f 75 0d |th this!| If you.|
|00005fb0| 18 4c 45 f4 20 20 20 77 | 61 6e 74 20 74 6f 20 75 |.LE. w|ant to u|
|00005fc0| 73 65 20 73 75 63 68 20 | 61 20 63 72 75 6e 63 68 |se such |a crunch|
|00005fd0| 65 72 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |er you w|ill need|
|00005fe0| 20 74 6f 20 64 69 73 63 | 6f 76 65 72 20 74 68 65 | to disc|over the|
|00005ff0| 20 6e 65 77 0d 18 56 46 | f4 20 20 20 76 61 72 69 | new..VF|. vari|
|00006000| 61 62 6c 65 20 6e 61 6d | 65 20 61 6e 64 20 73 75 |able nam|e and su|
|00006010| 62 73 74 69 74 75 74 65 | 20 69 74 20 79 6f 75 72 |bstitute| it your|
|00006020| 73 65 6c 66 20 69 6e 20 | 74 68 69 73 20 72 6f 75 |self in |this rou|
|00006030| 74 69 6e 65 20 61 66 74 | 65 72 0d 18 60 11 f4 20 |tine aft|er..`.. |
|00006040| 20 20 63 72 75 6e 63 68 | 69 6e 67 0d 18 6a 37 f4 | crunch|ing..j7.|
|00006050| 20 20 20 54 68 65 20 6e | 75 6d 62 65 72 20 6f 66 | The n|umber of|
|00006060| 20 74 68 65 20 6d 65 6e | 75 20 69 74 65 6d 20 2d | the men|u item -|
|00006070| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 73 | automat|ically s|
|00006080| 65 74 0d 18 74 3a f4 20 | 20 20 54 68 65 20 27 77 |et..t:. | The 'w|
|00006090| 72 69 74 65 61 62 6c 65 | 27 20 66 6c 61 67 20 54 |riteable|' flag T|
|000060a0| 52 55 45 20 69 66 20 74 | 68 65 20 69 74 65 6d 20 |RUE if t|he item |
|000060b0| 69 73 20 77 72 69 74 65 | 61 62 6c 65 0d 18 7e 37 |is write|able..~7|
|000060c0| f4 20 20 20 54 68 65 20 | 27 74 69 63 6b 27 20 66 |. The |'tick' f|
|000060d0| 6c 61 67 20 20 20 20 20 | 20 54 52 55 45 20 69 66 |lag | TRUE if|
|000060e0| 20 74 68 65 20 69 74 65 | 6d 20 69 73 20 74 69 63 | the ite|m is tic|
|000060f0| 6b 65 64 0d 18 88 48 f4 | 20 20 20 54 68 65 20 27 |ked...H.| The '|
|00006100| 64 6f 74 74 65 64 27 20 | 66 6c 61 67 20 20 20 20 |dotted' |flag |
|00006110| 54 52 55 45 20 69 66 20 | 74 68 65 20 69 74 65 6d |TRUE if |the item|
|00006120| 20 68 61 73 20 61 20 64 | 6f 74 74 65 64 20 6c 69 | has a d|otted li|
|00006130| 6e 65 20 75 6e 64 65 72 | 20 69 74 0d 18 92 37 f4 |ne under| it...7.|
|00006140| 20 20 20 54 68 65 20 27 | 73 68 61 64 65 64 27 20 | The '|shaded' |
|00006150| 66 6c 61 67 20 20 20 20 | 54 52 55 45 20 69 66 20 |flag |TRUE if |
|00006160| 74 68 65 20 69 74 65 6d | 20 69 73 20 73 68 61 64 |the item| is shad|
|00006170| 65 64 0d 18 9c 47 f4 20 | 20 20 54 68 65 20 6d 65 |ed...G. | The me|
|00006180| 6e 75 20 69 74 65 6d 20 | 66 6c 61 67 20 20 20 55 |nu item |flag U|
|00006190| 73 65 20 26 31 30 30 32 | 31 20 66 6f 72 20 6e 6f |se &1002|1 for no|
|000061a0| 72 6d 61 6c 20 69 74 65 | 6d 73 2c 20 6f 72 20 26 |rmal ite|ms, or &|
|000061b0| 31 30 31 32 31 20 66 6f | 72 0d 18 a6 47 f4 20 20 |10121 fo|r...G. |
|000061c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061d0| 20 20 20 20 20 20 69 6e | 64 69 72 65 63 74 65 64 | in|directed|
|000061e0| 20 61 6e 64 20 77 72 69 | 74 65 61 62 6c 65 20 69 | and wri|teable i|
|000061f0| 74 65 6d 73 2e 20 49 6e | 64 69 72 65 63 74 65 64 |tems. In|directed|
|00006200| 0d 18 b0 4a f4 20 20 20 | 20 20 20 20 20 20 20 20 |...J. | |
|00006210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 74 65 | | ite|
|00006220| 6d 73 20 61 72 65 20 6e | 65 65 64 65 64 20 77 68 |ms are n|eeded wh|
|00006230| 65 6e 20 6d 6f 72 65 20 | 74 68 61 6e 20 31 31 20 |en more |than 11 |
|00006240| 63 68 61 72 61 63 74 65 | 72 73 0d 18 ba 38 f4 20 |characte|rs...8. |
|00006250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006260| 20 20 20 20 20 20 20 61 | 72 65 20 6e 65 65 64 65 | a|re neede|
|00006270| 64 20 69 6e 20 74 68 65 | 20 6d 65 6e 75 20 69 74 |d in the| menu it|
|00006280| 65 6d 0d 18 c4 4a f4 20 | 20 20 54 68 65 20 73 75 |em...J. | The su|
|00006290| 62 2d 6d 65 6e 75 20 6e | 75 6d 62 65 72 20 20 43 |b-menu n|umber C|
|000062a0| 61 6e 20 62 65 20 30 20 | 66 6f 72 20 6e 6f 20 73 |an be 0 |for no s|
|000062b0| 75 62 6d 65 6e 75 2c 20 | 31 2d 39 39 20 6d 65 61 |ubmenu, |1-99 mea|
|000062c0| 6e 73 20 61 20 73 75 62 | 6d 65 6e 75 0d 18 ce 49 |ns a sub|menu...I|
|000062d0| f4 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000062e0| 20 20 20 20 20 20 20 20 | 20 6e 75 6d 62 65 72 2c | | number,|
|000062f0| 20 61 6e 79 74 68 69 6e | 67 20 65 6c 73 65 20 69 | anythin|g else i|
|00006300| 73 20 74 72 65 61 74 65 | 64 20 61 73 20 61 20 77 |s treate|d as a w|
|00006310| 69 6e 64 6f 77 0d 18 d8 | 34 f4 20 20 20 20 20 20 |indow...|4. |
|00006320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006330| 20 20 68 61 6e 64 6c 65 | 20 66 6f 72 20 61 20 64 | handle| for a d|
|00006340| 69 61 6c 6f 67 20 62 6f | 78 0d 18 e2 47 f4 20 20 |ialog bo|x...G. |
|00006350| 20 54 68 65 20 27 6c 61 | 73 74 27 20 66 6c 61 67 | The 'la|st' flag|
|00006360| 20 20 20 20 20 20 4d 75 | 73 74 20 62 65 20 2d 31 | Mu|st be -1|
|00006370| 20 66 6f 72 20 74 68 65 | 20 6c 61 73 74 20 69 74 | for the| last it|
|00006380| 65 6d 20 69 6e 20 61 20 | 6d 65 6e 75 20 73 65 74 |em in a |menu set|
|00006390| 0d 18 ec 04 0d 18 f6 47 | f4 20 54 68 69 73 20 65 |.......G|. This e|
|000063a0| 78 61 6d 70 6c 65 20 68 | 61 73 20 64 69 61 6c 6f |xample h|as dialo|
|000063b0| 67 20 62 6f 78 65 73 20 | 74 72 69 67 67 65 72 65 |g boxes |triggere|
|000063c0| 64 20 62 79 20 74 68 65 | 20 66 69 72 73 74 20 66 |d by the| first f|
|000063d0| 6f 75 72 20 6f 70 74 69 | 6f 6e 73 0d 19 00 44 f4 |our opti|ons...D.|
|000063e0| 20 61 6e 64 20 61 6e 6f | 74 68 65 72 20 6d 65 6e | and ano|ther men|
|000063f0| 75 20 73 65 74 20 62 79 | 20 74 68 65 20 66 69 66 |u set by| the fif|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.