• Subject: Re: The "i" in "ipairs"
• From: David Jones <drj@...>
• Date: Fri, 8 Dec 2006 21:55:23 +0000


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:

\sigma_{i=1,N}{x_i}

drj