PokeLong

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 Long Yes The value you want to set at Address

Example

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

See Also

Poke, PokeInt