lua-users home
lua-l archive

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


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