Re: bye with exit status

Liste des GroupesRevenir à cl forth 
Sujet : Re: bye with exit status
De : achowe (at) *nospam* snert.com (Anthony Howe)
Groupes : comp.lang.forth
Date : 06. Nov 2024, 17:51:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgg6q4$26lgs$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 2024-11-06 07:12, Ruvim wrote:
For example, the following code fragments have stack effect ( n -- ⊥ )
and use n as the process exit status:
    SwiftForth "exitstatus ! bye"
   VfxForth   "exitcode ! bye"
Don't like this behaviour; it comes off like a side-effect.

   Gforth     "(bye)"
I'd be content with `(bye)`.

   ciforth    "exit-code ! bye"
   mf3        "sysexit"
   Post4      "bye-code"
Just because there was nothing in the standard and I was not aware of what others did.  I had considered `OSEXIT`  or `EXIT-TO-HOST`, but neither of these come off as related to `BYE` when you see the name.
(bye)
bye-code
bye-status
bye-exit
bye-bye   ( ok I'm getting silly; point is it should relate to BYE )

   SP-Forth   "halt"
I do _not_ like this choice, because I associate "halt" with system halt, ie. `shutdown -h now` or `halt(1)`.
And certainly not `hcf`.

Could you suggest some names for the word with this functionality so that one of them can be standardized?
 This word should not output any messages.
--
Anthony C Howe
achowe@snert.com                                   BarricadeMX & Milters
http://nanozen.snert.com/                          http://software.snert.com/

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