lua-users home
lua-l archive

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

On 8 Dec 2006, at 16:15, Aaron Brown wrote:

Roberto wrote:

As far as I know, the "i" variables used in numeric loops
also came from "integer", not from "indexed".

You're probably right.  But what about the "i" in "ipairs"?
Which of the following did it come from?

- the word "integer"
- the word "indexed" (or "index")
- the identifier "i" traditionally used in numeric loops
 (regardless of the source of that tradition)

And of course mathematicians have been using i for indexing long before computers ever came along: