Synopsis
#define nb_program_offset(TP) ((unsigned short)((unsigned char *)(TP) - nb_memory.bytes))
Description

nb_program_offset returns a 16-bit offset from the start of the CoreBASIC program to the token pointer TP

See Also

nb_program_address.