Home »
Public Forums »
archive »
Reading Arrow keys from keyboard ?
Reading Arrow keys from keyboard ? [message #706] |
Wed, 02 December 1992 08:10 |
lindaas
Messages: 3 Registered: December 1992
|
Junior Member |
|
|
We would like to use the arrow keys from our vt240 keyboard
(at least I think it is a vt240). In IDL we can use GET_KBRD()
to get ASCII keys but have not figured out how to determine if
an arrow key was hit.
for example
IDL>a=get_kbrd(1)
IDL>[D
->this is what happens if we hit the left-arrow key (its code is
ESC-[D I beleive).
If someone knows how to do this please respond via e-mail to
zhang@bnlx1l.nsls.bnl.gov (or bnlx1l::zhang )
Thanks!
(ps it should also apply to function keys as well?)
|
|
|
Current Time: Wed Oct 08 19:51:33 PDT 2025
Total time taken to generate the page: 0.00597 seconds