Code: Select all
CLS
INPUT "ENTER SOME TEXT: ",someText
REM trying to enter SHIFT+3 just shows up as 3
PRINT someText
Code: Select all
CLS
INPUT "ENTER SOME TEXT: ",someText
REM trying to enter SHIFT+3 just shows up as 3
PRINT someText
The main reason is that ugBASIC interfaces directly with the keyboard hardware, reading its matrix. This is done to ensure low response times, and to read multiple keys at once (useful for characters' movements). The association between key and letter belongs, in theory, to a higher level. The INPUT instruction provides a first-order translation between the hardware key and the corresponding letter. Shift management is a second-order management, which is usually delegated to the operating system. However, I have opened a ticket to handle this task, as soon as possible.