lua-users home
lua-l archive

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


2008/10/30 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> Is there a way, within Lua, of getting the Lua release number (e.g.
>> 5.1.4)? Basically, like _VERSION, but with the 3rd digit.
>
> No. The differences between minor releases should never affect Lua programs,
> except of course for bug fixes. In other words, there are no new features
> in minor releases.

Fair enough. It's not a huge deal.

> What are you trying to do?

Check on the precise version of Lua included in an embedded app. But
as you say, it's not of any practical use to me. I can ask the
developer, or get and check the source code, if I really care.

Thanks,
Paul.