help with coll object


    Jan 29 2010 | 1:41 pm
    hi,
    I am doing an assignment for uni and we have to use the coll object to store numbers.
    using the coll object before, I thought coll could only store messages, is there a way to store numbers in coll
    or convert numbers to messages that can be stored into coll?
    Thanks
    Laura

    • Jan 29 2010 | 1:48 pm
      messages, symbols, numbers, it can store pretty much anything. use [pack] and [unpack] to store lists and retrieve them, where the [pack] has the coll index # as the first element in the list (even if you're just storing single numbers, which would be a two-element list: index, value).
      [listfunnel] and [zl] could also be important to know with this, take a look... guarantee you'll get some new ideas :)
    • Jan 29 2010 | 5:37 pm
      Laura,
      have you looked at the coll help file? Are you going to the MSP symposium tomorrow?