Repeat a string: Difference between revisions

Line 4:
 
=={{header|4DOS Batch}}==
<lang 4DOS Batch></lang>gosub repeat ha 5
echo %@repeat[*,5]
quit
 
:Repeat [String Times]
do %Times%
echos %String%
enddo
echo.
return</lang>
Output shows:
<pre></pre>hahahahaha
*****</pre>
 
=={{header|ActionScript}}==
138

edits