368
The
VIC
20
User
Guide
Example:
VERIFY
VERIFY
"CLIP"
AS=I/CLIP"
VERIFY
AS
DlskeHe
Drive
Format
Verify the next program
found
on the
tape
Searchfor the program named CLIP on
cassette unit
#1
and
verify it
Same
as
above
VERIFY
"dr;file name",dev
The program currently stored in memory
is
compared with the pro-
gram file namedfile name on the diskette in drive
dr.
The dev parameter
must be present and unless otherwise specified it must have the value
8.
If
the
dev parameter
is
absent, a default value
of
I
is
assumed and the primary
cassette drive
is
selected.
In order to verify the program most recently saved, use the following
version of the VERIFY statement:
VERIFY
1/1IE1/,8
You should always verify programs as soon as you have saved them. The
VERIFY statement
is
nearly always executed in immediate mode.
Example:
WAIT
VERIFY
"1IE",8
VERIFYI/0:SHELL",a
C$="El:SHELL"
VERIFY
CS
Verify the program just saved
Search for the program named
SHELL
on disk drive 0 and verify it
Same
as
above
The WAIT statement halts program execution until a specified memory
location acquires a specified value.
Format:
WAIT memadr, mask[,xor]
where
mask
is
a one-byte mask value
xor
is
a one-byte mask value