Re: bye with exit status

Liste des GroupesRevenir à cl forth 
Sujet : Re: bye with exit status
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forth
Date : 08. Nov 2024, 21:12:15
Autres entêtes
Organisation : novaBBS
Message-ID : <90fb45e91992e3cb2d6979a542879361@www.novabbs.com>
References : 1 2 3 4 5
User-Agent : Rocksolid Light
On Fri, 8 Nov 2024 17:54:55 +0000, albert@spenarnc.xs4all.nl wrote:

In article <vgj268$2p1e5$1@dont-email.me>,
Anthony Howe  <achowe@snert.com> wrote:
On 2024-11-07 06:56, Ruvim wrote:
I would like to find a more appropriate name for this word than
"bye-status".
>
(bye) ( u -- )
>
Seems apropos, short, to the point and indicative of an internal word.
Default
can be defined to return to the host OS with an exit status `u`, but
maybe be
replaced in (unhosted) environments to perform some sort of system reset,
power
cycle, or other implementation defined system reset.
>
I agree that it is the politically correct definition.
However the question was, is it worth it to standardise.
The answer is of course: no.
If you are writing software that is to be maintained by other people
(and by yourself) in the future, it is best to give the routines
descriptive names. For example, FREE-ALLOCATED-OBJECTS or
DISCONNECT-NETWORK or SHUTDOWN-POWER-SUPPLIES. Furthermore, such
routines are different for every system, and in some desktop systems
they do not even exist. In my opinion, standardisation in this area
makes no sense at all.

Date Sujet#  Auteur
6 Nov 24 * bye with exit status19Ruvim
6 Nov 24 +- Re: bye with exit status1albert
6 Nov 24 `* Re: bye with exit status17Anthony Howe
6 Nov 24  `* Re: bye with exit status16minforth
6 Nov 24   `* Re: bye with exit status15mhx
7 Nov 24    +* Re: bye with exit status10Ruvim
7 Nov 24    i`* Re: bye with exit status9Anthony Howe
7 Nov 24    i +* Re: bye with exit status5Ruvim
8 Nov 24    i i+- Re: bye with exit status1mhx
8 Nov 24    i i`* Re: bye with exit status3Anthony Howe
8 Nov 24    i i `* Re: bye with exit status2Ruvim
8 Nov 24    i i  `- Re: bye with exit status1Anthony Howe
8 Nov 24    i +- Re: bye with exit status1Ron AARON
8 Nov 24    i `* Re: bye with exit status2albert
8 Nov 24    i  `- Re: bye with exit status1minforth
8 Nov 24    `* Re: bye with exit status4Anton Ertl
8 Nov 24     `* Re: bye with exit status3Ruvim
8 Nov 24      `* Re: bye with exit status2Anton Ertl
8 Nov 24       `- Re: bye with exit status1Ruvim

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal