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. So otherwise I say it is not wrong but playing the safe way taht it is and stay the same for sure. Just my two cents :) > > Let's just hope this doesn't turn into another marathon "static const?" > thread ;-) LOL (still it was interesting and I did learn something too) > > Regards, > Caveat > Best regards, Ron_1st -- ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
