Prev: 07121 Up: Map Next: 07156
07150: THE 'CHECK-END' SUBROUTINE
Used by the routines at SAVE_ETC, LIST, CLASS_03, CLASS_02, CLASS_07, FOR, READ_3, DATA, DEF_FN, LPRINT, INPUT, CIRCLE, DRAW and DIM.
This is an important routine and is called from many places in the monitor program when the syntax of the edit-line is being checked. The purpose of the routine is to give an error report if the end of a statement has not been reached and to move on to the next statement if the syntax is correct.
CHECK_END 07150 CALL SYNTAX_Z Do not proceed unless checking syntax.
07153 RET NZ
07154 POP BC Drop the addresses of SCAN_LOOP and STMT_RET before continuing into STMT_NEXT.
07155 POP BC
Prev: 07121 Up: Map Next: 07156