lua-users home
lua-l archive

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


On Wed, 18 Apr 2018, 01:34 Roberto Ierusalimschy, <roberto@inf.puc-rio.br> wrote:
> Compare that with the current note for lua_tointegerx(): "The Lua value
> must be an integer, or a number or string convertible to an integer (see
> §3.4.3); otherwise, lua_tointegerx returns 0", and then compare with an
> *imaginary* note for lua_next(): "The value at the given index must be a
> table; otherwise, the behavior is undefined".

As far as my English goes, "undefined" means "not defined". So, if it
is not defined, it is undefined. We some times do it, but to say that
the behavior is undefined reminds me of "This page intentionally left
blank".

-- Roberto

I need to put undefined behaviour into my sequences.

;-)

Vaughan