lua-users home
lua-l archive

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


Hello,

    What's your Lua version? Did you have GNU tools and compiler? If yes,
download lua and compile from source.
    I imagine that your lua int/comp don't have the libs compiled in, or is
modified.

                        Thanx.
                                        Leandro.


----- Original Message -----
From: "Ron Hudson" <rhudson@cnonline.net>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Saturday, October 25, 2003 4:50 PM
Subject: Re: I think it's "require" but I can't get it to work....


>
> On Saturday, October 25, 2003, at 12:21  PM, Leandro Candido wrote:
>
> > Hello,
> >
> >     Try
> >
> >     assert(loadfile("ansi.lua"))()
>
> error: attempt to call global 'loadfile' (a nil value)
>
>
>
> >
> > Did you have modified Lua sources (.c)?
>
> I don't have the sources here, it's the compiled version in
> tomsbtrt.
...