Repeat: Difference between revisions
Added uBasic/4tH version
(Repeat en Verilog) |
(Added uBasic/4tH version) |
||
Line 1,955:
It should be noted that the “command” can be an arbitrary script, not just a call to a procedure:
<lang tcl>repeat {puts "hello world"} 3</lang>
=={{header|uBasic/4tH}}==
<lang>Proc _Repeat (_HelloWorld, 5) : End
_Repeat Param (2) : Local (1) : For c@ = 1 To b@ : Proc a@ : Next : Return
_HelloWorld Print "Hello world!" : Return</lang>
Output:
<pre>
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
0 OK, 0:35
</pre>
=={{header|Ursa}}==
|