Combine Coll into One List

Aug 15, 2013 at 1:55pm

Combine Coll into One List

I need to combine a coll into a single list where:

0, 1;
1, 1 1;
2, 1;
3, 1 1 1 1;
4, 1;
5, 1 1;
6, 1;
7, 1;
8, 1 1;

becomes:

(1) (1 1) (1) (1 1 1 1) (1) (1 1) (1) (1) (1 1)

Length will always vary, too.

#259024
Aug 15, 2013 at 3:16pm

Are the extra spaces in this a problem:

– Pasted Max Patch, click to expand. –

??

#259030
Aug 15, 2013 at 3:28pm

that did it. Funny, because that’s what I was doing in another part of the patch with dealing with another list. Just didn’t connect it in my mind. Thanks.

#259031
Aug 20, 2013 at 4:16am

here is what you originally requested..

– Pasted Max Patch, click to expand. –
#259397
Aug 21, 2013 at 8:05am

It’s nice to know I am on the right track. I worked this same solution with Mike’s solution. Thanks though.

#259537

You must be logged in to reply to this topic.