Home » Archimedes archive » Archimedes World » AW-1993-10.adf » AWOct93 » !AWOct93/Goodies/Disc/!Extend/Commands/Program
!AWOct93/Goodies/Disc/!Extend/Commands/Program
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-10.adf » AWOct93 |
Filename: | !AWOct93/Goodies/Disc/!Extend/Commands/Program |
Read OK: | ✔ |
File size: | 012F bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| This simple program illustrates how *command program files | can contain new *commands which are programs of any type | E.g. "Obey" files, BASIC programs, etc. | N.B. This program itself can be *Run by typing its | name "Program" at the command line (or just double click it) Tim Timmy Timothy
00000000 7c 20 54 68 69 73 20 73 69 6d 70 6c 65 20 70 72 || This simple pr| 00000010 6f 67 72 61 6d 20 69 6c 6c 75 73 74 72 61 74 65 |ogram illustrate| 00000020 73 20 68 6f 77 20 2a 63 6f 6d 6d 61 6e 64 20 70 |s how *command p| 00000030 72 6f 67 72 61 6d 20 66 69 6c 65 73 0a 7c 20 63 |rogram files.| c| 00000040 61 6e 20 63 6f 6e 74 61 69 6e 20 6e 65 77 20 2a |an contain new *| 00000050 63 6f 6d 6d 61 6e 64 73 20 77 68 69 63 68 20 61 |commands which a| 00000060 72 65 20 70 72 6f 67 72 61 6d 73 20 6f 66 20 61 |re programs of a| 00000070 6e 79 20 74 79 70 65 0a 7c 20 45 2e 67 2e 20 22 |ny type.| E.g. "| 00000080 4f 62 65 79 22 20 66 69 6c 65 73 2c 20 42 41 53 |Obey" files, BAS| 00000090 49 43 20 70 72 6f 67 72 61 6d 73 2c 20 65 74 63 |IC programs, etc| 000000a0 2e 0a 0a 7c 20 4e 2e 42 2e 20 54 68 69 73 20 70 |...| N.B. This p| 000000b0 72 6f 67 72 61 6d 20 69 74 73 65 6c 66 20 63 61 |rogram itself ca| 000000c0 6e 20 62 65 20 2a 52 75 6e 20 62 79 20 74 79 70 |n be *Run by typ| 000000d0 69 6e 67 20 69 74 73 0a 7c 20 20 20 20 20 20 6e |ing its.| n| 000000e0 61 6d 65 20 22 50 72 6f 67 72 61 6d 22 20 61 74 |ame "Program" at| 000000f0 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e | the command lin| 00000100 65 20 28 6f 72 20 6a 75 73 74 20 64 6f 75 62 6c |e (or just doubl| 00000110 65 20 63 6c 69 63 6b 20 69 74 29 0a 0a 0a 54 69 |e click it)...Ti| 00000120 6d 0a 54 69 6d 6d 79 0a 54 69 6d 6f 74 68 79 |m.Timmy.Timothy| 0000012f