====== FERR() ====== Syntax: ferr() | ferr!() The ''FERR()'' function returns error information subsequent to the last ''[[LOAD|LOAD]]'' or ''[[SAVE|SAVE]]'' statement. The function can return a byte or an integer. If the return value is zero, no error occurred. Otherwise the value will hold the matching KERNAL error code. Example: load "myfile",8 err = ferr() if err = 0 then print "success" else goto load_error end load_error: print "an error occurred" rem ** more error handling ** Example error codes: ^ Code ^ Error ^ |4|file not found| |5|device not present| |8|missing file name| |9|illegal device number| |29|load error| |30|break (user pressed break button)|