Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf
Filename: !BasicProg/!Help
Read OK:
File size: 0230 bytes
Load address: FFFFFF44
Exec address: E0C5C4BB
File contents
Back to Basics: Learning to Program in Basic
By Mark Moxon

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

Listing1 implements a very simple arithmetic quiz.

Listing2 uses a WHILE-ENDWHILE construct to provide password protection: the password is AU.

Listing3 uses a REPEAT-UNTIL construct to provide a 'three attempts' password system: again, the password is AU.

For more information, see the article on page 101 in the magazine.

� Copyright 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 6f 70 74  69 6f 6e 20 74 6f 20 6f  |this option to o|
00000050  70 65 6e 20 61 20 64 69  72 65 63 74 6f 72 79 20  |pen a directory |
00000060  63 6f 6e 74 61 69 6e 69  6e 67 20 74 68 72 65 65  |containing three|
00000070  20 65 78 61 6d 70 6c 65  20 42 61 73 69 63 20 70  | example Basic p|
00000080  72 6f 67 72 61 6d 73 20  66 72 6f 6d 20 74 68 65  |rograms from the|
00000090  20 74 68 69 72 64 20 70  61 72 74 20 6f 66 20 74  | third part of t|
000000a0  68 65 20 73 65 72 69 65  73 20 6f 6e 20 6c 65 61  |he series on lea|
000000b0  72 6e 69 6e 67 20 74 6f  20 70 72 6f 67 72 61 6d  |rning to program|
000000c0  20 69 6e 20 42 61 73 69  63 2e 0a 0a 4c 69 73 74  | in Basic...List|
000000d0  69 6e 67 31 20 69 6d 70  6c 65 6d 65 6e 74 73 20  |ing1 implements |
000000e0  61 20 76 65 72 79 20 73  69 6d 70 6c 65 20 61 72  |a very simple ar|
000000f0  69 74 68 6d 65 74 69 63  20 71 75 69 7a 2e 0a 0a  |ithmetic quiz...|
00000100  4c 69 73 74 69 6e 67 32  20 75 73 65 73 20 61 20  |Listing2 uses a |
00000110  57 48 49 4c 45 2d 45 4e  44 57 48 49 4c 45 20 63  |WHILE-ENDWHILE c|
00000120  6f 6e 73 74 72 75 63 74  20 74 6f 20 70 72 6f 76  |onstruct to prov|
00000130  69 64 65 20 70 61 73 73  77 6f 72 64 20 70 72 6f  |ide password pro|
00000140  74 65 63 74 69 6f 6e 3a  20 74 68 65 20 70 61 73  |tection: the pas|
00000150  73 77 6f 72 64 20 69 73  20 41 55 2e 0a 0a 4c 69  |sword is AU...Li|
00000160  73 74 69 6e 67 33 20 75  73 65 73 20 61 20 52 45  |sting3 uses a RE|
00000170  50 45 41 54 2d 55 4e 54  49 4c 20 63 6f 6e 73 74  |PEAT-UNTIL const|
00000180  72 75 63 74 20 74 6f 20  70 72 6f 76 69 64 65 20  |ruct to provide |
00000190  61 20 27 74 68 72 65 65  20 61 74 74 65 6d 70 74  |a 'three attempt|
000001a0  73 27 20 70 61 73 73 77  6f 72 64 20 73 79 73 74  |s' password syst|
000001b0  65 6d 3a 20 61 67 61 69  6e 2c 20 74 68 65 20 70  |em: again, the p|
000001c0  61 73 73 77 6f 72 64 20  69 73 20 41 55 2e 0a 0a  |assword is AU...|
000001d0  46 6f 72 20 6d 6f 72 65  20 69 6e 66 6f 72 6d 61  |For more informa|
000001e0  74 69 6f 6e 2c 20 73 65  65 20 74 68 65 20 61 72  |tion, see the ar|
000001f0  74 69 63 6c 65 20 6f 6e  20 70 61 67 65 20 31 30  |ticle on page 10|
00000200  31 20 69 6e 20 74 68 65  20 6d 61 67 61 7a 69 6e  |1 in the magazin|
00000210  65 2e 0a 0a a9 20 43 6f  70 79 72 69 67 68 74 20  |e.... Copyright |
00000220  41 63 6f 72 6e 20 55 73  65 72 20 31 39 39 33 0a  |Acorn User 1993.|
00000230
!BasicProg/!Help.m0
!BasicProg/!Help.m1
!BasicProg/!Help.m2
!BasicProg/!Help.m4
!BasicProg/!Help.m5