Liste des Groupes | Revenir à cl forth |
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.
Les messages affichés proviennent d'usenet.