On 01/30/2018 02:16 AM, Soni "They/Them" L. wrote: > > On 2018年01月29日 09:00 PM, dyngeccetor8 wrote: >> On 01/29/2018 04:52 AM, Soni "They/Them" L. wrote: >>> I can't get `for x=r(1, 10), r(10, 10), r(1, 10) do print(x) end` to work. >> Me too. > > It errors that they aren't numbers. Ofc they aren't Lua numbers, they're custom > numbers. > > It saddens me that Lua doesn't support custom numbers as well as other languages > (namely Python). :( Because it's numeric "for". There is generic "for" for iterating other things. -- Martin
Attachment:
communicating.png
Description: PNG image