Home » Archimedes archive » Acorn User » AU 1994-06.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-06.adf
Filename: !BasicProg/!Help
Read OK:
File size: 023F bytes
Load address: FFFFFF45
Exec address: 4DEED01F
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 eleventh part of the series on learning to program in Basic.

This month we look at reading and writing files. In order to write files you will need to copy the programs to another disc � this is necessary when running Listing 2. Copy the SetVar Obey file as well, and run it from the new directory before running either listing.

For more information, see the article on page 95 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 65 6c 65  76 65 6e 74 68 20 70 61  | the eleventh pa|
000000a0  72 74 20 6f 66 20 74 68  65 20 73 65 72 69 65 73  |rt of the series|
000000b0  20 6f 6e 20 6c 65 61 72  6e 69 6e 67 20 74 6f 20  | on learning to |
000000c0  70 72 6f 67 72 61 6d 20  69 6e 20 42 61 73 69 63  |program in Basic|
000000d0  2e 0a 0a 54 68 69 73 20  6d 6f 6e 74 68 20 77 65  |...This month we|
000000e0  20 6c 6f 6f 6b 20 61 74  20 72 65 61 64 69 6e 67  | look at reading|
000000f0  20 61 6e 64 20 77 72 69  74 69 6e 67 20 66 69 6c  | and writing fil|
00000100  65 73 2e 20 49 6e 20 6f  72 64 65 72 20 74 6f 20  |es. In order to |
00000110  77 72 69 74 65 20 66 69  6c 65 73 20 79 6f 75 20  |write files you |
00000120  77 69 6c 6c 20 6e 65 65  64 20 74 6f 20 63 6f 70  |will need to cop|
00000130  79 20 74 68 65 20 70 72  6f 67 72 61 6d 73 20 74  |y the programs t|
00000140  6f 20 61 6e 6f 74 68 65  72 20 64 69 73 63 20 97  |o another disc .|
00000150  20 74 68 69 73 20 69 73  20 6e 65 63 65 73 73 61  | this is necessa|
00000160  72 79 20 77 68 65 6e 20  72 75 6e 6e 69 6e 67 20  |ry when running |
00000170  4c 69 73 74 69 6e 67 20  32 2e 20 43 6f 70 79 20  |Listing 2. Copy |
00000180  74 68 65 20 53 65 74 56  61 72 20 4f 62 65 79 20  |the SetVar Obey |
00000190  66 69 6c 65 20 61 73 20  77 65 6c 6c 2c 20 61 6e  |file as well, an|
000001a0  64 20 72 75 6e 20 69 74  20 66 72 6f 6d 20 74 68  |d run it from th|
000001b0  65 20 6e 65 77 20 64 69  72 65 63 74 6f 72 79 20  |e new directory |
000001c0  62 65 66 6f 72 65 20 72  75 6e 6e 69 6e 67 20 65  |before running e|
000001d0  69 74 68 65 72 20 6c 69  73 74 69 6e 67 2e 0a 0a  |ither listing...|
000001e0  46 6f 72 20 6d 6f 72 65  20 69 6e 66 6f 72 6d 61  |For more informa|
000001f0  74 69 6f 6e 2c 20 73 65  65 20 74 68 65 20 61 72  |tion, see the ar|
00000200  74 69 63 6c 65 20 6f 6e  20 70 61 67 65 20 39 35  |ticle on page 95|
00000210  20 69 6e 20 74 68 65 20  6d 61 67 61 7a 69 6e 65  | in the magazine|
00000220  2e 0a 0a a9 20 43 6f 70  79 72 69 67 68 74 20 41  |.... Copyright A|
00000230  63 6f 72 6e 20 55 73 65  72 20 31 39 39 34 0a     |corn User 1994.|
0000023f