XML Feeds

.

[maxmsp] how can i find the common symbol from two lists?

Jean-Michel Darrémont jmdarremont at free.fr
Mon Dec 10 14:27:08 MST 2007


One obvious solution wich comes instantly to my mind when considering  
LISt Processing is LISP.
So in Max environment it is: maxlisp

http://music.columbia.edu/~brad/maxlisp/

Just write:
(intersection '(a b c d e f) '(f g h i j k l))

returns

(f)

or
(intersection '(a b c d e f) '(f g h a j c l))
(fca)
Le 10 déc. 07 à 21:46, Adam Barnett a écrit :

>
> I need to find the single common element in two different lists and  
> output this element.  I don't see a way to do this with an existing  
> object, and I don't know anything about scripting.  Am I missing an  
> obvious solution, or is someone willing to help me with the script?
>
> Much obliged...
> _______________________________________________
> maxmsp mailing list
> maxmsp at cycling74.com
> http://www.cycling74.com/mailman/listinfo/maxmsp
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cycling74.com/pipermail/maxmsp/attachments/20071210/ed91f3f9/attachment.htm


More information about the maxmsp mailing list