On Tue, Jul 26, 2005 at 04:56:25PM +1000, Matthew Percival wrote: > > function dofile(file) > > local thechunk = loadfile(file) > > thechunk() > > end > > Thanks for the clarification: this is exactly what I needed. Well, if > anything, it is a tad easier than I was expecting! c.f. http://lua-users.org/lists/lua-l/2005-07/msg00194.html salud