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.
 
Christof 

Gesendet: Samstag, 22. Dezember 2018 um 16:52 Uhr
Von: "Matt Davey" <hard....@gmail.com>
An: "Peter P." <peterpar...@fastmail.com>
Cc: pd-list <pd-l...@iem.at>
Betreff: Re: [PD] Abstraction arguments: tell apart symbols from floats from no 
argument at all

If you're ok with using an external library, then there is [pofutil] in the pof 
library which outputs a list of arguments when sent a [dollarg( message.
 
so, like:

[dollarg(
|
[pofutil]
 
You can then just use pd's list functions (list length, list split, etc) to 
pull that list apart and check its length, etc. 
 
[route symbol float] should do the last bit you wanted, 
 _______________________________________________ Pd-list@lists.iem.at mailing 
list UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Attachment: arg-test.pd
Description: Binary data

Attachment: arg-test-abs.pd
Description: Binary data

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to