Page 1 of 1

addElement syn

Posted: 13 Apr 2014 18:05
by schuster666
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

Re: addElement syn

Posted: 14 Apr 2014 13:08
by bichlepa
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.