lua-users home
lua-l archive

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

> On Aug 1, 2018, at 2:01 AM, Dirk Laurie <> wrote:
> That's already out in Lua 5.4. Compatibility with 5.3 comes in a metatable.

No entirely true. Only arithmetic operators no longer do string to number conversion. I too assumed this meant no more string to number conversions, but I checked the code. Turns out that the following is still valid (ignoring the silly quotes from my email client):

for i = “1”, “10”, “2” do print(i) end