Input loop: Difference between revisions

Content added Content deleted
(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">#!/Applications/j602/bin/jconsole
<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: