OPTION ERROR ABORT | CONTINUE
Sets the treatment for errors in file input/output. The option CONTINUE will cause MMBasic to ignore file related errors. The program must check the variable MM.ERRNO to determine if and what error has occurred.
The option ABORT sets the normal behavior (ie, stop the program and print an error message). The default is ABORT.
Note that this option only relates to errors reading or writing from the SD card, it does not affect the handling of syntax and other program errors.
See also:
CHDIR
CLOSE
COPY
CWD$
DIR$
DRIVE
EOF
FILES
INPUT#
INPUT$
KILL
LINE INPUT
MKDIR
MM.ERRNO
NAME
OPEN
PRINT
RMDIR
WRITE
Leave a Reply