NEC PC-8201A User Manual page 121

Table of Contents

Advertisement

Chapter 6
BASIC Sample Program:
This is a sample program that uses letters in the operation of the
screen display.
Letter variables and string functions could also be
employed.
rvgP'
See the BASIC Reference Manual for an explanation of
variables and string functions.
10 REM DISPLAY 1
20 CLS
30 A*='Ohhhh':N=1
Z10 FOR X=0 TO 32 STEP
50 LOCATE X,0
60 PRINT LEFT$(A$,N);
70 N=N+1
80 BEEP
90 NEXT X
100 END
8
0
Oh
Ohh
Ohhh
Ohhhh
Load M
Save "
Files
List
Run
6-22

Advertisement

Table of Contents
loading

Table of Contents