EasyManua.ls Logo

Commodore VIC-20 - LET=; LIST

Commodore VIC-20
404 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...
Appendix
G
BASIC
Statements 353
LET=
The Assignment statement
LET=,
or
simply
=,
assigns a value to a
specified variable.
Format:
{~~~k)}
var =data
Variable var
is
assigned the value computed by resolving data. The
word LET
is
optional; it
is
usually omitted.
Example:
10
fI"2
430
C$="~"
300
M(1,3)·S6N(X)
310
XX$(I,J,K,U..,IISTRINGALONG"
UST
LIST displays one
or
more lines
of
a program.
Program
lines displayed
by the LIST statement may be edited.
Format:
{
(blank)
line
LIST line
l
-line
2
-line
line-
The entire program
is
displayed in response to LIST. Use line-limiting
parameters for long programs to display a section
of
the program that
is
short enough to fit on the screen.
Example:
LIST
LIST
30
LIST
60-100
LIST
-140
LIST
20100-
List entire program
List line
50
List all lines in the program from lines
60
to
100,
inclusive
List all lines in the program
from
the beginning
of
the program
through line
140
List all lines in the program from line 20000 to the
end
of
the program

Other manuals for Commodore VIC-20

Related product manuals