[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: The "i" in "ipairs"
- From: "Aaron Brown" <arundelo@...>
- Date: Fri, 8 Dec 2006 11:15:29 -0500
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)
I realized it may be "a bit of each", but was there a
primary source? (The reason I wonder if it's not "integer"
is that ipairs of course only sees a table's array indexes,
not non-positive integers or integers beyond the table's
Beginning Lua Programming: http://www.amazon.com/gp/product/0470069171/