Home » Archimedes archive » Archimedes World » AW-1993-05.adf » AWMay93 » !AWMay93/Goodies/BASICS/!Multiply/!Run

!AWMay93/Goodies/BASICS/!Multiply/!Run

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-05.adf » AWMay93
Filename: !AWMay93/Goodies/BASICS/!Multiply/!Run
Read OK:
File size: 0172 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
| Run file for multiply
| For Archimedes World 1993

Set Multiply$Dir <Obey$Dir>

|   That line sets up a SYSTEM VARIABLE
| so that the program knows where on disc
| it is being run from.The variable is called
| <Multiply$Dir> and can be used in place of
| a pathname for the high scores file.

| Then this line runs the BASIC program itself
Run <Multiply$Dir>.!RunImage
00000000  7c 20 52 75 6e 20 66 69  6c 65 20 66 6f 72 20 6d  || Run file for m|
00000010  75 6c 74 69 70 6c 79 0a  7c 20 46 6f 72 20 41 72  |ultiply.| For Ar|
00000020  63 68 69 6d 65 64 65 73  20 57 6f 72 6c 64 20 31  |chimedes World 1|
00000030  39 39 33 0a 0a 53 65 74  20 4d 75 6c 74 69 70 6c  |993..Set Multipl|
00000040  79 24 44 69 72 20 3c 4f  62 65 79 24 44 69 72 3e  |y$Dir <Obey$Dir>|
00000050  0a 0a 7c 20 20 20 54 68  61 74 20 6c 69 6e 65 20  |..|   That line |
00000060  73 65 74 73 20 75 70 20  61 20 53 59 53 54 45 4d  |sets up a SYSTEM|
00000070  20 56 41 52 49 41 42 4c  45 0a 7c 20 73 6f 20 74  | VARIABLE.| so t|
00000080  68 61 74 20 74 68 65 20  70 72 6f 67 72 61 6d 20  |hat the program |
00000090  6b 6e 6f 77 73 20 77 68  65 72 65 20 6f 6e 20 64  |knows where on d|
000000a0  69 73 63 0a 7c 20 69 74  20 69 73 20 62 65 69 6e  |isc.| it is bein|
000000b0  67 20 72 75 6e 20 66 72  6f 6d 2e 54 68 65 20 76  |g run from.The v|
000000c0  61 72 69 61 62 6c 65 20  69 73 20 63 61 6c 6c 65  |ariable is calle|
000000d0  64 0a 7c 20 3c 4d 75 6c  74 69 70 6c 79 24 44 69  |d.| <Multiply$Di|
000000e0  72 3e 20 61 6e 64 20 63  61 6e 20 62 65 20 75 73  |r> and can be us|
000000f0  65 64 20 69 6e 20 70 6c  61 63 65 20 6f 66 0a 7c  |ed in place of.||
00000100  20 61 20 70 61 74 68 6e  61 6d 65 20 66 6f 72 20  | a pathname for |
00000110  74 68 65 20 68 69 67 68  20 73 63 6f 72 65 73 20  |the high scores |
00000120  66 69 6c 65 2e 0a 0a 7c  20 54 68 65 6e 20 74 68  |file...| Then th|
00000130  69 73 20 6c 69 6e 65 20  72 75 6e 73 20 74 68 65  |is line runs the|
00000140  20 42 41 53 49 43 20 70  72 6f 67 72 61 6d 20 69  | BASIC program i|
00000150  74 73 65 6c 66 0a 52 75  6e 20 3c 4d 75 6c 74 69  |tself.Run <Multi|
00000160  70 6c 79 24 44 69 72 3e  2e 21 52 75 6e 49 6d 61  |ply$Dir>.!RunIma|
00000170  67 65                                             |ge|
00000172