lua-users home
lua-l archive

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


In message <20120627200956.GA7808@inf.puc-rio.br> you wrote:

> That is not too different from the manual:
> 
>   The scope of a local variable begins at the first statement after
>   its declaration and lasts until the last non-void statement
>   of the innermost block that includes the declaration.

Thanks to everybody who replied. I think I have it sorted now. I was
sometimes mistakenly using the word 'chunk' when I should have said
'block'. 

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/