E r g e b n i s / R e s u l t
The same function as
GETCH, but doesn't wait for a key pressed, if no character is in buffer, instead always returns immediately.
B e s c h r e i b u n g / D e s c r i p t i o n
See
GETCH documentation.
S y n t a x
Code:
key = call ('GET_KEY') P a r a m e t e r
R e t u r n s
See
GETCH documentation.
B e i s p i e l / E x a m p l e
Code:
attach 'CONIO'
WHILE CALL("KBHIT") = false
PUT AT 1,1 "HIT ME"
END WHILE
PUT AT 1,1 CALL ("GET_KEY")
detach 'CONIO'