[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 2nd version: try..catch for Lua, now "finally" supported
- From: Mark Hamburg <mhamburg@...>
- Date: Wed, 30 Jan 2008 13:36:45 -0800
on 1/30/08 1:20 PM, Polarina at gabrielp@simnet.is wrote:
> And even if we threw the error after we have set x to the number 3, it
> would still print "nil" since x would be out of scope when we call
> print.
There had been a proposal that it be in scope -- i.e., that it's scope
extend to the "end" of the construct. I was demonstrating that it can't be.
Mark