Returns the next character available from standardinput (file unit 0).
REPEAT BEGIN
; Retrieve keyboard input, placing result in the variable
a
.
a = GET_KBRD(1) PRINT, a,' = ', BYTE(a) ENDREP UNTIL STRLOWCASE(a) EQ 'q'
; Display the character entered and its associated ASCII code.
; Terminate loop when "q" or "Q" is entered.