lua-users home
lua-l archive

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


Soni They/Them L. <fakedme@gmail.com> wrote:
> 
> We can argue about this all day but if I can do, in C++

Sometimes I think you make posts like these to argue, Soni! ;)


> for (type i = min; i < max; i += step) {
> }
> 
> Why can't I do
> 
> for i=min,max,step do
> end
> 
> in Lua? They should be equivalent.

Because C/C++ isn't Lua and Lua isn't C/C++ is the usual answer!

~Paige