lua-users home
lua-l archive

Re: "chunk name" for coroutines

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


Hi,
You would need to load the function per coroutine as a string via
loadstring(), with a chunk name. See:
http://www.lua.org/manual/5.1/manual.html#pdf-loadstring
HTH,
-- 
-Patrick Donnelly
"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."
-Will Durant

AltStyle によって変換されたページ (->オリジナル) /