[PD] Finding "$0" and dealing with it in messages
IOhannes m zmölnig
zmoelnig at iem.at
Sat Nov 14 18:07:22 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hans-Christoph Steiner wrote:
>
> Here's my summary of the proposals mentioned here:
>
> I agree that $0 is totally arbitrary and is not inherintly bound to
> object boxes. I think this strongest proposed fix is to introduce $$
> which works in both object and message boxes, its a nice parallel to
> Bourne Shell syntax. On that note, I think this should also come with
> Bourne Shell's $# for count of argument and $@ for a list of all
> arguments. I think $$, $#, and $@ should work in both message and
> object boxes. So:
>
> messages:
> - $$ provides unique ID number
> - $# provides argument count from incoming message
> - $@ provides the list of arguments from incoming message
>
> objects:
> - $$ provides unique ID number
> - $# provides argument count from incoming message
> - $@ provides the list of arguments from incoming message
>
> Now, all we need is someone to code it :) I am certainly willing to try
i thought i had committed such a patch about 3 years ago to the sf patch
tracker.
mfasr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkr+48oACgkQkX2Xpv6ydvR39wCfUmgeZNT2vphUCtdiqFqy7ElT
BGgAnjlTXqVaJZjd4mxsvEY9L7W8Zy7p
=t2HN
-----END PGP SIGNATURE-----
More information about the Pd-list
mailing list