Posted: 01:23am 01 Aug 2020 |
|
|
|
The enter key is seen as <CR><LF> pair If you are using a terminal program instead of the uSB keyboard, it will depend on the setting of your terminal program.
The differences between Windows, Linux and Mac always make life difficult which is why your program should check for either CR, LF or both
DO k$ = INKEY$ IF LEN(k$) <> 0 THEN PRINT HEX$(ASC(k$),2);" ";k$ LOOP
Jim |