home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / program / progem / gem13.asc < prev    next >
Mailbox/MIME Entity  |  1987-10-18  |  18.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert 3DX 3D model (poly/threeDX3DModel) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From uwmcsd1!bbn!oberon!bloom-beacon!mit-eddie!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!ucbvax!ucdavis!uop!exodus Sun O", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 75 77 6d | 63 73 64 31 21 62 62 6e |From uwm|csd1!bbn|
|00000010| 21 6f 62 65 72 6f 6e 21 | 62 6c 6f 6f 6d 2d 62 65 |!oberon!|bloom-be|
|00000020| 61 63 6f 6e 21 6d 69 74 | 2d 65 64 64 69 65 21 72 |acon!mit|-eddie!r|
|00000030| 75 74 67 65 72 73 21 6d | 63 6e 63 21 65 63 65 2d |utgers!m|cnc!ece-|
|00000040| 63 73 63 21 6e 63 72 63 | 61 65 21 6e 63 72 2d 73 |csc!ncrc|ae!ncr-s|
|00000050| 64 21 68 70 2d 73 64 64 | 21 68 70 6c 61 62 73 21 |d!hp-sdd|!hplabs!|
|00000060| 75 63 62 76 61 78 21 75 | 63 64 61 76 69 73 21 75 |ucbvax!u|cdavis!u|
|00000070| 6f 70 21 65 78 6f 64 75 | 73 20 53 75 6e 20 4f 63 |op!exodu|s Sun Oc|
|00000080| 74 20 31 38 20 30 38 3a | 33 32 3a 34 36 20 43 44 |t 18 08:|32:46 CD|
|00000090| 54 20 31 39 38 37 0a 41 | 72 74 69 63 6c 65 20 31 |T 1987.A|rticle 1|
|000000a0| 39 39 30 20 6f 66 20 63 | 6f 6d 70 2e 73 79 73 2e |990 of c|omp.sys.|
|000000b0| 61 74 61 72 69 2e 73 74 | 3a 0a 50 61 74 68 3a 20 |atari.st|:.Path: |
|000000c0| 6c 61 6b 65 73 79 73 21 | 75 77 6d 63 73 64 31 21 |lakesys!|uwmcsd1!|
|000000d0| 62 62 6e 21 6f 62 65 72 | 6f 6e 21 62 6c 6f 6f 6d |bbn!ober|on!bloom|
|000000e0| 2d 62 65 61 63 6f 6e 21 | 6d 69 74 2d 65 64 64 69 |-beacon!|mit-eddi|
|000000f0| 65 21 72 75 74 67 65 72 | 73 21 6d 63 6e 63 21 65 |e!rutger|s!mcnc!e|
|00000100| 63 65 2d 63 73 63 21 6e | 63 72 63 61 65 21 6e 63 |ce-csc!n|crcae!nc|
|00000110| 72 2d 73 64 21 68 70 2d | 73 64 64 21 68 70 6c 61 |r-sd!hp-|sdd!hpla|
|00000120| 62 73 21 75 63 62 76 61 | 78 21 75 63 64 61 76 69 |bs!ucbva|x!ucdavi|
|00000130| 73 21 75 6f 70 21 65 78 | 6f 64 75 73 0a 3e 46 72 |s!uop!ex|odus.>Fr|
|00000140| 6f 6d 3a 20 65 78 6f 64 | 75 73 40 75 6f 70 2e 55 |om: exod|us@uop.U|
|00000150| 55 43 50 20 28 46 72 65 | 64 64 79 20 4b 72 65 75 |UCP (Fre|ddy Kreu|
|00000160| 67 65 72 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |ger).New|sgroups:|
|00000170| 20 63 6f 6d 70 2e 73 79 | 73 2e 61 74 61 72 69 2e | comp.sy|s.atari.|
|00000180| 73 74 0a 53 75 62 6a 65 | 63 74 3a 20 50 72 6f 66 |st.Subje|ct: Prof|
|00000190| 65 73 73 69 6f 6e 61 6c | 20 47 45 4d 20 63 6f 6c |essional| GEM col|
|000001a0| 75 6d 6e 20 23 31 33 0a | 4b 65 79 77 6f 72 64 73 |umn #13.|Keywords|
|000001b0| 3a 20 54 69 6d 20 4f 72 | 65 6e 20 2c 20 50 72 6f |: Tim Or|en , Pro|
|000001c0| 67 65 6d 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |gem.Mess|age-ID: |
|000001d0| 3c 36 31 36 40 75 6f 70 | 2e 55 55 43 50 3e 0a 44 |<616@uop|.UUCP>.D|
|000001e0| 61 74 65 3a 20 31 36 20 | 4f 63 74 20 38 37 20 32 |ate: 16 |Oct 87 2|
|000001f0| 33 3a 35 31 3a 32 38 20 | 47 4d 54 0a 4f 72 67 61 |3:51:28 |GMT.Orga|
|00000200| 6e 69 7a 61 74 69 6f 6e | 3a 20 53 6f 6d 65 77 68 |nization|: Somewh|
|00000210| 65 72 65 20 70 65 72 70 | 65 6e 64 69 63 75 6c 61 |ere perp|endicula|
|00000220| 72 20 74 6f 20 72 65 61 | 6c 69 74 79 2e 2e 2e 0a |r to rea|lity....|
|00000230| 4c 69 6e 65 73 3a 20 33 | 33 35 0a 0a 0a 20 20 20 |Lines: 3|35... |
|00000240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000250| 20 20 20 20 20 2a 50 52 | 4f 46 45 53 53 49 4f 4e | *PR|OFESSION|
|00000260| 41 4c 20 47 45 4d 2a 0a | 20 20 20 20 20 20 20 20 |AL GEM*.| |
|00000270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000280| 20 20 20 42 79 20 54 69 | 6d 20 4f 72 65 6e 0a 20 | By Ti|m Oren. |
|00000290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|000002a0| 6f 6c 75 6d 6e 20 23 31 | 33 20 2d 20 20 20 41 20 |olumn #1|3 - A |
|000002b0| 4e 65 77 20 46 6f 72 6d | 20 4d 61 6e 61 67 65 72 |New Form| Manager|
|000002c0| 0a 0a 20 20 20 20 20 54 | 68 69 73 20 20 69 73 20 |.. T|his is |
|000002d0| 20 74 68 65 20 31 33 74 | 68 20 69 6e 73 74 61 6c | the 13t|h instal|
|000002e0| 6c 6d 65 6e 74 20 6f 66 | 20 53 54 20 50 52 4f 20 |lment of| ST PRO |
|000002f0| 47 45 4d 2c 20 20 61 6e | 64 20 74 68 65 20 20 66 |GEM, an|d the f|
|00000300| 69 72 73 74 0a 64 65 76 | 6f 74 65 64 20 74 6f 20 |irst.dev|oted to |
|00000310| 65 78 70 6c 61 69 6e 69 | 6e 67 20 61 20 6c 61 72 |explaini|ng a lar|
|00000320| 67 65 20 70 69 65 63 65 | 20 6f 66 20 63 6f 64 65 |ge piece| of code|
|00000330| 2e 20 20 54 68 69 73 20 | 61 72 74 69 63 6c 65 20 |. This |article |
|00000340| 69 73 20 61 6c 73 6f 0a | 74 68 65 20 20 73 65 63 |is also.|the sec|
|00000350| 6f 6e 64 20 20 69 6e 20 | 61 20 73 65 72 69 65 73 |ond in |a series|
|00000360| 20 6f 66 20 74 68 72 65 | 65 20 63 6f 6e 63 65 72 | of thre|e concer|
|00000370| 6e 69 6e 67 20 20 47 45 | 4d 20 20 75 73 65 72 20 |ning GE|M user |
|00000380| 20 69 6e 74 65 72 66 61 | 63 65 0a 74 65 63 68 6e | interfa|ce.techn|
|00000390| 69 71 75 65 73 2e 20 20 | 20 54 68 65 20 20 63 6f |iques. | The co|
|000003a0| 64 65 20 69 73 20 61 6e | 20 61 6c 74 65 72 6e 61 |de is an| alterna|
|000003b0| 74 65 20 66 6f 72 6d 20 | 28 64 69 61 6c 6f 67 29 |te form |(dialog)|
|000003c0| 20 6d 61 6e 61 67 65 72 | 20 20 66 6f 72 0a 47 45 | manager| for.GE|
|000003d0| 4d 2e 20 20 20 49 74 20 | 20 69 73 20 73 74 6f 72 |M. It | is stor|
|000003e0| 65 64 20 61 73 20 47 4d | 43 4c 31 33 2e 43 20 69 |ed as GM|CL13.C i|
|000003f0| 6e 20 44 4c 33 20 6f 66 | 20 50 43 53 2d 35 38 2e |n DL3 of| PCS-58.|
|00000400| 20 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 67 6f | You s|hould go|
|00000410| 0a 61 6e 64 20 20 64 6f | 77 6e 6c 6f 61 64 20 69 |.and do|wnload i|
|00000420| 74 20 6e 6f 77 2c 20 20 | 6f 72 20 79 6f 75 20 77 |t now, |or you w|
|00000430| 69 6c 6c 20 68 61 76 65 | 20 6e 6f 20 68 6f 70 65 |ill have| no hope|
|00000440| 20 6f 66 20 66 6f 6c 6c | 6f 77 69 6e 67 20 20 74 | of foll|owing t|
|00000450| 68 69 73 0a 64 69 73 63 | 75 73 73 69 6f 6e 2e 0a |his.disc|ussion..|
|00000460| 0a 20 20 20 20 20 57 68 | 61 74 20 20 69 73 20 20 |. Wh|at is |
|00000470| 75 6e 69 71 75 65 20 20 | 61 62 6f 75 74 20 74 68 |unique |about th|
|00000480| 69 73 20 76 65 72 73 69 | 6f 6e 20 20 6f 66 20 20 |is versi|on of |
|00000490| 74 68 65 20 20 66 6f 72 | 6d 20 20 6d 61 6e 61 67 |the for|m manag|
|000004a0| 65 72 3f 0a 46 69 72 73 | 74 2c 20 20 69 74 20 20 |er?.Firs|t, it |
|000004b0| 69 6d 70 6c 65 6d 65 6e | 74 73 20 20 61 6c 6c 20 |implemen|ts all |
|000004c0| 6f 66 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |of the f|unctions|
|000004d0| 20 6f 66 20 74 68 65 20 | 20 73 74 61 6e 64 61 72 | of the | standar|
|000004e0| 64 20 20 47 45 4d 0a 66 | 6f 72 6d 5f 64 6f 20 20 |d GEM.f|orm_do |
|000004f0| 72 6f 75 74 69 6e 65 2c | 20 20 61 73 20 20 77 65 |routine,| as we|
|00000500| 6c 6c 20 61 73 20 61 64 | 64 69 6e 67 20 61 20 22 |ll as ad|ding a "|
|00000510| 68 6f 74 20 73 70 6f 74 | 73 22 20 66 65 61 74 75 |hot spot|s" featu|
|00000520| 72 65 20 20 77 68 69 63 | 68 0a 63 61 75 73 65 73 |re whic|h.causes|
|00000530| 20 20 73 65 6c 65 63 74 | 61 62 6c 65 20 20 6f 62 | select|able ob|
|00000540| 6a 65 63 74 73 20 74 6f | 20 62 65 63 6f 6d 65 20 |jects to| become |
|00000550| 6d 6f 75 73 65 2d 73 65 | 6e 73 69 74 69 76 65 2c |mouse-se|nsitive,|
|00000560| 20 20 6a 75 73 74 20 20 | 6c 69 6b 65 0a 74 68 65 | just |like.the|
|00000570| 20 20 20 65 6e 74 72 69 | 65 73 20 20 69 6e 20 20 | entri|es in |
|00000580| 6d 65 6e 75 20 20 64 72 | 6f 70 64 6f 77 6e 73 2e |menu dr|opdowns.|
|00000590| 20 20 20 20 54 68 65 20 | 20 73 65 63 6f 6e 64 20 | The | second |
|000005a0| 20 28 61 6e 64 20 20 6f | 62 76 69 6f 75 73 29 0a | (and o|bvious).|
|000005b0| 64 69 66 66 65 72 65 6e | 63 65 20 20 69 73 20 74 |differen|ce is t|
|000005c0| 68 61 74 20 74 68 69 73 | 20 66 6f 72 6d 20 6d 61 |hat this| form ma|
|000005d0| 6e 61 67 65 72 20 69 73 | 20 70 72 6f 76 69 64 65 |nager is| provide|
|000005e0| 64 20 69 6e 20 20 73 6f | 75 72 63 65 20 20 63 6f |d in so|urce co|
|000005f0| 64 65 0a 66 6f 72 6d 2e | 20 20 20 54 68 69 73 20 |de.form.| This |
|00000600| 20 67 69 76 65 73 20 79 | 6f 75 20 74 68 65 20 66 | gives y|ou the f|
|00000610| 72 65 65 64 6f 6d 20 74 | 6f 20 65 78 61 6d 69 6e |reedom t|o examin|
|00000620| 65 20 69 74 20 61 6e 64 | 20 63 68 61 6e 67 65 20 |e it and| change |
|00000630| 69 74 20 74 6f 0a 73 75 | 69 74 20 79 6f 75 72 20 |it to.su|it your |
|00000640| 6f 77 6e 20 6e 65 65 64 | 73 2e 0a 0a 20 20 20 20 |own need|s... |
|00000650| 20 49 20 20 68 61 76 65 | 20 20 73 65 76 65 72 61 | I have| severa|
|00000660| 6c 20 20 70 75 72 70 6f | 73 65 73 20 69 6e 20 70 |l purpo|ses in p|
|00000670| 72 65 73 65 6e 74 69 6e | 67 20 74 68 69 73 20 20 |resentin|g this |
|00000680| 63 6f 64 65 2e 20 20 20 | 49 74 20 20 69 73 0a 69 |code. |It is.i|
|00000690| 6e 74 65 6e 64 65 64 20 | 20 20 61 73 20 20 61 6e |ntended | as an|
|000006a0| 20 20 65 78 61 6d 70 6c | 65 20 20 6f 66 20 20 47 | exampl|e of G|
|000006b0| 45 4d 20 20 70 72 6f 67 | 72 61 6d 20 20 73 74 72 |EM prog|ram str|
|000006c0| 75 63 74 75 72 65 2c 20 | 20 20 61 6e 64 20 20 61 |ucture, | and a|
|000006d0| 6e 0a 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 20 6f |n.applic|ation o|
|000006e0| 66 20 20 73 6f 6d 65 20 | 20 6f 66 20 20 74 68 65 |f some | of the|
|000006f0| 20 20 74 65 63 68 6e 69 | 71 75 65 73 20 20 70 72 | techni|ques pr|
|00000700| 65 73 65 6e 74 65 64 20 | 20 69 6e 20 20 65 61 72 |esented | in ear|
|00000710| 6c 69 65 72 0a 63 6f 6c | 75 6d 6e 73 2e 20 20 20 |lier.col|umns. |
|00000720| 49 74 20 69 73 20 61 6c | 73 6f 20 72 65 6c 65 76 |It is al|so relev|
|00000730| 61 6e 74 20 74 6f 20 74 | 68 65 20 63 6f 6e 74 69 |ant to t|he conti|
|00000740| 6e 75 69 6e 67 20 74 68 | 72 65 61 64 20 64 69 73 |nuing th|read dis|
|00000750| 63 75 73 73 69 6e 67 0a | 74 68 65 20 6e 65 63 65 |cussing.|the nece|
|00000760| 73 73 69 74 79 20 6f 66 | 20 66 65 65 64 62 61 63 |ssity of| feedbac|
|00000770| 6b 20 77 68 65 6e 20 63 | 6f 6e 73 74 72 75 63 74 |k when c|onstruct|
|00000780| 69 6e 67 20 61 20 75 73 | 65 72 20 69 6e 74 65 72 |ing a us|er inter|
|00000790| 66 61 63 65 2e 0a 0a 20 | 20 20 20 20 41 6c 73 6f |face... | Also|
|000007a0| 2c 20 20 74 68 69 73 20 | 20 69 73 73 75 65 20 72 |, this | issue r|
|000007b0| 65 70 72 65 73 65 6e 74 | 73 20 74 68 65 20 62 65 |epresent|s the be|
|000007c0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 61 20 20 66 75 |ginning |of a fu|
|000007d0| 6e 64 61 6d 65 6e 74 61 | 6c 0a 63 68 61 6e 67 65 |ndamenta|l.change|
|000007e0| 20 69 6e 20 64 69 72 65 | 63 74 69 6f 6e 20 66 6f | in dire|ction fo|
|000007f0| 72 20 53 54 20 50 52 4f | 20 47 45 4d 2e 20 20 20 |r ST PRO| GEM. |
|00000800| 53 69 6e 63 65 20 74 68 | 69 73 20 63 6f 6c 75 6d |Since th|is colum|
|00000810| 6e 20 62 65 67 61 6e 20 | 6c 61 73 74 0a 41 75 67 |n began |last.Aug|
|00000820| 75 73 74 2c 20 41 74 61 | 72 69 20 53 54 20 64 65 |ust, Ata|ri ST de|
|00000830| 76 65 6c 6f 70 65 72 73 | 20 68 61 76 65 20 69 6e |velopers| have in|
|00000840| 63 72 65 61 73 65 64 20 | 6e 6f 74 20 6f 6e 6c 79 |creased |not only|
|00000850| 20 69 6e 20 6e 75 6d 62 | 65 72 2c 20 62 75 74 0a | in numb|er, but.|
|00000860| 69 6e 20 73 6f 70 68 69 | 73 74 69 63 61 74 69 6f |in sophi|sticatio|
|00000870| 6e 2e 20 20 20 41 20 6e | 75 6d 62 65 72 20 6f 66 |n. A n|umber of|
|00000880| 20 62 6f 6f 6b 73 2c 20 | 20 61 73 20 77 65 6c 6c | books, | as well|
|00000890| 20 61 73 20 62 61 63 6b | 20 69 73 73 75 65 73 20 | as back| issues |
|000008a0| 6f 66 0a 53 54 20 50 52 | 4f 20 47 45 4d 2c 20 20 |of.ST PR|O GEM, |
|000008b0| 61 72 65 20 6e 6f 77 20 | 61 76 61 69 6c 61 62 6c |are now |availabl|
|000008c0| 65 20 74 6f 20 65 78 70 | 6c 61 69 6e 20 74 68 65 |e to exp|lain the|
|000008d0| 20 62 61 73 69 63 73 20 | 6f 66 20 74 68 65 20 53 | basics |of the S|
|000008e0| 54 20 61 6e 64 0a 47 45 | 4d 2e 20 20 20 51 75 69 |T and.GE|M. Qui|
|000008f0| 63 6b 20 20 61 6e 73 77 | 65 72 73 20 20 74 6f 20 |ck answ|ers to |
|00000900| 63 6f 6d 6d 6f 6e 20 71 | 75 65 73 74 69 6f 6e 73 |common q|uestions|
|00000910| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 20 20 | are ava|ilable |
|00000920| 68 65 72 65 20 20 6f 6e | 0a 43 6f 6d 70 75 73 65 |here on|.Compuse|
|00000930| 72 76 65 27 73 20 50 43 | 53 2d 35 37 20 66 72 6f |rve's PC|S-57 fro|
|00000940| 6d 20 41 74 61 72 69 20 | 69 74 73 65 6c 66 2c 20 |m Atari |itself, |
|00000950| 20 6f 72 20 66 72 6f 6d | 20 68 65 6c 70 66 75 6c | or from| helpful|
|00000960| 20 6d 65 6d 62 65 72 73 | 20 6f 66 0a 74 68 65 20 | members| of.the |
|00000970| 64 65 76 65 6c 6f 70 65 | 72 20 63 6f 6d 6d 75 6e |develope|r commun|
|00000980| 69 74 79 2e 0a 0a 20 20 | 20 20 20 54 6f 20 20 72 |ity... | To r|
|00000990| 65 66 6c 65 63 74 20 74 | 68 65 73 65 20 63 68 61 |eflect t|hese cha|
|000009a0| 6e 67 65 73 2c 20 20 66 | 75 74 75 72 65 20 63 6f |nges, f|uture co|
|000009b0| 6c 75 6d 6e 73 20 77 69 | 6c 6c 20 64 69 73 63 75 |lumns wi|ll discu|
|000009c0| 73 73 20 20 6d 6f 72 65 | 0a 61 64 76 61 6e 63 65 |ss more|.advance|
|000009d0| 64 20 74 6f 70 69 63 73 | 20 69 6e 20 67 72 65 61 |d topics| in grea|
|000009e0| 74 65 72 20 64 65 70 74 | 68 2c 20 77 69 74 68 20 |ter dept|h, with |
|000009f0| 61 6e 20 61 63 63 65 6e | 74 20 6f 6e 20 63 6f 64 |an accen|t on cod|
|00000a00| 65 20 77 68 69 63 68 20 | 63 61 6e 0a 62 65 20 20 |e which |can.be |
|00000a10| 61 64 61 70 74 65 64 20 | 20 62 79 20 64 65 76 65 |adapted | by deve|
|00000a20| 6c 6f 70 65 72 73 2e 20 | 20 20 54 68 65 20 70 72 |lopers. | The pr|
|00000a30| 6f 67 72 61 6d 20 70 72 | 65 73 65 6e 74 65 64 20 |ogram pr|esented |
|00000a40| 69 6e 20 74 68 69 73 20 | 20 69 73 73 75 65 0a 77 |in this | issue.w|
|00000a50| 69 6c 6c 20 62 65 20 61 | 20 62 61 73 69 73 20 66 |ill be a| basis f|
|00000a60| 6f 72 20 61 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |or a num|ber of t|
|00000a70| 68 65 73 65 20 64 69 73 | 63 75 73 73 69 6f 6e 73 |hese dis|cussions|
|00000a80| 2e 20 20 20 54 68 65 72 | 65 20 77 69 6c 6c 20 62 |. Ther|e will b|
|00000a90| 65 0a 66 65 77 65 72 20 | 20 22 65 6e 63 79 63 6c |e.fewer | "encycl|
|00000aa0| 6f 70 65 64 69 61 63 22 | 20 74 72 65 61 74 6d 65 |opediac"| treatme|
|00000ab0| 6e 74 73 20 6f 66 20 41 | 45 53 20 61 6e 64 20 56 |nts of A|ES and V|
|00000ac0| 44 49 20 20 66 75 6e 63 | 74 69 6f 6e 20 20 63 61 |DI func|tion ca|
|00000ad0| 6c 6c 73 2e 0a 46 69 6e | 61 6c 6c 79 2c 20 74 6f |lls..Fin|ally, to|
|00000ae0| 20 67 69 76 65 20 6d 65 | 20 74 68 65 20 74 69 6d | give me| the tim|
|00000af0| 65 20 72 65 71 75 69 72 | 65 64 20 74 6f 20 63 72 |e requir|ed to cr|
|00000b00| 65 61 74 65 20 74 68 69 | 73 20 63 6f 64 65 20 6f |eate thi|s code o|
|00000b10| 72 20 63 6c 65 61 6e 0a | 75 70 20 74 6f 6f 6c 73 |r clean.|up tools|
|00000b20| 20 66 72 6f 6d 20 6d 79 | 20 22 62 61 67 20 6f 66 | from my| "bag of|
|00000b30| 20 74 72 69 63 6b 73 22 | 2c 20 53 54 20 50 52 4f | tricks"|, ST PRO|
|00000b40| 20 47 45 4d 20 77 69 6c | 6c 20 70 72 6f 62 61 62 | GEM wil|l probab|
|00000b50| 6c 79 20 63 6f 6e 76 65 | 72 74 0a 74 6f 20 61 20 |ly conve|rt.to a |
|00000b60| 6d 6f 6e 74 68 6c 79 20 | 66 6f 72 6d 61 74 20 61 |monthly |format a|
|00000b70| 72 6f 75 6e 64 20 74 68 | 65 20 73 74 61 72 74 20 |round th|e start |
|00000b80| 6f 66 20 73 75 6d 6d 65 | 72 2e 0a 0a 20 20 20 20 |of summe|r... |
|00000b90| 20 4f 4e 20 20 57 49 54 | 48 20 20 54 48 45 20 53 | ON WIT|H THE S|
|00000ba0| 48 4f 57 2e 20 20 20 54 | 61 6b 69 6e 67 20 79 6f |HOW. T|aking yo|
|00000bb0| 75 72 20 6c 69 73 74 69 | 6e 67 20 69 6e 20 68 61 |ur listi|ng in ha|
|00000bc0| 6e 64 2c 20 20 79 6f 75 | 20 20 77 69 6c 6c 0a 71 |nd, you| will.q|
|00000bd0| 75 69 63 6b 6c 79 20 6e | 6f 74 69 63 65 20 74 77 |uickly n|otice tw|
|00000be0| 6f 20 74 68 69 6e 67 73 | 2e 20 20 20 46 69 72 73 |o things|. Firs|
|00000bf0| 74 2c 20 74 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |t, this |program |
|00000c00| 75 73 65 73 20 74 68 65 | 20 69 6e 66 61 6d 6f 75 |uses the| infamou|
|00000c10| 73 0a 70 6f 72 74 61 62 | 69 6c 69 74 79 20 6d 61 |s.portab|ility ma|
|00000c20| 63 72 6f 73 2c 20 20 73 | 6f 20 74 68 61 74 20 69 |cros, s|o that i|
|00000c30| 74 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 77 69 |t may be| used wi|
|00000c40| 74 68 20 49 6e 74 65 6c | 20 76 65 72 73 69 6f 6e |th Intel| version|
|00000c50| 73 20 6f 66 0a 47 45 4d | 2e 20 20 53 65 63 6f 6e |s of.GEM|. Secon|
|00000c60| 64 2c 20 74 68 65 20 72 | 6f 75 74 69 6e 65 73 20 |d, the r|outines |
|00000c70| 61 72 65 20 61 72 72 61 | 6e 67 65 64 20 22 62 6f |are arra|nged "bo|
|00000c80| 74 74 6f 6d 20 75 70 22 | 2c 20 77 69 74 68 20 74 |ttom up"|, with t|
|00000c90| 68 65 20 6d 61 69 6e 0a | 61 74 20 74 68 65 20 65 |he main.|at the e|
|00000ca0| 6e 64 2c 20 20 61 6e 64 | 20 73 75 62 72 6f 75 74 |nd, and| subrout|
|00000cb0| 69 6e 65 73 20 67 6f 69 | 6e 67 20 74 6f 77 61 72 |ines goi|ng towar|
|00000cc0| 64 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 2e |d the be|ginning.|
|00000cd0| 20 20 28 54 68 69 73 20 | 69 73 0a 61 20 63 61 72 | (This |is.a car|
|00000ce0| 72 79 2d 6f 76 65 72 20 | 66 72 6f 6d 20 6d 79 20 |ry-over |from my |
|00000cf0| 64 61 79 73 20 77 69 74 | 68 20 41 4c 47 4f 4c 20 |days wit|h ALGOL |
|00000d00| 61 6e 64 20 50 41 53 43 | 41 4c 2e 29 20 20 59 6f |and PASC|AL.) Yo|
|00000d10| 75 20 73 68 6f 75 6c 64 | 20 20 6e 6f 77 0a 74 75 |u should| now.tu|
|00000d20| 72 6e 20 74 6f 20 74 68 | 65 20 66 6f 72 6d 5f 64 |rn to th|e form_d|
|00000d30| 6f 20 65 6e 74 72 79 20 | 70 6f 69 6e 74 20 6e 65 |o entry |point ne|
|00000d40| 61 72 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |ar the e|nd of th|
|00000d50| 65 20 63 6f 64 65 2e 0a | 0a 20 20 20 20 20 4f 6e |e code..|. On|
|00000d60| 65 20 63 68 61 6e 67 65 | 20 68 61 73 20 62 65 65 |e change| has bee|
|00000d70| 6e 20 6d 61 64 65 20 69 | 6e 20 74 68 65 20 73 74 |n made i|n the st|
|00000d80| 61 6e 64 61 72 64 20 63 | 61 6c 6c 69 6e 67 20 73 |andard c|alling s|
|00000d90| 65 71 75 65 6e 63 65 20 | 66 6f 72 0a 66 6f 72 6d |equence |for.form|
|00000da0| 5f 64 6f 2e 20 20 20 54 | 68 65 20 20 73 74 61 72 |_do. T|he star|
|00000db0| 74 69 6e 67 20 20 65 64 | 69 74 20 66 69 65 6c 64 |ting ed|it field|
|00000dc0| 20 69 73 20 6e 6f 77 20 | 61 20 70 6f 69 6e 74 65 | is now |a pointe|
|00000dd0| 72 20 74 6f 20 61 20 20 | 76 61 6c 75 65 2c 0a 72 |r to a |value,.r|
|00000de0| 61 74 68 65 72 20 20 74 | 68 61 6e 20 20 74 68 65 |ather t|han the|
|00000df0| 20 76 61 6c 75 65 20 69 | 74 73 65 6c 66 2e 20 20 | value i|tself. |
|00000e00| 20 54 68 65 20 6e 65 77 | 20 66 6f 72 6d 5f 64 6f | The new| form_do|
|00000e10| 20 20 6f 76 65 72 77 72 | 69 74 65 73 20 20 74 68 | overwr|ites th|
|00000e20| 65 0a 69 6e 69 74 69 61 | 6c 20 76 61 6c 75 65 20 |e.initia|l value |
|00000e30| 77 69 74 68 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |with the| number |
|00000e40| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 20 62 65 |of the o|bject be|
|00000e50| 69 6e 67 20 65 64 69 74 | 65 64 20 77 68 65 6e 20 |ing edit|ed when |
|00000e60| 20 74 68 65 0a 64 69 61 | 6c 6f 67 20 20 74 65 72 | the.dia|log ter|
|00000e70| 6d 69 6e 61 74 65 64 2e | 20 20 20 55 73 69 6e 67 |minated.| Using|
|00000e80| 20 20 74 68 69 73 20 20 | 69 6e 66 6f 72 6d 61 74 | this |informat|
|00000e90| 69 6f 6e 2c 20 20 79 6f | 75 72 20 70 72 6f 67 72 |ion, yo|ur progr|
|00000ea0| 61 6d 20 20 63 61 6e 0a | 72 65 73 74 6f 72 65 20 |am can.|restore |
|00000eb0| 74 68 65 20 73 69 74 75 | 61 74 69 6f 6e 20 77 68 |the situ|ation wh|
|00000ec0| 65 6e 20 74 68 65 20 64 | 69 61 6c 6f 67 20 69 73 |en the d|ialog is|
|00000ed0| 20 6e 65 78 74 20 63 61 | 6c 6c 65 64 2e 20 20 20 | next ca|lled. |
|00000ee0| 41 73 20 62 65 66 6f 72 | 65 2c 0a 69 66 20 74 68 |As befor|e,.if th|
|00000ef0| 65 72 65 20 69 73 20 4e | 4f 20 65 64 69 74 61 62 |ere is N|O editab|
|00000f00| 6c 65 20 66 69 65 6c 64 | 2c 20 74 68 65 20 69 6e |le field|, the in|
|00000f10| 69 74 69 61 6c 20 76 61 | 6c 75 65 20 73 68 6f 75 |itial va|lue shou|
|00000f20| 6c 64 20 62 65 20 7a 65 | 72 6f 2e 0a 0a 20 20 20 |ld be ze|ro... |
|00000f30| 20 20 54 68 65 72 65 20 | 61 72 65 20 73 65 76 65 | There |are seve|
|00000f40| 72 61 6c 20 6c 6f 63 61 | 6c 20 76 61 72 69 61 62 |ral loca|l variab|
|00000f50| 6c 65 73 20 77 68 69 63 | 68 20 6d 61 69 6e 74 61 |les whic|h mainta|
|00000f60| 69 6e 20 76 69 74 61 6c | 20 20 73 74 61 74 65 0a |in vital| state.|
|00000f70| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 64 75 72 69 |informat|ion duri|
|00000f80| 6e 67 20 74 68 65 20 64 | 69 61 6c 6f 67 20 69 6e |ng the d|ialog in|
|00000f90| 74 65 72 61 63 74 69 6f | 6e 2e 20 20 45 64 69 74 |teractio|n. Edit|
|00000fa0| 5f 6f 62 6a 20 69 73 20 | 74 68 65 20 6e 75 6d 62 |_obj is |the numb|
|00000fb0| 65 72 0a 6f 66 20 20 74 | 68 65 20 65 64 69 74 61 |er.of t|he edita|
|00000fc0| 62 6c 65 20 6f 62 6a 65 | 63 74 20 63 75 72 72 65 |ble obje|ct curre|
|00000fd0| 6e 74 6c 79 20 72 65 63 | 65 69 76 69 6e 67 20 6b |ntly rec|eiving k|
|00000fe0| 65 79 73 74 72 6f 6b 65 | 73 2e 20 20 20 4e 65 78 |eystroke|s. Nex|
|00000ff0| 74 5f 6f 62 6a 0a 69 73 | 20 20 73 65 74 20 77 68 |t_obj.is| set wh|
|00001000| 65 6e 20 74 68 65 20 6d | 6f 75 73 65 20 69 73 20 |en the m|ouse is |
|00001010| 63 6c 69 63 6b 65 64 20 | 6f 76 65 72 20 61 6e 20 |clicked |over an |
|00001020| 6f 62 6a 65 63 74 2e 20 | 20 20 49 66 20 74 68 65 |object. | If the|
|00001030| 20 20 6f 62 6a 65 63 74 | 0a 68 61 70 70 65 6e 73 | object|.happens|
|00001040| 20 74 6f 20 62 65 20 65 | 64 69 74 61 62 6c 65 2c | to be e|ditable,|
|00001050| 20 20 6e 65 78 74 5f 6f | 62 6a 20 62 65 63 6f 6d | next_o|bj becom|
|00001060| 65 73 20 74 68 65 20 6e | 65 77 20 65 64 69 74 5f |es the n|ew edit_|
|00001070| 6f 62 6a 2e 0a 0a 20 20 | 20 20 20 54 68 72 65 65 |obj... | Three|
|00001080| 20 20 76 61 72 69 61 62 | 6c 65 73 20 61 72 65 20 | variab|les are |
|00001090| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|000010a0| 74 68 65 20 22 68 6f 74 | 2d 73 70 6f 74 22 20 20 |the "hot|-spot" |
|000010b0| 66 65 61 74 75 72 65 2e | 0a 49 66 20 68 6f 74 5f |feature.|.If hot_|
|000010c0| 6d 6f 64 65 20 69 73 20 | 73 65 74 20 74 6f 20 4d |mode is |set to M|
|000010d0| 31 5f 45 4e 54 45 52 2c | 20 74 68 65 6e 20 74 68 |1_ENTER,| then th|
|000010e0| 65 20 6d 6f 75 73 65 20 | 69 73 20 6f 75 74 73 69 |e mouse |is outsi|
|000010f0| 64 65 20 74 68 65 20 61 | 72 65 61 0a 6f 66 20 74 |de the a|rea.of t|
|00001100| 68 65 20 64 69 61 6c 6f | 67 2e 20 20 20 49 66 20 |he dialo|g. If |
|00001110| 69 74 20 65 71 75 61 6c | 73 20 4d 31 5f 45 58 49 |it equal|s M1_EXI|
|00001120| 54 2c 20 74 68 65 6e 20 | 74 68 65 20 6d 6f 75 73 |T, then |the mous|
|00001130| 65 20 69 73 20 63 75 72 | 72 65 6e 74 6c 79 0a 69 |e is cur|rently.i|
|00001140| 6e 20 74 68 65 20 64 69 | 61 6c 6f 67 2e 20 20 20 |n the di|alog. |
|00001150| 49 66 20 69 74 20 69 73 | 20 69 6e 20 74 68 65 20 |If it is| in the |
|00001160| 64 69 61 6c 6f 67 2c 20 | 68 6f 74 5f 6f 62 6a 20 |dialog, |hot_obj |
|00001170| 69 6e 64 69 63 61 74 65 | 73 20 77 68 65 74 68 65 |indicate|s whethe|
|00001180| 72 0a 74 68 65 72 65 20 | 69 73 20 61 6e 20 61 63 |r.there |is an ac|
|00001190| 74 69 76 65 20 22 68 6f | 74 22 20 6f 62 6a 65 63 |tive "ho|t" objec|
|000011a0| 74 2e 20 20 20 49 66 20 | 69 74 73 20 76 61 6c 75 |t. If |its valu|
|000011b0| 65 20 69 73 20 4e 49 4c | 20 28 2d 31 29 2c 20 20 |e is NIL| (-1), |
|000011c0| 74 68 65 6e 0a 74 68 65 | 72 65 20 69 73 20 6e 6f |then.the|re is no|
|000011d0| 20 61 63 74 69 76 65 20 | 6f 62 6a 65 63 74 2e 20 | active |object. |
|000011e0| 20 20 4f 74 68 65 72 77 | 69 73 65 2c 20 20 69 74 | Otherw|ise, it|
|000011f0| 20 69 73 20 65 71 75 61 | 6c 20 74 6f 20 74 68 65 | is equa|l to the|
|00001200| 20 6e 75 6d 62 65 72 0a | 6f 66 20 74 68 65 20 6f | number.|of the o|
|00001210| 62 6a 65 63 74 20 77 68 | 69 63 68 20 69 73 20 63 |bject wh|ich is c|
|00001220| 75 72 72 65 6e 74 6c 79 | 20 22 68 6f 74 22 2c 20 |urrently| "hot", |
|00001230| 20 74 68 61 74 20 69 73 | 2c 20 20 69 6e 76 65 72 | that is|, inver|
|00001240| 74 65 64 20 6f 6e 20 74 | 68 65 0a 73 63 72 65 65 |ted on t|he.scree|
|00001250| 6e 2e 20 20 20 46 69 6e | 61 6c 6c 79 2c 20 68 6f |n. Fin|ally, ho|
|00001260| 74 5f 72 65 63 74 20 69 | 73 20 74 68 65 20 63 75 |t_rect i|s the cu|
|00001270| 72 72 65 6e 74 20 77 61 | 69 74 20 72 65 63 74 61 |rrent wa|it recta|
|00001280| 6e 67 6c 65 2e 20 20 49 | 66 20 74 68 65 0a 6d 6f |ngle. I|f the.mo|
|00001290| 75 73 65 20 69 73 20 6f | 75 74 73 69 64 65 20 6f |use is o|utside o|
|000012a0| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 2c 20 74 68 |f the wi|ndow, th|
|000012b0| 65 6e 20 74 68 65 20 77 | 61 69 74 20 72 65 63 74 |en the w|ait rect|
|000012c0| 61 6e 67 6c 65 20 65 71 | 75 61 6c 73 20 74 68 65 |angle eq|uals the|
|000012d0| 0a 64 69 61 6c 6f 67 27 | 73 20 20 52 4f 4f 54 2e |.dialog'|s ROOT.|
|000012e0| 20 20 20 49 66 20 74 68 | 65 72 65 20 69 73 20 61 | If th|ere is a|
|000012f0| 20 63 75 72 72 65 6e 74 | 20 68 6f 74 20 6f 62 6a | current| hot obj|
|00001300| 65 63 74 2c 20 20 74 68 | 65 6e 20 68 6f 74 5f 72 |ect, th|en hot_r|
|00001310| 65 63 74 0a 65 71 75 61 | 6c 73 20 20 74 68 61 74 |ect.equa|ls that|
|00001320| 20 20 6f 62 6a 65 63 74 | 27 73 20 73 63 72 65 65 | object|'s scree|
|00001330| 6e 20 72 65 63 74 61 6e | 67 6c 65 2e 20 20 20 49 |n rectan|gle. I|
|00001340| 66 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 69 |f the mo|use is i|
|00001350| 6e 20 20 74 68 65 0a 64 | 69 61 6c 6f 67 2c 20 20 |n the.d|ialog, |
|00001360| 62 75 74 20 20 6e 6f 74 | 20 20 77 69 74 68 69 6e |but not| within|
|00001370| 20 20 61 20 68 6f 74 20 | 6f 62 6a 65 63 74 2c 20 | a hot |object, |
|00001380| 20 74 68 65 6e 20 74 68 | 65 20 77 61 69 74 20 20 | then th|e wait |
|00001390| 72 65 63 74 61 6e 67 6c | 65 0a 64 65 66 69 6e 65 |rectangl|e.define|
|000013a0| 73 20 20 74 68 65 20 20 | 61 72 65 61 20 77 69 74 |s the |area wit|
|000013b0| 68 69 6e 20 77 68 69 63 | 68 20 6e 6f 20 66 75 72 |hin whic|h no fur|
|000013c0| 74 68 65 72 20 20 63 6f | 6c 6c 69 73 69 6f 6e 20 |ther co|llision |
|000013d0| 20 63 68 65 63 6b 73 20 | 20 61 72 65 0a 6e 65 63 | checks | are.nec|
|000013e0| 65 73 73 61 72 79 2e 20 | 20 20 54 68 69 73 20 20 |essary. | This |
|000013f0| 69 73 20 20 61 72 72 69 | 76 65 64 20 61 74 20 74 |is arri|ved at t|
|00001400| 68 72 6f 75 67 68 20 61 | 6e 20 20 61 6c 67 6f 72 |hrough a|n algor|
|00001410| 69 74 68 6d 20 20 65 78 | 70 6c 61 69 6e 65 64 0a |ithm ex|plained.|
|00001420| 62 65 6c 6f 77 2e 0a 0a | 20 20 20 20 20 46 6f 72 |below...| For|
|00001430| 6d 5f 64 6f 27 73 20 69 | 6e 69 74 69 61 6c 69 7a |m_do's i|nitializ|
|00001440| 61 74 69 6f 6e 20 63 6f | 64 65 20 73 65 74 73 20 |ation co|de sets |
|00001450| 75 70 20 74 68 65 20 68 | 6f 74 2d 73 70 6f 74 20 |up the h|ot-spot |
|00001460| 20 76 61 72 69 61 62 6c | 65 73 0a 74 6f 20 20 74 | variabl|es.to t|
|00001470| 72 69 67 67 65 72 20 20 | 69 66 20 20 74 68 65 20 |rigger |if the |
|00001480| 6d 6f 75 73 65 20 69 73 | 20 77 69 74 68 69 6e 20 |mouse is| within |
|00001490| 74 68 65 20 20 64 69 61 | 6c 6f 67 2e 20 20 20 49 |the dia|log. I|
|000014a0| 74 20 20 61 6c 73 6f 20 | 20 73 65 74 73 0a 73 74 |t also | sets.st|
|000014b0| 61 72 74 69 6e 67 20 20 | 76 61 6c 75 65 73 20 20 |arting |values |
|000014c0| 66 6f 72 20 65 64 69 74 | 5f 6f 62 6a 20 61 6e 64 |for edit|_obj and|
|000014d0| 20 6e 65 78 74 5f 6f 62 | 6a 20 77 68 69 63 68 20 | next_ob|j which |
|000014e0| 77 69 6c 6c 20 20 63 61 | 75 73 65 20 20 74 68 65 |will ca|use the|
|000014f0| 0a 65 64 69 74 20 73 74 | 61 72 74 75 70 20 63 6f |.edit st|artup co|
|00001500| 64 65 20 74 6f 20 62 65 | 20 61 63 74 69 76 61 74 |de to be| activat|
|00001510| 65 64 2e 0a 0a 20 20 20 | 20 20 54 68 65 20 6d 61 |ed... | The ma|
|00001520| 69 6e 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 66 6f |in porti|on of fo|
|00001530| 72 6d 5f 64 6f 20 69 73 | 20 61 20 6c 6f 6f 70 2c |rm_do is| a loop,|
|00001540| 20 65 78 68 69 62 69 74 | 69 6e 67 20 74 68 65 20 | exhibit|ing the |
|00001550| 74 79 70 65 20 6f 66 0a | 65 76 65 6e 74 20 20 64 |type of.|event d|
|00001560| 72 69 76 65 6e 20 20 73 | 74 72 75 63 74 75 72 65 |riven s|tructure|
|00001570| 20 20 64 69 73 63 75 73 | 73 65 64 20 69 6e 20 74 | discus|sed in t|
|00001580| 68 65 20 20 6c 61 73 74 | 20 20 63 6f 6c 75 6d 6e |he last| column|
|00001590| 2e 20 20 20 42 65 66 6f | 72 65 0a 65 6e 74 65 72 |. Befo|re.enter|
|000015a0| 69 6e 67 20 74 68 65 20 | 65 76 6e 74 5f 6d 75 6c |ing the |evnt_mul|
|000015b0| 74 69 20 77 61 69 74 2c | 20 20 74 68 65 20 73 74 |ti wait,| the st|
|000015c0| 61 74 75 73 20 6f 66 20 | 6e 65 78 74 5f 6f 62 6a |atus of |next_obj|
|000015d0| 20 61 6e 64 20 65 64 69 | 74 5f 6f 62 6a 0a 61 72 | and edi|t_obj.ar|
|000015e0| 65 20 20 63 68 65 63 6b | 65 64 20 20 74 6f 20 20 |e check|ed to |
|000015f0| 73 65 65 20 69 66 20 61 | 20 6e 65 77 20 6f 62 6a |see if a| new obj|
|00001600| 65 63 74 20 73 68 6f 75 | 6c 64 20 20 62 65 20 20 |ect shou|ld be |
|00001610| 69 6e 69 74 69 61 6c 69 | 7a 65 64 20 20 66 6f 72 |initiali|zed for|
|00001620| 0a 65 64 69 74 69 6e 67 | 2e 20 20 20 49 66 20 20 |.editing|. If |
|00001630| 73 6f 2c 20 20 6f 62 6a | 63 5f 65 64 69 74 20 20 |so, obj|c_edit |
|00001640| 69 73 20 63 61 6c 6c 65 | 64 20 77 69 74 68 20 74 |is calle|d with t|
|00001650| 68 65 20 45 44 49 4e 49 | 54 20 20 66 75 6e 63 74 |he EDINI|T funct|
|00001660| 69 6f 6e 0a 63 6f 64 65 | 2e 20 20 20 4e 4f 54 45 |ion.code|. NOTE|
|00001670| 3a 20 20 74 68 65 20 6f | 62 6a 63 5f 65 64 69 74 |: the o|bjc_edit|
|00001680| 20 63 61 6c 6c 69 6e 67 | 20 73 65 71 75 65 6e 63 | calling| sequenc|
|00001690| 65 20 75 73 65 64 20 69 | 6e 20 74 68 69 73 20 70 |e used i|n this p|
|000016a0| 72 6f 67 72 61 6d 0a 64 | 69 66 66 65 72 73 20 66 |rogram.d|iffers f|
|000016b0| 72 6f 6d 20 74 68 65 20 | 6f 6e 65 20 67 69 76 65 |rom the |one give|
|000016c0| 6e 20 69 6e 20 74 68 65 | 20 41 45 53 20 6d 61 6e |n in the| AES man|
|000016d0| 75 61 6c 2c 20 20 77 68 | 69 63 68 20 69 73 20 69 |ual, wh|ich is i|
|000016e0| 6e 63 6f 72 72 65 63 74 | 21 0a 59 6f 75 20 20 73 |ncorrect|!.You s|
|000016f0| 68 6f 75 6c 64 20 63 68 | 65 63 6b 20 74 68 65 20 |hould ch|eck the |
|00001700| 62 69 6e 64 69 6e 67 73 | 20 79 6f 75 20 61 72 65 |bindings| you are|
|00001710| 20 75 73 69 6e 67 20 74 | 6f 20 62 65 20 73 75 72 | using t|o be sur|
|00001720| 65 20 74 68 65 79 20 20 | 77 69 6c 6c 0a 77 6f 72 |e they |will.wor|
|00001730| 6b 20 77 69 74 68 20 74 | 68 69 73 20 63 6f 64 65 |k with t|his code|
|00001740| 2c 20 61 6e 64 20 6d 6f | 64 69 66 79 20 61 73 20 |, and mo|dify as |
|00001750| 6e 65 63 65 73 73 61 72 | 79 2e 0a 0a 20 20 20 20 |necessar|y... |
|00001760| 20 54 68 65 20 65 76 6e | 74 5f 6d 75 6c 74 69 20 | The evn|t_multi |
|00001770| 69 73 20 73 65 74 20 75 | 70 20 74 6f 20 77 61 69 |is set u|p to wai|
|00001780| 74 20 66 6f 72 20 61 20 | 6d 6f 75 73 65 20 63 6c |t for a |mouse cl|
|00001790| 69 63 6b 20 28 73 69 6e | 67 6c 65 20 6f 72 0a 64 |ick (sin|gle or.d|
|000017a0| 6f 75 62 6c 65 29 2c 20 | 20 66 6f 72 20 20 61 20 |ouble), | for a |
|000017b0| 20 6b 65 79 62 6f 61 72 | 64 20 20 69 6e 70 75 74 | keyboar|d input|
|000017c0| 2c 20 20 6f 72 20 20 66 | 6f 72 20 74 68 65 20 6d |, or f|or the m|
|000017d0| 6f 75 73 65 20 20 74 6f | 20 20 6d 61 6b 65 20 20 |ouse to| make |
|000017e0| 61 0a 22 73 69 67 6e 69 | 66 69 63 61 6e 74 22 20 |a."signi|ficant" |
|000017f0| 20 6d 6f 76 65 6d 65 6e | 74 2c 20 20 61 73 20 20 | movemen|t, as |
|00001800| 64 69 73 63 75 73 73 65 | 64 20 61 62 6f 76 65 2e |discusse|d above.|
|00001810| 20 20 20 4e 6f 74 69 63 | 65 20 74 68 61 74 20 73 | Notic|e that s|
|00001820| 69 6e 63 65 0a 66 6f 72 | 6d 5f 64 6f 20 69 73 20 |ince.for|m_do is |
|00001830| 75 73 65 64 20 61 73 20 | 61 20 73 75 62 72 6f 75 |used as |a subrou|
|00001840| 74 69 6e 65 2c 20 69 74 | 20 64 6f 65 73 20 6e 6f |tine, it| does no|
|00001850| 74 20 68 61 6e 64 6c 65 | 20 6d 65 73 73 61 67 65 |t handle| message|
|00001860| 73 20 77 68 69 63 68 0a | 61 72 65 20 20 6e 6f 72 |s which.|are nor|
|00001870| 6d 61 6c 6c 79 20 20 70 | 72 6f 63 65 73 73 65 64 |mally p|rocessed|
|00001880| 20 20 62 79 20 74 68 65 | 20 6d 61 69 6e 20 6c 6f | by the| main lo|
|00001890| 6f 70 20 20 6f 66 20 20 | 79 6f 75 72 20 20 61 70 |op of |your ap|
|000018a0| 70 6c 69 63 61 74 69 6f | 6e 2e 0a 4e 6f 74 69 63 |plicatio|n..Notic|
|000018b0| 65 20 74 68 61 74 20 74 | 68 69 73 20 63 72 65 61 |e that t|his crea|
|000018c0| 74 65 73 20 61 20 6d 6f | 64 65 2c 20 20 61 6e 64 |tes a mo|de, and|
|000018d0| 20 74 68 61 74 20 74 68 | 69 73 20 72 6f 75 74 69 | that th|is routi|
|000018e0| 6e 65 20 61 73 20 77 72 | 69 74 74 65 6e 0a 68 61 |ne as wr|itten.ha|
|000018f0| 6e 64 6c 65 73 20 6d 6f | 64 61 6c 20 64 69 61 6c |ndles mo|dal dial|
|00001900| 6f 67 73 2e 20 20 20 59 | 6f 75 20 63 6f 75 6c 64 |ogs. Y|ou could|
|00001910| 2c 20 20 68 6f 77 65 76 | 65 72 2c 20 75 73 65 20 |, howev|er, use |
|00001920| 74 68 69 73 20 63 6f 64 | 65 20 61 73 20 74 68 65 |this cod|e as the|
|00001930| 0a 62 61 73 69 73 20 66 | 6f 72 20 61 20 6e 6f 6e |.basis f|or a non|
|00001940| 2d 6d 6f 64 61 6c 20 64 | 69 61 6c 6f 67 20 68 61 |-modal d|ialog ha|
|00001950| 6e 64 6c 65 72 20 62 79 | 20 64 72 61 77 69 6e 67 |ndler by| drawing|
|00001960| 20 74 68 65 20 64 69 61 | 6c 6f 67 20 20 77 69 74 | the dia|log wit|
|00001970| 68 69 6e 0a 61 20 20 77 | 69 6e 64 6f 77 2c 20 20 |hin.a w|indow, |
|00001980| 61 6e 64 20 20 63 6f 6d | 62 69 6e 69 6e 67 20 74 |and com|bining t|
|00001990| 68 65 20 6d 61 69 6e 20 | 6c 6f 6f 70 20 6f 66 20 |he main |loop of |
|000019a0| 66 6f 72 6d 5f 64 6f 20 | 77 69 74 68 20 74 68 65 |form_do |with the|
|000019b0| 20 20 6d 61 69 6e 0a 6c | 6f 6f 70 20 20 6f 66 20 | main.l|oop of |
|000019c0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000019d0| 2e 20 20 20 28 54 68 69 | 73 20 70 6f 73 73 69 62 |. (Thi|s possib|
|000019e0| 69 6c 69 74 79 20 6d 61 | 79 20 62 65 20 65 78 61 |ility ma|y be exa|
|000019f0| 6d 69 6e 65 64 20 20 69 | 6e 0a 66 75 74 75 72 65 |mined i|n.future|
|00001a00| 20 20 63 6f 6c 75 6d 6e | 73 2e 20 20 20 49 6e 20 | column|s. In |
|00001a10| 74 68 65 20 6d 65 61 6e | 74 69 6d 65 2c 20 20 69 |the mean|time, i|
|00001a20| 74 20 69 73 20 6c 65 66 | 74 20 61 73 20 61 6e 20 |t is lef|t as an |
|00001a30| 65 78 65 72 63 69 73 65 | 20 66 6f 72 0a 74 68 65 |exercise| for.the|
|00001a40| 20 72 65 61 64 65 72 2e | 29 0a 0a 20 20 20 20 20 | reader.|).. |
|00001a50| 54 68 65 20 20 65 76 65 | 6e 74 20 20 62 69 74 20 |The eve|nt bit |
|00001a60| 76 65 63 74 6f 72 20 69 | 73 20 72 65 74 75 72 6e |vector i|s return|
|00001a70| 65 64 20 74 6f 20 74 68 | 65 20 20 76 61 72 69 61 |ed to th|e varia|
|00001a80| 62 6c 65 20 20 22 77 68 | 69 63 68 22 2e 0a 53 69 |ble "wh|ich"..Si|
|00001a90| 6e 63 65 20 65 76 65 6e | 74 73 20 61 72 65 20 6e |nce even|ts are n|
|00001aa0| 6f 74 20 6d 75 74 75 61 | 6c 6c 79 20 65 78 63 6c |ot mutua|lly excl|
|00001ab0| 75 73 69 76 65 2c 20 20 | 65 61 63 68 20 70 6f 73 |usive, |each pos|
|00001ac0| 73 69 62 6c 65 20 65 76 | 65 6e 74 20 74 79 70 65 |sible ev|ent type|
|00001ad0| 0a 6d 75 73 74 20 62 65 | 20 65 78 61 6d 69 6e 65 |.must be| examine|
|00001ae0| 64 20 69 6e 20 74 75 72 | 6e 20 62 65 66 6f 72 65 |d in tur|n before|
|00001af0| 20 72 65 74 75 72 6e 69 | 6e 67 20 74 6f 20 74 68 | returni|ng to th|
|00001b00| 65 20 65 76 6e 74 5f 6d | 75 6c 74 69 20 20 63 61 |e evnt_m|ulti ca|
|00001b10| 6c 6c 2e 0a 54 68 65 20 | 66 6f 72 6d 20 6d 61 6e |ll..The |form man|
|00001b20| 61 67 65 72 27 73 20 65 | 76 65 6e 74 20 68 61 6e |ager's e|vent han|
|00001b30| 64 6c 69 6e 67 20 72 6f | 75 74 69 6e 65 73 20 61 |dling ro|utines a|
|00001b40| 72 65 20 66 6f 72 6d 5f | 68 6f 74 2c 20 66 6f 72 |re form_|hot, for|
|00001b50| 20 6d 6f 75 73 65 0a 72 | 65 63 74 61 6e 67 6c 65 | mouse.r|ectangle|
|00001b60| 20 65 76 65 6e 74 2c 20 | 66 6f 72 6d 5f 6b 65 79 | event, |form_key|
|00001b70| 62 64 2c 20 66 6f 72 20 | 63 68 61 72 61 63 74 65 |bd, for |characte|
|00001b80| 72 20 69 6e 70 75 74 2c | 20 61 6e 64 20 66 6f 72 |r input,| and for|
|00001b90| 6d 5f 62 75 74 74 6f 6e | 2c 0a 66 6f 72 20 20 6d |m_button|,.for m|
|00001ba0| 6f 75 73 65 20 20 63 6c | 69 63 6b 73 2e 20 20 20 |ouse cl|icks. |
|00001bb0| 46 6f 72 6d 5f 6b 65 79 | 62 64 20 20 61 6e 64 20 |Form_key|bd and |
|00001bc0| 66 6f 72 6d 5f 62 75 74 | 74 6f 6e 20 61 72 65 20 |form_but|ton are |
|00001bd0| 20 61 6c 6c 6f 77 65 64 | 20 20 74 6f 0a 74 65 72 | allowed| to.ter|
|00001be0| 6d 69 6e 61 74 65 20 20 | 74 68 65 20 20 64 69 61 |minate |the dia|
|00001bf0| 6c 6f 67 20 62 79 20 72 | 65 74 75 72 6e 69 6e 67 |log by r|eturning|
|00001c00| 20 61 20 76 61 6c 75 65 | 20 6f 66 20 66 61 6c 73 | a value| of fals|
|00001c10| 65 20 74 6f 20 20 74 68 | 65 20 20 6c 6f 6f 70 0a |e to th|e loop.|
|00001c20| 63 6f 6e 74 72 6f 6c 20 | 76 61 72 69 61 62 6c 65 |control |variable|
|00001c30| 20 22 63 6f 6e 74 22 2e | 20 20 20 49 66 20 74 65 | "cont".| If te|
|00001c40| 72 6d 69 6e 61 74 69 6f | 6e 20 69 73 20 69 6d 6d |rminatio|n is imm|
|00001c50| 69 6e 65 6e 74 2c 20 6f | 72 20 74 68 65 20 75 73 |inent, o|r the us|
|00001c60| 65 72 0a 68 61 73 20 20 | 63 6c 69 63 6b 65 64 20 |er.has |clicked |
|00001c70| 20 6f 6e 20 61 20 6e 65 | 77 20 65 64 69 74 61 62 | on a ne|w editab|
|00001c80| 6c 65 20 6f 62 6a 65 63 | 74 2c 20 20 6f 62 6a 63 |le objec|t, objc|
|00001c90| 5f 65 64 69 74 20 69 73 | 20 63 61 6c 6c 65 64 20 |_edit is| called |
|00001ca0| 20 77 69 74 68 0a 45 44 | 45 4e 44 20 20 74 6f 20 | with.ED|END to |
|00001cb0| 72 65 6d 6f 76 65 20 74 | 68 65 20 63 75 72 73 6f |remove t|he curso|
|00001cc0| 72 20 66 72 6f 6d 20 74 | 68 65 20 6f 6c 64 20 6f |r from t|he old o|
|00001cd0| 62 6a 65 63 74 2e 20 20 | 20 54 68 65 20 6e 6f 72 |bject. | The nor|
|00001ce0| 6d 61 6c 20 66 6c 6f 77 | 0a 6f 66 20 63 6f 6e 74 |mal flow|.of cont|
|00001cf0| 72 6f 6c 20 74 68 65 6e | 20 72 65 74 75 72 6e 73 |rol then| returns|
|00001d00| 20 74 6f 20 65 64 69 74 | 20 73 65 74 75 70 20 61 | to edit| setup a|
|00001d10| 6e 64 20 65 76 6e 74 5f | 6d 75 6c 74 69 2e 0a 0a |nd evnt_|multi...|
|00001d20| 20 20 20 20 20 41 20 66 | 65 77 20 63 6c 65 61 6e | A f|ew clean|
|00001d30| 75 70 20 61 63 74 69 6f | 6e 73 20 61 72 65 20 70 |up actio|ns are p|
|00001d40| 65 72 66 6f 72 6d 65 64 | 20 75 70 6f 6e 20 74 65 |erformed| upon te|
|00001d50| 72 6d 69 6e 61 74 69 6f | 6e 2e 20 20 49 66 20 74 |rminatio|n. If t|
|00001d60| 68 65 0a 74 65 72 6d 69 | 6e 61 74 69 6e 67 20 20 |he.termi|nating |
|00001d70| 6f 62 6a 65 63 74 20 20 | 28 73 74 6f 72 65 64 20 |object |(stored |
|00001d80| 69 6e 20 6e 65 78 74 5f | 6f 62 6a 29 20 69 73 20 |in next_|obj) is |
|00001d90| 6e 6f 74 20 74 68 65 20 | 73 61 6d 65 20 20 61 73 |not the |same as|
|00001da0| 20 20 74 68 65 0a 68 6f | 74 5f 6f 62 6a 2c 20 74 | the.ho|t_obj, t|
|00001db0| 68 65 6e 20 61 20 72 61 | 63 65 20 63 6f 6e 64 69 |hen a ra|ce condi|
|00001dc0| 74 69 6f 6e 20 68 61 73 | 20 6f 63 63 75 72 65 64 |tion has| occured|
|00001dd0| 20 61 6e 64 20 74 68 65 | 20 68 6f 74 20 6f 62 6a | and the| hot obj|
|00001de0| 65 63 74 20 6d 75 73 74 | 0a 62 65 20 63 6c 65 61 |ect must|.be clea|
|00001df0| 72 65 64 20 77 69 74 68 | 20 6f 62 6a 63 5f 74 6f |red with| objc_to|
|00001e00| 67 67 6c 65 20 62 65 66 | 6f 72 65 20 65 78 69 74 |ggle bef|ore exit|
|00001e10| 69 6e 67 2e 20 20 20 41 | 66 74 65 72 20 74 68 69 |ing. A|fter thi|
|00001e20| 73 20 74 65 73 74 2c 20 | 74 68 65 0a 66 69 6e 61 |s test, |the.fina|
|00001e30| 6c 20 20 65 64 69 74 5f | 6f 62 6a 20 20 76 61 6c |l edit_|obj val|
|00001e40| 75 65 20 69 73 20 70 61 | 73 73 65 64 20 62 61 63 |ue is pa|ssed bac|
|00001e50| 6b 20 76 69 61 20 74 68 | 65 20 70 61 72 61 6d 65 |k via th|e parame|
|00001e60| 74 65 72 2c 20 20 61 6e | 64 20 20 74 68 65 0a 74 |ter, an|d the.t|
|00001e70| 65 72 6d 69 6e 61 74 69 | 6e 67 20 6f 62 6a 65 63 |erminati|ng objec|
|00001e80| 74 20 69 73 20 72 65 74 | 75 72 6e 65 64 20 61 73 |t is ret|urned as|
|00001e90| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 76 61 | the fun|ction va|
|00001ea0| 6c 75 65 2e 0a 0a 20 20 | 20 20 20 52 45 4c 41 58 |lue... | RELAX|
|00001eb0| 45 4e 20 20 20 55 4e 44 | 20 20 57 41 54 43 48 45 |EN UND| WATCHE|
|00001ec0| 4e 20 20 44 41 53 20 20 | 42 4c 49 4e 4b 45 4e 4c |N DAS |BLINKENL|
|00001ed0| 49 43 48 54 45 4e 2e 20 | 20 20 20 46 6f 72 6d 5f |ICHTEN. | Form_|
|00001ee0| 68 6f 74 20 20 20 69 73 | 0a 72 65 73 70 6f 6e 73 |hot is|.respons|
|00001ef0| 69 62 6c 65 20 20 66 6f | 72 20 20 6d 61 69 6e 74 |ible fo|r maint|
|00001f00| 61 69 6e 69 6e 67 20 6f | 6e 2d 73 63 72 65 65 6e |aining o|n-screen|
|00001f10| 20 68 6f 74 2d 73 70 6f | 74 73 2c 20 20 61 6e 64 | hot-spo|ts, and|
|00001f20| 20 20 63 6f 72 72 65 63 | 74 6c 79 0a 75 70 64 61 | correc|tly.upda|
|00001f30| 74 69 6e 67 20 20 74 68 | 65 20 20 69 6e 74 65 72 |ting th|e inter|
|00001f40| 6e 61 6c 20 68 6f 74 2d | 73 70 6f 74 20 76 61 72 |nal hot-|spot var|
|00001f50| 69 61 62 6c 65 73 2e 20 | 20 20 49 74 20 69 73 20 |iables. | It is |
|00001f60| 61 62 6f 75 74 20 20 68 | 61 6c 66 77 61 79 0a 74 |about h|alfway.t|
|00001f70| 68 72 6f 75 67 68 20 74 | 68 65 20 6c 69 73 74 69 |hrough t|he listi|
|00001f80| 6e 67 2e 0a 0a 20 20 20 | 20 20 54 68 65 20 66 69 |ng... | The fi|
|00001f90| 72 73 74 20 61 63 74 69 | 6f 6e 20 69 6e 20 66 6f |rst acti|on in fo|
|00001fa0| 72 6d 5f 68 6f 74 20 69 | 73 20 74 6f 20 64 65 74 |rm_hot i|s to det|
|00001fb0| 65 72 6d 69 6e 65 20 69 | 66 20 74 68 65 20 6d 6f |ermine i|f the mo|
|00001fc0| 75 73 65 20 68 61 73 0a | 6a 75 73 74 20 65 78 69 |use has.|just exi|
|00001fd0| 74 65 64 20 61 6e 20 6f | 62 6a 65 63 74 20 77 68 |ted an o|bject wh|
|00001fe0| 69 63 68 20 69 73 20 22 | 68 6f 74 2e 20 20 49 6e |ich is "|hot. In|
|00001ff0| 20 74 68 69 73 20 63 61 | 73 65 2c 20 6f 62 6a 63 | this ca|se, objc|
|00002000| 5f 74 6f 67 67 6c 65 20 | 69 73 0a 63 61 6c 6c 65 |_toggle |is.calle|
|00002010| 64 20 74 6f 20 75 6e 68 | 69 67 68 6c 69 67 68 74 |d to unh|ighlight|
|00002020| 20 74 68 65 20 6f 62 6a | 65 63 74 20 61 6e 64 20 | the obj|ect and |
|00002030| 72 65 73 65 74 20 74 68 | 65 20 53 45 4c 45 43 54 |reset th|e SELECT|
|00002040| 45 44 20 66 6c 61 67 2e | 0a 0a 20 20 20 20 20 54 |ED flag.|.. T|
|00002050| 68 65 20 63 75 72 72 65 | 6e 74 20 6d 6f 75 73 65 |he curre|nt mouse|
|00002060| 20 70 6f 73 69 74 69 6f | 6e 20 69 73 20 70 61 73 | positio|n is pas|
|00002070| 73 65 64 20 74 6f 20 66 | 6f 72 6d 5f 68 6f 74 20 |sed to f|orm_hot |
|00002080| 62 79 20 20 66 6f 72 6d | 5f 64 6f 2e 0a 49 74 20 |by form|_do..It |
|00002090| 20 69 73 20 63 68 65 63 | 6b 65 64 20 61 67 61 69 | is chec|ked agai|
|000020a0| 6e 73 74 20 74 68 65 20 | 72 6f 6f 74 20 72 65 63 |nst the |root rec|
|000020b0| 74 61 6e 67 6c 65 20 6f | 66 20 74 68 65 20 64 69 |tangle o|f the di|
|000020c0| 61 6c 6f 67 20 74 6f 20 | 73 65 65 20 20 69 66 0a |alog to |see if.|
|000020d0| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 69 6e 73 |the mous|e is ins|
|000020e0| 69 64 65 20 74 68 65 20 | 64 69 61 6c 6f 67 2e 20 |ide the |dialog. |
|000020f0| 20 49 66 20 6e 6f 74 2c | 20 74 68 65 20 70 72 6f | If not,| the pro|
|00002100| 67 72 61 6d 20 6d 75 73 | 74 20 77 61 69 74 20 66 |gram mus|t wait f|
|00002110| 6f 72 0a 69 74 20 20 74 | 6f 20 72 65 2d 65 6e 74 |or.it t|o re-ent|
|00002120| 65 72 2c 20 20 73 6f 20 | 66 6f 72 6d 5f 68 6f 74 |er, so |form_hot|
|00002130| 20 73 65 74 73 20 74 68 | 65 20 72 65 63 74 61 6e | sets th|e rectan|
|00002140| 67 6c 65 20 61 6e 64 20 | 77 61 69 74 69 6e 67 20 |gle and |waiting |
|00002150| 20 6d 6f 64 65 0a 61 63 | 63 6f 72 64 69 6e 67 6c | mode.ac|cordingl|
|00002160| 79 2c 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 4e |y, and r|eturns N|
|00002170| 49 4c 20 61 73 20 74 68 | 65 20 6e 65 77 20 68 6f |IL as th|e new ho|
|00002180| 74 5f 6f 62 6a 2e 0a 0a | 20 20 20 20 20 57 68 65 |t_obj...| Whe|
|00002190| 6e 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 77 |n the mo|use is w|
|000021a0| 69 74 68 69 6e 20 74 68 | 65 20 64 69 61 6c 6f 67 |ithin th|e dialog|
|000021b0| 2c 20 61 20 72 65 67 75 | 6c 61 72 20 6f 62 6a 63 |, a regu|lar objc|
|000021c0| 5f 66 69 6e 64 20 63 61 | 6c 6c 0a 64 65 74 65 72 |_find ca|ll.deter|
|000021d0| 6d 69 6e 65 73 20 20 74 | 68 65 20 6f 62 6a 65 63 |mines t|he objec|
|000021e0| 74 20 61 74 20 77 68 69 | 63 68 20 69 74 20 69 73 |t at whi|ch it is|
|000021f0| 20 70 6f 69 6e 74 69 6e | 67 2e 20 20 20 46 6f 72 | pointin|g. For|
|00002200| 20 61 6e 20 6f 62 6a 65 | 63 74 20 74 6f 0a 62 65 | an obje|ct to.be|
|00002210| 20 20 6d 6f 75 73 65 2d | 73 65 6e 73 69 74 69 76 | mouse-|sensitiv|
|00002220| 65 2c 20 20 69 74 20 6d | 75 73 74 20 62 65 20 53 |e, it m|ust be S|
|00002230| 45 4c 45 43 54 41 42 4c | 45 20 61 6e 64 20 6e 6f |ELECTABL|E and no|
|00002240| 74 20 44 49 53 41 42 4c | 45 44 2e 20 20 20 49 66 |t DISABL|ED. If|
|00002250| 0a 74 68 65 20 20 66 6f | 75 6e 64 20 6f 62 6a 65 |.the fo|und obje|
|00002260| 63 74 20 6d 65 65 74 73 | 20 74 68 65 73 65 20 74 |ct meets| these t|
|00002270| 65 73 74 73 2c 20 20 74 | 68 65 20 6d 6f 75 73 65 |ests, t|he mouse|
|00002280| 20 77 69 6c 6c 20 22 68 | 6f 76 65 72 22 20 20 6f | will "h|over" o|
|00002290| 76 65 72 0a 74 68 65 20 | 20 6f 62 6a 65 63 74 2c |ver.the | object,|
|000022a0| 20 20 77 61 69 74 69 6e | 67 20 20 74 6f 20 6c 65 | waitin|g to le|
|000022b0| 61 76 65 20 69 74 73 20 | 73 63 72 65 65 6e 20 72 |ave its |screen r|
|000022c0| 65 63 74 61 6e 67 6c 65 | 2e 20 20 20 53 69 6e 63 |ectangle|. Sinc|
|000022d0| 65 20 20 74 68 65 0a 6f | 62 6a 65 63 74 20 6d 69 |e the.o|bject mi|
|000022e0| 67 68 74 20 61 6c 72 65 | 61 64 79 20 62 65 20 53 |ght alre|ady be S|
|000022f0| 45 4c 45 43 54 45 44 20 | 28 61 6e 64 20 68 65 6e |ELECTED |(and hen|
|00002300| 63 65 20 64 72 61 77 6e | 20 72 65 76 65 72 73 65 |ce drawn| reverse|
|00002310| 64 29 2c 20 20 74 68 69 | 73 0a 69 73 20 63 68 65 |d), thi|s.is che|
|00002320| 63 6b 65 64 20 62 65 66 | 6f 72 65 20 6f 62 6a 63 |cked bef|ore objc|
|00002330| 5f 74 6f 67 67 6c 65 20 | 69 73 20 63 61 6c 6c 65 |_toggle |is calle|
|00002340| 64 20 74 6f 20 64 6f 20 | 74 68 65 20 68 69 67 68 |d to do |the high|
|00002350| 6c 69 67 68 74 69 6e 67 | 20 61 6e 64 0a 73 65 6c |lighting| and.sel|
|00002360| 65 63 74 69 6f 6e 20 20 | 6f 66 20 20 74 68 65 20 |ection |of the |
|00002370| 20 6f 62 6a 65 63 74 2c | 20 20 77 68 69 63 68 20 | object,| which |
|00002380| 62 65 63 6f 6d 65 73 20 | 74 68 65 20 68 6f 74 5f |becomes |the hot_|
|00002390| 6f 62 6a 2e 20 20 20 28 | 49 66 20 20 74 68 65 0a |obj. (|If the.|
|000023a0| 6f 62 6a 65 63 74 20 77 | 61 73 20 61 6c 72 65 61 |object w|as alrea|
|000023b0| 64 79 20 53 45 4c 45 43 | 54 45 44 2c 20 74 68 65 |dy SELEC|TED, the|
|000023c0| 20 68 6f 74 5f 6f 62 6a | 20 62 65 63 6f 6d 65 73 | hot_obj| becomes|
|000023d0| 20 4e 49 4c 2e 29 0a 0a | 20 20 20 20 20 54 68 65 | NIL.)..| The|
|000023e0| 20 20 74 6f 75 67 68 65 | 73 74 20 20 63 6f 6e 64 | toughe|st cond|
|000023f0| 69 74 69 6f 6e 20 20 69 | 73 20 77 68 65 6e 20 74 |ition i|s when t|
|00002400| 68 65 20 20 6d 6f 75 73 | 65 20 20 69 73 20 20 77 |he mous|e is w|
|00002410| 69 74 68 69 6e 20 20 74 | 68 65 0a 64 69 61 6c 6f |ithin t|he.dialo|
|00002420| 67 2c 20 20 62 75 74 20 | 20 6e 6f 74 20 6f 76 65 |g, but | not ove|
|00002430| 72 20 61 20 6d 6f 75 73 | 65 2d 73 65 6e 73 69 74 |r a mous|e-sensit|
|00002440| 69 76 65 20 6f 62 6a 65 | 63 74 2e 20 20 20 54 68 |ive obje|ct. Th|
|00002450| 65 20 72 65 67 75 6c 61 | 72 20 47 45 4d 0a 65 76 |e regula|r GEM.ev|
|00002460| 65 6e 74 20 20 73 74 72 | 75 63 74 75 72 65 20 20 |ent str|ucture |
|00002470| 77 69 6c 6c 20 6e 6f 74 | 20 77 6f 72 6b 2c 20 20 |will not| work, |
|00002480| 62 65 63 61 75 73 65 20 | 69 74 20 63 61 6e 20 6f |because |it can o|
|00002490| 6e 6c 79 20 77 61 69 74 | 20 6f 6e 20 20 74 77 6f |nly wait| on two|
|000024a0| 0a 72 65 63 74 61 6e 67 | 6c 65 73 2c 20 20 61 6e |.rectang|les, an|
|000024b0| 64 20 20 74 68 65 72 65 | 20 20 6d 61 79 20 62 65 |d there| may be|
|000024c0| 20 6d 61 6e 79 20 6d 6f | 72 65 20 73 65 6c 65 63 | many mo|re selec|
|000024d0| 74 61 62 6c 65 20 6f 62 | 6a 65 63 74 73 20 69 6e |table ob|jects in|
|000024e0| 20 20 61 0a 64 69 61 6c | 6f 67 20 20 74 72 65 65 | a.dial|og tree|
|000024f0| 2e 20 20 20 49 20 68 61 | 76 65 20 66 6f 75 6e 64 |. I ha|ve found|
|00002500| 20 61 20 77 61 79 20 61 | 72 6f 75 6e 64 20 74 68 | a way a|round th|
|00002510| 69 73 20 6c 69 6d 69 74 | 61 74 69 6f 6e 20 75 73 |is limit|ation us|
|00002520| 69 6e 67 20 20 61 0a 63 | 6f 6d 62 69 6e 61 74 69 |ing a.c|ombinati|
|00002530| 6f 6e 20 6f 66 20 74 68 | 65 20 6d 61 70 5f 74 72 |on of th|e map_tr|
|00002540| 65 65 20 75 74 69 6c 69 | 74 79 20 28 69 6e 74 72 |ee utili|ty (intr|
|00002550| 6f 64 75 63 65 64 20 69 | 6e 20 53 54 20 50 52 4f |oduced i|n ST PRO|
|00002560| 20 47 45 4d 20 20 23 35 | 29 0a 77 69 74 68 20 74 | GEM #5|).with t|
|00002570| 68 65 20 70 72 69 6e 63 | 69 70 6c 65 20 6f 66 20 |he princ|iple of |
|00002580| 76 69 73 75 61 6c 20 68 | 69 65 72 61 72 63 68 79 |visual h|ierarchy|
|00002590| 20 69 6e 20 6f 62 6a 65 | 63 74 20 74 72 65 65 73 | in obje|ct trees|
|000025a0| 2e 0a 0a 20 20 20 20 20 | 49 6e 20 20 73 75 6d 6d |... |In summ|
|000025b0| 61 72 79 2c 20 20 74 68 | 65 20 20 61 6c 67 6f 72 |ary, th|e algor|
|000025c0| 69 74 68 6d 20 20 61 74 | 74 65 6d 70 74 73 20 74 |ithm at|tempts t|
|000025d0| 6f 20 20 66 69 6e 64 20 | 20 74 68 65 20 20 6c 61 |o find | the la|
|000025e0| 72 67 65 73 74 0a 62 6f | 75 6e 64 69 6e 67 20 72 |rgest.bo|unding r|
|000025f0| 65 63 74 61 6e 67 6c 65 | 20 61 72 6f 75 6e 64 20 |ectangle| around |
|00002600| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6d 6f 75 73 |the curr|ent mous|
|00002610| 65 20 70 6f 73 69 74 69 | 6f 6e 2c 20 77 69 74 68 |e positi|on, with|
|00002620| 69 6e 20 77 68 69 63 68 | 0a 74 68 65 72 65 20 61 |in which|.there a|
|00002630| 72 65 20 6e 6f 20 6d 6f | 75 73 65 2d 73 65 6e 73 |re no mo|use-sens|
|00002640| 69 74 69 76 65 20 6f 62 | 6a 65 63 74 73 2e 20 20 |itive ob|jects. |
|00002650| 20 49 74 20 73 74 61 72 | 74 73 20 77 69 74 68 20 | It star|ts with |
|00002660| 61 20 72 65 63 74 61 6e | 67 6c 65 0a 65 71 75 61 |a rectan|gle.equa|
|00002670| 6c 20 20 74 6f 20 74 68 | 65 20 64 69 61 6c 6f 67 |l to th|e dialog|
|00002680| 20 72 6f 6f 74 2c 20 20 | 61 6e 64 20 73 75 63 63 | root, |and succ|
|00002690| 65 73 73 69 76 65 6c 79 | 20 22 62 72 65 61 6b 73 |essively| "breaks|
|000026a0| 22 20 69 74 20 77 69 74 | 68 20 20 74 68 65 0a 72 |" it wit|h the.r|
|000026b0| 65 63 74 61 6e 67 6c 65 | 20 6f 66 20 65 61 63 68 |ectangle| of each|
|000026c0| 20 6d 6f 75 73 65 2d 73 | 65 6e 73 69 74 69 76 65 | mouse-s|ensitive|
|000026d0| 20 6f 62 6a 65 63 74 2e | 20 20 54 68 65 20 6e 65 | object.| The ne|
|000026e0| 78 74 20 66 65 77 20 70 | 61 72 61 67 72 61 70 68 |xt few p|aragraph|
|000026f0| 73 0a 65 78 61 6d 69 6e | 65 20 74 68 69 73 20 6d |s.examin|e this m|
|00002700| 65 74 68 6f 64 20 69 6e | 20 64 65 74 61 69 6c 2e |ethod in| detail.|
|00002710| 0a 0a 20 20 20 20 20 53 | 69 6e 63 65 20 20 43 20 |.. S|ince C |
|00002720| 20 6c 61 63 6b 73 20 20 | 74 68 65 20 20 64 79 6e | lacks |the dyn|
|00002730| 61 6d 69 63 20 73 63 6f | 70 69 6e 67 20 20 6f 66 |amic sco|ping of|
|00002740| 20 20 4c 49 53 50 2c 20 | 20 66 72 6f 6d 20 20 77 | LISP, | from w|
|00002750| 68 69 63 68 0a 6d 61 70 | 5f 74 72 65 65 20 77 61 |hich.map|_tree wa|
|00002760| 73 20 64 65 72 69 76 65 | 64 2c 20 69 74 20 69 73 |s derive|d, it is|
|00002770| 20 6e 65 63 65 73 73 61 | 72 79 20 74 6f 20 73 65 | necessa|ry to se|
|00002780| 74 20 75 70 20 73 6f 6d | 65 20 67 6c 6f 62 61 6c |t up som|e global|
|00002790| 73 20 74 6f 20 62 65 0a | 75 73 65 64 20 64 75 72 |s to be.|used dur|
|000027a0| 69 6e 67 20 74 68 65 20 | 72 65 63 74 61 6e 67 6c |ing the |rectangl|
|000027b0| 65 20 62 72 65 61 6b 20 | 70 72 6f 63 65 73 73 2e |e break |process.|
|000027c0| 20 20 20 42 72 5f 72 65 | 63 74 20 69 73 20 74 68 | Br_re|ct is th|
|000027d0| 65 20 47 52 45 43 54 20 | 6f 66 0a 74 68 65 20 63 |e GRECT |of.the c|
|000027e0| 75 72 72 65 6e 74 20 62 | 6f 75 6e 64 69 6e 67 20 |urrent b|ounding |
|000027f0| 72 65 63 74 61 6e 67 6c | 65 2e 20 20 20 42 72 5f |rectangl|e. Br_|
|00002800| 6d 78 20 61 6e 64 20 62 | 72 5f 6d 79 20 68 6f 6c |mx and b|r_my hol|
|00002810| 64 20 74 68 65 20 63 75 | 72 72 65 6e 74 0a 6d 6f |d the cu|rrent.mo|
|00002820| 75 73 65 20 70 6f 73 69 | 74 69 6f 6e 2e 20 20 20 |use posi|tion. |
|00002830| 42 72 5f 74 6f 67 6c 20 | 69 73 20 61 20 73 77 69 |Br_togl |is a swi|
|00002840| 74 63 68 20 77 68 69 63 | 68 20 64 65 74 65 72 6d |tch whic|h determ|
|00002850| 69 6e 65 73 20 77 68 65 | 74 68 65 72 20 74 68 65 |ines whe|ther the|
|00002860| 0a 6e 65 78 74 20 20 62 | 72 65 61 6b 20 77 69 6c |.next b|reak wil|
|00002870| 6c 20 62 65 20 61 74 74 | 65 6d 70 74 65 64 20 68 |l be att|empted h|
|00002880| 6f 72 69 7a 6f 6e 74 61 | 6c 6c 79 20 6f 72 20 20 |orizonta|lly or |
|00002890| 76 65 72 74 69 63 61 6c | 6c 79 2e 20 20 20 41 66 |vertical|ly. Af|
|000028a0| 74 65 72 0a 69 6e 69 74 | 69 61 6c 69 7a 69 6e 67 |ter.init|ializing|
|000028b0| 20 74 68 65 73 65 20 76 | 61 72 69 61 62 6c 65 73 | these v|ariables|
|000028c0| 2c 20 66 6f 72 6d 5f 68 | 6f 74 20 75 73 65 73 20 |, form_h|ot uses |
|000028d0| 6d 61 70 5f 74 72 65 65 | 20 74 6f 20 69 6e 76 6f |map_tree| to invo|
|000028e0| 6b 65 20 74 68 65 0a 62 | 72 65 61 6b 5f 6f 62 6a |ke the.b|reak_obj|
|000028f0| 20 72 6f 75 74 69 6e 65 | 20 66 6f 72 20 65 76 65 | routine| for eve|
|00002900| 72 79 20 6f 62 6a 65 63 | 74 20 69 6e 20 74 68 65 |ry objec|t in the|
|00002910| 20 64 69 61 6c 6f 67 2e | 0a 0a 20 20 20 20 20 42 | dialog.|.. B|
|00002920| 72 65 61 6b 5f 6f 62 6a | 20 20 66 69 72 73 74 20 |reak_obj| first |
|00002930| 69 6e 74 65 72 73 65 63 | 74 73 20 74 68 65 20 72 |intersec|ts the r|
|00002940| 65 63 74 61 6e 67 6c 65 | 20 6f 66 20 74 68 65 20 |ectangle| of the |
|00002950| 6f 62 6a 65 63 74 20 20 | 77 69 74 68 0a 74 68 65 |object |with.the|
|00002960| 20 20 63 75 72 72 65 6e | 74 20 20 62 6f 75 6e 64 | curren|t bound|
|00002970| 69 6e 67 20 20 72 65 63 | 74 61 6e 67 6c 65 2e 20 |ing rec|tangle. |
|00002980| 20 20 49 66 20 74 68 65 | 79 20 20 61 72 65 20 20 | If the|y are |
|00002990| 64 69 73 6a 6f 69 6e 74 | 2c 20 20 74 68 65 6e 0a |disjoint|, then.|
|000029a0| 6e 65 69 74 68 65 72 20 | 20 74 68 65 20 6f 62 6a |neither | the obj|
|000029b0| 65 63 74 20 6e 6f 72 20 | 61 6e 79 20 6f 66 20 69 |ect nor |any of i|
|000029c0| 74 73 20 6f 66 66 73 70 | 72 69 6e 67 20 63 61 6e |ts offsp|ring can|
|000029d0| 20 20 70 6f 73 73 69 62 | 6c 65 20 20 61 66 66 65 | possib|le affe|
|000029e0| 63 74 0a 74 68 65 20 20 | 6f 70 65 72 61 74 69 6f |ct.the |operatio|
|000029f0| 6e 2c 20 20 73 6f 20 46 | 41 4c 53 45 20 69 73 20 |n, so F|ALSE is |
|00002a00| 72 65 74 75 72 6e 65 64 | 2c 20 20 63 61 75 73 69 |returned|, causi|
|00002a10| 6e 67 20 6d 61 70 5f 74 | 72 65 65 20 74 6f 20 69 |ng map_t|ree to i|
|00002a20| 67 6e 6f 72 65 0a 74 68 | 65 20 73 75 62 74 72 65 |gnore.th|e subtre|
|00002a30| 65 2e 0a 0a 20 20 20 20 | 20 54 68 65 20 20 6f 62 |e... | The ob|
|00002a40| 6a 65 63 74 20 69 73 20 | 6e 65 78 74 20 63 68 65 |ject is |next che|
|00002a50| 63 6b 65 64 20 74 6f 20 | 73 65 65 20 69 66 20 69 |cked to |see if i|
|00002a60| 74 20 69 73 20 20 6d 6f | 75 73 65 2d 73 65 6e 73 |t is mo|use-sens|
|00002a70| 69 74 69 76 65 2e 0a 41 | 73 20 62 65 66 6f 72 65 |itive..A|s before|
|00002a80| 2c 20 69 74 20 6d 75 73 | 74 20 62 65 20 53 45 4c |, it mus|t be SEL|
|00002a90| 45 43 54 41 42 4c 45 20 | 61 6e 64 20 6e 6f 74 20 |ECTABLE |and not |
|00002aa0| 44 49 53 41 42 4c 45 44 | 2c 20 61 6e 64 20 69 74 |DISABLED|, and it|
|00002ab0| 20 6d 75 73 74 20 6e 6f | 74 0a 62 65 20 20 68 69 | must no|t.be hi|
|00002ac0| 64 64 65 6e 20 28 74 68 | 69 73 20 77 61 73 20 63 |dden (th|is was c|
|00002ad0| 68 65 63 6b 65 64 20 61 | 75 74 6f 6d 61 74 69 63 |hecked a|utomatic|
|00002ae0| 61 6c 6c 79 20 62 79 20 | 20 6f 62 6a 63 5f 66 69 |ally by | objc_fi|
|00002af0| 6e 64 20 20 62 65 66 6f | 72 65 29 2e 0a 49 66 20 |nd befo|re)..If |
|00002b00| 20 74 68 65 73 65 20 20 | 63 6f 6e 64 69 74 69 6f | these |conditio|
|00002b10| 6e 73 20 61 72 65 20 6d | 65 74 2c 20 20 74 68 65 |ns are m|et, the|
|00002b20| 6e 20 74 68 65 20 6f 62 | 6a 65 63 74 20 69 6e 74 |n the ob|ject int|
|00002b30| 72 75 64 65 73 20 69 6e | 74 6f 20 20 74 68 65 0a |rudes in|to the.|
|00002b40| 63 75 72 72 65 6e 74 20 | 20 62 6f 75 6e 64 69 6e |current | boundin|
|00002b50| 67 20 72 65 63 74 61 6e | 67 6c 65 2e 20 20 20 54 |g rectan|gle. T|
|00002b60| 6f 20 6d 61 69 6e 74 61 | 69 6e 20 74 68 65 20 64 |o mainta|in the d|
|00002b70| 65 73 69 72 65 64 20 20 | 63 6f 6e 64 69 74 69 6f |esired |conditio|
|00002b80| 6e 2c 0a 70 61 72 74 20 | 6f 66 20 74 68 65 20 72 |n,.part |of the r|
|00002b90| 65 63 74 61 6e 67 6c 65 | 20 6d 75 73 74 20 62 65 |ectangle| must be|
|00002ba0| 20 72 65 6d 6f 76 65 64 | 20 6f 72 20 22 62 72 6f | removed| or "bro|
|00002bb0| 6b 65 6e 20 61 77 61 79 | 22 2e 0a 0a 20 20 20 20 |ken away|"... |
|00002bc0| 20 49 6e 20 20 6d 61 6e | 79 20 20 63 61 73 65 73 | In man|y cases|
|00002bd0| 2c 20 20 74 68 65 20 20 | 62 72 65 61 6b 20 20 6f |, the |break o|
|00002be0| 70 65 72 61 74 69 6f 6e | 20 63 61 6e 20 20 62 65 |peration| can be|
|00002bf0| 20 20 64 6f 6e 65 20 20 | 65 69 74 68 65 72 0a 68 | done |either.h|
|00002c00| 6f 72 69 7a 6f 6e 74 61 | 6c 6c 79 20 6f 72 20 76 |orizonta|lly or v|
|00002c10| 65 72 74 69 63 61 6c 6c | 79 2e 20 20 53 69 6e 63 |erticall|y. Sinc|
|00002c20| 65 20 77 65 20 68 61 76 | 65 20 6e 6f 20 70 72 69 |e we hav|e no pri|
|00002c30| 6f 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |or infor|mation a|
|00002c40| 73 0a 74 6f 20 77 68 69 | 63 68 20 77 61 79 20 74 |s.to whi|ch way t|
|00002c50| 68 65 20 6d 6f 75 73 65 | 20 77 69 6c 6c 20 6d 6f |he mouse| will mo|
|00002c60| 76 65 20 6e 65 78 74 2c | 20 20 62 72 65 61 6b 5f |ve next,| break_|
|00002c70| 6f 62 6a 20 75 73 65 73 | 20 74 68 65 20 62 72 5f |obj uses| the br_|
|00002c80| 74 6f 67 6c 0a 66 6c 61 | 67 20 74 6f 20 61 6c 74 |togl.fla|g to alt|
|00002c90| 65 72 6e 61 74 65 20 77 | 68 69 63 68 20 64 69 72 |ernate w|hich dir|
|00002ca0| 65 63 74 69 6f 6e 20 69 | 74 20 77 69 6c 6c 20 74 |ection i|t will t|
|00002cb0| 72 79 20 66 69 72 73 74 | 2e 20 20 20 54 68 69 73 |ry first|. This|
|00002cc0| 20 73 68 6f 75 6c 64 0a | 79 69 65 6c 64 20 74 68 | should.|yield th|
|00002cd0| 65 20 6d 6f 73 74 20 6e | 65 61 72 6c 79 20 73 71 |e most n|early sq|
|00002ce0| 75 61 72 65 20 72 65 63 | 74 61 6e 67 6c 65 2e 0a |uare rec|tangle..|
|00002cf0| 0a 20 20 20 20 20 54 68 | 65 20 20 62 72 65 61 6b |. Th|e break|
|00002d00| 5f 78 20 61 6e 64 20 62 | 72 65 61 6b 5f 79 20 72 |_x and b|reak_y r|
|00002d10| 6f 75 74 69 6e 65 73 20 | 61 72 65 20 76 65 72 79 |outines |are very|
|00002d20| 20 73 69 6d 69 6c 61 72 | 2e 20 20 20 49 6e 20 65 | similar|. In e|
|00002d30| 61 63 68 0a 63 61 73 65 | 2c 20 20 74 68 65 20 20 |ach.case|, the |
|00002d40| 73 65 67 6d 65 6e 74 20 | 6f 63 63 75 70 69 65 64 |segment |occupied|
|00002d50| 20 62 79 20 74 68 65 20 | 62 72 65 61 6b 69 6e 67 | by the |breaking|
|00002d60| 20 6f 62 6a 65 63 74 20 | 69 73 20 63 6f 6d 70 61 | object |is compa|
|00002d70| 72 65 64 20 74 6f 0a 74 | 68 65 20 20 70 6f 69 6e |red to.t|he poin|
|00002d80| 74 20 20 6f 63 63 75 70 | 69 65 64 20 20 62 79 20 |t occup|ied by |
|00002d90| 74 68 65 20 6d 6f 75 73 | 65 2e 20 20 20 49 66 20 |the mous|e. If |
|00002da0| 74 68 65 20 70 6f 69 6e | 74 20 69 73 20 20 77 69 |the poin|t is wi|
|00002db0| 74 68 69 6e 20 20 74 68 | 65 0a 73 65 67 6d 65 6e |thin th|e.segmen|
|00002dc0| 74 2c 20 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |t, ther|e is no |
|00002dd0| 70 6f 73 73 69 62 6c 65 | 20 62 72 65 61 6b 20 69 |possible| break i|
|00002de0| 6e 20 74 68 69 73 20 64 | 69 6d 65 6e 73 69 6f 6e |n this d|imension|
|00002df0| 2c 20 20 61 6e 64 20 46 | 41 4c 53 45 0a 69 73 20 |, and F|ALSE.is |
|00002e00| 20 72 65 74 75 72 6e 65 | 64 2e 20 20 20 49 66 20 | returne|d. If |
|00002e10| 20 74 68 65 20 70 6f 69 | 6e 74 20 6c 69 65 73 20 | the poi|nt lies |
|00002e20| 6f 75 74 73 69 64 65 20 | 74 68 65 20 73 65 67 6d |outside |the segm|
|00002e30| 65 6e 74 2c 20 20 74 68 | 65 6e 20 20 74 68 65 0a |ent, th|en the.|
|00002e40| 72 65 63 74 61 6e 67 6c | 65 20 20 6d 61 79 20 62 |rectangl|e may b|
|00002e50| 65 20 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 62 |e succes|sfully b|
|00002e60| 72 6f 6b 65 6e 20 62 79 | 20 72 65 64 75 63 69 6e |roken by| reducin|
|00002e70| 67 20 74 68 69 73 20 20 | 64 69 6d 65 6e 73 69 6f |g this |dimensio|
|00002e80| 6e 2e 0a 54 68 69 73 20 | 69 73 20 64 6f 6e 65 2c |n..This |is done,|
|00002e90| 20 61 6e 64 20 54 52 55 | 45 20 69 73 20 72 65 74 | and TRU|E is ret|
|00002ea0| 75 72 6e 65 64 20 74 6f | 20 72 65 70 6f 72 74 20 |urned to| report |
|00002eb0| 73 75 63 63 65 73 73 2e | 0a 0a 20 20 20 20 20 54 |success.|.. T|
|00002ec0| 68 65 20 62 72 65 61 6b | 5f 79 20 72 6f 75 74 69 |he break|_y routi|
|00002ed0| 6e 65 20 61 6c 73 6f 20 | 65 6d 70 6c 6f 79 73 20 |ne also |employs |
|00002ee0| 61 20 6c 6f 6f 6b 2d 61 | 68 65 61 64 20 74 65 73 |a look-a|head tes|
|00002ef0| 74 20 74 6f 20 70 72 65 | 76 65 6e 74 0a 61 20 70 |t to pre|vent.a p|
|00002f00| 6f 73 73 69 62 6c 65 20 | 69 6e 66 69 6e 69 74 65 |ossible |infinite|
|00002f10| 20 6c 6f 6f 70 2e 20 20 | 20 49 74 20 69 73 20 63 | loop. | It is c|
|00002f20| 6f 6e 63 65 69 76 61 62 | 6c 65 2c 20 20 74 68 6f |onceivab|le, tho|
|00002f30| 75 67 68 20 6e 6f 74 20 | 6c 69 6b 65 6c 79 2c 0a |ugh not |likely,.|
|00002f40| 74 68 61 74 20 73 6f 6d | 65 6f 6e 65 20 6d 69 67 |that som|eone mig|
|00002f50| 68 74 20 6e 65 73 74 20 | 61 20 6e 6f 6e 2d 53 45 |ht nest |a non-SE|
|00002f60| 4c 45 43 54 41 42 4c 45 | 20 6f 62 6a 65 63 74 20 |LECTABLE| object |
|00002f70| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 20 77 69 74 68 |complete|ly with|
|00002f80| 69 6e 0a 61 6e 6f 74 68 | 65 72 20 20 53 45 4c 45 |in.anoth|er SELE|
|00002f90| 43 54 41 42 4c 45 20 6f | 62 6a 65 63 74 28 73 29 |CTABLE o|bject(s)|
|00002fa0| 2e 20 20 20 49 66 20 74 | 68 65 20 6d 6f 75 73 65 |. If t|he mouse|
|00002fb0| 20 70 6f 69 6e 74 20 69 | 73 20 77 69 74 68 69 6e | point i|s within|
|00002fc0| 20 73 75 63 68 0a 61 6e | 20 20 6f 62 6a 65 63 74 | such.an| object|
|00002fd0| 2c 20 20 74 68 65 20 20 | 61 6c 67 6f 72 69 74 68 |, the |algorith|
|00002fe0| 6d 20 20 77 69 6c 6c 20 | 6e 6f 74 20 62 65 20 61 |m will |not be a|
|00002ff0| 62 6c 65 20 74 6f 20 20 | 73 65 6c 65 63 74 20 20 |ble to |select |
|00003000| 61 20 20 62 72 65 61 6b | 0a 64 69 6d 65 6e 73 69 |a break|.dimensi|
|00003010| 6f 6e 2e 20 20 20 49 6e | 20 74 68 65 20 63 75 72 |on. In| the cur|
|00003020| 72 65 6e 74 20 76 65 72 | 73 69 6f 6e 2c 20 74 68 |rent ver|sion, th|
|00003030| 65 20 6d 6f 75 73 65 20 | 72 65 63 74 61 6e 67 6c |e mouse |rectangl|
|00003040| 65 20 69 73 20 73 69 6d | 70 6c 79 0a 66 6f 72 63 |e is sim|ply.forc|
|00003050| 65 64 20 20 74 6f 20 20 | 61 20 73 69 6e 67 6c 65 |ed to |a single|
|00003060| 20 70 69 78 65 6c 20 66 | 6f 72 20 74 68 69 73 20 | pixel f|or this |
|00003070| 63 61 73 65 2e 20 20 20 | 28 4e 6f 74 65 20 74 68 |case. |(Note th|
|00003080| 61 74 20 69 73 20 20 69 | 73 20 20 4e 4f 54 0a 73 |at is i|s NOT.s|
|00003090| 75 66 66 69 63 65 6e 74 | 20 74 6f 20 73 69 6d 70 |ufficent| to simp|
|000030a0| 6c 79 20 77 61 69 74 20 | 6f 6e 20 74 68 65 20 6e |ly wait |on the n|
|000030b0| 6f 6e 2d 73 65 6c 65 63 | 74 61 62 6c 65 20 6f 62 |on-selec|table ob|
|000030c0| 6a 65 63 74 27 73 20 72 | 65 63 74 61 6e 67 6c 65 |ject's r|ectangle|
|000030d0| 2c 0a 73 69 6e 63 65 20 | 20 6f 74 68 65 72 20 20 |,.since | other |
|000030e0| 53 45 4c 45 43 54 41 42 | 4c 45 20 6f 62 6a 65 63 |SELECTAB|LE objec|
|000030f0| 74 73 20 6d 61 79 20 6f | 76 65 72 6c 61 70 20 69 |ts may o|verlap i|
|00003100| 74 20 61 6e 64 20 66 6f | 6c 6c 6f 77 20 20 69 74 |t and fo|llow it|
|00003110| 20 20 69 6e 0a 74 72 65 | 65 20 6f 72 64 65 72 2e | in.tre|e order.|
|00003120| 29 0a 0a 20 20 20 20 20 | 53 69 6e 63 65 20 6d 61 |).. |Since ma|
|00003130| 70 5f 74 72 65 65 20 65 | 78 61 6d 69 6e 65 73 20 |p_tree e|xamines |
|00003140| 61 6c 6c 20 70 6f 73 73 | 69 62 6c 65 20 6f 62 6a |all poss|ible obj|
|00003150| 65 63 74 73 2c 20 62 72 | 5f 72 65 63 74 20 77 69 |ects, br|_rect wi|
|00003160| 6c 6c 20 62 65 0a 74 68 | 65 20 20 63 6f 72 72 65 |ll be.th|e corre|
|00003170| 63 74 20 62 6f 75 6e 64 | 69 6e 67 20 72 65 63 74 |ct bound|ing rect|
|00003180| 61 6e 67 6c 65 20 61 74 | 20 63 6f 6d 70 6c 65 74 |angle at| complet|
|00003190| 69 6f 6e 2e 20 20 20 4e | 6f 74 65 20 74 68 61 74 |ion. N|ote that|
|000031a0| 20 79 6f 75 20 63 61 6e | 0a 72 65 61 64 69 6c 79 | you can|.readily|
|000031b0| 20 20 61 64 61 70 74 20 | 74 68 69 73 20 74 65 63 | adapt |this tec|
|000031c0| 68 6e 69 71 75 65 20 74 | 6f 20 6f 74 68 65 72 20 |hnique t|o other |
|000031d0| 75 73 65 73 2c 20 20 73 | 75 63 68 20 61 73 20 68 |uses, s|uch as h|
|000031e0| 6f 74 2d 73 70 6f 74 74 | 69 6e 67 0a 77 68 69 6c |ot-spott|ing.whil|
|000031f0| 65 20 20 64 72 61 67 67 | 69 6e 67 20 20 6f 62 6a |e dragg|ing obj|
|00003200| 65 63 74 73 2e 20 20 20 | 49 74 20 20 69 73 20 20 |ects. |It is |
|00003210| 6d 75 63 68 20 20 6c 65 | 73 73 20 20 64 65 6d 61 |much le|ss dema|
|00003220| 6e 64 69 6e 67 20 20 6f | 66 20 20 43 50 55 0a 72 |nding o|f CPU.r|
|00003230| 65 73 6f 75 72 63 65 73 | 20 74 68 61 6e 20 6f 74 |esources| than ot|
|00003240| 68 65 72 20 6d 65 74 68 | 6f 64 73 2c 20 73 75 63 |her meth|ods, suc|
|00003250| 68 20 61 73 20 72 65 70 | 65 74 69 74 69 76 65 20 |h as rep|etitive |
|00003260| 6f 62 6a 63 5f 66 69 6e | 64 73 2e 0a 0a 20 20 20 |objc_fin|ds... |
|00003270| 20 20 57 48 41 54 20 41 | 20 43 48 41 52 41 43 54 | WHAT A| CHARACT|
|00003280| 45 52 21 20 20 54 68 65 | 20 66 6f 72 6d 5f 6b 65 |ER! The| form_ke|
|00003290| 79 62 64 20 72 6f 75 74 | 69 6e 65 20 61 63 74 73 |ybd rout|ine acts|
|000032a0| 20 61 73 20 61 20 66 69 | 6c 74 65 72 20 6f 6e 0a | as a fi|lter on.|
|000032b0| 63 68 61 72 61 63 74 65 | 72 20 20 69 6e 70 75 74 |characte|r input|
|000032c0| 2e 20 20 20 57 68 65 6e | 20 20 69 74 20 20 72 65 |. When| it re|
|000032d0| 63 6f 67 6e 69 7a 65 73 | 20 61 20 63 6f 6e 74 72 |cognizes| a contr|
|000032e0| 6f 6c 20 20 63 68 61 72 | 61 63 74 65 72 2c 20 20 |ol char|acter, |
|000032f0| 69 74 0a 70 72 6f 63 65 | 73 73 65 73 20 69 74 20 |it.proce|sses it |
|00003300| 61 6e 64 20 7a 65 72 6f | 65 73 20 74 68 65 20 6b |and zero|es the k|
|00003310| 65 79 62 6f 61 72 64 20 | 77 6f 72 64 2e 20 20 4f |eyboard |word. O|
|00003320| 74 68 65 72 20 63 68 61 | 72 61 72 61 63 74 65 72 |ther cha|raracter|
|00003330| 73 20 61 72 65 0a 70 61 | 73 73 65 64 20 6f 6e 20 |s are.pa|ssed on |
|00003340| 74 6f 20 6f 62 6a 63 5f | 65 64 69 74 20 74 6f 20 |to objc_|edit to |
|00003350| 62 65 20 69 6e 73 65 72 | 74 65 64 20 69 6e 20 65 |be inser|ted in e|
|00003360| 64 69 74 5f 6f 62 6a 2e | 20 20 49 66 20 74 68 65 |dit_obj.| If the|
|00003370| 72 65 20 69 73 20 6e 6f | 0a 65 64 69 74 69 6e 67 |re is no|.editing|
|00003380| 20 6f 62 6a 65 63 74 2c | 20 74 68 65 20 63 68 61 | object,| the cha|
|00003390| 72 61 63 74 65 72 20 67 | 6f 65 73 20 74 6f 20 74 |racter g|oes to t|
|000033a0| 68 65 20 62 69 74 20 62 | 75 63 6b 65 74 2e 0a 0a |he bit b|ucket...|
|000033b0| 20 20 20 20 20 54 68 65 | 20 20 20 66 6f 72 6d 5f | The| form_|
|000033c0| 6b 65 79 62 64 20 20 20 | 67 69 76 65 6e 20 20 20 |keybd |given |
|000033d0| 69 6d 70 6c 65 6d 65 6e | 74 73 20 20 20 74 68 65 |implemen|ts the|
|000033e0| 20 20 20 73 74 61 6e 64 | 61 72 64 20 20 20 20 47 | stand|ard G|
|000033f0| 45 4d 0a 66 75 6e 63 74 | 69 6f 6e 61 6c 69 74 79 |EM.funct|ionality|
|00003400| 20 77 69 74 68 20 74 77 | 6f 20 6d 69 6e 6f 72 20 | with tw|o minor |
|00003410| 61 64 64 69 74 69 6f 6e | 73 2e 20 20 20 46 69 72 |addition|s. Fir|
|00003420| 73 74 2c 20 61 20 63 61 | 72 72 69 61 67 65 20 72 |st, a ca|rriage r|
|00003430| 65 74 75 72 6e 0a 69 6e | 20 20 61 20 64 69 61 6c |eturn.in| a dial|
|00003440| 6f 67 20 77 69 74 68 20 | 6e 6f 20 44 45 46 41 55 |og with |no DEFAU|
|00003450| 4c 54 20 65 78 69 74 20 | 6f 62 6a 65 63 74 20 69 |LT exit |object i|
|00003460| 73 20 74 61 6b 65 6e 20 | 61 73 20 61 20 74 61 62 |s taken |as a tab|
|00003470| 2e 20 20 20 54 68 69 73 | 0a 61 6c 6c 6f 77 73 20 |. This|.allows |
|00003480| 20 3c 43 52 3e 20 74 6f | 20 62 65 20 75 73 65 64 | <CR> to| be used|
|00003490| 20 22 6e 61 74 75 72 61 | 6c 6c 79 22 20 69 6e 20 | "natura|lly" in |
|000034a0| 64 69 61 6c 6f 67 73 20 | 77 69 74 68 20 73 65 76 |dialogs |with sev|
|000034b0| 65 72 61 6c 20 20 6c 69 | 6e 65 73 0a 6f 66 20 74 |eral li|nes.of t|
|000034c0| 65 78 74 20 69 6e 70 75 | 74 2e 20 20 20 53 65 63 |ext inpu|t. Sec|
|000034d0| 6f 6e 64 2c 20 20 74 61 | 62 73 20 61 6e 64 20 62 |ond, ta|bs and b|
|000034e0| 61 63 6b 74 61 62 73 20 | 22 77 72 61 70 20 61 72 |acktabs |"wrap ar|
|000034f0| 6f 75 6e 64 22 20 66 72 | 6f 6d 20 74 6f 70 0a 74 |ound" fr|om top.t|
|00003500| 6f 20 20 62 6f 74 74 6f | 6d 20 20 6f 66 20 20 74 |o botto|m of t|
|00003510| 68 65 20 64 69 61 6c 6f | 67 2c 20 20 61 6e 64 20 |he dialo|g, and |
|00003520| 61 72 65 20 64 6f 6e 65 | 20 62 79 20 22 77 61 6c |are done| by "wal|
|00003530| 6b 69 6e 67 20 20 74 68 | 65 20 20 74 72 65 65 22 |king th|e tree"|
|00003540| 2c 0a 72 61 74 68 65 72 | 20 20 74 68 61 6e 20 72 |,.rather| than r|
|00003550| 65 6c 79 69 6e 67 20 6f | 6e 20 74 68 65 20 4c 41 |elying o|n the LA|
|00003560| 53 54 4f 42 20 66 6c 61 | 67 20 74 6f 20 73 69 67 |STOB fla|g to sig|
|00003570| 6e 61 6c 20 74 68 65 20 | 65 6e 64 20 20 6f 66 20 |nal the |end of |
|00003580| 20 74 68 65 0a 64 69 61 | 6c 6f 67 2e 20 20 20 54 | the.dia|log. T|
|00003590| 68 69 73 20 20 61 6c 6c | 6f 77 73 20 74 68 65 20 |his all|ows the |
|000035a0| 6e 65 77 20 66 6f 72 6d | 20 6d 61 6e 61 67 65 72 |new form| manager|
|000035b0| 20 74 6f 20 68 61 6e 64 | 6c 65 20 64 69 61 6c 6f | to hand|le dialo|
|000035c0| 67 20 74 72 65 65 73 0a | 77 68 69 63 68 20 61 72 |g trees.|which ar|
|000035d0| 65 20 6e 6f 74 20 63 6f | 6e 74 69 67 75 6f 75 73 |e not co|ntiguous|
|000035e0| 20 69 6e 20 6d 65 6d 6f | 72 79 2e 0a 0a 20 20 20 | in memo|ry... |
|000035f0| 20 20 54 68 65 20 20 63 | 6f 64 65 20 73 65 74 73 | The c|ode sets|
|00003600| 20 75 70 20 73 65 76 65 | 72 61 6c 20 67 6c 6f 62 | up seve|ral glob|
|00003610| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 20 66 6f 72 |al varia|bles for|
|00003620| 20 75 73 65 20 62 79 20 | 20 6d 61 70 70 65 64 0a | use by | mapped.|
|00003630| 66 75 6e 63 74 69 6f 6e | 73 2e 20 20 20 46 6e 5f |function|s. Fn_|
|00003640| 6f 62 6a 20 69 73 20 74 | 68 65 20 6f 75 74 70 75 |obj is t|he outpu|
|00003650| 74 20 66 72 6f 6d 20 62 | 6f 74 68 20 66 69 6e 64 |t from b|oth find|
|00003660| 5f 74 61 62 20 61 6e 64 | 20 66 69 6e 64 5f 64 65 |_tab and| find_de|
|00003670| 66 2e 0a 46 6e 5f 64 69 | 72 20 69 73 20 61 6e 20 |f..Fn_di|r is an |
|00003680| 69 6e 70 75 74 20 74 6f | 20 66 69 6e 64 5f 74 61 |input to| find_ta|
|00003690| 62 2e 20 20 46 6e 5f 6c | 61 73 74 2c 20 66 6e 5f |b. Fn_l|ast, fn_|
|000036a0| 70 72 65 76 2c 20 61 6e | 64 20 66 6e 5f 6c 61 73 |prev, an|d fn_las|
|000036b0| 74 20 61 72 65 0a 75 73 | 65 64 20 77 68 69 6c 65 |t are.us|ed while|
|000036c0| 20 73 65 61 72 63 68 69 | 6e 67 20 66 6f 72 20 74 | searchi|ng for t|
|000036d0| 61 62 20 63 68 61 72 61 | 63 74 65 72 73 2e 0a 0a |ab chara|cters...|
|000036e0| 20 20 20 20 20 41 20 20 | 63 61 72 72 69 61 67 65 | A |carriage|
|000036f0| 20 20 72 65 74 75 72 6e | 20 72 65 73 75 6c 74 73 | return| results|
|00003700| 20 69 6e 20 61 20 73 65 | 61 72 63 68 20 6f 66 20 | in a se|arch of |
|00003710| 74 68 65 20 20 65 6e 74 | 69 72 65 20 20 74 72 65 |the ent|ire tre|
|00003720| 65 2c 0a 75 73 69 6e 67 | 20 20 6d 61 70 5f 74 72 |e,.using| map_tr|
|00003730| 65 65 20 61 6e 64 20 66 | 69 6e 64 5f 64 65 66 2c |ee and f|ind_def,|
|00003740| 20 20 66 6f 72 20 61 6e | 20 6f 62 6a 65 63 74 20 | for an| object |
|00003750| 77 69 74 68 20 69 74 73 | 20 44 45 46 41 55 4c 54 |with its| DEFAULT|
|00003760| 20 66 6c 61 67 0a 73 65 | 74 2e 20 20 49 74 73 20 | flag.se|t. Its |
|00003770| 53 45 4c 45 43 54 45 44 | 20 66 6c 61 67 20 69 73 |SELECTED| flag is|
|00003780| 20 73 65 74 20 61 6e 64 | 20 69 74 20 69 73 20 69 | set and| it is i|
|00003790| 6e 76 65 72 74 65 64 20 | 6f 6e 20 74 68 65 20 73 |nverted |on the s|
|000037a0| 63 72 65 65 6e 20 74 6f | 0a 69 6e 64 69 63 61 74 |creen to|.indicat|
|000037b0| 65 20 20 74 68 65 20 61 | 63 74 69 6f 6e 20 74 61 |e the a|ction ta|
|000037c0| 6b 65 6e 2e 20 20 20 46 | 6f 72 6d 5f 6b 65 79 62 |ken. F|orm_keyb|
|000037d0| 64 20 72 65 74 75 72 6e | 73 20 61 20 46 41 4c 53 |d return|s a FALS|
|000037e0| 45 20 74 6f 20 20 66 6f | 72 63 65 0a 74 65 72 6d |E to fo|rce.term|
|000037f0| 69 6e 61 74 69 6f 6e 20 | 20 6f 66 20 20 74 68 65 |ination | of the|
|00003800| 20 6d 61 69 6e 20 66 6f | 72 6d 5f 64 6f 20 6c 6f | main fo|rm_do lo|
|00003810| 6f 70 2e 20 20 20 49 66 | 20 6e 6f 20 44 45 46 41 |op. If| no DEFA|
|00003820| 55 4c 54 20 69 73 20 20 | 66 6f 75 6e 64 2c 0a 63 |ULT is |found,.c|
|00003830| 6f 6e 74 72 6f 6c 20 70 | 61 73 73 65 73 20 74 6f |ontrol p|asses to|
|00003840| 20 74 68 65 20 74 61 62 | 20 63 6f 64 65 2e 0a 0a | the tab| code...|
|00003850| 20 20 20 20 20 54 68 65 | 20 20 74 61 62 62 69 6e | The| tabbin|
|00003860| 67 20 20 70 72 6f 63 65 | 64 75 72 65 20 69 73 20 |g proce|dure is |
|00003870| 73 6f 6d 65 77 68 61 74 | 20 63 6f 6d 70 6c 69 63 |somewhat| complic|
|00003880| 61 74 65 64 20 20 62 65 | 63 61 75 73 65 20 20 74 |ated be|cause t|
|00003890| 68 65 0a 73 61 6d 65 20 | 63 6f 64 65 20 69 73 20 |he.same |code is |
|000038a0| 75 73 65 64 20 66 6f 72 | 20 66 6f 72 77 61 72 64 |used for| forward|
|000038b0| 20 61 6e 64 20 62 61 63 | 6b 77 61 72 64 20 74 61 | and bac|kward ta|
|000038c0| 62 62 69 6e 67 2e 20 20 | 54 68 65 20 6f 6c 64 20 |bbing. |The old |
|000038d0| 76 61 6c 75 65 0a 6f 66 | 20 65 64 69 74 5f 6f 62 |value.of| edit_ob|
|000038e0| 6a 20 28 74 68 65 20 6f | 62 6a 65 63 74 20 62 65 |j (the o|bject be|
|000038f0| 69 6e 67 20 74 61 62 62 | 65 64 20 46 52 4f 4d 29 |ing tabb|ed FROM)|
|00003900| 20 69 73 20 70 6c 61 63 | 65 64 20 69 6e 74 6f 20 | is plac|ed into |
|00003910| 66 6e 5f 6c 61 73 74 2e | 0a 46 6e 5f 64 69 72 20 |fn_last.|.Fn_dir |
|00003920| 20 69 73 20 73 65 74 20 | 74 6f 20 6f 6e 65 20 66 | is set |to one f|
|00003930| 6f 72 20 61 20 66 6f 72 | 77 61 72 64 20 74 61 62 |or a for|ward tab|
|00003940| 2c 20 20 61 6e 64 20 7a | 65 72 6f 20 66 6f 72 20 |, and z|ero for |
|00003950| 61 20 20 62 61 63 6b 77 | 61 72 64 0a 74 61 62 2e |a backw|ard.tab.|
|00003960| 0a 0a 20 20 20 20 20 54 | 68 65 20 67 65 6e 65 72 |.. T|he gener|
|00003970| 61 6c 20 73 74 72 61 74 | 65 67 79 20 69 73 20 74 |al strat|egy is t|
|00003980| 6f 20 73 63 61 6e 20 74 | 68 65 20 65 6e 74 69 72 |o scan t|he entir|
|00003990| 65 20 74 72 65 65 20 66 | 6f 72 20 20 45 44 49 54 |e tree f|or EDIT|
|000039a0| 41 42 4c 45 0a 6f 62 6a | 65 63 74 73 2c 20 20 61 |ABLE.obj|ects, a|
|000039b0| 6c 77 61 79 73 20 20 73 | 61 76 69 6e 67 20 20 74 |lways s|aving t|
|000039c0| 68 65 20 20 6c 61 73 74 | 20 6f 6e 65 20 66 6f 75 |he last| one fou|
|000039d0| 6e 64 20 20 69 6e 20 20 | 66 6e 5f 70 72 65 76 2e |nd in |fn_prev.|
|000039e0| 20 20 20 57 68 65 6e 0a | 74 61 62 62 69 6e 67 20 | When.|tabbing |
|000039f0| 20 66 6f 72 77 61 72 64 | 20 20 66 6e 5f 6c 61 73 | forward| fn_las|
|00003a00| 74 20 20 69 73 20 63 68 | 65 63 6b 65 64 20 61 67 |t is ch|ecked ag|
|00003a10| 61 69 6e 73 74 20 20 66 | 6e 5f 70 72 65 76 2e 20 |ainst f|n_prev. |
|00003a20| 20 20 41 20 20 6d 61 74 | 63 68 0a 69 6e 64 69 63 | A mat|ch.indic|
|00003a30| 61 74 65 73 20 20 74 68 | 61 74 20 20 74 68 65 20 |ates th|at the |
|00003a40| 20 63 75 72 72 65 6e 74 | 20 6f 62 6a 65 63 74 20 | current| object |
|00003a50| 69 73 20 20 74 68 65 20 | 20 6f 6e 65 20 20 64 65 |is the | one de|
|00003a60| 73 69 72 65 64 2e 20 20 | 20 57 68 65 6e 0a 74 61 |sired. | When.ta|
|00003a70| 62 62 69 6e 67 20 20 62 | 61 63 6b 77 61 72 64 20 |bbing b|ackward |
|00003a80| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6f 62 6a 65 |the curr|ent obje|
|00003a90| 63 74 20 69 73 20 63 68 | 65 63 6b 65 64 20 20 61 |ct is ch|ecked a|
|00003aa0| 67 61 69 6e 73 74 20 20 | 66 6e 5f 6c 61 73 74 2e |gainst |fn_last.|
|00003ab0| 0a 49 66 20 20 74 68 65 | 79 20 20 6d 61 74 63 68 |.If the|y match|
|00003ac0| 2c 20 20 66 6e 5f 70 72 | 65 76 20 69 73 20 74 68 |, fn_pr|ev is th|
|00003ad0| 65 20 64 65 73 69 72 65 | 64 20 6f 62 6a 65 63 74 |e desire|d object|
|00003ae0| 2e 20 20 20 54 68 69 73 | 20 20 70 72 6f 63 65 64 |. This| proced|
|00003af0| 75 72 65 0a 72 65 71 75 | 69 72 65 73 20 74 77 6f |ure.requ|ires two|
|00003b00| 20 70 61 73 73 65 73 20 | 77 68 65 6e 20 74 68 65 | passes |when the|
|00003b10| 20 74 61 62 20 22 77 72 | 61 70 73 20 61 72 6f 75 | tab "wr|aps arou|
|00003b20| 6e 64 22 20 74 68 65 20 | 74 72 65 65 2c 20 74 68 |nd" the |tree, th|
|00003b30| 61 74 20 69 73 2c 0a 77 | 68 65 6e 20 20 74 68 65 |at is,.w|hen the|
|00003b40| 20 20 64 65 73 69 72 65 | 64 20 6f 62 6a 65 63 74 | desire|d object|
|00003b50| 20 61 73 20 61 74 20 74 | 68 65 20 6f 70 70 6f 73 | as at t|he oppos|
|00003b60| 69 74 65 20 65 6e 64 20 | 6f 66 20 20 74 68 65 20 |ite end |of the |
|00003b70| 20 74 72 61 76 65 72 73 | 65 0a 66 72 6f 6d 20 74 | travers|e.from t|
|00003b80| 68 65 20 6f 6c 64 20 65 | 64 69 74 69 6e 67 20 6f |he old e|diting o|
|00003b90| 62 6a 65 63 74 2e 0a 0a | 20 20 20 20 20 54 68 65 |bject...| The|
|00003ba0| 20 20 72 65 73 75 6c 74 | 20 20 6f 66 20 20 74 68 | result| of th|
|00003bb0| 65 20 20 74 61 62 20 20 | 6f 70 65 72 61 74 69 6f |e tab |operatio|
|00003bc0| 6e 20 20 69 73 20 20 77 | 72 69 74 74 65 6e 20 20 |n is w|ritten |
|00003bd0| 62 61 63 6b 20 20 69 6e | 74 6f 0a 66 6f 72 6d 5f |back in|to.form_|
|00003be0| 64 6f 27 73 20 20 6e 65 | 78 74 5f 6f 62 6a 20 70 |do's ne|xt_obj p|
|00003bf0| 61 72 61 6d 65 74 65 72 | 2c 20 20 61 6e 64 20 62 |arameter|, and b|
|00003c00| 65 63 6f 6d 65 73 20 74 | 68 65 20 6e 65 77 20 65 |ecomes t|he new e|
|00003c10| 64 69 74 69 6e 67 20 6f | 62 6a 65 63 74 0a 61 74 |diting o|bject.at|
|00003c20| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00003c30| 66 20 74 68 65 20 6e 65 | 78 74 20 6c 6f 6f 70 2e |f the ne|xt loop.|
|00003c40| 0a 0a 20 20 20 20 20 42 | 55 54 54 4f 4e 20 44 4f |.. B|UTTON DO|
|00003c50| 57 4e 2e 20 20 54 68 65 | 20 66 6f 72 6d 5f 62 75 |WN. The| form_bu|
|00003c60| 74 74 6f 6e 20 70 72 6f | 63 65 64 75 72 65 20 69 |tton pro|cedure i|
|00003c70| 73 20 6c 65 6e 67 74 68 | 79 20 62 65 63 61 75 73 |s length|y becaus|
|00003c80| 65 20 69 74 0a 6d 75 73 | 74 20 20 72 65 63 6f 67 |e it.mus|t recog|
|00003c90| 6e 69 7a 65 20 20 61 6e | 64 20 20 68 61 6e 64 6c |nize an|d handl|
|00003ca0| 65 20 20 6d 6f 75 73 65 | 20 63 6c 69 63 6b 73 20 |e mouse| clicks |
|00003cb0| 20 6f 6e 20 20 73 65 76 | 65 72 61 6c 20 20 74 79 | on sev|eral ty|
|00003cc0| 70 65 73 20 20 6f 66 0a | 6f 62 6a 65 63 74 73 3a |pes of.|objects:|
|00003cd0| 20 20 45 44 49 54 41 42 | 4c 45 2c 20 20 53 45 4c | EDITAB|LE, SEL|
|00003ce0| 45 43 54 41 42 4c 45 2c | 20 61 6e 64 20 54 4f 55 |ECTABLE,| and TOU|
|00003cf0| 43 48 45 58 49 54 2e 20 | 20 54 68 65 20 66 69 72 |CHEXIT. | The fir|
|00003d00| 73 74 20 73 65 63 74 69 | 6f 6e 0a 6f 66 20 63 6f |st secti|on.of co|
|00003d10| 64 65 20 72 65 6a 65 63 | 74 73 20 6f 74 68 65 72 |de rejec|ts other|
|00003d20| 20 6f 62 6a 65 63 74 73 | 2c 20 77 68 69 63 68 20 | objects|, which |
|00003d30| 63 61 6e 6e 6f 74 20 61 | 63 63 65 70 74 20 61 20 |cannot a|ccept a |
|00003d40| 63 6c 69 63 6b 2e 0a 0a | 20 20 20 20 20 54 68 65 |click...| The|
|00003d50| 20 20 6e 65 78 74 20 20 | 70 69 65 63 65 20 6f 66 | next |piece of|
|00003d60| 20 66 6f 72 6d 5f 62 75 | 74 74 6f 6e 20 6d 61 6b | form_bu|tton mak|
|00003d70| 65 73 20 61 20 73 70 65 | 63 69 61 6c 20 63 68 65 |es a spe|cial che|
|00003d80| 63 6b 20 20 66 6f 72 20 | 20 61 0a 64 6f 75 62 6c |ck for | a.doubl|
|00003d90| 65 20 63 6c 69 63 6b 20 | 6f 6e 20 61 20 54 4f 55 |e click |on a TOU|
|00003da0| 43 48 45 58 49 54 20 6f | 62 6a 65 63 74 2e 20 20 |CHEXIT o|bject. |
|00003db0| 20 54 68 69 73 20 77 69 | 6c 6c 20 63 61 75 73 65 | This wi|ll cause|
|00003dc0| 20 74 68 65 20 68 69 67 | 68 20 62 69 74 0a 6f 66 | the hig|h bit.of|
|00003dd0| 20 74 68 65 20 72 65 74 | 75 72 6e 65 64 20 6f 62 | the ret|urned ob|
|00003de0| 6a 65 63 74 20 6e 75 6d | 62 65 72 20 74 6f 20 62 |ject num|ber to b|
|00003df0| 65 20 73 65 74 2e 20 20 | 20 28 42 79 20 74 68 65 |e set. | (By the|
|00003e00| 20 77 61 79 2c 20 20 74 | 68 69 73 20 61 6c 73 6f | way, t|his also|
|00003e10| 0a 6f 63 63 75 72 73 20 | 20 69 6e 20 20 74 68 65 |.occurs | in the|
|00003e20| 20 73 74 61 6e 64 61 72 | 64 20 66 6f 72 6d 5f 64 | standar|d form_d|
|00003e30| 6f 2e 29 20 20 54 68 69 | 73 20 66 6c 61 67 20 61 |o.) Thi|s flag a|
|00003e40| 6c 6c 6f 77 73 20 20 75 | 73 65 72 20 20 64 69 61 |llows u|ser dia|
|00003e50| 6c 6f 67 0a 63 6f 64 65 | 20 74 6f 20 70 65 72 66 |log.code| to perf|
|00003e60| 6f 72 6d 20 73 70 65 63 | 69 61 6c 20 70 72 6f 63 |orm spec|ial proc|
|00003e70| 65 73 73 69 6e 67 20 6f | 6e 20 74 68 65 20 6f 62 |essing o|n the ob|
|00003e80| 6a 65 63 74 2e 0a 0a 20 | 20 20 20 20 54 68 65 20 |ject... | The |
|00003e90| 6c 61 72 67 65 73 74 20 | 70 69 65 63 65 20 6f 66 |largest |piece of|
|00003ea0| 20 66 6f 72 6d 5f 62 75 | 74 74 6f 6e 20 68 61 6e | form_bu|tton han|
|00003eb0| 64 6c 65 73 20 74 68 65 | 20 76 61 72 69 6f 75 73 |dles the| various|
|00003ec0| 20 63 61 73 65 73 20 69 | 6e 0a 77 68 69 63 68 20 | cases i|n.which |
|00003ed0| 74 68 65 20 53 45 4c 45 | 43 54 41 42 4c 45 20 66 |the SELE|CTABLE f|
|00003ee0| 6c 61 67 20 6d 61 79 20 | 62 65 20 73 65 74 2e 20 |lag may |be set. |
|00003ef0| 20 20 53 65 74 74 69 6e | 67 20 74 68 65 20 52 42 | Settin|g the RB|
|00003f00| 55 54 54 4f 4e 20 28 72 | 61 64 69 6f 0a 62 75 74 |UTTON (r|adio.but|
|00003f10| 74 6f 6e 29 20 66 6c 61 | 67 20 63 61 75 73 65 73 |ton) fla|g causes|
|00003f20| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 6f 62 6a 65 | all of |the obje|
|00003f30| 63 74 27 73 20 73 69 62 | 6c 69 6e 67 73 20 69 6e |ct's sib|lings in|
|00003f40| 20 74 68 65 20 74 72 65 | 65 20 74 6f 20 62 65 0a | the tre|e to be.|
|00003f50| 64 65 73 65 6c 65 63 74 | 65 64 20 20 61 74 20 20 |deselect|ed at |
|00003f60| 74 68 65 20 20 74 69 6d | 65 20 74 68 65 20 6f 62 |the tim|e the ob|
|00003f70| 6a 65 63 74 20 20 69 73 | 20 20 63 6c 69 63 6b 65 |ject is| clicke|
|00003f80| 64 2e 20 20 20 54 68 65 | 20 20 64 6f 5f 72 61 64 |d. The| do_rad|
|00003f90| 69 6f 0a 72 6f 75 74 69 | 6e 65 20 75 73 65 73 20 |io.routi|ne uses |
|00003fa0| 74 68 65 20 67 65 74 5f | 70 61 72 65 6e 74 20 75 |the get_|parent u|
|00003fb0| 74 69 6c 69 74 79 20 74 | 6f 20 66 69 6e 64 20 74 |tility t|o find t|
|00003fc0| 68 65 20 61 6e 63 65 73 | 74 6f 72 2c 20 61 6e 64 |he ances|tor, and|
|00003fd0| 20 74 68 65 6e 0a 70 65 | 72 66 6f 72 6d 73 20 74 | then.pe|rforms t|
|00003fe0| 68 65 20 64 65 73 65 6c | 65 63 74 2f 73 65 6c 65 |he desel|ect/sele|
|00003ff0| 63 74 20 6f 70 65 72 61 | 74 69 6f 6e 2e 0a 0a 20 |ct opera|tion... |
|00004000| 20 20 20 20 49 66 20 74 | 68 65 20 53 45 4c 45 43 | If t|he SELEC|
|00004010| 54 41 42 4c 45 20 6f 62 | 6a 65 63 74 20 69 73 20 |TABLE ob|ject is |
|00004020| 6e 6f 74 20 54 4f 55 43 | 48 45 58 49 54 2c 20 74 |not TOUC|HEXIT, t|
|00004030| 68 65 6e 20 67 72 61 66 | 5f 77 61 74 63 68 62 6f |hen graf|_watchbo|
|00004040| 78 0a 69 73 20 75 73 65 | 64 20 74 6f 20 6d 61 6b |x.is use|d to mak|
|00004050| 65 20 73 75 72 65 20 74 | 68 61 74 20 74 68 65 20 |e sure t|hat the |
|00004060| 6d 6f 75 73 65 20 62 75 | 74 74 6f 6e 20 63 6f 6d |mouse bu|tton com|
|00004070| 65 73 20 62 61 63 6b 20 | 75 70 20 77 68 69 6c 65 |es back |up while|
|00004080| 20 20 69 74 0a 69 73 20 | 77 69 74 68 69 6e 20 74 | it.is |within t|
|00004090| 68 65 20 6f 62 6a 65 63 | 74 2e 20 20 4f 74 68 65 |he objec|t. Othe|
|000040a0| 72 77 69 73 65 2c 20 74 | 68 65 20 63 6c 69 63 6b |rwise, t|he click|
|000040b0| 20 69 73 20 63 61 6e 63 | 65 6c 6c 65 64 2e 20 20 | is canc|elled. |
|000040c0| 43 61 72 65 20 69 73 0a | 6e 65 63 65 73 73 61 72 |Care is.|necessar|
|000040d0| 79 20 20 68 65 72 65 2c | 20 20 73 69 6e 63 65 20 |y here,| since |
|000040e0| 74 68 65 20 68 6f 74 2d | 73 70 6f 74 20 63 6f 64 |the hot-|spot cod|
|000040f0| 65 20 6d 61 79 20 68 61 | 76 65 20 61 6c 72 65 61 |e may ha|ve alrea|
|00004100| 64 79 20 73 65 74 20 74 | 68 65 0a 53 45 4c 45 43 |dy set t|he.SELEC|
|00004110| 54 45 44 20 66 6c 61 67 | 20 66 6f 72 20 74 68 65 |TED flag| for the|
|00004120| 20 6f 62 6a 65 63 74 2e | 20 20 20 28 57 65 20 63 | object.| (We c|
|00004130| 61 6e 6e 6f 74 20 62 65 | 20 73 75 72 65 20 6f 66 |annot be| sure of|
|00004140| 20 74 68 69 73 2c 20 20 | 66 6f 72 20 61 0a 72 61 | this, |for a.ra|
|00004150| 63 65 20 63 6f 6e 64 69 | 74 69 6f 6e 20 6d 61 79 |ce condi|tion may|
|00004160| 20 68 61 76 65 20 6f 63 | 63 75 72 72 65 64 21 29 | have oc|curred!)|
|00004170| 0a 0a 20 20 20 20 20 49 | 66 20 20 74 68 65 20 53 |.. I|f the S|
|00004180| 45 4c 45 43 54 41 42 4c | 45 20 6f 62 6a 65 63 74 |ELECTABL|E object|
|00004190| 20 69 73 20 54 4f 55 43 | 48 45 58 49 54 2c 20 20 | is TOUC|HEXIT, |
|000041a0| 74 68 65 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |then the| applica|
|000041b0| 74 69 6f 6e 0a 68 61 73 | 20 72 65 71 75 65 73 74 |tion.has| request|
|000041c0| 65 64 20 74 68 61 74 20 | 66 6f 72 6d 5f 64 6f 20 |ed that |form_do |
|000041d0| 65 78 69 74 20 77 69 74 | 68 6f 75 74 20 77 61 69 |exit wit|hout wai|
|000041e0| 74 69 6e 67 20 66 6f 72 | 20 74 68 65 20 62 75 74 |ting for| the but|
|000041f0| 74 6f 6e 20 20 74 6f 0a | 67 6f 20 62 61 63 6b 20 |ton to.|go back |
|00004200| 75 70 2e 20 20 20 49 6e | 20 62 6f 74 68 20 74 68 |up. In| both th|
|00004210| 69 73 20 61 6e 64 20 72 | 65 67 75 6c 61 72 20 66 |is and r|egular f|
|00004220| 6f 72 6d 5f 64 6f 2c 20 | 20 54 4f 55 43 48 45 58 |orm_do, | TOUCHEX|
|00004230| 49 54 20 6f 62 6a 65 63 | 74 73 0a 61 72 65 20 20 |IT objec|ts.are |
|00004240| 75 73 65 64 20 77 68 65 | 6e 20 79 6f 75 20 77 61 |used whe|n you wa|
|00004250| 6e 74 20 74 6f 20 70 72 | 6f 76 69 64 65 20 69 6d |nt to pr|ovide im|
|00004260| 6d 65 64 69 61 74 65 20 | 72 65 73 70 6f 6e 73 65 |mediate |response|
|00004270| 20 20 28 61 6e 69 6d 61 | 74 69 6f 6e 29 0a 77 69 | (anima|tion).wi|
|00004280| 74 68 69 6e 20 74 68 65 | 20 63 6f 6e 74 65 78 74 |thin the| context|
|00004290| 20 6f 66 20 61 20 64 69 | 61 6c 6f 67 2e 0a 0a 20 | of a di|alog... |
|000042a0| 20 20 20 20 54 68 65 20 | 20 66 69 6e 61 6c 20 70 | The | final p|
|000042b0| 61 72 74 73 20 6f 66 20 | 66 6f 72 6d 5f 62 75 74 |arts of |form_but|
|000042c0| 74 6f 6e 20 64 6f 20 63 | 6c 65 61 6e 75 70 2e 20 |ton do c|leanup. |
|000042d0| 20 20 49 66 20 74 68 65 | 20 20 63 6c 69 63 6b 65 | If the| clicke|
|000042e0| 64 0a 6f 62 6a 65 63 74 | 20 20 77 61 73 20 20 61 |d.object| was a|
|000042f0| 6c 72 65 61 64 79 20 68 | 6f 74 2d 73 70 6f 74 74 |lready h|ot-spott|
|00004300| 65 64 2c 20 20 68 6f 74 | 5f 6f 62 6a 20 6d 75 73 |ed, hot|_obj mus|
|00004310| 74 20 62 65 20 72 65 73 | 65 74 20 20 74 6f 20 20 |t be res|et to |
|00004320| 4e 49 4c 2c 0a 6f 74 68 | 65 72 77 69 73 65 20 20 |NIL,.oth|erwise |
|00004330| 66 6f 72 6d 5f 64 6f 20 | 20 77 69 6c 6c 20 63 61 |form_do | will ca|
|00004340| 72 65 66 75 6c 6c 79 20 | 75 6e 73 65 6c 65 63 74 |refully |unselect|
|00004350| 20 74 68 65 20 6f 62 6a | 65 63 74 20 20 77 68 69 | the obj|ect whi|
|00004360| 63 68 20 20 68 61 73 0a | 6a 75 73 74 20 62 65 65 |ch has.|just bee|
|00004370| 6e 20 73 65 6c 65 63 74 | 65 64 21 0a 0a 20 20 20 |n select|ed!.. |
|00004380| 20 20 49 66 20 20 74 68 | 65 20 20 45 58 49 54 20 | If th|e EXIT |
|00004390| 6f 72 20 54 4f 55 43 48 | 45 58 49 54 20 66 6c 61 |or TOUCH|EXIT fla|
|000043a0| 67 73 20 61 72 65 20 20 | 69 6e 20 20 66 6f 72 63 |gs are |in forc|
|000043b0| 65 2c 20 20 66 6f 72 6d | 5f 62 75 74 74 6f 6e 0a |e, form|_button.|
|000043c0| 72 65 74 75 72 6e 73 20 | 20 46 41 4c 53 45 20 74 |returns | FALSE t|
|000043d0| 6f 20 66 6f 72 63 65 20 | 74 68 65 20 63 6f 6d 70 |o force |the comp|
|000043e0| 6c 65 74 69 6f 6e 20 6f | 66 20 66 6f 72 6d 5f 64 |letion o|f form_d|
|000043f0| 6f 2e 20 20 20 46 6f 72 | 20 20 45 44 49 54 41 42 |o. For| EDITAB|
|00004400| 4c 45 0a 6f 62 6a 65 63 | 74 73 2c 20 20 6e 65 78 |LE.objec|ts, nex|
|00004410| 74 5f 6f 62 6a 20 20 69 | 73 20 6c 65 66 74 20 69 |t_obj i|s left i|
|00004420| 6e 74 61 63 74 20 74 6f | 20 72 65 70 6c 61 63 65 |ntact to| replace|
|00004430| 20 65 64 69 74 5f 6f 62 | 6a 20 64 75 72 69 6e 67 | edit_ob|j during|
|00004440| 20 20 74 68 65 0a 6e 65 | 78 74 20 20 6c 6f 6f 70 | the.ne|xt loop|
|00004450| 2e 20 20 20 4f 74 68 65 | 72 77 69 73 65 2c 20 20 |. Othe|rwise, |
|00004460| 6e 65 78 74 5f 6f 62 6a | 20 68 61 73 20 64 6f 6e |next_obj| has don|
|00004470| 65 20 69 74 73 20 6a 6f | 62 20 61 6e 64 20 69 73 |e its jo|b and is|
|00004480| 20 7a 65 72 6f 65 64 2c | 0a 61 6e 64 20 66 6f 72 | zeroed,|.and for|
|00004490| 6d 5f 62 75 74 74 6f 6e | 20 72 65 74 75 72 6e 73 |m_button| returns|
|000044a0| 20 54 52 55 45 20 66 6f | 72 20 63 6f 6e 74 69 6e | TRUE fo|r contin|
|000044b0| 75 61 74 69 6f 6e 2e 0a | 0a 20 20 20 20 20 54 68 |uation..|. Th|
|000044c0| 69 73 20 20 63 6f 6e 63 | 6c 75 64 65 73 20 74 68 |is conc|ludes th|
|000044d0| 65 20 74 6f 75 72 20 6f | 66 20 74 68 65 20 61 6c |e tour o|f the al|
|000044e0| 74 65 72 6e 61 74 65 20 | 66 6f 72 6d 5f 64 6f 2e |ternate |form_do.|
|000044f0| 20 20 20 54 68 65 20 62 | 65 73 74 0a 63 75 72 65 | The b|est.cure|
|00004500| 20 66 6f 72 20 61 6e 79 | 20 63 6f 6e 66 75 73 69 | for any| confusi|
|00004510| 6f 6e 20 69 6e 20 74 68 | 69 73 20 65 78 70 6c 61 |on in th|is expla|
|00004520| 6e 61 74 69 6f 6e 20 69 | 73 20 74 6f 20 63 6f 6d |nation i|s to com|
|00004530| 70 69 6c 65 20 74 68 65 | 20 20 63 6f 64 65 0a 69 |pile the| code.i|
|00004540| 6e 74 6f 20 20 61 6e 20 | 20 61 70 70 6c 69 63 61 |nto an | applica|
|00004550| 74 69 6f 6e 20 20 61 6e | 64 20 20 77 61 74 63 68 |tion an|d watch|
|00004560| 20 20 68 6f 77 20 20 69 | 74 20 20 72 75 6e 73 20 | how i|t runs |
|00004570| 20 77 69 74 68 20 20 20 | 64 69 66 66 65 72 65 6e | with |differen|
|00004580| 74 0a 72 65 73 6f 75 72 | 63 65 73 2c 20 20 6f 72 |t.resour|ces, or|
|00004590| 20 61 74 74 61 63 6b 20 | 69 74 20 77 69 74 68 20 | attack |it with |
|000045a0| 61 20 64 65 62 75 67 67 | 65 72 2e 0a 0a 20 20 20 |a debugg|er... |
|000045b0| 20 20 4f 50 45 52 41 54 | 4f 52 53 20 20 41 52 45 | OPERAT|ORS ARE|
|000045c0| 20 53 54 41 4e 44 49 4e | 47 20 42 59 2e 20 20 20 | STANDIN|G BY. |
|000045d0| 49 20 65 6e 63 6f 75 72 | 61 67 65 20 79 6f 75 20 |I encour|age you |
|000045e0| 74 6f 20 6d 6f 64 69 66 | 79 20 20 74 68 69 73 0a |to modif|y this.|
|000045f0| 63 6f 64 65 20 20 74 6f | 20 6d 65 65 74 20 79 6f |code to| meet yo|
|00004600| 75 72 20 70 61 72 74 69 | 63 75 6c 61 72 20 6e 65 |ur parti|cular ne|
|00004610| 65 64 73 20 61 6e 64 20 | 69 6e 63 6f 72 70 6f 72 |eds and |incorpor|
|00004620| 61 74 65 20 69 74 20 20 | 69 6e 74 6f 20 20 79 6f |ate it |into yo|
|00004630| 75 72 0a 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 20 |ur.appli|cation. |
|00004640| 20 20 49 20 20 77 6f 75 | 6c 64 20 20 6c 69 6b 65 | I wou|ld like|
|00004650| 20 74 6f 20 72 65 71 75 | 65 73 74 20 74 68 61 6e | to requ|est than|
|00004660| 20 61 6e 79 6f 6e 65 20 | 77 68 6f 20 63 6f 6d 65 | anyone |who come|
|00004670| 73 20 20 75 70 0a 77 69 | 74 68 20 20 73 69 67 6e |s up.wi|th sign|
|00004680| 69 66 69 63 61 6e 74 20 | 69 6d 70 72 6f 76 65 6d |ificant |improvem|
|00004690| 65 6e 74 73 20 28 6f 72 | 20 62 75 67 20 66 69 78 |ents (or| bug fix|
|000046a0| 65 73 29 20 73 65 6e 64 | 20 74 68 65 6d 20 74 6f |es) send| them to|
|000046b0| 20 20 6d 65 20 20 73 6f | 0a 74 68 65 79 20 20 63 | me so|.they c|
|000046c0| 61 6e 20 20 62 65 20 6d | 61 64 65 20 67 65 6e 65 |an be m|ade gene|
|000046d0| 72 61 6c 6c 79 20 61 76 | 61 69 6c 61 62 6c 65 2e |rally av|ailable.|
|000046e0| 20 20 20 59 6f 75 20 63 | 61 6e 20 64 6f 20 74 68 | You c|an do th|
|000046f0| 69 73 20 76 69 61 20 20 | 74 68 65 0a 41 4e 54 49 |is via |the.ANTI|
|00004700| 43 20 4f 4e 4c 49 4e 45 | 20 46 65 65 64 62 61 63 |C ONLINE| Feedbac|
|00004710| 6b 2c 20 6f 72 20 62 79 | 20 73 65 6e 64 69 6e 67 |k, or by| sending|
|00004720| 20 45 2d 6d 61 69 6c 20 | 74 6f 20 37 36 37 30 33 | E-mail |to 76703|
|00004730| 2c 32 30 32 2e 0a 0a 20 | 20 20 20 20 53 70 65 61 |,202... | Spea|
|00004740| 6b 69 6e 67 20 20 6f 66 | 20 20 46 65 65 64 62 61 |king of| Feedba|
|00004750| 63 6b 2c 20 20 49 20 20 | 77 6f 75 6c 64 20 61 6c |ck, I |would al|
|00004760| 73 6f 20 6c 69 6b 65 20 | 63 6f 6d 6d 65 6e 74 73 |so like |comments|
|00004770| 20 20 6f 6e 20 20 74 68 | 65 0a 70 72 6f 70 6f 73 | on th|e.propos|
|00004780| 65 64 20 63 68 61 6e 67 | 65 20 6f 66 20 64 69 72 |ed chang|e of dir|
|00004790| 65 63 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 63 |ection f|or the c|
|000047a0| 6f 6c 75 6d 6e 2c 20 20 | 61 6e 64 20 6d 6f 72 65 |olumn, |and more|
|000047b0| 20 73 75 67 67 65 73 74 | 69 6f 6e 73 0a 66 6f 72 | suggest|ions.for|
|000047c0| 20 20 66 75 74 75 72 65 | 20 20 74 6f 70 69 63 73 | future| topics|
|000047d0| 2e 20 20 20 54 68 65 20 | 20 6e 65 78 74 20 20 69 |. The | next i|
|000047e0| 6e 73 74 61 6c 6c 6d 65 | 6e 74 20 77 69 6c 6c 20 |nstallme|nt will |
|000047f0| 20 62 65 20 20 61 20 20 | 66 75 72 74 68 65 72 0a | be a |further.|
|00004800| 64 69 73 63 75 73 73 69 | 6f 6e 20 20 6f 66 20 20 |discussi|on of |
|00004810| 69 6e 74 65 72 66 61 63 | 65 20 64 65 73 69 67 6e |interfac|e design|
|00004820| 2e 20 20 20 54 6f 70 69 | 63 73 20 6e 6f 77 20 71 |. Topi|cs now q|
|00004830| 75 65 75 65 64 20 20 66 | 6f 72 20 20 66 75 74 75 |ueued f|or futu|
|00004840| 72 65 0a 61 72 74 69 63 | 6c 65 73 20 20 69 6e 63 |re.artic|les inc|
|00004850| 6c 75 64 65 20 74 68 65 | 20 66 69 6c 65 20 73 65 |lude the| file se|
|00004860| 6c 65 63 74 6f 72 20 61 | 6e 64 20 44 4f 53 20 65 |lector a|nd DOS e|
|00004870| 72 72 6f 72 20 68 61 6e | 64 6c 69 6e 67 2c 20 20 |rror han|dling, |
|00004880| 61 20 6e 65 77 0a 6f 62 | 6a 65 63 74 20 20 65 64 |a new.ob|ject ed|
|00004890| 69 74 6f 72 2c 20 20 61 | 6e 64 20 63 75 73 74 6f |itor, a|nd custo|
|000048a0| 6d 69 7a 65 64 20 64 72 | 61 67 20 62 6f 78 20 61 |mized dr|ag box a|
|000048b0| 6e 64 20 72 75 62 62 65 | 72 20 62 6f 78 20 20 72 |nd rubbe|r box r|
|000048c0| 6f 75 74 69 6e 65 73 2e | 0a 44 69 73 63 75 73 73 |outines.|.Discuss|
|000048d0| 69 6f 6e 73 20 20 6f 6e | 20 20 56 44 49 20 77 6f |ions on| VDI wo|
|000048e0| 72 6b 73 74 61 74 69 6f | 6e 73 20 61 6e 64 20 70 |rkstatio|ns and p|
|000048f0| 72 69 6e 74 65 72 20 6f | 75 74 70 75 74 20 61 72 |rinter o|utput ar|
|00004900| 65 20 20 6f 6e 20 20 68 | 6f 6c 64 0a 70 65 6e 64 |e on h|old.pend|
|00004910| 69 6e 67 20 20 72 65 6c | 65 61 73 65 20 6f 66 20 |ing rel|ease of |
|00004920| 74 68 65 20 47 44 4f 53 | 20 62 79 20 41 74 61 72 |the GDOS| by Atar|
|00004930| 69 2e 20 20 20 49 66 20 | 74 68 65 72 65 20 61 72 |i. If |there ar|
|00004940| 65 20 69 74 65 6d 73 20 | 20 77 68 69 63 68 0a 79 |e items | which.y|
|00004950| 6f 75 20 77 61 6e 74 20 | 74 6f 20 61 70 70 65 61 |ou want |to appea|
|00004960| 72 20 68 65 72 65 2c 20 | 79 6f 75 20 6d 75 73 74 |r here, |you must|
|00004970| 20 6c 65 74 20 6d 65 20 | 6b 6e 6f 77 21 0a 0a 0a | let me |know!...|
+--------+-------------------------+-------------------------+--------+--------+