poke <int address>, <byte or int value>

The POKE command stores a value into the given memory address. The following type conversions are possible:

  • address will be recognized as an unsigned integer
  • if value is an integer, it will be truncated to a byte


rem ** turn border to black **
poke 53280, 0
rem ** unsigned conversion **
let x = -5
poke x, 0
rem ** which will effectively be the same as:
poke 65531,0

rem ** values are truncated to 8 bits - the MSB is discarded **
poke 53280, 65535
rem ** will be the same as
poke 53820, 255
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies


Enter your comment. Wiki syntax is allowed: