POKE
Format: POKE (expr1, expr2)
Supported by: COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 1.4, 3.0, 5.0 and 6.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3
Similar commands: -
This statement, which should be used with extreme caution, is used to write any location in memory with any data. The location in memory is defined by expr1 and the data is defined by expr2. For example, POKE (5000,255) will place the hexadecimal equivalent of 255 (FF) in memory at the decimal address 5000. A more common and much safer approach is POKE (@1F23, #FF) which places the hexadecimal data FF at hexadecimal location 1F23.
Note that @ on COMX BASIC V1.00 is shown as a █ and on the Pecom 64 a & is used instead of the @ for 16 bit hexadecimal numbers.