PokeInt

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

Example

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

See Also

Poke, PokeLong