Home » Archimedes archive » Acorn User » AU 1996-02.adf » Clan » !ResTest/!Help
!ResTest/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1996-02.adf » Clan |
Filename: | !ResTest/!Help |
Read OK: | ✔ |
File size: | 0EC0 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
!ResTest -=-=-=-= How To Use !ResTest ------------------- It might be handy to read the specs of ResEd to get a better idea of some of the concepts I will be talking about..! !ResTest is loaded in the normal way, i.e. double clicking on its icon. After that it will sit on the iconbar waiting... With no resource files loaded you can only perform limited functionality, that is to say you can do the usual Info and quit from the menu on the iconbar, and by clicking with select will open the event log window, more of which later. To perform toolbox related things you must first load a resource file, this is done in the normal way. All objects that have the auto-create flag set will be created and all objects that have the auto-show flag set as well will be shown. From the iconbar menu you can now create objects from the create sub-menu, this provides a list of template names that can be created. Clicking on select will create the given object and close the menu, clicking with adjust will create the object and leave the sub-menu open. The show sub-menu provides a list of toolbox objects in the form <object_id>:"template_name" if they are currently being displayed then they will have a tick beside their entry. clicking with select on a given entry will toggle the state of that object, so if an object is being shown it will be hidden and vice versa. The adjust button allows the user to show objects with menu semantics. This means that clicking with adjust will not keep the menu tree open The delete sub-menu provides a list of toolbox objects in the form <object_id>:"template_name", as with the show sub-menu, selecting one of the entries will recursively delete the given toolbox object, in other words all objects related to the first will also be deleted, again the adjust button acts in the same way as the select button when using this sub-menu. By opening the 'ResTest event log' window, clicking with select on the iconbar, The user can see the toolbox events being returned to the client application. The log window attempts to behave in a similar way as a frontend text window in the way in which it deals with text displaying, that is if your scroll bar is at the bottom when a new event arrives the window is scrolled and the text is displayed, however if the scroll bar isn't at the bottom then the view on the text will remain the same. If a sprite file is dragged to !ResTest it will be iconsprite'd and the user will be informed via the log window. Advance use ----------- During development work it was decided that object templates whose names start with an underscore are 'private' to an object modules and therefore cannot be shown in the list of objects which the user can control. However, during development work it is obviously important to be able to see these objects so by altering the !Run file in the following way private objects can be viewed. This may however cause problems as far deleting objects is concerned. You have been warned. Change the line: Run <ResTest$Dir>.!RunImage to Run <ResTest$Dir>.!RunImage -private TBlockMess ---------- This file provides a generic means of decoding the event block returned from a toolbox event, it has the following format: E44ec0 "Error number = %x" 4 2 where: E44ec0 is the hex number of the event (in this case toolbox error) "Error number = %x" is a printf style string to be displayed when this event happens 4 means at the 4th word into the event block you will find the data 2 means that you should use the contents of this addres so in this case a hex value Another eaxmple would be: E44ec0 "Error message = %s" 5 1 which means print the string at the 5th word and treat the value as an address
00000000 21 52 65 73 54 65 73 74 0a 2d 3d 2d 3d 2d 3d 2d |!ResTest.-=-=-=-| 00000010 3d 0a 0a 48 6f 77 20 54 6f 20 55 73 65 20 21 52 |=..How To Use !R| 00000020 65 73 54 65 73 74 20 0a 2d 2d 2d 2d 2d 2d 2d 2d |esTest .--------| 00000030 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 74 20 |-----------..It | 00000040 6d 69 67 68 74 20 62 65 20 68 61 6e 64 79 20 74 |might be handy t| 00000050 6f 20 72 65 61 64 20 74 68 65 20 73 70 65 63 73 |o read the specs| 00000060 20 6f 66 20 52 65 73 45 64 20 74 6f 20 67 65 74 | of ResEd to get| 00000070 20 61 20 62 65 74 74 65 72 20 69 64 65 61 20 6f | a better idea o| 00000080 66 20 73 6f 6d 65 20 6f 66 0a 74 68 65 20 63 6f |f some of.the co| 00000090 6e 63 65 70 74 73 20 49 20 77 69 6c 6c 20 62 65 |ncepts I will be| 000000a0 20 74 61 6c 6b 69 6e 67 20 61 62 6f 75 74 2e 2e | talking about..| 000000b0 21 0a 0a 21 52 65 73 54 65 73 74 20 69 73 20 6c |!..!ResTest is l| 000000c0 6f 61 64 65 64 20 69 6e 20 74 68 65 20 6e 6f 72 |oaded in the nor| 000000d0 6d 61 6c 20 77 61 79 2c 20 69 2e 65 2e 20 64 6f |mal way, i.e. do| 000000e0 75 62 6c 65 20 63 6c 69 63 6b 69 6e 67 20 6f 6e |uble clicking on| 000000f0 20 69 74 73 20 69 63 6f 6e 2e 20 41 66 74 65 72 | its icon. After| 00000100 0a 74 68 61 74 20 69 74 20 77 69 6c 6c 20 73 69 |.that it will si| 00000110 74 20 6f 6e 20 74 68 65 20 69 63 6f 6e 62 61 72 |t on the iconbar| 00000120 20 77 61 69 74 69 6e 67 2e 2e 2e 0a 0a 57 69 74 | waiting.....Wit| 00000130 68 20 6e 6f 20 72 65 73 6f 75 72 63 65 20 66 69 |h no resource fi| 00000140 6c 65 73 20 6c 6f 61 64 65 64 20 79 6f 75 20 63 |les loaded you c| 00000150 61 6e 20 6f 6e 6c 79 20 70 65 72 66 6f 72 6d 20 |an only perform | 00000160 6c 69 6d 69 74 65 64 20 66 75 6e 63 74 69 6f 6e |limited function| 00000170 61 6c 69 74 79 2c 0a 74 68 61 74 20 69 73 20 74 |ality,.that is t| 00000180 6f 20 73 61 79 20 79 6f 75 20 63 61 6e 20 64 6f |o say you can do| 00000190 20 74 68 65 20 75 73 75 61 6c 20 49 6e 66 6f 20 | the usual Info | 000001a0 61 6e 64 20 71 75 69 74 20 66 72 6f 6d 20 74 68 |and quit from th| 000001b0 65 20 6d 65 6e 75 20 6f 6e 20 74 68 65 0a 69 63 |e menu on the.ic| 000001c0 6f 6e 62 61 72 2c 20 61 6e 64 20 62 79 20 63 6c |onbar, and by cl| 000001d0 69 63 6b 69 6e 67 20 77 69 74 68 20 73 65 6c 65 |icking with sele| 000001e0 63 74 20 77 69 6c 6c 20 6f 70 65 6e 20 74 68 65 |ct will open the| 000001f0 20 65 76 65 6e 74 20 6c 6f 67 20 77 69 6e 64 6f | event log windo| 00000200 77 2c 20 6d 6f 72 65 20 6f 66 0a 77 68 69 63 68 |w, more of.which| 00000210 20 6c 61 74 65 72 2e 0a 0a 54 6f 20 70 65 72 66 | later...To perf| 00000220 6f 72 6d 20 74 6f 6f 6c 62 6f 78 20 72 65 6c 61 |orm toolbox rela| 00000230 74 65 64 20 74 68 69 6e 67 73 20 79 6f 75 20 6d |ted things you m| 00000240 75 73 74 20 66 69 72 73 74 20 6c 6f 61 64 20 61 |ust first load a| 00000250 20 72 65 73 6f 75 72 63 65 20 66 69 6c 65 2c 20 | resource file, | 00000260 74 68 69 73 0a 69 73 20 64 6f 6e 65 20 69 6e 20 |this.is done in | 00000270 74 68 65 20 6e 6f 72 6d 61 6c 20 77 61 79 2e 20 |the normal way. | 00000280 41 6c 6c 20 6f 62 6a 65 63 74 73 20 74 68 61 74 |All objects that| 00000290 20 68 61 76 65 20 74 68 65 20 61 75 74 6f 2d 63 | have the auto-c| 000002a0 72 65 61 74 65 20 66 6c 61 67 20 73 65 74 0a 77 |reate flag set.w| 000002b0 69 6c 6c 20 62 65 20 63 72 65 61 74 65 64 20 61 |ill be created a| 000002c0 6e 64 20 61 6c 6c 20 6f 62 6a 65 63 74 73 20 74 |nd all objects t| 000002d0 68 61 74 20 68 61 76 65 20 74 68 65 20 61 75 74 |hat have the aut| 000002e0 6f 2d 73 68 6f 77 20 66 6c 61 67 20 73 65 74 20 |o-show flag set | 000002f0 61 73 20 77 65 6c 6c 20 77 69 6c 6c 0a 62 65 20 |as well will.be | 00000300 73 68 6f 77 6e 2e 0a 0a 46 72 6f 6d 20 74 68 65 |shown...From the| 00000310 20 69 63 6f 6e 62 61 72 20 6d 65 6e 75 20 79 6f | iconbar menu yo| 00000320 75 20 63 61 6e 20 6e 6f 77 20 63 72 65 61 74 65 |u can now create| 00000330 20 6f 62 6a 65 63 74 73 20 66 72 6f 6d 20 74 68 | objects from th| 00000340 65 20 63 72 65 61 74 65 20 73 75 62 2d 6d 65 6e |e create sub-men| 00000350 75 2c 0a 74 68 69 73 20 70 72 6f 76 69 64 65 73 |u,.this provides| 00000360 20 61 20 6c 69 73 74 20 6f 66 20 74 65 6d 70 6c | a list of templ| 00000370 61 74 65 20 6e 61 6d 65 73 20 74 68 61 74 20 63 |ate names that c| 00000380 61 6e 20 62 65 20 63 72 65 61 74 65 64 2e 20 43 |an be created. C| 00000390 6c 69 63 6b 69 6e 67 20 6f 6e 0a 73 65 6c 65 63 |licking on.selec| 000003a0 74 20 77 69 6c 6c 20 63 72 65 61 74 65 20 74 68 |t will create th| 000003b0 65 20 67 69 76 65 6e 20 6f 62 6a 65 63 74 20 61 |e given object a| 000003c0 6e 64 20 63 6c 6f 73 65 20 74 68 65 20 6d 65 6e |nd close the men| 000003d0 75 2c 20 63 6c 69 63 6b 69 6e 67 20 77 69 74 68 |u, clicking with| 000003e0 20 61 64 6a 75 73 74 0a 77 69 6c 6c 20 63 72 65 | adjust.will cre| 000003f0 61 74 65 20 74 68 65 20 6f 62 6a 65 63 74 20 61 |ate the object a| 00000400 6e 64 20 6c 65 61 76 65 20 74 68 65 20 73 75 62 |nd leave the sub| 00000410 2d 6d 65 6e 75 20 6f 70 65 6e 2e 0a 0a 54 68 65 |-menu open...The| 00000420 20 73 68 6f 77 20 73 75 62 2d 6d 65 6e 75 20 70 | show sub-menu p| 00000430 72 6f 76 69 64 65 73 20 61 20 6c 69 73 74 20 6f |rovides a list o| 00000440 66 20 74 6f 6f 6c 62 6f 78 20 6f 62 6a 65 63 74 |f toolbox object| 00000450 73 20 69 6e 20 74 68 65 20 66 6f 72 6d 0a 3c 6f |s in the form.<o| 00000460 62 6a 65 63 74 5f 69 64 3e 3a 22 74 65 6d 70 6c |bject_id>:"templ| 00000470 61 74 65 5f 6e 61 6d 65 22 20 69 66 20 74 68 65 |ate_name" if the| 00000480 79 20 61 72 65 20 63 75 72 72 65 6e 74 6c 79 20 |y are currently | 00000490 62 65 69 6e 67 20 64 69 73 70 6c 61 79 65 64 20 |being displayed | 000004a0 74 68 65 6e 20 74 68 65 79 0a 77 69 6c 6c 20 68 |then they.will h| 000004b0 61 76 65 20 61 20 74 69 63 6b 20 62 65 73 69 64 |ave a tick besid| 000004c0 65 20 74 68 65 69 72 20 65 6e 74 72 79 2e 20 63 |e their entry. c| 000004d0 6c 69 63 6b 69 6e 67 20 77 69 74 68 20 73 65 6c |licking with sel| 000004e0 65 63 74 20 6f 6e 20 61 20 67 69 76 65 6e 20 65 |ect on a given e| 000004f0 6e 74 72 79 0a 77 69 6c 6c 20 74 6f 67 67 6c 65 |ntry.will toggle| 00000500 20 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 | the state of th| 00000510 61 74 20 6f 62 6a 65 63 74 2c 20 73 6f 20 69 66 |at object, so if| 00000520 20 61 6e 20 6f 62 6a 65 63 74 20 69 73 20 62 65 | an object is be| 00000530 69 6e 67 20 73 68 6f 77 6e 20 69 74 20 77 69 6c |ing shown it wil| 00000540 6c 0a 62 65 20 68 69 64 64 65 6e 20 61 6e 64 20 |l.be hidden and | 00000550 76 69 63 65 20 76 65 72 73 61 2e 20 54 68 65 20 |vice versa. The | 00000560 61 64 6a 75 73 74 20 62 75 74 74 6f 6e 20 61 6c |adjust button al| 00000570 6c 6f 77 73 20 74 68 65 20 75 73 65 72 20 74 6f |lows the user to| 00000580 20 73 68 6f 77 20 6f 62 6a 65 63 74 73 0a 77 69 | show objects.wi| 00000590 74 68 20 6d 65 6e 75 20 73 65 6d 61 6e 74 69 63 |th menu semantic| 000005a0 73 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 |s. This means th| 000005b0 61 74 20 63 6c 69 63 6b 69 6e 67 20 77 69 74 68 |at clicking with| 000005c0 20 61 64 6a 75 73 74 20 77 69 6c 6c 20 6e 6f 74 | adjust will not| 000005d0 20 6b 65 65 70 20 74 68 65 0a 6d 65 6e 75 20 74 | keep the.menu t| 000005e0 72 65 65 20 6f 70 65 6e 0a 0a 54 68 65 20 64 65 |ree open..The de| 000005f0 6c 65 74 65 20 73 75 62 2d 6d 65 6e 75 20 70 72 |lete sub-menu pr| 00000600 6f 76 69 64 65 73 20 61 20 6c 69 73 74 20 6f 66 |ovides a list of| 00000610 20 74 6f 6f 6c 62 6f 78 20 6f 62 6a 65 63 74 73 | toolbox objects| 00000620 20 69 6e 20 74 68 65 20 66 6f 72 6d 0a 3c 6f 62 | in the form.<ob| 00000630 6a 65 63 74 5f 69 64 3e 3a 22 74 65 6d 70 6c 61 |ject_id>:"templa| 00000640 74 65 5f 6e 61 6d 65 22 2c 20 61 73 20 77 69 74 |te_name", as wit| 00000650 68 20 74 68 65 20 73 68 6f 77 20 73 75 62 2d 6d |h the show sub-m| 00000660 65 6e 75 2c 20 73 65 6c 65 63 74 69 6e 67 20 6f |enu, selecting o| 00000670 6e 65 20 6f 66 20 74 68 65 0a 65 6e 74 72 69 65 |ne of the.entrie| 00000680 73 20 77 69 6c 6c 20 72 65 63 75 72 73 69 76 65 |s will recursive| 00000690 6c 79 20 64 65 6c 65 74 65 20 74 68 65 20 67 69 |ly delete the gi| 000006a0 76 65 6e 20 74 6f 6f 6c 62 6f 78 20 6f 62 6a 65 |ven toolbox obje| 000006b0 63 74 2c 20 69 6e 20 6f 74 68 65 72 20 77 6f 72 |ct, in other wor| 000006c0 64 73 20 61 6c 6c 0a 6f 62 6a 65 63 74 73 20 72 |ds all.objects r| 000006d0 65 6c 61 74 65 64 20 74 6f 20 74 68 65 20 66 69 |elated to the fi| 000006e0 72 73 74 20 77 69 6c 6c 20 61 6c 73 6f 20 62 65 |rst will also be| 000006f0 20 64 65 6c 65 74 65 64 2c 20 61 67 61 69 6e 20 | deleted, again | 00000700 74 68 65 20 61 64 6a 75 73 74 20 62 75 74 74 6f |the adjust butto| 00000710 6e 0a 61 63 74 73 20 69 6e 20 74 68 65 20 73 61 |n.acts in the sa| 00000720 6d 65 20 77 61 79 20 61 73 20 74 68 65 20 73 65 |me way as the se| 00000730 6c 65 63 74 20 62 75 74 74 6f 6e 20 77 68 65 6e |lect button when| 00000740 20 75 73 69 6e 67 20 74 68 69 73 20 73 75 62 2d | using this sub-| 00000750 6d 65 6e 75 2e 0a 0a 42 79 20 6f 70 65 6e 69 6e |menu...By openin| 00000760 67 20 74 68 65 20 27 52 65 73 54 65 73 74 20 65 |g the 'ResTest e| 00000770 76 65 6e 74 20 6c 6f 67 27 20 77 69 6e 64 6f 77 |vent log' window| 00000780 2c 20 63 6c 69 63 6b 69 6e 67 20 77 69 74 68 20 |, clicking with | 00000790 73 65 6c 65 63 74 20 6f 6e 20 74 68 65 0a 69 63 |select on the.ic| 000007a0 6f 6e 62 61 72 2c 20 54 68 65 20 75 73 65 72 20 |onbar, The user | 000007b0 63 61 6e 20 73 65 65 20 74 68 65 20 74 6f 6f 6c |can see the tool| 000007c0 62 6f 78 20 65 76 65 6e 74 73 20 62 65 69 6e 67 |box events being| 000007d0 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 | returned to the| 000007e0 20 63 6c 69 65 6e 74 0a 61 70 70 6c 69 63 61 74 | client.applicat| 000007f0 69 6f 6e 2e 20 54 68 65 20 6c 6f 67 20 77 69 6e |ion. The log win| 00000800 64 6f 77 20 61 74 74 65 6d 70 74 73 20 74 6f 20 |dow attempts to | 00000810 62 65 68 61 76 65 20 69 6e 20 61 20 73 69 6d 69 |behave in a simi| 00000820 6c 61 72 20 77 61 79 20 61 73 20 61 20 66 72 6f |lar way as a fro| 00000830 6e 74 65 6e 64 0a 74 65 78 74 20 77 69 6e 64 6f |ntend.text windo| 00000840 77 20 69 6e 20 74 68 65 20 77 61 79 20 69 6e 20 |w in the way in | 00000850 77 68 69 63 68 20 69 74 20 64 65 61 6c 73 20 77 |which it deals w| 00000860 69 74 68 20 74 65 78 74 20 64 69 73 70 6c 61 79 |ith text display| 00000870 69 6e 67 2c 20 74 68 61 74 20 69 73 20 69 66 0a |ing, that is if.| 00000880 79 6f 75 72 20 73 63 72 6f 6c 6c 20 62 61 72 20 |your scroll bar | 00000890 69 73 20 61 74 20 74 68 65 20 62 6f 74 74 6f 6d |is at the bottom| 000008a0 20 77 68 65 6e 20 61 20 6e 65 77 20 65 76 65 6e | when a new even| 000008b0 74 20 61 72 72 69 76 65 73 20 74 68 65 20 77 69 |t arrives the wi| 000008c0 6e 64 6f 77 20 69 73 0a 73 63 72 6f 6c 6c 65 64 |ndow is.scrolled| 000008d0 20 61 6e 64 20 74 68 65 20 74 65 78 74 20 69 73 | and the text is| 000008e0 20 64 69 73 70 6c 61 79 65 64 2c 20 68 6f 77 65 | displayed, howe| 000008f0 76 65 72 20 69 66 20 74 68 65 20 73 63 72 6f 6c |ver if the scrol| 00000900 6c 20 62 61 72 20 69 73 6e 27 74 20 61 74 20 74 |l bar isn't at t| 00000910 68 65 0a 62 6f 74 74 6f 6d 20 74 68 65 6e 20 74 |he.bottom then t| 00000920 68 65 20 76 69 65 77 20 6f 6e 20 74 68 65 20 74 |he view on the t| 00000930 65 78 74 20 77 69 6c 6c 20 72 65 6d 61 69 6e 20 |ext will remain | 00000940 74 68 65 20 73 61 6d 65 2e 0a 0a 49 66 20 61 20 |the same...If a | 00000950 73 70 72 69 74 65 20 66 69 6c 65 20 69 73 20 64 |sprite file is d| 00000960 72 61 67 67 65 64 20 74 6f 20 21 52 65 73 54 65 |ragged to !ResTe| 00000970 73 74 20 69 74 20 77 69 6c 6c 20 62 65 20 69 63 |st it will be ic| 00000980 6f 6e 73 70 72 69 74 65 27 64 20 61 6e 64 20 74 |onsprite'd and t| 00000990 68 65 20 75 73 65 72 0a 77 69 6c 6c 20 62 65 20 |he user.will be | 000009a0 69 6e 66 6f 72 6d 65 64 20 76 69 61 20 74 68 65 |informed via the| 000009b0 20 6c 6f 67 20 77 69 6e 64 6f 77 2e 0a 0a 41 64 | log window...Ad| 000009c0 76 61 6e 63 65 20 75 73 65 0a 2d 2d 2d 2d 2d 2d |vance use.------| 000009d0 2d 2d 2d 2d 2d 0a 0a 44 75 72 69 6e 67 20 64 65 |-----..During de| 000009e0 76 65 6c 6f 70 6d 65 6e 74 20 77 6f 72 6b 20 69 |velopment work i| 000009f0 74 20 77 61 73 20 64 65 63 69 64 65 64 20 74 68 |t was decided th| 00000a00 61 74 20 6f 62 6a 65 63 74 20 74 65 6d 70 6c 61 |at object templa| 00000a10 74 65 73 20 77 68 6f 73 65 20 6e 61 6d 65 73 0a |tes whose names.| 00000a20 73 74 61 72 74 20 77 69 74 68 20 61 6e 20 75 6e |start with an un| 00000a30 64 65 72 73 63 6f 72 65 20 61 72 65 20 27 70 72 |derscore are 'pr| 00000a40 69 76 61 74 65 27 20 74 6f 20 61 6e 20 6f 62 6a |ivate' to an obj| 00000a50 65 63 74 20 6d 6f 64 75 6c 65 73 20 61 6e 64 20 |ect modules and | 00000a60 74 68 65 72 65 66 6f 72 65 0a 63 61 6e 6e 6f 74 |therefore.cannot| 00000a70 20 62 65 20 73 68 6f 77 6e 20 69 6e 20 74 68 65 | be shown in the| 00000a80 20 6c 69 73 74 20 6f 66 20 6f 62 6a 65 63 74 73 | list of objects| 00000a90 20 77 68 69 63 68 20 74 68 65 20 75 73 65 72 20 | which the user | 00000aa0 63 61 6e 20 63 6f 6e 74 72 6f 6c 2e 0a 0a 48 6f |can control...Ho| 00000ab0 77 65 76 65 72 2c 20 64 75 72 69 6e 67 20 64 65 |wever, during de| 00000ac0 76 65 6c 6f 70 6d 65 6e 74 20 77 6f 72 6b 20 69 |velopment work i| 00000ad0 74 20 69 73 20 6f 62 76 69 6f 75 73 6c 79 20 69 |t is obviously i| 00000ae0 6d 70 6f 72 74 61 6e 74 20 74 6f 20 62 65 20 61 |mportant to be a| 00000af0 62 6c 65 20 74 6f 20 73 65 65 0a 74 68 65 73 65 |ble to see.these| 00000b00 20 6f 62 6a 65 63 74 73 20 73 6f 20 62 79 20 61 | objects so by a| 00000b10 6c 74 65 72 69 6e 67 20 74 68 65 20 21 52 75 6e |ltering the !Run| 00000b20 20 66 69 6c 65 20 69 6e 20 74 68 65 20 66 6f 6c | file in the fol| 00000b30 6c 6f 77 69 6e 67 20 77 61 79 20 70 72 69 76 61 |lowing way priva| 00000b40 74 65 0a 6f 62 6a 65 63 74 73 20 63 61 6e 20 62 |te.objects can b| 00000b50 65 20 76 69 65 77 65 64 2e 20 54 68 69 73 20 6d |e viewed. This m| 00000b60 61 79 20 68 6f 77 65 76 65 72 20 63 61 75 73 65 |ay however cause| 00000b70 20 70 72 6f 62 6c 65 6d 73 20 61 73 20 66 61 72 | problems as far| 00000b80 20 64 65 6c 65 74 69 6e 67 0a 6f 62 6a 65 63 74 | deleting.object| 00000b90 73 20 69 73 20 63 6f 6e 63 65 72 6e 65 64 2e 20 |s is concerned. | 00000ba0 59 6f 75 20 68 61 76 65 20 62 65 65 6e 20 77 61 |You have been wa| 00000bb0 72 6e 65 64 2e 0a 0a 43 68 61 6e 67 65 20 74 68 |rned...Change th| 00000bc0 65 20 6c 69 6e 65 3a 0a 0a 52 75 6e 20 3c 52 65 |e line:..Run <Re| 00000bd0 73 54 65 73 74 24 44 69 72 3e 2e 21 52 75 6e 49 |sTest$Dir>.!RunI| 00000be0 6d 61 67 65 0a 0a 74 6f 20 0a 0a 52 75 6e 20 3c |mage..to ..Run <| 00000bf0 52 65 73 54 65 73 74 24 44 69 72 3e 2e 21 52 75 |ResTest$Dir>.!Ru| 00000c00 6e 49 6d 61 67 65 20 2d 70 72 69 76 61 74 65 0a |nImage -private.| 00000c10 0a 54 42 6c 6f 63 6b 4d 65 73 73 0a 2d 2d 2d 2d |.TBlockMess.----| 00000c20 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 66 69 6c |------..This fil| 00000c30 65 20 70 72 6f 76 69 64 65 73 20 61 20 67 65 6e |e provides a gen| 00000c40 65 72 69 63 20 6d 65 61 6e 73 20 6f 66 20 64 65 |eric means of de| 00000c50 63 6f 64 69 6e 67 20 74 68 65 20 65 76 65 6e 74 |coding the event| 00000c60 20 62 6c 6f 63 6b 20 72 65 74 75 72 6e 65 64 20 | block returned | 00000c70 66 72 6f 6d 0a 61 20 74 6f 6f 6c 62 6f 78 20 65 |from.a toolbox e| 00000c80 76 65 6e 74 2c 20 69 74 20 68 61 73 20 74 68 65 |vent, it has the| 00000c90 20 66 6f 6c 6c 6f 77 69 6e 67 20 66 6f 72 6d 61 | following forma| 00000ca0 74 3a 0a 0a 45 34 34 65 63 30 20 22 45 72 72 6f |t:..E44ec0 "Erro| 00000cb0 72 20 6e 75 6d 62 65 72 20 20 3d 20 25 78 22 20 |r number = %x" | 00000cc0 34 20 32 0a 0a 77 68 65 72 65 3a 0a 45 34 34 65 |4 2..where:.E44e| 00000cd0 63 30 20 20 69 73 20 74 68 65 20 68 65 78 20 6e |c0 is the hex n| 00000ce0 75 6d 62 65 72 20 6f 66 20 74 68 65 20 65 76 65 |umber of the eve| 00000cf0 6e 74 20 28 69 6e 20 74 68 69 73 20 63 61 73 65 |nt (in this case| 00000d00 20 74 6f 6f 6c 62 6f 78 20 65 72 72 6f 72 29 20 | toolbox error) | 00000d10 0a 0a 22 45 72 72 6f 72 20 6e 75 6d 62 65 72 20 |.."Error number | 00000d20 20 3d 20 25 78 22 20 69 73 20 61 20 70 72 69 6e | = %x" is a prin| 00000d30 74 66 20 73 74 79 6c 65 20 73 74 72 69 6e 67 20 |tf style string | 00000d40 74 6f 20 62 65 20 64 69 73 70 6c 61 79 65 64 20 |to be displayed | 00000d50 77 68 65 6e 20 74 68 69 73 20 65 76 65 6e 74 0a |when this event.| 00000d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000d70 20 20 20 20 20 68 61 70 70 65 6e 73 0a 20 20 20 | happens. | 00000d80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000d90 20 20 0a 34 20 6d 65 61 6e 73 20 61 74 20 74 68 | .4 means at th| 00000da0 65 20 34 74 68 20 77 6f 72 64 20 69 6e 74 6f 20 |e 4th word into | 00000db0 74 68 65 20 65 76 65 6e 74 20 62 6c 6f 63 6b 20 |the event block | 00000dc0 79 6f 75 20 77 69 6c 6c 20 66 69 6e 64 20 74 68 |you will find th| 00000dd0 65 20 64 61 74 61 0a 32 20 6d 65 61 6e 73 20 74 |e data.2 means t| 00000de0 68 61 74 20 79 6f 75 20 73 68 6f 75 6c 64 20 75 |hat you should u| 00000df0 73 65 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 |se the contents | 00000e00 6f 66 20 74 68 69 73 20 61 64 64 72 65 73 20 73 |of this addres s| 00000e10 6f 20 69 6e 20 74 68 69 73 20 63 61 73 65 0a 20 |o in this case. | 00000e20 20 61 20 68 65 78 20 76 61 6c 75 65 0a 20 20 0a | a hex value. .| 00000e30 41 6e 6f 74 68 65 72 20 65 61 78 6d 70 6c 65 20 |Another eaxmple | 00000e40 77 6f 75 6c 64 20 62 65 3a 0a 0a 45 34 34 65 63 |would be:..E44ec| 00000e50 30 20 22 45 72 72 6f 72 20 6d 65 73 73 61 67 65 |0 "Error message| 00000e60 20 3d 20 25 73 22 20 35 20 31 0a 0a 77 68 69 63 | = %s" 5 1..whic| 00000e70 68 20 6d 65 61 6e 73 20 70 72 69 6e 74 20 74 68 |h means print th| 00000e80 65 20 73 74 72 69 6e 67 20 61 74 20 74 68 65 20 |e string at the | 00000e90 35 74 68 20 77 6f 72 64 20 61 6e 64 20 74 72 65 |5th word and tre| 00000ea0 61 74 20 74 68 65 20 76 61 6c 75 65 20 61 73 20 |at the value as | 00000eb0 61 6e 0a 61 64 64 72 65 73 73 20 20 20 20 20 20 |an.address | 00000ec0