A+B: Difference between revisions
m
→{{header|J}}: Use debian standard install location for J
(→{{header|GDScript}}: Simplified to only do one line to properly match spec) |
m (→{{header|J}}: Use debian standard install location for J) |
||
Line 3,175:
<syntaxhighlight lang="j">+/". (1!:1(3))-.LF</syntaxhighlight>
2) Here's a little script, called "a+b.ijs":
<syntaxhighlight lang="j">#!/
echo +/". (1!:1(3))-.LF
exit ''</syntaxhighlight>
Line 3,181:
<syntaxhighlight lang="bash">echo 2 3 | ./a+b.ijs
5</syntaxhighlight>
Note: under OSX, you should probably install a symbolic link at /usr/bin/ijconsole which links to something like /Applications/j602/bin/jconsole.
=={{header|Java}}==
|