Cassette Datacorder - AMSTRAD CPC464 User Manual

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

5 CLS
1 0 F O R N = 3 2 T O 2 5 5
2 0 P R I N T C H R $ ( N ) ;
3 0 N E X T N
Ready
2 0 P R I N T C H R
now release [COPY] and type $ - it will appear under the MAIN cursor, which then steps along one
place to the right as usual.
2 0 P R I N T C H R $
You must step the COPY cursor past the erroneous S, and to do this hold down the [SHIFT] key, and
then press the cursor right key [+I once. The COPY cursor then rests over the (. Release the [SHIFT)
and hold down the [COPY] key until you reach past the end of the line. Hit [ENTER] and the
corrected line at the bottom of the screen replaces the incorrect line shown in the listing.
You can combine all these techniques by simply [COPY]ing the entire faulty line, and before you hit
[ENTER] at the end, edit it using the line editing features of the main cursor, using the cursor keys,
and the [CLR] and [DEL] keys without the [SHIFT] Holding down [CTRL] and either the cursor left
[t], or the cursor right [+I key will take the cursor to either the left or right hand end of the line
being edited, in one step.
Practise, you' ll find it gets easy in a short while.
Finally, you can edit by typing:
EDIT 20
The computer responds with:
2 0 P R I N T C H R $ ( N ) ;
Simply use the main cursor keys together with the [CLR] and [DEL] keys, as instructed above, and
when you are satisfied with the result, press [ENTER] as before. If you get in a tangle, press [ESC],
and LIST once again. The line where the [ESC]ape was pressed will not have been overwritten.
Now enter LIST once again, and you will see the corrected version of the program displayed. If it' s
not correct, try again!
Thus far we' ve only begun to explore the groundwork for CPC464. To take a look at the other two
modes, type in:
MODE 0
RUN
Note that the display first clears, then your program displays the characters 20 wide across the
screen:
To return to the original display again, type:
MODE 1
R U N
And we' re back where we started. To look at the 80 column display, type:
M O D E 2
RUN
We' ve made a start - and you should by now have overcome some of your initial curiosity. Advanced
users will already be setting about converting their favourite programs to run under this particular
dialect of BASIC, less familiar users should proceed through the primer sections to get an overview
of the machine-specific features in the BASIC.

Cassette Datacorder

2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents