lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
 >> There's also the line hook...

   If you break via the line hook won't that suspend the entire state?  I
think the goal is to set up a form of simulated multitasking, so that
multiple scripts appear to be running simultaneously within the same global
state.  Is there a way to line break out of one script, then run a portion
of another and break again, then switch back to the original and resume? 
(all within the same state)  Or is there a way this could be more easily
"faked" using multiple states and somehow copying info among them during
breaks?

   Cheers,

   Dave