Jump to content

Input loop: Difference between revisions

m
→‎{{header|J}}: Use debian standard install location for J
(added Arturo)
m (→‎{{header|J}}: Use debian standard install location for J)
Line 1,655:
=={{header|J}}==
Script "read-input-until-eof.ijs":
<syntaxhighlight lang="j">#!/Applications/j602usr/bin/jconsoleijconsole
NB. read input until EOF
((1!:1) 3)(1!:2) 4 NB. tested under j602
exit ''</syntaxhighlight>
Example:
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.