home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- FUNCTION KEYCODE
- *****************************************************************
-
- * Returns scan code and ASCII value for any key as a string
-
- * Copyright(c) 1991 -- James Occhiogrosso
-
- * Initialize variables
- PRIVATE scancode := ascii_val := 0
- ascii_val := LTRIM(STR(SCANKEY()))
-
- * Return string to screen or debugger
- RETURN ('Scan Code = ' + LTRIM(STR(scancode)) + ;
- ' ASCII Value = ' + ascii_val)
-
-
-