Forums > MaxMSP

storing coordinates and recalling them as an integer

Dec 19 2013 | 9:59 am

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

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

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 | 11:36 am

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

Dec 19 2013 | 12: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


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 | 12:34 pm

nvm used tosymbol object worked like a charm

Dec 19 2013 | 1:58 pm

"combine" would also work.

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP