need help about "zl iter object"


    Sep 24 2011 | 9:46 am
    Hi,
    What is my trouble :
    I want to separate a list (my starting point, of variable lengh) in several lists of 7 integrers.
    Then, I want to associate with each list of 7 integrers, a number : 0 for the first list, one for the second list, three for the third list.... (as for the listfunnel object but for list and not for integrers only).
    Because, I want to include theses various lists in a "coll" object.
    (I feel I have to use "zl iter" object but I don't know how get this news list of 7 integrers in max).
    Thank you for your help.
    Best regards
    Alexandre

    • Sep 24 2011 | 12:31 pm
      Like this?
    • Sep 24 2011 | 1:25 pm
      Hi,
      Thank you for your help.
      However, with your patch, I obtain this result in "coll" object :
      1, 2 3 4 5 6 7;
      8, 9 10 11 12 13 14;
      15, 16 17 18 19 20 21;
      And I need to obtain :
      1, 2 3 4 5 6 7;
      2, 9 10 11 12 13 14;
      3, 16 17 18 19 20 21;
      Do you know how get this last result ?
      Best regards
      Alexandre
    • Sep 24 2011 | 1:29 pm
      Sorry,
      I made an error:
      I'd like to get this one in "coll" object :
      (to add 1,2,3... before each list of 7 integrers)
      1, 1 2 3 4 5 6 7
      2, 8 9 10 11 12 13 14
      3, 15 16 17 18 19 20 21
      Thank you
    • Sep 24 2011 | 2:00 pm
      thanks to your assistance, I built what I wanted :
    • Sep 24 2011 | 3:24 pm
      if your list have a different length:
      :-)
    • Sep 24 2011 | 4:19 pm
      Yes, you're right.
      But, it's perfect with "/7" object after "zl len" object :
      :-)
    • Sep 24 2011 | 4:44 pm
      you are right- I overlooked it...