I tried to write an error subroutine that would reset itself to retry after err 70, error 71, and error 53. If the disk is not ready or the file is write protected, I get the error message, but I have to start the program all over again to clear the error. I tried $error all on and it did not help. I tried resume and resume next, but they didn't help.
I also tried err =0 (It was unclear from the pb manual how to use this or where to place it).
I would include the code here, but it is about 30 lines long. If you know of a shorter way to reset after errors, please let me know.
I also tried err =0 (It was unclear from the pb manual how to use this or where to place it).
I would include the code here, but it is about 30 lines long. If you know of a shorter way to reset after errors, please let me know.
Comment