Input loop: Difference between revisions
Content added Content deleted
Drkameleon (talk | contribs) (added Arturo) |
m (→{{header|J}}: Use debian standard install location for J) |
||
Line 1,655: | Line 1,655: | ||
=={{header|J}}== |
=={{header|J}}== |
||
Script "read-input-until-eof.ijs": |
Script "read-input-until-eof.ijs": |
||
<syntaxhighlight lang="j">#!/ |
<syntaxhighlight lang="j">#!/usr/bin/ijconsole |
||
NB. read input until EOF |
NB. read input until EOF |
||
((1!:1) 3)(1!:2) 4 |
((1!:1) 3)(1!:2) 4 NB. tested under j602 |
||
exit ''</syntaxhighlight> |
exit ''</syntaxhighlight> |
||
Example: |
Example: |