Poke

Last Modified: 1/14/2021

Sets the value at Address to Data.

Arguments

NameTypeRequiredDescription
Address Long Yes The location in memory where you want to set the Data
Data Byte Yes The value you want to set at Address

Example

Syntax: Poke <Address>, <Data>
    a = 15
    b& = VarPtr&(a)
    
    Print "Before: "; a
    PokeInt b&, 65
    
    Print "After: "; a

See Also

PokeInt, PokeLong