Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
PEEK()
Syntax:
peek(<int address>) | peek!(<int address>)
The PEEK
function returns the value that is read from a memory address. The function can return a byte or an integer. In the latter case the value will be promoted to integer type.
Note: the address will be recognized as an unsigned integer.
Example:
let value = peek(n)