Next: x1f4_push_mode, Previous: x1f4_list_state, Up: Imperative Language Interpreter Functions
extern int x1f4_look_program (void *x1f4_program, unsigned *line);
The x1f4_look_program
function stores some byte offset in the textual
representation of the x1f4_program
program at the address indicated by
line
. The offset may be indicative of the source position of the next
instruction to be executed, and as well as of the source position of the
instruction whose execution just failed (since instruction pointer is not
advanced for execution failures). The function is intended to help with
determining where and why the program execution failed.
The function returns 0
.