[Coco] error trapping
Wayne Campbell
asa.rand at yahoo.com
Tue Dec 1 18:12:21 EST 2009
OK. Seems I can never get this right. Think BEFORE you ask! LOL
I slept on it after posting this, and when I woke up this morning, the first thing in my mind was "use the system call". I did, and it's working fine.
Wayne
________________________________
From: Wayne Campbell <asa.rand at yahoo.com>
To: coco at maltedmedia.com
Sent: Tue, December 1, 2009 1:58:31 AM
Subject: [Coco] error trapping
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
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list