EasyManua.ls Logo

Commodore 64 - Statements; Verify; Close; Clr

Commodore 64
176 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...
VERIFY
This command causes the computer to check the program on disk or
tape against the one in memory. This is proof that the program is actu-
ally SAVEd, in case the tape or disk is bad, or something went wrong
during the SAVE. VERIFY without anything after the command causes the
Commodore 64 to check the next program on tape, regardless of name,
against the program in memory.
VERIFY followed by a program name, or a string variable, will search
for that program and then check. Device numbers can also be included
with the verify command.
VERIFY
VERIFY "HELLO"
VERIFY "HELLO",8
Checks the next program on tape
Searches for HELLO, checks against memory
Searches for HELLO on disk, then checks
STATEMENTS
CLOSE
This command completes and closes any files used by OPEN state-
ments. The number following CLOSE is the file number to be closed.
CLOSE 2
Only file #2 is closed
CLR
This command
will erase any variables in memory, but leaves the
program itself intact.
This command is automatically executed when a
RUN command is given.
CMD
CMD sends the output which normally would go to the screen (i.e.,
PRINTstatements, LISTs, but not POKEs onto the screen) to another de-
vice instead. This could be a printer, or a data file on tape or disk. This
device or file must be OPENed first. The CMD command must be fol-
lowed by a number or numeric variable referring to the file.
117

Table of Contents

Other manuals for Commodore 64

Related product manuals