[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can lua_next() error?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 17 Apr 2018 12:34:15 -0300
> 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