SecondBASIC Documentation v3

Home / Command Reference / Reload, Restore

Reload, Restore

Description: Resets the data pointer to a memory address or line label.

Syntax:

Reload <MemoryLocation>
Restore <MemoryLocation>

Part Description
<MemoryLocation> Required. This is either a line label or a long variable that has a memory location stored (usually with the LblPtr&() or VarPtr&() functions).

Example:

    Reload MyData
    ReadInt a, b, c, d
    Print a, b, c, d
 
MyData:
    DataInt 1, 2, 3, 4, 5