We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba5343 commit 0a9cbeaCopy full SHA for 0a9cbea
1 file changed
manual.md
@@ -642,11 +642,22 @@ graphics.
642
pressed, or a keycode. The
643
returned value only goes to 0
644
after reading the key in the
645
- OS (via a `GET` or `POKE
646
- 764,0` statement). _Hint:
647
- The value returned is
+ OS (via a `GET` or `POKE 764,
+ 255` statement).
+ _Hint: The value returned is
648
actually the same as_
649
`(PEEK(764) EXOR 255)`.
650
+ The following program will
651
+ show the `KEY()` codes for
652
+ pressed keys:
653
+
654
+ PRINT "Press keys, exit with ESC"
655
+ REPEAT
656
+ REPEAT : UNTIL KEY()
657
+ PRINT "Key code: "; KEY()
658
+ GET K
659
+ PRINT "ATASCI code: "; K
660
+ UNTIL K=27
661
662
663
Floating Point Functions
0 commit comments