Home » Archimedes archive » Acorn User » AU 1994-05.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 1994-05.adf |
Filename: | !BasicProg/!Help |
Read OK: | ✔ |
File size: | 0226 bytes |
Load address: | FFFFFF45 |
Exec address: | 3B8CC732 |
File contents
Back to Basics: Learning to Program in Basic By David Matthewman Run this option to open a directory containing the example Basic programs from the tenth part of the series on learning to program in Basic. This month we look at DATA statements, and use them to create a very simple quiz. You are encouraged to copy and modify the programs in this section. Perhaps you could make them ask different questions, or accept answers in upper and lower case. For more information, see the article on page 91 in the magazine. � Copyright Acorn User 1994
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 44 61 76 69 64 20 4d 61 74 74 68 65 77 6d 61 6e |David Matthewman| 00000040 0a 0a 52 75 6e 20 74 68 69 73 20 6f 70 74 69 6f |..Run this optio| 00000050 6e 20 74 6f 20 6f 70 65 6e 20 61 20 64 69 72 65 |n to open a dire| 00000060 63 74 6f 72 79 20 63 6f 6e 74 61 69 6e 69 6e 67 |ctory containing| 00000070 20 74 68 65 20 65 78 61 6d 70 6c 65 20 42 61 73 | the example Bas| 00000080 69 63 20 70 72 6f 67 72 61 6d 73 20 66 72 6f 6d |ic programs from| 00000090 20 74 68 65 20 74 65 6e 74 68 20 70 61 72 74 20 | the tenth part | 000000a0 6f 66 20 74 68 65 20 73 65 72 69 65 73 20 6f 6e |of the series on| 000000b0 20 6c 65 61 72 6e 69 6e 67 20 74 6f 20 70 72 6f | learning to pro| 000000c0 67 72 61 6d 20 69 6e 20 42 61 73 69 63 2e 20 54 |gram in Basic. T| 000000d0 68 69 73 20 6d 6f 6e 74 68 20 77 65 20 6c 6f 6f |his month we loo| 000000e0 6b 20 61 74 20 44 41 54 41 20 73 74 61 74 65 6d |k at DATA statem| 000000f0 65 6e 74 73 2c 20 61 6e 64 20 75 73 65 20 74 68 |ents, and use th| 00000100 65 6d 20 74 6f 20 63 72 65 61 74 65 20 61 20 76 |em to create a v| 00000110 65 72 79 20 73 69 6d 70 6c 65 20 71 75 69 7a 2e |ery simple quiz.| 00000120 0a 0a 59 6f 75 20 61 72 65 20 65 6e 63 6f 75 72 |..You are encour| 00000130 61 67 65 64 20 74 6f 20 63 6f 70 79 20 61 6e 64 |aged to copy and| 00000140 20 6d 6f 64 69 66 79 20 74 68 65 20 70 72 6f 67 | modify the prog| 00000150 72 61 6d 73 20 69 6e 20 74 68 69 73 20 73 65 63 |rams in this sec| 00000160 74 69 6f 6e 2e 20 50 65 72 68 61 70 73 20 79 6f |tion. Perhaps yo| 00000170 75 20 63 6f 75 6c 64 20 6d 61 6b 65 20 74 68 65 |u could make the| 00000180 6d 20 61 73 6b 20 64 69 66 66 65 72 65 6e 74 20 |m ask different | 00000190 71 75 65 73 74 69 6f 6e 73 2c 20 6f 72 20 61 63 |questions, or ac| 000001a0 63 65 70 74 20 61 6e 73 77 65 72 73 20 69 6e 20 |cept answers in | 000001b0 75 70 70 65 72 20 61 6e 64 20 6c 6f 77 65 72 20 |upper and lower | 000001c0 63 61 73 65 2e 0a 0a 46 6f 72 20 6d 6f 72 65 20 |case...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 39 31 20 69 6e 20 74 68 65 20 6d |page 91 in the m| 00000200 61 67 61 7a 69 6e 65 2e 0a 0a a9 20 43 6f 70 79 |agazine.... Copy| 00000210 72 69 67 68 74 20 41 63 6f 72 6e 20 55 73 65 72 |right Acorn User| 00000220 20 31 39 39 34 0a | 1994.| 00000226