[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: dostring and precompiled code
- From: Reuben Thomas <rrt1001@...>
- Date: Sun, 4 Feb 2001 13:10:52 +0000 (GMT)
> 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).
http://sc3d.org/rrt/ | maxim, n. wisdom for fools