Tandy 1000 Basic Reference Manual page 260

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents