Home » Archimedes archive » Archimedes World » AW-1993-06.adf » AWJune93 » !AWJune93/Goodies/BASICS/Info
!AWJune93/Goodies/BASICS/Info
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-06.adf » AWJune93 |
Filename: | !AWJune93/Goodies/BASICS/Info |
Read OK: | ✔ |
File size: | 0299 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Archimedes World » AW-1993-06.adf » AWJune93 » !AWJune93/Goodies/BASICS/Info
- Archimedes archive » Archimedes World » AW-1993-06.adf » AWJune93 » !AWJune93/Goodies/BASICS/Multiply/Info
File contents
Basic Programming This month I have been a bit naughty, what I have added to the program is an error traping routine. Also I have made deliberate mistakes within the program, so you will have to find the errors and correct them yourselves. As the program has been updated each month, and you have follwed the articles in the magazine. You should have no problem in finding the errors as they should be quite obvious. The error trapping routine will generate a line number where the error has occured, so at least you have some idea as where to look. Have fun see you next month..... Clue line 880, has to open a data file so look out for the error there !!
00000000 0a 42 61 73 69 63 20 50 72 6f 67 72 61 6d 6d 69 |.Basic Programmi| 00000010 6e 67 0a 0a 0a 54 68 69 73 20 6d 6f 6e 74 68 20 |ng...This month | 00000020 49 20 68 61 76 65 20 62 65 65 6e 20 61 20 62 69 |I have been a bi| 00000030 74 20 6e 61 75 67 68 74 79 2c 20 77 68 61 74 20 |t naughty, what | 00000040 49 20 68 61 76 65 20 61 64 64 65 64 20 74 6f 20 |I have added to | 00000050 74 68 65 20 70 72 6f 67 72 61 6d 20 69 73 20 61 |the program is a| 00000060 6e 0a 65 72 72 6f 72 20 74 72 61 70 69 6e 67 20 |n.error traping | 00000070 72 6f 75 74 69 6e 65 2e 20 41 6c 73 6f 20 49 20 |routine. Also I | 00000080 68 61 76 65 20 6d 61 64 65 20 64 65 6c 69 62 65 |have made delibe| 00000090 72 61 74 65 20 6d 69 73 74 61 6b 65 73 20 77 69 |rate mistakes wi| 000000a0 74 68 69 6e 20 74 68 65 0a 70 72 6f 67 72 61 6d |thin the.program| 000000b0 2c 20 73 6f 20 79 6f 75 20 77 69 6c 6c 20 68 61 |, so you will ha| 000000c0 76 65 20 74 6f 20 66 69 6e 64 20 74 68 65 20 65 |ve to find the e| 000000d0 72 72 6f 72 73 20 61 6e 64 20 63 6f 72 72 65 63 |rrors and correc| 000000e0 74 20 74 68 65 6d 20 79 6f 75 72 73 65 6c 76 65 |t them yourselve| 000000f0 73 2e 0a 0a 41 73 20 74 68 65 20 70 72 6f 67 72 |s...As the progr| 00000100 61 6d 20 68 61 73 20 62 65 65 6e 20 75 70 64 61 |am has been upda| 00000110 74 65 64 20 65 61 63 68 20 6d 6f 6e 74 68 2c 20 |ted each month, | 00000120 61 6e 64 20 79 6f 75 20 68 61 76 65 20 66 6f 6c |and you have fol| 00000130 6c 77 65 64 20 74 68 65 0a 61 72 74 69 63 6c 65 |lwed the.article| 00000140 73 20 69 6e 20 74 68 65 20 6d 61 67 61 7a 69 6e |s in the magazin| 00000150 65 2e 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 |e. You should ha| 00000160 76 65 20 6e 6f 20 70 72 6f 62 6c 65 6d 20 69 6e |ve no problem in| 00000170 20 66 69 6e 64 69 6e 67 20 74 68 65 20 65 72 72 | finding the err| 00000180 6f 72 73 0a 61 73 20 74 68 65 79 20 73 68 6f 75 |ors.as they shou| 00000190 6c 64 20 62 65 20 71 75 69 74 65 20 6f 62 76 69 |ld be quite obvi| 000001a0 6f 75 73 2e 0a 0a 54 68 65 20 65 72 72 6f 72 20 |ous...The error | 000001b0 74 72 61 70 70 69 6e 67 20 72 6f 75 74 69 6e 65 |trapping routine| 000001c0 20 77 69 6c 6c 20 67 65 6e 65 72 61 74 65 20 61 | will generate a| 000001d0 20 6c 69 6e 65 20 6e 75 6d 62 65 72 20 77 68 65 | line number whe| 000001e0 72 65 20 74 68 65 20 65 72 72 6f 72 20 68 61 73 |re the error has| 000001f0 0a 6f 63 63 75 72 65 64 2c 20 73 6f 20 61 74 20 |.occured, so at | 00000200 6c 65 61 73 74 20 79 6f 75 20 68 61 76 65 20 73 |least you have s| 00000210 6f 6d 65 20 69 64 65 61 20 61 73 20 77 68 65 72 |ome idea as wher| 00000220 65 20 74 6f 20 6c 6f 6f 6b 2e 0a 0a 0a 48 61 76 |e to look....Hav| 00000230 65 20 66 75 6e 20 73 65 65 20 79 6f 75 20 6e 65 |e fun see you ne| 00000240 78 74 20 6d 6f 6e 74 68 2e 2e 2e 2e 2e 0a 0a 43 |xt month.......C| 00000250 6c 75 65 20 6c 69 6e 65 20 38 38 30 2c 20 68 61 |lue line 880, ha| 00000260 73 20 74 6f 20 6f 70 65 6e 20 61 20 64 61 74 61 |s to open a data| 00000270 20 66 69 6c 65 20 73 6f 20 6c 6f 6f 6b 20 6f 75 | file so look ou| 00000280 74 20 66 6f 72 20 74 68 65 20 65 72 72 6f 72 20 |t for the error | 00000290 74 68 65 72 65 20 21 21 20 |there !! | 00000299