Jump to content

Filter: Difference between revisions

6 bytes removed ,  11 months ago
m
→‎{{header|REXX}}: final correction (sigh)
m (Undo revision 344857 by Walterpachl (talk))
Tag: Undo
m (→‎{{header|REXX}}: final correction (sigh))
Line 3,315:
Say right('new.'k,20) '=' right(new.k,9)
End </syntaxhighlight>
{{out|output|text=&nbsp; when using the input of: &nbsp; &nbsp; <tt> , &nbsp; 123456712345 </tt>}}
The '''1234567''' is the '''random''' BIF &nbsp; ''seed'' &nbsp; so that the random numbers can be repeated when re-running the REXX program.
<pre>
Line 3,362:
Say right('x.'k,20) '=' right(x.k,9)
End
{{out|output|text=&nbsp; when using the input of: &nbsp; &nbsp; <tt> 20 &nbsp; 123456712345 </tt>}}
<pre>
x.3 = 52754
Line 3,392:
Say right('x.'k,20) '=' right(x.k,9)
End</syntaxhighlight>
For the following input: &nbsp; &nbsp; <tt> 20 123456712345 </tt>
{{out|output|text=&nbsp; is the same as the 2<sup>nd</sup> REXX version.}} <br><br>
 
2,295

edits

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