Old Russian measure of length: Difference between revisions

Content added Content deleted
(J: simplify)
Line 1,475: Line 1,475:
$
$
</pre>
</pre>

The same display can be achieved from the J comand line using the expression <code>conv ;:'8 meter'</code>. However, this is only possible if the <code>exit</code> line is omitted, since the exit command would exit the J session. If dual use was desired, the code could be packaged as a shell script (see the [[Native_shebang#J|native shebang]] task) and the exit line could be made conditional on the name of that shell script (which would appear as the first element in <code>ARGV</code>).


=={{header|Java}}==
=={{header|Java}}==