Dynamically change arguments

Aug 14, 2012 at 5:07pm

Dynamically change arguments

Is it possible to change an object’s args with a message?

Many thanks in advance


Aug 14, 2012 at 5:15pm


AFAIK it’s not possible as arguments are parsed at instantiation ; sometimes values set by those arguments can be changed later with messages but it is not always true. Do you have a more precise scenario for better speculations ?

Aug 14, 2012 at 5:26pm

Well, I have an m4l patch that relies on [table]. Unfortunately due to m4l’s global namespace multiple instances share the same table. If I don’t change the name all instances use the same table.

Thanks again


Aug 14, 2012 at 5:41pm


In MaxMSP you can use [table #0_toto] for that. The “three dashes” trick [table ---toto] do not work in your case (i do not have M4L) ? http://cycling74.com/search-results/?q=three%20dashes

Aug 14, 2012 at 5:50pm

This will definitely make unique tables, but it won’t set the name based on user input.

I’ve concluded that I’m better off with[text].

Thanks again


You must be logged in to reply to this topic.