Old Russian measure of length: Difference between revisions
Content added Content deleted
(→{{header|Go}}: Minor improvement.) |
m (→{{header|REXX}}: used a template for the output section.) |
||
Line 1,164: | Line 1,164: | ||
tell: parse arg $; numeric digits 8; $=$/1; say right($, 40) arg(2)s($); return</lang> |
tell: parse arg $; numeric digits 8; $=$/1; say right($, 40) arg(2)s($); return</lang> |
||
This REXX program makes use of '''LINESIZE''' REXX program (or BIF) which is used to determine the screen width (or linesize) of the terminal (console). |
This REXX program makes use of '''LINESIZE''' REXX program (or BIF) which is used to determine the screen width (or linesize) of the terminal (console). |
||
<br>The '''LINESIZE.REX''' REXX program is included here ──► [[LINESIZE.REX]].<br> |
|||
''' |
The '''LINESIZE.REX''' REXX program is included here ──► [[LINESIZE.REX]].<br> |
||
{{out|output|text= when using the input of: <tt> 100 metres </tt>}} |
|||
<pre> |
<pre> |
||
────────────────────────────────────metric───────────────────────────────────── |
────────────────────────────────────metric───────────────────────────────────── |
||
Line 1,184: | Line 1,185: | ||
393626.99 tochkas |
393626.99 tochkas |
||
</pre> |
</pre> |
||
{{out|output|text= when using the input of: <tt> 1.4058107 arshins </tt>}} |
{{out|output|text= when using the input of: <tt> 1.4058107 arshins </tt>}} |
||
<pre> |
<pre> |
||
────────────────────────────────────metric───────────────────────────────────── |
────────────────────────────────────metric───────────────────────────────────── |
||
Line 1,202: | Line 1,203: | ||
3936.27 tochkas |
3936.27 tochkas |
||
</pre> |
</pre> |
||
{{out|output|text= when using the input of: <tt> -46.860366 sazhens </tt>}} |
{{out|output|text= when using the input of: <tt> -46.860366 sazhens </tt>}} |
||
<pre> |
<pre> |
||
────────────────────────────────────metric───────────────────────────────────── |
────────────────────────────────────metric───────────────────────────────────── |