Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : CAPS.QRM
BBS: PC Connect
Date: 05-30-92 (03:36) Number: 11610
From: GEORGE STEINMETZ Refer#: 11552
To: PHIL HODGES Recvd: NO
Subj: &H ?!??!!! Conf: (11) R-QBasic
---------------------------------------------------------------------------
PH>Turn CAPS lock off
PH> DEF SEG = &H40 'this part makes some sense
PH> POKE &H17, PEEK (&H17) OR 171 ' ?!?!
PH> ^^^
PH> According to the file: |-----------------|
PH> |
PH> &H17 Byte 1; |
PH> . |
PH> . |
PH> &H40 - Caps Lock has been toggled |
PH> . |
PH> . |
PH> Byte 2; |
PH> &H40 - Caps lock key is depressed |
PH> |
PH> Now WHERE does the 171 come in!? --------
PH> and what's the Byte 1 and 2 ?!
It doesn't. Somebody was programming way past his bedtime.
Use POKE &H17, PEEK (&H17) OR &H40 to turn Caps Lock on and
POKE &H17, PEEK (&H17) AND (&HFF - &H40) to turn it off.
---
þ OLX 2.1 TD þ I idiot-proof my programs,but along comes a bigger idiot.
PCRelay:OTHER -> #1413 RelayNet (tm)
4.11 The Other BBS 908-775-6705 New User Support
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/