On Wed, Nov 03, 2010 at 08:24:52PM -0700, Jay Tennant wrote: > > From: [email protected] > > Sent: Wednesday, November 03, 2010 10:02 PM > > > > jay > > 2010-11-03 20:01:02 -0700 (Wed, 03 Nov 2010) > > 83 > > Rewrote CapsLock check to strgrabber. I don't know if it works. (Can't > > compile fb.) > > --- > > U wip/customsubs.bas > > Can someone verify this works? It'd finish fixing bug 856 if it does.
XOR was the wrong operator to be using. It was actually working for some letters but not for others. I decided it was cleaner to use a separate variable to track capslock state instead of making capslock modify the shift state. And your IF statement for checking the alphabetic keys was perfect, but I replaced it with a SELECT because it turned out to be easier to read that way. --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
