@string2proc(s:string)
::
in
the proc identifier can be omitted. Useful to convert directly a string
received through OSC or through a message into a process that can be
instantiated.
For example, assuming that is set in the Max environment to a tab of two elements, the first being a process identifier and the second an integer, then the code
whenever($channel)
{
:: (@string2proc($channel[0])) ($channel[1])
}
$channel
by calling the corresponding processes
with the specified integer.
See also @string2fun, @string2obj.
See also Data Exchange Functions: @dump, @dumpvar, @gnuplot, @json_read, @json_string, @json_write, @loadvalue, @loadvar, @nim2vezer @parse, @plot, @read_file, @rplot, @savevalue, @set_osc_handling_double, @set_osc_handling_int64, @set_osc_handling_tab, @string2fun, @string2obj, @string2proc @to_num @xml_read @xml_string