lua-users home
lua-l archive

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


On Thu, Sep 24, 2020 at 10:48 AM 孙世龙 sunshilong <sunshilong369@gmail.com> wrote:

> As per the documentation(https://www.lua.org/pil/24.2.1.html),

This is not the documentation. It is a book that complements the
documentation, and it describes a version of Lua that was current 15
years ago.

The current documentation is at https://www.lua.org/manual/5.4/

The latest edition of the book Programming in Lua targets Lua 5.3 and
it is not available at lua.org free of charge.

The other page that you found is also not documentation, and it was
written more than 10 years ago.

Even if some of what they might be true today, you should be very
careful about statements made so long ago, and you should try to
confirm them with the current documentation.

Cheers,
V.