lua-users home
lua-l archive

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


On 16/09/2011 16.05, Patrick Rapin wrote:
Hello,

A colleague of mine tried to use an inexistent feature of lua
stand-alone interpreter, because this is documented in both the on-line
document lua.html [1] and its equivalent manual page lua.1.
It is strange that the text of [1] is quite different from the section 6
of the reference manual [2], although they describe the same thing.
What is clearly wrong is the sentence:

"The index of the last argument is stored in *arg.n"
*
There is no such field in arg as of 5.1. I presume this is an
obsolescence from Lua 5.0.

[1] http://www.lua.org/manual/5.1/lua.html
[2] http://www.lua.org/manual/5.1/manual.html#6

Well, the link [1] is not reachable from the official documentation page:

http://www.lua.org/docs.html

so I suppose the [1] is to be considered a non-public leftover from older versions.


-- Lorenzo