[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiling for Apple M2
- From: Andrew Gierth <andrew@...>
- Date: Sun, 02 Jul 2023 10:54:38 +0100
>>>>> "Hans" == Hans van der Meer <havdmeer@ziggo.nl> writes:
Hans> A final remark about the documentation of Lua 5.4, if permitted.
Hans> I understood that in this version variables can be declared as
Hans> 'const name=value', but could not find this in the online
Hans> documentation. I searched for const, but nothing came up. Am I
Hans> mistaken about the const modifier?
The syntax is:
local myvar <const> = 123
see http://www.lua.org/manual/5.4/manual.html#3.3.7
--
Andrew.