lua-users home
lua-l archive

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


On 15/05/2013 9.24, Alexander Gladysh wrote:
Hint: type do<ENTER> before pasting code with locals and type
<ENTER>end<ENTER> afterwards. ;-)

Nice hint, I never thought of that :-)

Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
> do
>> local a=3
>> do
>> local a=4
>> print(a)
>> end
>> print(a)
>> end
4
3

--
  Enrico