Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #346 Repeated list

Create the list y from the list x repeated n times

Classes
y := TList.Create;
for i := 1 to n do y.AddList(x);
Vandalized by lxbfYeaa

New implementation...
< >
programming-idioms.org