Keyboard input/Keypress check: Difference between revisions

m
→‎{{header|Phix}}: added syntax colouring the hard way
(Added Wren)
m (→‎{{header|Phix}}: added syntax colouring the hard way)
Line 1,077:
 
=={{header|Phix}}==
<!--<lang Phix>-->
<lang Phix>integer key = get_key() -- if key was not pressed get_key() returns -1</lang>
<span style="color: #004080;">integer</span> <span style="color: #000000;">key</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">get_key</span><span style="color: #0000FF;">()</span> <span style="color: #000080;font-style:italic;">-- if key was not pressed get_key() returns -1</span>
<!--</lang>-->
 
=={{header|PicoLisp}}==
7,794

edits