lua-users home
lua-l archive

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


Op Ma. 15 Apr. 2019 om 18:44 het Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> geskryf:
> > Assuming a specific use at the OP's, namely to tell different
> > modules of the same name apart, it's more reliable to test
> > versions
>
> My modules contain a "version" field that can be used for that.
> If only module writers could agree to have that field and on what is
> inside it...

I would be more comfortable with _VERSION, with the Lua interpreter
itself, as "master module", already adhering to that convention :-)