storing coordinates and recalling them as an integer

Dec 19, 2013 at 9:59am

storing coordinates and recalling them as an integer

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.

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 at 10:03am

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 at 11:22am

You can do this with coll, but don’t use a comma in your index. commas have special meaning in max messages. See:


– Pasted Max Patch, click to expand. –


Dec 19, 2013 at 11:36am

amazing thanks mzed :) i knew it was missing something with coll

Dec 19, 2013 at 12:04pm

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


0 and 3
and have them output combined with a dash

im able to pak them as (0 – 3) using {pak 0 symbol 0}

Dec 19, 2013 at 12:34pm

nvm used tosymbol object worked like a charm

Dec 19, 2013 at 1:58pm

“combine” would also work.


You must be logged in to reply to this topic.