On Tuesday 20 April 2010, Benoît Minisini wrote: > > 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). >
So it "could" happen. Not in the given example but in another project that is using WAIT. i.e. output keybaoard characters to a 24 character LCD display that need that WAIT. Best regards, Ron_1st -- ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
