lua-users home
lua-l archive

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


On Tue, Apr 19, 2011 at 4:17 AM, Gilles Ganault wrote:

>        I tried the sample at www.lua.org/pil/21.3.html but it fails with
> the following error: "attempt to call method 'seek' (a nil value)"

It works for me.

Note that you need to pass a file opened with io.open("your filename")
to the function. My guess is you are trying to give it a string.


 - Jeff