At 12:41 PM 9/11/2001 -0400, Ken Fox wrote:
>And of course the keywords last, next and redo are just restricted
>gotos. Those are able to leave one or more scopes.
Leaving scopes is easy. You just walk up the stack and deconstruct things.
(Or, in this case, potentially run the end-of-scope code attached to each
scope)
>It isn't clear to me that explicit ops are the way to go
>for scope management -- that seems to shift the burden of scope
>management onto the compiler.
I'm not seeing the problems with explicit scope management. Something's got
to set up and tear down the various scopes, after all. Explicit management
is a bit of a pain for the compiler, granted, but it gives us a lot of
flexibility we wouldn't otherwise have.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk