TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CLIFF RHODES
from: ERIK WARMELINK
date: 1997-04-12 15:52:00
subject: Scroll Lock

Cliff Rhodes wrote in a message to Christopher Butler:
CB>Does anyone have some C++ code that checks the condition of Scroll
CB>Lock?  
 CR> Chris, for DOS, try:
 CR> class KeyState {
 CR>   private:
 CR>      const char far *ks;   // Pointer to BIOS keyboard flag
Shouldn't that be
   const volatile char far *ks;
since the flag can be changed by external causes (like the user)?
Bye,
 Erik 
---
---------------
* Origin: WarmelinkE@vertis.nl (2:282/608.60)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.