Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: LISP - How to employ cursor keys?



"Maciej Szczud³o" <[EMAIL PROTECTED]> schrieb:

>Do you know how to check if cursor key is pressed and which one? I ' ve been
>trying to use grread, but I failed.

Why this? GRREAD works fine. Try this:

(while (not (equal '(2 120) (setq $$GR (grread T)))) (print $$GR))

Pressing "x" will stop the loop, since 120 is ASCII of "x".

Tom Berger

-- 
ArchTools: Architektur-Werkzeuge für AutoCAD (TM)
           ArchDIM  - architekturgerechte Bemaßung und Höhenkoten
           ArchAREA - Flächenermittlung und Raumbuch nach DIN 277
Info und Demo unter http://www.archtools.de



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.