Re: THROW codes and ambiguous conditions

Liste des GroupesRevenir à cl forth 
Sujet : Re: THROW codes and ambiguous conditions
De : sjack (at) *nospam* dontemail.me (sjack)
Groupes : comp.lang.forth
Date : 03. Jun 2025, 21:48:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101nn38$8p8m$1@dont-email.me>
References : 1 2 3
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-60-generic (x86_64))
dxf <dxforth@gmail.com> wrote:
 
MS-DOS errors are mapped to 'ior' using $FExx (CHForth trick)
 

At one time I had catch/throw integrated with FigForth ERROR (was
workable but hard to explain). Any system error (negative IOR)
would throw a system ERROR code and would provide the IOR as data.
Catch caught the ERROR code (positive number) and could key off the
IOR code for any action it would want to take. Of course this doesn't
address portability issue as to standard code and standard response.

Also had file of Linux error code descriptions to view with external
resource, no impact on Forth. Seldom made use of it. For savvy users
an error code alone suffice as to error cause e.g. 'fail to open a
non-existing file, most likely a typo in the file path'. I don't
discount an astronaut landing on the moon being highly concerned by
streaming printouts of 1202 and 1201 codes. Streaming text wouldn't
had been any better because the astronauts hadn't been 'trained' for
that situation. (Somewhat similar, drilling rig tips over in North Sea
because tool-pusher couldn't comprehend the manual instructions in
time to fix stabilizers). Instructions provide the illusion of
being taken care of and is often championed by marketing, activists and
other puffer fish wanting to maintain a middle man position. I admit not
all is so nefarious though I smile sometimes to see who is pushing what.

Me, I'm 'Tool-Time' by nature. Give me a bigger hammer and I'll fix
it, or break it. X-wife on the other hand, a very intelligent retired
teacher, is big on instructions.  She hopeless in operating a smart
phone.  If instructions fail to give wanted results, mouth is quick to
engage.  Not a moment is given to 'thinking' what could possibly have
gone wrong.  Wouldn't do any good anyways; she has very little to work
with. Now despite what some shallow-minded feminist will happily
construe, I'm not being mean.  It's a fact thinking requires some
basic concepts to work with. If such were not accrued for whatever
reason, then whining is the only recourse for the moment.
Unfortunately, the epiphany never occurs that now would be a good time
to start rectifying that problem.

--
me
'The Sleep of Reason Produces Monsters' -- Goya


Date Sujet#  Auteur
31 May 25 * THROW codes and ambiguous conditions37dxf
31 May 25 +* Re: THROW codes and ambiguous conditions7Anton Ertl
31 May 25 i+* Re: THROW codes and ambiguous conditions2dxf
3 Jun21:48 ii`- Re: THROW codes and ambiguous conditions1sjack
31 May 25 i`* Re: THROW codes and ambiguous conditions4Anton Ertl
1 Jun 25 i `* Re: THROW codes and ambiguous conditions3albert
1 Jun 25 i  `* Re: THROW codes and ambiguous conditions2Anton Ertl
1 Jun 25 i   `- Re: THROW codes and ambiguous conditions1albert
1 Jun 25 `* Re: THROW codes and ambiguous conditions29Hans Bezemer
2 Jun05:58  +- Re: THROW codes and ambiguous conditions1dxf
2 Jun11:44  `* Re: THROW codes and ambiguous conditions27albert
3 Jun04:23   `* Re: THROW codes and ambiguous conditions26dxf
3 Jun07:10    +* Re: THROW codes and ambiguous conditions22Anton Ertl
4 Jun15:44    i`* Re: THROW codes and ambiguous conditions21dxf
4 Jun20:25    i `* Re: THROW codes and ambiguous conditions20sean
5 Jun07:09    i  +- Re: THROW codes and ambiguous conditions1dxf
5 Jun11:17    i  `* Re: THROW codes and ambiguous conditions18albert
6 Jun01:47    i   +- Re: THROW codes and ambiguous conditions1dxf
6 Jun07:15    i   `* Re: THROW codes and ambiguous conditions16sean
6 Jun12:00    i    `* Re: THROW codes and ambiguous conditions15albert
6 Jun22:06    i     `* Re: THROW codes and ambiguous conditions14sean
7 Jun04:10    i      `* Re: THROW codes and ambiguous conditions13dxf
7 Jun05:26    i       `* Re: THROW codes and ambiguous conditions12sean
7 Jun05:42    i        +- Re: THROW codes and ambiguous conditions1dxf
7 Jun10:43    i        +* Re: THROW codes and ambiguous conditions9Anton Ertl
7 Jun15:06    i        i`* Re: THROW codes and ambiguous conditions8dxf
7 Jun20:58    i        i `* Re: THROW codes and ambiguous conditions7Paul Rubin
8 Jun02:49    i        i  +* Re: THROW codes and ambiguous conditions3Paul Rubin
8 Jun04:36    i        i  i+- Re: THROW codes and ambiguous conditions1dxf
8 Jun09:07    i        i  i`- Re: THROW codes and ambiguous conditions1Anton Ertl
8 Jun03:16    i        i  +- Re: THROW codes and ambiguous conditions1dxf
8 Jun08:56    i        i  `* Re: THROW codes and ambiguous conditions2Anton Ertl
8 Jun15:45    i        i   `- Re: THROW codes and ambiguous conditions1dxf
7 Jun15:41    i        `- Re: THROW codes and ambiguous conditions1LIT
3 Jun09:43    +- Re: THROW codes and ambiguous conditions1John
4 Jun03:03    `* Re: THROW codes and ambiguous conditions2dxf
6 Jun11:47     `- Re: THROW codes and ambiguous conditions1Hans Bezemer

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal