@string2proc(s:string)

returns the proc whose name is given in argument. The initial :: 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])
       }

will react to the assignment to $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    @plot,    @rplot,    @savevalue,    @set_osc_handling_double,    @set_osc_handling_int64,    @set_osc_handling_tab,    @string2fun,    @string2obj,    @string2proc    @xml_read    @xml_string