addElement syn

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
schuster666
Posts: 52
Joined: 13 Nov 2013 14:03
Location: Germany / Neuss

addElement syn

Post by schuster666 » 13 Apr 2014 18:05

hi there,
i've got a problem with syn of "addElement".
looking for the right syn to add more than one element to a list at a time.

values are in a list (about 250 values) and i have to copy every seventh value into another list.

any idea?

thanx
-- the world would be better without people--
-- but boring --

User avatar
bichlepa
Posts: 148
Joined: 04 Mar 2014 18:29
Location: Germany
Contact:

Re: addElement syn

Post by bichlepa » 14 Apr 2014 13:08

Maybe a loof through the list with an index that increases on every loop. Then, if (index%7==0) copy the value to the other list.

Post Reply