-
Notifications
You must be signed in to change notification settings - Fork 0
PEEK
Andrew Owen edited this page May 30, 2023
·
2 revisions
value = PEEK(address)
Returns the value of the memory at segment * 16 + address
where segment
is the current segment set with DEF SEG.
address
is a numeric expression in [-32768 to 65535]
. Negative values are
interpreted as their two's complement.
Currently PEEK
only accepts values in the range [0 to 65535]
and ignores SEG
,
returning values from the 64K address space.
-
address
has a string value: Type mismatch. -
address
is not in[-32768 to 65535]
: Overflow.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: