On Feb 5, 2006, at 4:01 PM, IOhannes m zmoelnig wrote:
Mathieu Bouchard wrote:
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, @argvIt could be an object class called [args] too, no? (I don't like the
namebtw, there is an object [dollarg] in iemlib that does exactly this.
$# and $@ would also be useful in messages. 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.
.hc
¡El pueblo unido jamás será vencido!