Re: try..catch for Lua 5.2?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: try..catch for Lua 5.2?
- From: Jonathan Castello <twisolar@...>
- Date: 2010年9月11日 17:41:57 -0700
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