[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Thought experiment: what would you remove from Lua
- From: Ahmed Charles <acharles@...>
- Date: Wed, 1 Aug 2018 13:39:44 +0000
> On Aug 1, 2018, at 2:01 AM, Dirk Laurie <firstname.lastname@example.org> 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