lua-users home
lua-l archive

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

> Besides being a little dangerous, there's no way to get precompiled code
> except from a file. In that case, why not use dofile instead?

But that argument is (sensibly) not applied to lua_dobuffer...and Lua
strings can have embedded NULs, and contain the result of reading a file
(in the case that you want to execute some precompiled code repeatedly).

-- | maxim, n.  wisdom for fools