Prev: 1BEE Up: Map Next: 1C01
1BF4: THE 'STMT-NEXT' ROUTINE
Used by the routines at STMT_RET and NEXT_LINE.
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 1BF4 RST $18 Fetch the present character.
1BF5 CP $0D Consider the 'next line' if it is a 'carriage return'.
1BF7 JR Z,LINE_END
1BF9 CP ":" Consider the 'next statement' if it is a ':'.
1BFB JP Z,STMT_LOOP
1BFE JP REPORT_C Otherwise there has been a syntax error.
Prev: 1BEE Up: Map Next: 1C01