home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 13
/
CD_ASCQ_13_0494.iso
/
maj
/
419
/
altkey.bas
< prev
next >
Wrap
BASIC Source File
|
1994-03-13
|
698b
|
19 lines
' +----------------------------------------------------------------------+
' | |
' | PBClone Copyright (c) 1990-1994 Thomas G. Hanlin III |
' | |
' +----------------------------------------------------------------------+
SUB AltKey (ASCIICode%, ScanCode%, Ch$)
IF ASCIICode% THEN
Ch$ = ""
ELSE
tmp% = INSTR("ABCDEFGHIJOPQRSTUVW]^_`abc", CHR$(ScanCode% + 49))
IF tmp% THEN
Ch$ = MID$("QWERTYUIOPASDFGHJKLZXCVBNM", tmp%, 1)
ELSE
Ch$ = ""
END IF
END IF
END SUB