Repeat a string: Difference between revisions

Content added Content deleted
(PascalABC.NET)
 
Line 2,089: Line 2,089:
=={{header|Pascal}}==
=={{header|Pascal}}==
See [[#Delphi|Delphi]] or [[#Free Pascal|Free Pascal]], as standard Pascal does not know strings of unlimited length.
See [[#Delphi|Delphi]] or [[#Free Pascal|Free Pascal]], as standard Pascal does not know strings of unlimited length.

=={{header|PascalABC.NET}}==
<syntaxhighlight lang="delphi">
##
Print('ha' * 5)
</syntaxhighlight>
{{out}}
<pre>
hahahahaha
</pre>



=={{header|Perl}}==
=={{header|Perl}}==