Jump to content

Old Russian measure of length: Difference between revisions

m
→‎{{header|REXX}}: used a template for the output section.
(→‎{{header|Go}}: Minor improvement.)
m (→‎{{header|REXX}}: used a template for the output section.)
Line 1,164:
tell: parse arg $; numeric digits 8; $=$/1; say right($, 40) arg(2)s($); return</lang>
This REXX program makes use of &nbsp; '''LINESIZE''' &nbsp; REXX program (or BIF) which is used to determine the screen width (or linesize) of the terminal (console).
<br>The &nbsp; '''LINESIZE.REX''' &nbsp; REXX program is included here ──► &nbsp; [[LINESIZE.REX]].<br>
 
The &nbsp; '''outputLINESIZE.REX''' when&nbsp; usingREXX theprogram inputis of:included here &nbsp; <tt> 100──► &nbsp; metres [[LINESIZE.REX]].</ttbr>
 
{{out|output|text=&nbsp; when using the input of: &nbsp; &nbsp; <tt> 100 &nbsp; metres </tt>}}
<pre>
────────────────────────────────────metric─────────────────────────────────────
Line 1,184 ⟶ 1,185:
393626.99 tochkas
</pre>
{{out|output|text=&nbsp; when using the input of: &nbsp; &nbsp; <tt> 1.4058107 &nbsp; arshins </tt>}}
<pre>
────────────────────────────────────metric─────────────────────────────────────
Line 1,202 ⟶ 1,203:
3936.27 tochkas
</pre>
{{out|output|text=&nbsp; when using the input of: &nbsp; &nbsp; <tt> -46.860366 &nbsp; sazhens </tt>}}
<pre>
────────────────────────────────────metric─────────────────────────────────────
Cookies help us deliver our services. By using our services, you agree to our use of cookies.