lua-users home
lua-l archive

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

On 10/set/09, at 14:09, steve donovan wrote:

f = assert(
This actually gives a sensible error trace, because if fails
it returns two values, nil and an error message. The second parameter
of assert() is the message string, so it works as expected.

Doesn't this apply when assert is used as a statement too?