[PD-dev] argc&argv and dollarexpansion
Mathieu Bouchard
matju at artengine.ca
Wed Aug 23 05:34:58 CEST 2006
On Tue, 22 Aug 2006, Frank Barknecht wrote:
> I'm still undecided if "$@" or "$*" would be the preferred name, though.
> Both mean similar things in bash, but maybe $* would be easier to
> understand for the common Pd user, as the asterisk is in use not only in
> bash, but as a wildcard character in general.
If you are not against introducing nested lists later on, and prefer
staying close to bash than not, then $@ should be the one that expands the
complete arglist inserted as separate arguments. The $* should be reserved
for expands the arglist as one argument of type A_LIST (nested list).
(Btw, do OSX users generally know what's a * wildcard?)
_ _ __ ___ _____ ________ _____________ _____________________ ...
| 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-dev
mailing list