Lua fornum loops with string arguments

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Lua fornum loops with string arguments

Dibyendu Majumdar
Hi,

Does anyone actually use or rely on the implicit conversion of string
values in Lua fornum loops?

Regards
Dibyendu

v
Reply | Threaded
Open this post in threaded view
|

Re: Lua fornum loops with string arguments

v
On Sun, 2019-12-29 at 13:51 +0000, Dibyendu Majumdar wrote:
> Hi,
>
> Does anyone actually use or rely on the implicit conversion of string
> values in Lua fornum loops?
>
> Regards
> Dibyendu
>

Did that few times in code golf, but never in practice. It seems a bit
misleading in real code.

--
v <[hidden email]>