[Coco] error trapping

Wayne Campbell asa.rand at yahoo.com
Tue Dec 1 04:58:31 EST 2009


I need to know how to trap an error generated by the makdir command when it's being executed with a SHELL statement in a Basic09 subroutine. If I try to use it, and the directory already exists, the error is displayed on the screen, despite the fact that I am using a ON ERROR GOTO statement to trap it. Execution resumes in the correct location in the code, but I can't find anything in the OS-9 manual about suppressing error messages.

Can anyone help?

Wayne


      



More information about the Coco mailing list