I am having a hard time understanding how to properly format a complex series of commands into a list to be sent out of an outlet for my object. I am doing the translation from .js to C and my C is not quite as fluent.
Regularly I use a command like this in the .js:
outlet(0, 240, 103,2, a, b, c, 247);
to be replaced by this in the C:
ac = 7;
outlet_anything(x->i_ob.o_outlet, ps_list, ac, av);
But now i need to replace this in .js:
outlet(0, "/board","/"+ (i-2), "/analog",command[i]);
resulting in something like "/board/2/analog/127"
(formatted to be OSC friendly
and I dont understand how to assemble the list properly.
any help or suggestions?