Futurebasic/Language/Reference/poke

From Wikibooks, open books for an open world
< Futurebasic | Language | Reference
Jump to: navigation, search

Contents

[edit] POKE

[edit] Syntax

POKE [BYTE]
POKE WORD
POKE LONG

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

[edit] 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.

[edit] See Also

PEEK; VARPTR; BLOCKMOVE; LET

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export