Repeat a string: Difference between revisions

PascalABC.NET
m (→‎{{header|Wren}}: Changed to Wren S/H)
(PascalABC.NET)
 
(One intermediate revision by one other user not shown)
Line 1,616:
 
=={{header|langur}}==
<syntaxhighlight lang="langur">"ha" x* 5</syntaxhighlight>
This example looks like Perl, but the x operator doesn't just multiply strings in langur.
<syntaxhighlight lang="langur">"ha" x 5</syntaxhighlight>
 
=={{header|Lasso}}==
Line 2,090 ⟶ 2,089:
=={{header|Pascal}}==
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}}==
222

edits