[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Again problems with the creation of tables...
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 26 Oct 2013 09:04:03 -0200
> > > data[i][text] = data[i][text] and (data[i][text] + 1) or 1
> >
> > data[i][text] = (data[i][text] or 0) + 1
> >
> [...]
>
> thanks ... I wrote it wrongly into the mail...the original
> is well, healthy and up and running ;)
The one in the message was not wrong at all. I just wanted to suggest a
prettier way to write it.
-- Roberto