lua-users home
lua-l archive

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


> >   There's also <const> as well.  But you can't combine them:
> 
> Sources say you needn't:
> 
> https://github.com/lua/lua/blob/d9f40e3f6fb61650240c47d548bee69b24b07859/lparser.c#L1679

The manual also says that:

  3.3.8 – To-be-closed Variables
  [...]
  A to-be-closed variable behaves like a constant local variable, [...]
                                      
-- Roberto