Re: [wxlua-users] coroutine.yield doesn't work ?

2009-05-19 Thread Youen Toupin
John Labenski a écrit : > I think that all you need to do is to shuffle around your existing > code to pull out the dialog creation from the coroutine code, I also > demonstrate how to pass data around without using globals. Yes, this is a solution, but I would like to avoid it if possible. My i

Re: [wxlua-users] coroutine.yield doesn't work ?

2009-05-19 Thread Youen Toupin
lostgallifreyan a écrit : > When I was looking at it I was wondering where and how I'd pass a returned > value if I had to, which sort of fits with what you just said. I've never > used a co-routine yet, but if I do, is it right to consider it purely as a > sub-routine that happens to use a sepa

Re: [wxlua-users] coroutine.yield doesn't work ?

2009-05-19 Thread John Labenski
On Tue, May 19, 2009 at 2:14 PM, Youen Toupin wrote: > John Labenski a écrit : > > I think that all you need to do is to shuffle around your existing > > code to pull out the dialog creation from the coroutine code, I also > > demonstrate how to pass data around without using globals. > Yes, this