Scancode: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
|  (Created page with "A '''scan code''' is a two-part or four-part hexadecimal code associated with a keystroke (so called because it comes from scanning the keyboard). See the KStat$ [[int...") | No edit summary | ||
| Line 1: | Line 1: | ||
| A '''scan code''' is a two-part or four-part [[hexadecimal]] code associated with a keystroke (so called because it comes from scanning the keyboard). See the [[KStat$]] [[internal function]] for information  | A '''scan code''' is a two-part or four-part [[hexadecimal]] code associated with a keystroke (so called because it comes from scanning the keyboard).   | ||
| To determine the standardized Business Rules [[scancode]]s, run the following program: | |||
|  10 LET X$ = KSTAT$(1) | |||
|  20 PRINT UNHEX$(X$) | |||
|  30 GOTO 10 | |||
| Each time you press a key, the scancode for that key is displayed. | |||
| See the [[KStat$]] [[internal function]] for more information. | |||
| <noinclude> | <noinclude> | ||
Revision as of 15:54, 29 March 2013
A scan code is a two-part or four-part hexadecimal code associated with a keystroke (so called because it comes from scanning the keyboard).
To determine the standardized Business Rules scancodes, run the following program:
10 LET X$ = KSTAT$(1) 20 PRINT UNHEX$(X$) 30 GOTO 10
Each time you press a key, the scancode for that key is displayed.
See the KStat$ internal function for more information.