Re: 2nd version: try..catch for Lua, now "finally" supported
[
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: 2008年1月30日 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