Thank you, @Jona and @whale-av for the pointers.
Yes. I want to be able to change the operators, etc. . So for instance the multiply in [expr $f1*$f2] to a plus while the Gem stream is running.
Two options I have tried are assembling an expr clone with all of its operators as type-selectable by idx, so an expr router of sorts. Where one could assemble the pieces by list(functypeID#) and variables. But that fails because it's just too clumsy.
The option below is the best, I've come up with so far.
And if, as you say whale-av, the expr itself is written at runtime (until the feature gets added sometime in the future ) probably the best way to go.
Should say something, I learned there is no way to pass it in as a symbol [expr $1`], where $1 is a creationarg symbol because expr interprets it as a desire to create an array.
One option may be using iemguts and dynamic patching. If I look into it, will try and let you know what I find out.
Seems sending it a list is something that should be added.
Would help a lot for patches where dynamically changing formulas in real-time streams (like a GEM or ~) best suit their design.
Thanks, again, @jona and @whale-av. Really appreciate your response and the timeliness with which you replied,
Happy PD-ing.
Here's the way I will probably go with: Popping the subwindow where all the expressions are then closing it when I'm done,