identical elements in a list


    May 03 2006 | 3:01 pm
    hi,
    i have a list which looks like 70 70 43 70 43 22 43 70 22
    i simply want to gather all the elements in the list that are identical to each other, and have them sent as a list. so as to have three lists with the identical elements groups:
    list1: 70 70 70 70
    list2: 43 43 43
    list3: 22 22
    i tried to work it out with the Match object, but the output of Match is a data stream and not a sequential list.
    what shall i do? is there an object which can gather all the identical elements in a list and isolate them into a new one?
    all the best,
    Spk.

    • May 03 2006 | 4:19 pm
      maybe the zl object library
      can help u...
      i dont remember if it is in ma/msp,
      by the way u can find it on
      maxobjects.com
    • May 03 2006 | 4:37 pm
      See :
      Lobjects : http://www.maxobjects.com/?v=libraries&id_library=29
      List Op : http://www.maxobjects.com/?v=libraries&id_library=26
      RTC Lib : http://www.maxobjects.com/?v=libraries&id_library=40
      Jasch Objects : http://www.maxobjects.com/?v=libraries&id_library=14
      -------------------------
    • May 03 2006 | 4:57 pm
      Hi,
      the version bellow use only zl objects.
      HTH,
      ej
    • May 15 2006 | 3:48 pm
      cheers