qb45advr.hlp (
Topic list)
PEEK Statement Details
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
PEEK Statement Details
Syntax
PEEK(address)
The returned value is an integer in the range 0-255. The argument address
is a value in the range 0-65,535. The argument address is treated as the
offset from the current default segment (as set by the DEF SEG statement).
If the argument is a single- or double-precision floating-point value
or a long integer, it is converted to a two-byte integer.
The PEEK function complements the POKE statement.