EOF
EOF
PRINT EOF
-1
FUNCTION: Tests to see if the cassette input is at the end of the file. Returns ā1 (true) at the end,
otherwise 0 (false).
Associated keywords: OPENIN
ERASE
ERASE list of; <variable name>,
ERASE A,B%
COMMAND: When an array is no longer required, it may be ERASEd and the memory used be
reclaimed ready for other use.
Associated keywords: DIM
ERR
ERL
ERR
ERL
10 CLS
20 ON ERROR GOTO 1000
30 DATA SALLY,EMMA,JOANNE,HELEN,GEMMA
40 READ A$
50 PRINT A$
60 GOT0 40
70 REM error detection starts here
1000 IF ERR=4 THEN PRINT "I have spotted
a DATA EXHAUSTED error!"
1010 IF ERL<70 AND ERL>20 THEN PRINT
ā. . . . .in lines 30-60"
1020 END
VARIABLES: These variables are used in error handling subroutines to discover the error number
and line where the error occured. See the error message listing in Appendix VIII.
Associated keywords: ON ERROR, ERROR