Commodore VIC-20 User Manual page 126

Hide thumbs Also See for VIC-20:
Table of Contents

Advertisement

I
c
CONT will not work if you have changed or added lines of the program
(
(or even just moved (he cursor to a program line and hit RETURN
without changing anything), or if the program halted due to an error,
or if you caused an error before trying to re-start the program. The
message in this case is CANT CONTINUE ERROR.
LIST
(
The LIST command allows you to look at lines of a BASIC program
thai have been typed or LOADed into the VIC'S memory. When used
alone without any numbers following ft you will see a complete listing
of the program on your screen (which may be slowed down by holding
down the CTRL key or STOPped by hitting the key marked RUN
STOP}. If you follow the word LIST with a line number, the VIC will
only show you that line number. If you type LIST with 2 numbers
separated by a dash, the VIC will show all lines between the first and
(
second line number. If you type LIST followed by a number and just a
dash, it will show all the lines from that number lo the end of the pro-
(
gram. And ff you type LIST, a dash, and then a numbert you wilf gel ali
the lines from the beginning until that line number. Using these varfa-
C
tions, you can examine any portion of a program, or bring lines to the
,
screen for modification.
EXAMPLES:
LIST
Shows entire program.
LIST 10—
Shows only tram line 10 until the end.
LIST 10
Shows only line 10.
LIST—10
Shows lines from the beginning untif line 10.
r
LIST 10—20 Shows lines from 10 to 20, inclusive.
£
c
LOAD
abbrev. L sh O
This is the command to use when you have a program stored on
cassette tape or on disk, and you want to use it. If you type just the
LOAD and hit the RETURN key, the VIC will find the first program on
(
the cassette tape and bring it into memory, to be RUN, LISTed, or
whatever- You can also type the word LOAD followed by a program
name, which is most often a name in quotes (""). The name may be
followed by a comma (outside of any quotes) and a number or
numeric variable, which acts as a device number to determine where
the program is coming from. If there is no number given, the VfC
assumes device #1, which is the cassette tape recorder
The other device commonly used with the LOAD command is the disk
(
drive, which is device #8.
c
116

Advertisement

Table of Contents
loading

Table of Contents