storing coordinates and recalling them as an integer


    Dec 19 2013 | 5:59 pm
    hey everyone
    first time posting here.
    i was wondering if anyone had any idea how to store a list of x,y coordinates and then assign each coordinate set an integer.
    example 0,3 = 1
    when i bang a message containing a list 0,3 the output is 1
    i tried using coll but it does not accept input coordinates. i can however recall coordinates. which is the inverse of what i would like to do.
    any help would be appreciated

    • Dec 19 2013 | 6:03 pm
      i would like to predetermine various coordinate sets and assign them each an integer so i can recall them later... alot like coll
    • Dec 19 2013 | 7:22 pm
      You can do this with coll, but don't use a comma in your index. commas have special meaning in max messages. See:
    • Dec 19 2013 | 7:36 pm
      amazing thanks mzed :) i knew it was missing something with coll
    • Dec 19 2013 | 8:04 pm
      hi again
      sorry if this is a rather amateur question... but ive only ever used max as a problem solving tool over the years.
      by any chance would you know which object i should use to combine two integers into a single stream
      example
      0 and 3 and have them output combined with a dash 0-3
      im able to pak them as (0 - 3) using {pak 0 symbol 0}
    • Dec 19 2013 | 8:34 pm
      nvm used tosymbol object worked like a charm
    • Dec 19 2013 | 9:58 pm
      "combine" would also work.