lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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