Topic: We study Lua together - how to set constants?
Hello! Continuing a series of mine questions on integration Lua into a C ++ application (I hope, what my posts still help someone) I want to ask - and it is possible generally in Lua to set constants? I learned to set global variables, but they can be redefined from a script, including as it appeared, it is possible to redefine and library constants: math.pi = 2 message ("The Pi:". math.pi) deduces: The Pi: 2 Looks, as full in design of language