[PD] dealing with arguments and inlets
Mathieu Bouchard
matju at artengine.ca
Sun Feb 5 21:15:40 CET 2006
On Sun, 5 Feb 2006, Hans-Christoph Steiner wrote:
> > Now tell me, why do you like $# and $@ over [patcherargs] ?
> Languages that provide arguments generally provide argc and argv. I think Pd
> should too.
> C, C++ has argc, argv
> Java has args.getLength, String[] args
> bourne shell has $#, $@
> C shell has $#argv, $argv
> Perl has $#argv, @argv
It could be an object class called [args] too, no? (I don't like the name
[patcherargs] because not all patchers have args nor a
t_canvasenvironment).
PS: none of the above languages have [float_argument] ;-)
_ _ __ ___ _____ ________ _____________ _____________________ ...
| 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