| Routines

07030: THE 'STMT-RET' SUBROUTINE

Used by the routine at STMT_LOOP. After the correct interpretation of a statement a return is made to this entry point.
STMT_RET | 07030 | CALL BREAK_KEY | The BREAK key is tested after every statement.
| 07033 | JR C,STMT_R_1 | Jump forward unless it has been pressed.
Report L - BREAK into program.
| 07035 | RST 8 | Call the error handling routine.
| 07036 | DEFB 20
Continue here as the BREAK key was not pressed.
STMT_R_1 | 07037 | BIT 7,(IY+10) | Jump forward if there is not a 'jump' to be made (NSPPC is 255).
| 07041 | JR NZ,STMT_NEXT
| 07043 | LD HL,(23618) | Fetch the 'new line' number (NEWPPC) and jump forward unless dealing with a further statement in the editing area.
| 07046 | BIT 7,H
| 07048 | JR Z,LINE_NEW
This routine continues into LINE_RUN.