< Futurebasic < Language < Reference

POKE

Syntax

POKE [BYTE]
POKE WORD
POKE LONG

Shorthand syntax:
| address&, byteExpr
% address&, shortIntExpr
& address&, longIntExpr

Description

These statements copy the value in byteExpr, shortIntExpr or longIntExpr into the 1, 2 or 4 memory bytes (respectively) which start at location address&. The address& should be a long integer expression, or a POINTER variable.

See Also

PEEK; VARPTR; BLOCKMOVE; LET

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.