lua-users home
lua-l archive

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


sorry, its morning :-)

currentData = currentData % (#data) + 1

On Thu, 29 Mar 2007 00:34:35 -0700
"Wesley Smith" <wesley.hoke@gmail.com> wrote:

> Ah! that got me too.  Here you're incrementing currentData twice,
> producing the series
> 2, 4, 6, 8
> 
> wes

Attachment: pgpJJ7JHoaQyi.pgp
Description: PGP signature