lua-users home
lua-l archive

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


In message <[email protected]> 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 ([email protected])
Home page: http://www.wra1th.plus.com/