EasyManua.ls Logo

Apple IIe - Page 136

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...
136
Apple
lie
Users
Handbook
Configuration
POKE
address, value
address
and value are
numeric
constants
or
numeric
expressions.
address
or
value must evaluate
to
an
integer
in
Integer
BASIC.
address lies
between
-65535 and
65535
(-32767 and
32767
in
Integer
BASIC.) value must lie
between
0 and
255.
The POKE statement places
the
indicated
value at
the
specified
memory
address. A POKE
has
no
effect
if
the
address
is
in
ROM
memory.
If a
POKE
is
not
used
carefully,
it
can
disrupt
the
lle's
execution.
Example
10 PRINT
PEEK(7900)
20
POKE 7900,37
30
PRINT
PEEK(7900)
40
POKE
7900,158
50
PRINT
PEEK(7900)
60
END
In
the
preceding
example,
line
10 first displays
what
is
currently
in
memory
location
7900. The value
37
is
then
poked
into
memory
on
line
20.
Line
30
displays
the
value at
m~mory
location
7900.
The value 158
is
then
poked
into
memory
and displayed
in
lines
40
and
50.
Applesoft
POP
Integer
The POP
statement
causes a
program
to
ignore
the
GOSUB
or
ON/GOSUB
statement
that
was executed last.
Configuration
POP

Other manuals for Apple IIe

Related product manuals