> > If you only allow yeilding from the outermost level of scope in a routine, > you can do evil things with Duff's Device. Which is what Python does. (But > it's sufficient for most purposes) > > Dan > Duff's device being evil enough in and out of itself I'm not sure I see what this has to do with yielding, it also only applies to c and c++... I think you mean break is a kind of yield but this is not the same. Can you explain. BenoitThread Previous | Thread Next