lua-users home
lua-l archive

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


On Tue, 19 Apr 2011 12:19:50 +0200, Michal Kottman
<k0mpjut0r@gmail.com> wrote:
>assert(v [, message])
>
>Issues an error when the value of its argument v is false (i.e., nil or
>false); otherwise, returns all its arguments. message is an error
>message; when absent, it defaults to "assertion failed!"

Thanks for the info. I'll make it a habit to use that structure.