-
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.
-
addresshas a string value: Type mismatch. -
addressis not in[-32768 to 65535]: Overflow.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: