Sujet : Re: QUIT and ABORT
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 26. May 2025, 06:35:18
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <fea30af4b24485b1514c3f17a2278cc1fe9cb8e2@i2pn2.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
User-Agent : Mozilla Thunderbird
On 25/05/2025 2:40 pm, dxf wrote:
...
As to what ANS intended one might ask Mitch Bradley - author of CATCH and THROW.
He can't give an official answer but it may end the speculation.
Searching revealed this 1996 c.l.f post which appears to explain how ANS came
to include -56 QUIT and why it is among the last codes in the list:
https://groups.google.com/g/comp.lang.forth/c/sHdQbjXI9DQ/m/R95b_VLybx4JTL;DR
"Shortly after CATCH and THROW were added to the BASIS document (I think that
it was the meeting after), Mitch Bradley proposed a list of just under 50 THROW
codes which represented the ambiguous conditions described in the document.
[...]
QUIT is given an error code for completeness--my argument was that any operation
which aborted processing should have a corresponding THROW code, and the committee
accepted this with very little discussion." - Loring Craymer