lua-users home
lua-l archive

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


On Sun, 28 Oct 2007, Duck wrote:
>
> Hmmm. A "pun of contradiction" there. Natural use of arrays means to start at
> one, of course. (Since natural numbers do.)

There's no agreement about whether 0 is a natural number - see Mathworld
or Wikipedia. The convention you use depends on the field you are working
in. CS prefers to include 0, apart from a few aberrant programming
languages like Lua :-)

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
WIGHT PORTLAND PLYMOUTH BISCAY: NORTHWEST 5 OR 6, DECREASING 3 OR 4 LATER.
MODERATE OR ROUGH. SQUALLY SHOWERS. GOOD.