lua-users home
lua-l archive

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


> 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

> I guess this mean that next time I reload the function the source code will be compiled and loaded.

No. It's just the "chunkname" used in error messages.
--lhf