POKE - source-solutions/HELP GitHub Wiki

POKE


POKE address, value

Sets the value of the memory byte at segment * 16 + address to value, where segment is the current segment set with DEF SEG.

Parameters

  • address is a numeric expression in [-32768 to 65535]. Negative values are interpreted as their two's complement.
  • value is a numeric expression in [0 to 255].

Notes

  • DEF SEG is not yet implemented in SE Basic IV.

Errors

  • address or value has a string value: Type mismatch.
  • address is not in [-32768 to 65535]: Overflow.
  • value is not in [-32768 to 32767]: Overflow.
  • value is not in [0 to 255]: Illegal function call.
⚠️ **GitHub.com Fallback** ⚠️