One of n lines in a file: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: moved a comment.)
Line 1,874: Line 1,874:
do j=1 for N /*display randomness counts (buckets). */
do j=1 for N /*display randomness counts (buckets). */
say "number of times line" right(j,2) "was selected:" right(@.j,9)
say "number of times line" right(j,2) "was selected:" right(@.j,9)
end /*j*/ /*stick a fork in it, we're all done. */</lang>
end /*j*/
/*stick a fork in it, we're all done. */</lang>
'''output'''
'''output'''
<pre>
<pre>