Repeat a string: Difference between revisions

Content added Content deleted
(Add Seed7 example)
Line 126: Line 126:


=={{header|Brainf***}}==
=={{header|Brainf***}}==
Prints "ha" 10 times. Note that this method only works for a number of repetitions that fit into the cell size.
<lang bf>+++++ +++++ init first as 10 counter
<lang bf>+++++ +++++ init first as 10 counter
[-> +++++ +++++<] we add 10 to second each loopround
[-> +++++ +++++<] we add 10 to second each loopround