EasyManua.ls Logo

Apple IIe - Page 165

Apple IIe
320 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...
Apple
BASIC Reference
Guide
165
results
in
the
following
error
message:
WAIT
ILLEGAL
QUANTITY
ERROR
Example
5
HOME
: REM CALL -936
10 PRINT
"ROW
1"
20
VTAB 2:PRINT
"ROW
2"
30
VTAB
10:PRINT
"ROW
10"
40
VT
AB
20
: PRINT
"ROW
20"
50
END
Applesoft
o
Integer
WAIT
can
be
used
to
suspend
operation
of
an
Applesoft
BASIC
program
until
a designated
memory
address
is
assigned a
specified value.
Configuration
WAIT
address,
value
1,
[value 2]
address
specifies
the
memory
address
whose
value
is
to
be
decided
.
value 1
and
value 2
are
compared
with
address
to
determine
whether
the
program
proceeds
or
continues
to
wait
.
address
can range
from
-65535
to
65535.
value 1
and
value 2
can
range
from
0
to
255.
When
WAIT
is
executed,
value 1
and
value 2
are
converted
to
their
binary
equivalent
in
the
range
frnm
0
through
11111111.
When
addre
ss
and
value 1
are
the
only
arguments
indicated
with
WAIT,
each
of
the
eight
bits
in
address
are
AND'ed
with
each
corresponding
bit
in
the
binary
equivalent
of
value 1.
If
the
result
of
the
AND
operation
is
non-zero
for
any
one
bit
(the
bit
had a
value
of
1
in
both
address
and
value
1),
the
WAIT
statement
will

Other manuals for Apple IIe

Related product manuals