lua-users home
lua-l archive

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


Thanks that was my problem.


From: Diego Fernandes Nehab <diego@tecgraf.puc-rio.br>
Reply-To: lua-l@tecgraf.puc-rio.br
To: Multiple recipients of list <lua-l@tecgraf.puc-rio.br>
Subject: Re: Lua Table
Date: Sun, 5 Aug 2001 19:47:45 -0300 (BRT)

Hi,

Aren't you getting a "attempt to index a nil value" error?

> anim[0].time=300  --This the line that I get the error on.

The first index created automaticaly is 1, so that you should change
the line to

	anim[1].time=300

Regards,
Diego.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp