Loops/Increment loop index within loop body: Difference between revisions
Loops/Increment loop index within loop body (view source)
Revision as of 22:56, 30 March 2020
, 4 years ago→{{header|Ruby}}: Use prime standard library
(→{{header|Tcl}}: + standard ML) |
(→{{header|Ruby}}: Use prime standard library) |
||
Line 3,681:
=={{header|Ruby}}==
<lang Ruby>
require 'prime'
limit = 42
i = 42
n = 0
while n < limit do
end
</lang>
|