lua-users home
lua-l archive

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


It could work now, your help are great.
Thanks again.

On Thu, Sep 3, 2009 at 5:18 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
On Thu, Sep 3, 2009 at 11:08 AM, sagasw<sagasw@gmail.com> wrote:
> lua -e "io.stdout:setvbuf 'no'" "luanet.lua"
> lua: .\luanet.lua:1: loop or previous error loading module 'luanet'

Ah, the problem is that you have named your file 'luanet.lua', so then
the require 'luanet' inside tries to load luanet.lua as a module.

Rename it and see what happens...

steve d.