Keyboard input/Keypress check: Difference between revisions
Content added Content deleted
Line 196: | Line 196: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
{{trans|C#}} |
{{trans|C#}} |
||
ELENA |
ELENA 4.x : |
||
<lang elena>import extensions |
<lang elena>import extensions; |
||
public program |
public program() |
||
{ |
|||
[ |
|||
auto chr := |
auto chr := emptyString; |
||
if (console |
if (console.KeyAvailable) |
||
{ |
|||
chr := console |
chr := console.readChar() |
||
} |
|||
}</lang> |
|||
=={{header|ERRE}}== |
=={{header|ERRE}}== |