BASICP

Syntax BASICP (offset)
Location TinyToolkit

This function returns an internal pointer (address) used by the SuperBASIC interpreter. offset must be non-negative and a multiple of 2 (up to a maximum of HEX(‘64’).

Refer to system documentation for more information.

Example

PRINT BASICP(16)

returns the start address of the current SuperBASIC program in memory.

PRINT BASICP(32)

returns the start address of the SuperBASIC name list.

NOTE

This suffers from the same problem as BASIC.

CROSS-REFERENCE

BASIC_B, BASIC_L, BASIC_W. See NEW_NAME for a useful example!

BASIC_POINTER is the same as this function.

_NAME$ and BASIC_NAME$ allow you to access the SuperBASIC name list safely.