![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Oops. Yes. My original example had three items on the stack;
then I simplified *some* of the code ;^)
Thanks,
Rick
*********** REPLY SEPARATOR ***********
On 4/4/2001 at 12:48 PM Mike Ghan wrote:
>Thanks for the replies Elizabeth and Rick. After some further study, I
>believe this is sinking in.
>
>However, in Rick's example I think there is an extra DROP. If CATCH
>returns non-zero, the stack depth would equal the stack depth before the
>CATCH plus one for the return code. In other words, the stack depth
>will be restored but the stack *content* is indeterminate.
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Received on Wed Apr 04 2001 - 12:56:48 PDT
This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:18 PST