Repeat: Difference between revisions

m (→‎{{header|Forth}}: oh, task doesn't care what it's called.)
Line 258:
repeat ~n:4 ~f:func
</lang>
 
 
=={{header|Oforth}}==
 
This function is already defined : times
 
<lang Oforth>func: hello { "Hello, World!" println }
#hello times(10)</lang>
 
{{out}}
<pre>
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
Hello, World!
</pre>
 
=={{header|PARI/GP}}==
1,015

edits