EasyManua.ls Logo

NEC PC-8201A - Page 121

NEC PC-8201A
219 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Related product manuals