![]() |
Routines |
Prev: 07150 | Up: Map |
The routine at CHECK_END continues here.
If the present character is a 'carriage return' then the 'next statement' is on the 'next line'; if ':' it is on the same line; but if any other character is found then there is an error in syntax.
|
|||||||
STMT_NEXT | 07156 | RST 24 | Fetch the present character. | ||||
07157 | CP 13 | Consider the 'next line' if it is a 'carriage return'. | |||||
07159 | JR Z,LINE_END | ||||||
07161 | CP ":" | Consider the 'next statement' if it is a ':'. | |||||
07163 | JP Z,STMT_LOOP | ||||||
07166 | JP REPORT_C | Otherwise there has been a syntax error. |
Prev: 07150 | Up: Map |