how to mix lists ??? very need help

Oct 26, 2007 at 7:12pm

how to mix lists ??? very need help

hi everyone!
as always we ask to forgive for terrible english )))
is urgently required help!
as possible obtain mixed 2 list alternately
for instance:
list 1: x x x x x x x
list 2: y y y y y y y
result list: x y x y x y x y x y x y
lenght of source lists is unknown !!!!

I tryed “zl” object, but nothing now helps (((

many thanks!!!!!!!!

#34335
Oct 26, 2007 at 8:01pm

hi

try this

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 216 134 89 196617 mxj list.Multiplex;
#P newex 214 179 32 196617 print;
#P message 296 79 62 196617 a b c d e f g;
#P message 205 77 70 196617 1 2 3 4 5 6 7;
#P connect 3 0 2 0;
#P connect 1 0 3 1;
#P connect 0 0 3 0;
#P window clipboard copycount 4;

falk

Am 26.10.2007 um 21:12 schrieb outoff:

>
> hi everyone!
> as always we ask to forgive for terrible english )))
> is urgently required help!
> as possible obtain mixed 2 list alternately
> for instance:
> list 1: x x x x x x x
> list 2: y y y y y y y
> result list: x y x y x y x y x y x y
> lenght of source lists is unknown !!!!
>
> I tryed “zl” object, but nothing now helps (((
>
> many thanks!!!!!!!!

#115668
Oct 26, 2007 at 8:05pm

check interleave

http://www.cnmat.berkeley.edu/MAX/downloads/
i think
m

On 26 Oct 2007, at 20:12, outoff wrote:

>
> hi everyone!
> as always we ask to forgive for terrible english )))
> is urgently required help!
> as possible obtain mixed 2 list alternately
> for instance:
> list 1: x x x x x x x
> list 2: y y y y y y y
> result list: x y x y x y x y x y x y
> lenght of source lists is unknown !!!!
>
> I tryed “zl” object, but nothing now helps (((
>
> many thanks!!!!!!!!

———————–
http://www.markfell.com
———————–

#115669
Oct 26, 2007 at 8:07pm

ejies objects

ej.lop maybe..i cannot assure…

On Oct 26, 2007, at 9:12 PM, outoff wrote:

>
> hi everyone!
> as always we ask to forgive for terrible english )))
> is urgently required help!
> as possible obtain mixed 2 list alternately
> for instance:
> list 1: x x x x x x x
> list 2: y y y y y y y
> result list: x y x y x y x y x y x y
> lenght of source lists is unknown !!!!
>
> I tryed “zl” object, but nothing now helps (((
>
> many thanks!!!!!!!!
>

#115670
Oct 26, 2007 at 8:07pm

#115671
Oct 26, 2007 at 9:56pm

thanks to all !!!
now i know many interesting about work with lists
)))))

#115672
Oct 30, 2007 at 10:18am

Try Lmerge from the Lobjects.

Best,
Trond

> as possible obtain mixed 2 list alternately
> for instance:
> list 1: x x x x x x x
> list 2: y y y y y y y
> result list: x y x y x y x y x y x y
> lenght of source lists is unknown !!!!
>
> I tryed “zl” object, but nothing now helps (((

#115673
Oct 31, 2007 at 1:05am

thank you!
now I completely ready to fight with lists)))))

#115674
Nov 29, 2007 at 12:59pm

hmm,
I used for association long (more than 256) lists object “mxj list.Unique”, but it has appeared later, that it throws out identical values! Somebody knows as it is possible to avoid it. While the decision is not found, it is necessary to use object “zl join”, but lists are necessary to me, is long which exceeds 256 symbols! Prompt please how to be!?
thanks a lot!

#115675
Nov 29, 2007 at 2:00pm

On 29 nov. 07, at 13:59, outoff wrote:

> hmm,
> I used for association long (more than 256) lists object “mxj
> list.Unique”, but it has appeared later, that it throws out
> identical values! Somebody knows as it is possible to avoid it.
> While the decision is not found, it is necessary to use object “zl
> join”, but lists are necessary to me, is long which exceeds 256
> symbols! Prompt please how to be!?

Could you post a patch which show what you’re trying to accomplish?

ej

#115676
Nov 30, 2007 at 8:41am

outoff schrieb:
> While the decision is not found, it is necessary to use object “zl
> join”, but lists are necessary to me, is long which exceeds 256
> symbols! Prompt please how to be!? thanks a lot!

mxj list.Join (of course)


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#115677
Nov 30, 2007 at 4:45pm

ohh! “mxj list.Join” object is not present in the list of “mxj list” objects! Certainly it should be! Perfectly! On a way it has appeared that “prepend” too cuts the list, but it was possible will get rid))

thank you!

#115678
Nov 30, 2007 at 6:09pm

Quote: outoff wrote on Fri, 30 November 2007 08:45
—————————————————-
> ohh! “mxj list.Join” object is not present in the list of “mxj list” objects! Certainly it should be! Perfectly! On a way it has appeared that “prepend” too cuts the list, but it was possible will get rid))
>
> thank you!
—————————————————-

You can do this with mxj list.Queue, but it takes a little more effort.

mz

#115679

You must be logged in to reply to this topic.