FutureBasic Logo

<<    Index    >> FutureBasic 5

poke   statement



Syntax:
poke [byte] address&, byteExpr
poke word address&, shortIntExpr
poke long address&, longIntExpr


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