lua-users home
lua-l archive

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


2010/9/11 Dušan Majkić <dmajkic@gmail.com>:
>> could at least we have some syntactical sugar over the pcall mechanism?
>
> Since there is no "begin" in lua, I'll wote for leaving out "try".

What do you mean by "begin"? If you want an explicit lexical scope,
you can always use do...end.

~Jonathan