Jump to content

Repeat: Difference between revisions

293 bytes added ,  2 years ago
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}}==
374

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.