lua-users home
lua-l archive

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


> The manual states that "in" is a reserved word.
> I find myself often coding table variables with a name of "in".
> e.g.  counters = {in=1, out=2}
> Does anyone know how difficult this would be to change?

Possible not the answer do you like to hear: But typing the
first char in uppercase "solves" the problem very simple. That Is The
Point Why I Am Typing All My Variables Like This. Furthermore I use the
uppercase to clarify the meaning:

      e.g. CompareDate means compare a date
   whereas Comparedate is a date

--
Markus