PEEK()

PEEK(A)

RETURNS THE CONTENT (BYTE FROM 0 TO 255) OF ADDRESS A

  • Type: Function
  • Parameter: 1
  • Group: Reference

ACTION

The function PEEK(A) returns the content of address A.

PEEK returns a byte from 0 to 255.

SYNTAX: Resultt=PEEK(A)

  • A = address

USE

  • The function PEEK() is used to know the content of a memory address.

ERROR

  • If A is not a correct expression.

EXAMPLE

dim i%

poke adr(i%),20

print i%

caption 0,"20 is printed"

SEE ALSO

POKE

POKE16

POKE32

POKE_NORMAL

POKE_REVERSE

PEEK16()

PEEK32()

PEEK_NORMAL

PEEK_REVERSE