[comp.lang.pascal] Changing NumLock key status within TP3.0

C386104%UMCVMB.BITNET@cunyvm.cuny.edu (Curtis Bohl) (07/29/88)

I am currently designing an application that will use only the keypad on
an IBM-PC.  I would like to set the NumLock key automatically from within
the program (thereby eliminating manual operator intervention).  I could
convert the scan codes for the cursor-control keys to numbers EXCEPT for
the fact that the keypad 5 key does not return a scan code when the
NumLock key is in cursor-control mode.

I have tried to use a BIOS call to Int $16.  I can check the key's status
and tell someone to change it, but I would like to eliminate this step.

Any assistance will be appreciated.  Thanks in advance!

Curtis Bohl
C386104@UMCVMB.BITNET