Table of Contents
PEEK
PET VIC-20 C64 C16 Plus/4 C128 X16
The PEEK()
function returns the content of the specified memory address. The return value is a number between 0 and 255.
Function declaration
DECLARE FUNCTION PEEK AS BYTE (address AS WORD) SHARED STATIC INLINE
Examples
POKE $c000, 127 : REM write value PRINT PEEK($c000) : REM read value