Author: Alex McDonaldAlex McDonald Date: Sep 22, 2008 04:53
On Sep 22, 3:27 am, "Ed" invalid.com> wrote:
>> Group,
>
>> Good Ole Forth. I answered my own question. R>DROP is sufficient to
>> un-nest two levels up.
>
>> : ACTION-ITEM 101 R>DROP ;
>> : CALLING-ROUTINE 1 ACTION-ITEM ." don't return here" DROP DROP ;
>> : OUTER-ROUTINE CALLING-ROUTINE ." return here with 101 and 1" ;
>
>> Does work fine.
>> ...
>
> As an alternative one could employ CATCH THROW. It would be
> portable and avoids having to keep track of subroutine levels.
> ...
|