Next: , Previous: , Up: Imperative Language Interpreter Functions   [Index]


5.8.3.17 x1f4_note_program

extern int x1f4_note_program
    (void *program, int *note, void *back, int (*call)(void *));

The x1f4_note_program function executes the program program. After each successfully expression evaluation it tests the int stored at note and upon non zero find it calls the call routine, passing it back as its only argument. If the routine evaluates zero, the x1f4_note_program function resets the int stored at note and continues with the program execution, otherwise it immediately returns non zero.

See Imperative Program Execution.

A non zero return of the call routine may be examined against the defined error classes and recovered later, depending on its value and whether error trapping mechanisms have been installed.

See Error Classes.

See Limiting The Scope Of Errors.

If successful, the function returns 0. Non zero is returned for failure.

See Functions.

See struct x1f4_function_type.

See Prefix Unary Operators.

See Infix Binary Operators.

See struct x1f4_operator_type.