Sujet : Re: Why dial-a-standard is not a thing in Forth
De : sjack (at) *nospam* dontemail.me (sjack)
Groupes : comp.lang.forthDate : 30. Apr 2025, 16:51:19
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vutgtm$k0q4$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-58-generic (x86_64))
dxf <
dxforth@gmail.com> wrote:
What happens in the case of CATCH - what's left on the stack?
Nowadays I don't use catch/throw, not that I have anything against it;
I'm just being retro. But from past experience, if I recall right, the
data stack may have been reset to its former position at the time of
catch but the data on the stack could be dirty. Any on-error action,
e.g. i/o cleanup, prior to abort would be prudent in avoiding the
use of data left on the data stack (if catch hadn't restored it from
a clone copy).
-- me