lua-users home
lua-l archive

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

> PS: My personal favorite would be to just error() if the starting index was
> 0. Would help catch tons of off-by-ones.

For what is worth, I don't remember _ever_ having had trouble with the
0 index in string functions, or do I remember people posting about it
on the list, so I've never seen these "tons of off-by-ones" in

-- Hisham