lua-users home
lua-l archive

Re: 1-based indexing in Lua

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


On 05.04.2018 08:03, Petri Häkkinen wrote:
[
 
On 3 Apr 2018, at 23.43, Axel Kittenberger <axkibe@gmail.com> wrote:
Time: The first hour of a day on a digital clock in 24h mode is hour 0 (after midnight). 
Similary we measure our age with completed years, starting with year 0 and many other measuring devices start their units with 0. 
But these are not indices, aren’t they? Time (like distance) is actually a delta measured from some reference point (midnight or birth in these cases). 
Indices would be 1st hour after midnight or 1st year of your life.
[
Re: 1-based indexing in Lua, KHMan
  • Re: 1-based indexing in Lua, Ahmed Charles
  • Re: 1-based indexing in Lua, Oliver Kroth
  • Re: 1-based indexing in Lua, Jorge
  • Re: 1-based indexing in Lua, Axel Kittenberger
  • Re: 1-based indexing in Lua, Petri Häkkinen
  • AltStyle によって変換されたページ (->オリジナル) /