┌────────────────────────────────────────────────────┐
│               Read Keyboard flags.                 │
└────────────────────────────────────────────────────┘

The QuickBASIC Toolbox includes several functions that
read or set the keyboard shift flags which effect keys
such as CTRL, ALT, CAPS LOCK and INSERT.

For good measure, this example also displays the bit
settings of the keyboard status flags in low memory,
You can see them change as you use the keyboard.