Home » Archimedes archive » Archimedes World » AW-1993-12.adf » AWDec93 » !AWDec93/Goodies/RiscOS/DeskApps/!DummyApp/!Help

!AWDec93/Goodies/RiscOS/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-12.adf » AWDec93
Filename: !AWDec93/Goodies/RiscOS/DeskApps/!DummyApp/!Help
Read OK:
File size: 0266 bytes
Load address: 0000
Exec address: 0000
File contents
-----------------------------------------------------------------------
Program : !DummyApp

Purpose : Illustrates how to write a non-wimp but desktop application
          using the pipe filing system for out put.

Usage   : To run double-click on a file of type "dummy"

          All that happens is that a textfile is created containing
          the pathname of the file (of appropriate type)
          which was double clicked

          This is a way of outputting information to the built-in
          editors.
          
-----------------------------------------------------------------------          

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 20 20 20 20  20 20 20 20 20 20 75 73  |ion.          us|
000000b0  69 6e 67 20 74 68 65 20  70 69 70 65 20 66 69 6c  |ing the pipe fil|
000000c0  69 6e 67 20 73 79 73 74  65 6d 20 66 6f 72 20 6f  |ing system for o|
000000d0  75 74 20 70 75 74 2e 0a  0a 55 73 61 67 65 20 20  |ut put...Usage  |
000000e0  20 3a 20 54 6f 20 72 75  6e 20 64 6f 75 62 6c 65  | : To run double|
000000f0  2d 63 6c 69 63 6b 20 6f  6e 20 61 20 66 69 6c 65  |-click on a file|
00000100  20 6f 66 20 74 79 70 65  20 22 64 75 6d 6d 79 22  | of type "dummy"|
00000110  0a 0a 20 20 20 20 20 20  20 20 20 20 41 6c 6c 20  |..          All |
00000120  74 68 61 74 20 68 61 70  70 65 6e 73 20 69 73 20  |that happens is |
00000130  74 68 61 74 20 61 20 74  65 78 74 66 69 6c 65 20  |that a textfile |
00000140  69 73 20 63 72 65 61 74  65 64 20 63 6f 6e 74 61  |is created conta|
00000150  69 6e 69 6e 67 0a 20 20  20 20 20 20 20 20 20 20  |ining.          |
00000160  74 68 65 20 70 61 74 68  6e 61 6d 65 20 6f 66 20  |the pathname of |
00000170  74 68 65 20 66 69 6c 65  20 28 6f 66 20 61 70 70  |the file (of app|
00000180  72 6f 70 72 69 61 74 65  20 74 79 70 65 29 0a 20  |ropriate type). |
00000190  20 20 20 20 20 20 20 20  20 77 68 69 63 68 20 77  |         which w|
000001a0  61 73 20 64 6f 75 62 6c  65 20 63 6c 69 63 6b 65  |as double clicke|
000001b0  64 0a 0a 20 20 20 20 20  20 20 20 20 20 54 68 69  |d..          Thi|
000001c0  73 20 69 73 20 61 20 77  61 79 20 6f 66 20 6f 75  |s is a way of ou|
000001d0  74 70 75 74 74 69 6e 67  20 69 6e 66 6f 72 6d 61  |tputting informa|
000001e0  74 69 6f 6e 20 74 6f 20  74 68 65 20 62 75 69 6c  |tion to the buil|
000001f0  74 2d 69 6e 0a 20 20 20  20 20 20 20 20 20 20 65  |t-in.          e|
00000200  64 69 74 6f 72 73 2e 0a  20 20 20 20 20 20 20 20  |ditors..        |
00000210  20 20 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  .-------------|
00000220  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000250  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 20 20 20 20 20 20  |----------      |
00000260  20 20 20 20 0a 0a                                 |    ..|
00000266