Syntax edit

byteValue` = Peek [Byte]
shortIntValue% = Peek Word
longValue& = Peek Long

Shorthand syntax:

Description edit

The Peek functions look at the 1, 2 or 4 bytes of data which begin at address&, and return them as a byte integer, short integer or long integer value, respectively. The address& should be a long integer expression, or a Pointer or Handle variable. The value returned by a Peek function will be interpreted either as a signed or unsigned value, depending on what type of variable itÕs assigned to. If the value is not assigned to any variable, itÕs usually interpreted as a signed value.

See Also edit

Poke; VarPtr