[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua how to call dotnet's function
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 3 Sep 2009 11:18:34 +0200
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.