> On Tuesday 20 April 2010, Caveat wrote: > > Hi Rolf, > > I guess you're right. I threw the code together very quickly, just to > > make a working example for you. But 100% correct, you don't need lcode > > or AS Variant or DIM or lcode = Key.Code... :-) > > In general I should say the same. But Key.Code is in a way dynamic and a > new KeyPress could occur before the related subroutine is finished.
No, unless you explicitely call the event loop (with WAIT). -- Benoît Minisini ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user