[PD] Abstraction arguments: tell apart symbols from floats from no argument at all

João Pais jmmmpais at gmail.com
Sat Dec 22 19:00:52 CET 2018


another way to do it might be the following. I don't have now the time to  
test it:

- loadbang a list with all the arguments (maybe initiated by something  
like [list $1 $2 $3 ... $16 or whatever])
- use an abstraction from list-abs to drip the list
- send the output through a route to test the type

If you know beforehand that 0s won't be part of the arguments, it will be  
even easier, just filter out the 0s when detecting the argument type.


> * Christof Ressi <christof.ressi at gmx.at> [2018-12-22 17:15]:
>> if you're ok with externals you can also use [dollarg] from iemlib or  
>> [canvasargs] from iemguts. for a hacky vanilla solution, see attached  
>> patch. I'm sure there are more ways, this is just one that I remembered.
> And it is a nice one, Thanks Christof!





More information about the Pd-list mailing list