[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: compile a function
- From: Remo Dentato <rdentato@...>
- Date: Mon, 16 Jul 2007 16:18:08 +0000
Luiz Henrique de Figueiredo ha scritto:
>> fun, err = loadstring(src) ...
>> When I look into the generetade file, though, I found the entire source code
>
> Try
> fun, err = loadstring(src,"")
> See
> http://www.lua.org/manual/5.1/manual.html#pdf-loadstring
>
> No. It's just the "chunkname" used in error messages.
Thanks! I didn't realize that the chunk name defaults to the source code!
Now it works as I wanted.
Remo.D.
Hotmail to go? Get your Hotmail, news, sports and much more! Check out the New MSN Mobile