[PD] dealing with arguments and inlets

Mathieu Bouchard matju at artengine.ca
Sun Feb 5 23:09:22 CET 2006


On Sun, 5 Feb 2006, Hans-Christoph Steiner wrote:

> $# and $@ would also be useful in messages.

For messages, shouldn't people use [list] instead, to achieve the same
results?

> But I suppose [arguments] could handle argc and argv, and be a C object.  
> It could output a list of the arguments from the left inlet and the
> number of arguments from the right inlet.

You can already get the list length using [list length]. No other objects
both output a list and a separate float for the length.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada




More information about the Pd-list mailing list