counter: doesn't understand "setdomain"

flim's icon

hello!

i use a counter object in my patch and the patch works perfectly fine - nonetheless my max window gives me following error:

object: counter
message: doesn't understand "setdomain"

i've tried to look up the problem via show object from my max window and as expected he merely highlights my counter object.

i'm curious although my patch works - especially because the counter object doesn't respond to "setdomain" messages. :(

i do have a transport object within my patch, the two are not connected. (help files don't say anything about an interrelationship)

any idea what this could be about? (i use it in a simple matter, my objects' arguments were taken from it's example patch)

cheers in advance!
& all the best

-jonas

Ben Bracken's icon

post a patch?

Are you using a function object?

-b

flim's icon

hej bbracken!

sorry, am at work now, don't have MAX installed here..

the error message actually disappeared right after i posted this thread. counter was in a subpatch of mine - after i gathered them in the same hierarchy the message disappeared. therefore another error message appeared:

#N: extra arguments for message "r" (receive object)
#N: extra arguments for message "s" (send object)

so counter & transport do somehow correlate. i'll just have to figure out to what extent i have to bend my receive-/send objects in correlation with my counter object. (so far i was using send & receive objects -namely "transport info"- to connect a metro object with transport)

maybe more when i get back to my computer. thankful for any hints till then!

cheers..

-jonas

Danny de Graan's icon

Counter doesn't accept the setdomain argument. If you want to set the maximum count just send the amount into the right inlet. That it!!!

flim's icon

false alarm! or a bug of some sort.. after deleting and renewing my send and receive objects everything worked out fine.

(simular bug effect occured when i used pattrhub to address pattr objects in a 4-level-subpatcher - after deleting and recreating all 4 subpatchers my pattr objects finally had an effect on its binding objects. almost went crazy, grin)

all the best!

-jonas

seejayjames's icon

you probably figured this out, but [send] and [receive] take only single symbols as name arguments. However, you can have spaces in there (as you can in many places like this, like patcher titles) by using quotes, to make the multiple words become a single symbol.