[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: documentation style - 2nd/3rd person tense for function comments
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 27 Mar 2012 17:55:33 -0300
> l={-1,nil,1,nil,3,nil,5}
> #l => 7
>
> 7 is no n, so that l[n] is not nil, but l[n+1] is.
> l={-1,nil,1,nil,3,nil,5}
> print(#l)
7
> n = 7
> print(l[n], l[n + 1])
5 nil
-- Roberto