lua-users home
lua-l archive

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


> Could the coroutine be set up to work in an OO way like
> the file handles? So we could say x:resume(1,2,3).    

Not directly (currently primitive types do not have metatables). But
it is easy to pack them into tables (objects) to do that.

-- Roberto