Is there a way to generate a series of green variable names, so i can use them in a script futher up my sound.
My code is this:
1 to: 4 do: [ :i |
output start: 0 s
parameter: '?ControlOut' & (i asString)
ccNumber: i.
]
I'm trying to generate ?ControlOut1, ?ControlOut2, ?ControlOut3, and ?ControlOut4. And even more later.
All of this is used in MIDIOutputController. I want to be able to assign things to the ?ControlOut1 and so on, later up my chain in another script.
But when I run this I get this error message. What do i need to do to a string to get it accepted as a ?-variable