Home » Archimedes archive » Archimedes World » AW-1993-11.adf » AWNov93 » !AWNov93/Goodies/RISC_OS/DeskApps/!DummyApp/!Help
!AWNov93/Goodies/RISC_OS/DeskApps/!DummyApp/!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 » Archimedes World » AW-1993-11.adf » AWNov93 |
Filename: | !AWNov93/Goodies/RISC_OS/DeskApps/!DummyApp/!Help |
Read OK: | ✔ |
File size: | 026E bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
----------------------------------------------------------------------- Program : !DummyApp Purpose : Illustrates how to write a non-wimp but desktop application Usage : To run double-click on a file of type "dummy" All that happens is the pathname of the file is printed out; see the BASIC program !Run in the application's resource directory. This is a way of inputting information into a program initiated by a double click on a file of the associated type ("dummy" in this case -----------------------------------------------------------------------
00000000 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 00000010 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000040 2d 2d 2d 2d 2d 2d 2d 2d 0a 50 72 6f 67 72 61 6d |--------.Program| 00000050 20 3a 20 21 44 75 6d 6d 79 41 70 70 0a 0a 50 75 | : !DummyApp..Pu| 00000060 72 70 6f 73 65 20 3a 20 49 6c 6c 75 73 74 72 61 |rpose : Illustra| 00000070 74 65 73 20 68 6f 77 20 74 6f 20 77 72 69 74 65 |tes how to write| 00000080 20 61 20 6e 6f 6e 2d 77 69 6d 70 20 62 75 74 20 | a non-wimp but | 00000090 64 65 73 6b 74 6f 70 20 61 70 70 6c 69 63 61 74 |desktop applicat| 000000a0 69 6f 6e 0a 0a 55 73 61 67 65 20 20 20 3a 20 54 |ion..Usage : T| 000000b0 6f 20 72 75 6e 20 64 6f 75 62 6c 65 2d 63 6c 69 |o run double-cli| 000000c0 63 6b 20 6f 6e 20 61 20 66 69 6c 65 20 6f 66 20 |ck on a file of | 000000d0 74 79 70 65 20 22 64 75 6d 6d 79 22 0a 0a 20 20 |type "dummy".. | 000000e0 20 20 20 20 20 20 20 20 41 6c 6c 20 74 68 61 74 | All that| 000000f0 20 68 61 70 70 65 6e 73 20 69 73 20 74 68 65 20 | happens is the | 00000100 70 61 74 68 6e 61 6d 65 20 6f 66 20 74 68 65 20 |pathname of the | 00000110 66 69 6c 65 20 69 73 20 70 72 69 6e 74 65 64 20 |file is printed | 00000120 6f 75 74 3b 20 73 65 65 0a 20 20 20 20 20 20 20 |out; see. | 00000130 20 20 20 74 68 65 20 42 41 53 49 43 20 70 72 6f | the BASIC pro| 00000140 67 72 61 6d 20 21 52 75 6e 20 69 6e 20 74 68 65 |gram !Run in the| 00000150 20 61 70 70 6c 69 63 61 74 69 6f 6e 27 73 20 72 | application's r| 00000160 65 73 6f 75 72 63 65 20 64 69 72 65 63 74 6f 72 |esource director| 00000170 79 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 54 68 |y... Th| 00000180 69 73 20 69 73 20 61 20 77 61 79 20 6f 66 20 69 |is is a way of i| 00000190 6e 70 75 74 74 69 6e 67 20 69 6e 66 6f 72 6d 61 |nputting informa| 000001a0 74 69 6f 6e 20 69 6e 74 6f 20 61 20 70 72 6f 67 |tion into a prog| 000001b0 72 61 6d 20 69 6e 69 74 69 61 74 65 64 0a 20 20 |ram initiated. | 000001c0 20 20 20 20 20 20 20 20 62 79 20 61 20 64 6f 75 | by a dou| 000001d0 62 6c 65 20 63 6c 69 63 6b 20 6f 6e 20 61 20 66 |ble click on a f| 000001e0 69 6c 65 20 6f 66 20 74 68 65 20 61 73 73 6f 63 |ile of the assoc| 000001f0 69 61 74 65 64 20 74 79 70 65 20 28 22 64 75 6d |iated type ("dum| 00000200 6d 79 22 20 69 6e 20 74 68 69 73 0a 20 20 20 20 |my" in this. | 00000210 20 20 20 20 20 20 63 61 73 65 0a 2d 2d 2d 2d 2d | case.-----| 00000220 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000260 2d 2d 20 20 20 20 20 20 20 20 20 20 0a 0a |-- ..| 0000026e