Porting to AmigaBASIC to ACE questions
I'm porting some old AmigaBASIC code to ACE. Many things work with only small changes. But I don't found out how to get it when a cursor key is pressed. In AmigaBASIC this is done with INPUT$, followed by ASC(). In ACE this only works for printable keys like 'A'.
Code example where only the 'A' is recognized: Code:
'... Open window etc |
I think the problem is the raw mode console device filtering out control characters it can process itself.
That's just a guess though. |
After (minimal) testing, it seems cursor keys don't trigger INKEY$ even in own window (in shell console indeed is in cooked mode), so I don't think you can read the cursor keys with ace.
testing program follows Code:
defint a-z |
Quote:
|
All times are GMT +2. The time now is 17:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.