statement/POKE statement/POKE
NAME
POKE -- Writes a value into a RAM memory
ABBREVIATION
p <shift> O
SYNOPSIS
POKE <address>,<value>
FUNCTION
The POKE command allows you to change any value in the computer RAM
memory, and lets you modify many of the computer input/output registers.
POKE is always followed by two numbers (or equations). The first number
(<address>) is a location inside your computer's memory. This could have
any value from 0 to 65535. The second number (<value>) is a value from 0
to 255, which is placed in the location, replacing any value that was
there previously. This command can be used to control anything on the
screen, from placing a character at that location to changing the color
there.
INPUTS
<address> - memory address/location (0-65535)
<value> - value to be stored in a given address (0-255)
RESULT
Given value is stored in a given memory location.
EXAMPLES
10 POKE 16000,8
Sets location 16000 to 8.
20 POKE 16*1000,27
Sets location 16000 to 27.
NOTES
None
BUGS
None
SEE ALSO
PEEK()