Arnold Doray wrote: <jq822d$4a...@dont-email.me>Yes.
> The "problem" I see with THROW's behaviour is that just *before* an
> exception is thrown, the stack could have been:
> A) Added to -- in which case THROW does a useful thing by dropping all
> B) Depleted -- in which you get junk on the stack. You have to manuallyYes, but only to a known depth. Forth words never disturb the stack
> clean these or drop the entire stack.
> C) Muddled (ie, items added to / removed ) -- in which case you are
beyond their arguments. If they used deeper elements in the stack,
those would also be considered arguments and would (hopefully) be
declared in the stack effect.
So in B and C, when THROW restores the depth, all you have to do is drop
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.