Repeat: Difference between revisions

Content added Content deleted
No edit summary
(Added 11l)
Line 6: Line 6:
The latter procedure is executed a number of times equal to the accepted integer.
The latter procedure is executed a number of times equal to the accepted integer.
<br><br>
<br><br>

=={{header|11l}}==
{{trans|Python}}

<lang 11l>F repeat(f, n)
L 1..n
f()

F procedure()
print(‘Example’)

repeat(procedure, 3)</lang>

{{out}}
<pre>
Example
Example
Example
</pre>


=={{header|Ada}}==
=={{header|Ada}}==