[Coco] error trapping
Bob Devries
devries.bob at gmail.com
Tue Dec 1 20:34:36 EST 2009
hmmmm,
where did I read that programming in assembler (or here, using a system
call) is like digging with a spoon; you have ultimate control over all the
dirt :)
Regards, Bob Devries
--
Besides a mathematical inclination, an exceptionally good mastery of one's
native tongue is the most vital asset of a competent programmer.
Edsger W.Dijkstra, 18 June 1975
----- Original Message -----
From: "Wayne Campbell" <asa.rand at yahoo.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Wednesday, December 02, 2009 10:12 AM
Subject: Re: [Coco] error trapping
> 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
>
>
>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list