Prev: 1BD1 Up: Map Next: 1BF4
1BEE: 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 1BEE CALL SYNTAX_Z Do not proceed unless checking syntax.
1BF1 RET NZ
1BF2 POP BC Drop the addresses of SCAN_LOOP and STMT_RET before continuing into STMT_NEXT.
1BF3 POP BC
Prev: 1BD1 Up: Map Next: 1BF4