Home » Archimedes archive » Acorn User » AU 1993-08.adf » !BasicProg/!Help

!BasicProg/!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 » Acorn User » AU 1993-08.adf
Filename: !BasicProg/!Help
Read OK:
File size: 021A bytes
Load address: FFFFFF44
Exec address: A9B44386
File contents
Back to Basics: Learning to Program in Basic
By Mark Moxon

Run this application to open a directory containing three example Basic programs from the first part of the series on learning to program in Basic.

Listing1 simply asks you for your name and prints a greeting.

Listing2 contains a deliberate error and demonstrates the use of a simple error handler.

Listing3 asks for a number between one and 12 and prints the relevant multiplication table.

For more information, see the article on page 79.

� Copyright BBC Acorn User 1993
00000000  42 61 63 6b 20 74 6f 20  42 61 73 69 63 73 3a 20  |Back to Basics: |
00000010  4c 65 61 72 6e 69 6e 67  20 74 6f 20 50 72 6f 67  |Learning to Prog|
00000020  72 61 6d 20 69 6e 20 42  61 73 69 63 0a 42 79 20  |ram in Basic.By |
00000030  4d 61 72 6b 20 4d 6f 78  6f 6e 0a 0a 52 75 6e 20  |Mark Moxon..Run |
00000040  74 68 69 73 20 61 70 70  6c 69 63 61 74 69 6f 6e  |this application|
00000050  20 74 6f 20 6f 70 65 6e  20 61 20 64 69 72 65 63  | to open a direc|
00000060  74 6f 72 79 20 63 6f 6e  74 61 69 6e 69 6e 67 20  |tory containing |
00000070  74 68 72 65 65 20 65 78  61 6d 70 6c 65 20 42 61  |three example Ba|
00000080  73 69 63 20 70 72 6f 67  72 61 6d 73 20 66 72 6f  |sic programs fro|
00000090  6d 20 74 68 65 20 66 69  72 73 74 20 70 61 72 74  |m the first part|
000000a0  20 6f 66 20 74 68 65 20  73 65 72 69 65 73 20 6f  | of the series o|
000000b0  6e 20 6c 65 61 72 6e 69  6e 67 20 74 6f 20 70 72  |n learning to pr|
000000c0  6f 67 72 61 6d 20 69 6e  20 42 61 73 69 63 2e 0a  |ogram in Basic..|
000000d0  0a 4c 69 73 74 69 6e 67  31 20 73 69 6d 70 6c 79  |.Listing1 simply|
000000e0  20 61 73 6b 73 20 79 6f  75 20 66 6f 72 20 79 6f  | asks you for yo|
000000f0  75 72 20 6e 61 6d 65 20  61 6e 64 20 70 72 69 6e  |ur name and prin|
00000100  74 73 20 61 20 67 72 65  65 74 69 6e 67 2e 0a 0a  |ts a greeting...|
00000110  4c 69 73 74 69 6e 67 32  20 63 6f 6e 74 61 69 6e  |Listing2 contain|
00000120  73 20 61 20 64 65 6c 69  62 65 72 61 74 65 20 65  |s a deliberate e|
00000130  72 72 6f 72 20 61 6e 64  20 64 65 6d 6f 6e 73 74  |rror and demonst|
00000140  72 61 74 65 73 20 74 68  65 20 75 73 65 20 6f 66  |rates the use of|
00000150  20 61 20 73 69 6d 70 6c  65 20 65 72 72 6f 72 20  | a simple error |
00000160  68 61 6e 64 6c 65 72 2e  0a 0a 4c 69 73 74 69 6e  |handler...Listin|
00000170  67 33 20 61 73 6b 73 20  66 6f 72 20 61 20 6e 75  |g3 asks for a nu|
00000180  6d 62 65 72 20 62 65 74  77 65 65 6e 20 6f 6e 65  |mber between one|
00000190  20 61 6e 64 20 31 32 20  61 6e 64 20 70 72 69 6e  | and 12 and prin|
000001a0  74 73 20 74 68 65 20 72  65 6c 65 76 61 6e 74 20  |ts the relevant |
000001b0  6d 75 6c 74 69 70 6c 69  63 61 74 69 6f 6e 20 74  |multiplication t|
000001c0  61 62 6c 65 2e 0a 0a 46  6f 72 20 6d 6f 72 65 20  |able...For more |
000001d0  69 6e 66 6f 72 6d 61 74  69 6f 6e 2c 20 73 65 65  |information, see|
000001e0  20 74 68 65 20 61 72 74  69 63 6c 65 20 6f 6e 20  | the article on |
000001f0  70 61 67 65 20 37 39 2e  0a 0a a9 20 43 6f 70 79  |page 79.... Copy|
00000200  72 69 67 68 74 20 42 42  43 20 41 63 6f 72 6e 20  |right BBC Acorn |
00000210  55 73 65 72 20 31 39 39  33 0a                    |User 1993.|
0000021a