need help with "set $" and lists


    Nov 26 2008 | 7:45 pm
    I was tweaking with lists and suddenly I've discovered that "set $"
    goes till number 9.
    how can I do something like "set $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17" ?

    • Nov 26 2008 | 7:53 pm
      >I tweaking with lists and suddenly I've discovered that "set $"
      >goes till number 9.
      >how can I do something like "set $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11
      >$12 $13 $14 $15 $16 $17" ?
      >_
      kasper
      --
      Kasper T. Toeplitz
      noise, composition, bass, computer
    • Nov 26 2008 | 8:08 pm
      many thanks kasper...
    • Nov 26 2008 | 8:36 pm
      Note that you can't use $10. It looked like it worked in Kasper's example, but it really didn't. If you use $10 it will actually give you a symbol consisting of the first argument to the list ($1) concatenated with the 0.
      So, Kasper's example would be better put like below.
      Rob
    • Nov 26 2008 | 8:37 pm
      yes I've allready fixed that thank you indeed
    • Nov 26 2008 | 8:40 pm
      also note that in a lot of situations using [prepend set] instead is easier, especially if you don't know the size of the incoming list.
    • Nov 26 2008 | 8:42 pm
      you mean that with a list of 50 numbers PREPEND SET would fix all without splicing?
    • Nov 26 2008 | 8:54 pm
      >Note that you can't use $10. It looked like it worked in Kasper's
      >example, but it really didn't. If you use $10 it will actually give
      >you a symbol consisting of the first argument to the list ($1)
      >concatenated with the 0.
      yeah, i actually was surprised to see it working with $10, but -
      well, it seemed to work !!!
      kasper
    • Nov 26 2008 | 9:15 pm
      On Nov 26, 2008, at 12:42 PM, Giorgio Sancristoforo wrote:
      > you mean that with a list of 50 numbers PREPEND SET would fix all
      > without splicing?
      It works in Max 5, and I'm pretty sure it would work in Max 4
      - C
      Chris Muir
      cbm@well.com