lua-users home
lua-l archive

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


On Sat, 9 Oct 2021 at 16:36, Jasper Klein <jasper@klein.re> wrote:
> * Which option do you like most for usage in an API?
> * What would you do to define a range in Lua?

3) use "for-like" syntax:  range(t, i, j [, step])   where i and j are
"inclusive" and step defaults to 1


-- 
Javier