POKE

Top  Previous  Next

Action

Write a byte to an internal memory location.

 

 

Syntax

POKE address , value

 

 

Remarks

address

Numeric variable with the address of the memory location to set. (0-255)

value

Value to assign. (0-255)

 

Be careful with the POKE statement because you can change variables with it, which can cause your program to function incorrect.

 

 

See also

PEEK , CPEEK , INP , OUT

 

 

Example

POKE 127, 1                 'write 1 to address 127

End