| Deutsch English Français Italiano |
|
<2025May3.180226@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: QUIT and ABORT
Date: Sat, 03 May 2025 16:02:26 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 29
Message-ID: <2025May3.180226@mips.complang.tuwien.ac.at>
References: <87bjtn2hct.fsf@gmail.com> <nnd$3b017059$6aa9c908@b5507bbc6e704cf6> <5ce2cb85311aa91fcb7ab57c802aef09b3345163@i2pn2.org> <nnd$1667d791$2eba7243@d7216ffec373a0d9> <nnd$595f502c$48101358@27425914746d2863> <d9149a9d12db559e2720156b315fcfdcdd90e3fe@i2pn2.org> <2025May3.072517@mips.complang.tuwien.ac.at> <6973d7bc1d0376ab234a39a3dda82287b7b13450@i2pn2.org>
Injection-Date: Sat, 03 May 2025 18:08:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d230db8aa85e68b3bc438415dc7f1948";
logging-data="4065365"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BsUj8rNKiP3kndD/PdYi/"
Cancel-Lock: sha1:k7JEwQJxr3Fq01448t60n6gegwc=
X-newsreader: xrn 10.11
Bytes: 2419
dxf <dxforth@gmail.com> writes:
>Checking the doc it says:
>
> 9.3.5 Possible actions on an ambiguous condition
>
> A system choosing to execute THROW when detecting one of the ambiguous
> conditions listed in table 9.3.6 shall use the throw code listed there.
Calling ABORT or QUIT is not an ambiguous condition, so that section
plays no role there.
>So while CATCH and THROW are compulsory (EXCEPTION wordset), there is no
>requirement to implement any of the codes listed in the table. Only if
>the EXCEPTION EXT wordset is implemented must the codes for ABORT and
>ABORT" be used. Thus a system may implement the following if it wishes:
>
> : QUIT -56 THROW ;
That would not be a standard system, because in a standard system QUIT
must do what 6.1.2050 QUIT says, and "-56 THROW" is not a correct
implementation of that.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/
EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/