Keyboard input/Keypress check: Difference between revisions
Content added Content deleted
(→{{header|C}}: flush stdin and stdout before reading a keypress) |
(J) |
||
Line 923: | Line 923: | ||
write("No input waiting") |
write("No input waiting") |
||
end</lang> |
end</lang> |
||
=={{header|J}}== |
|||
(Note that keypress handling depends on the host. Here, we illustrate jqt.) |
|||
<lang J>wd{{)n |
|||
pc p closeok; |
|||
cc c isidraw; |
|||
pshow; |
|||
}} |
|||
p_c_char=: {{variable=: sysdata}}</lang> |
|||
=={{header|Java}}== |
=={{header|Java}}== |