Chawter 10 I
BASIC
Kevwords
PEEK
Function
PEEK(mmry location)
Returns a byte from memory
location
Memory location must be in the range -32768 to 65535.
The value returned is an integer in the range 0 to 255. (For the
interpretation of a negative value of memory
location,
see the
VARPTR statement.)
PEEK is the complementary function of the POKE statement.
Example
A
=
P E E K
( 6 H S A 0 0 )
BASIC returns the value stored at address 5A00 and stores it in
variable A.
258