Troubleshooting

Oscout using a variable as (part) of the adress

Started by Anton on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
Using script it is possible to send out a osc message with oscout.
Its syntax is
 oscout(target,adress,value) 
 oscout(0,'/foobar', x )
would send rhe osc message /foobar/x to target 0

Is it possible to have both a string and a variable as part ofthe adress? For example
 oscout(target,'/foobar/'Menu.selection,value) 
This last example doesnt compile for me. Im thinking the only way to do it must be to combine the string and the variable befor the oscout in a new variable. Is this the case and could somebody help me out as to how to combine a string with a number into a new string?

Thanks!