[PD] Finding "$0" and dealing with it in messages
Mathieu Bouchard
matju at artengine.ca
Mon Nov 16 09:37:52 CET 2009
On Mon, 16 Nov 2009, IOhannes m zmölnig wrote:
> Mathieu Bouchard wrote:
>> wouldn't need weird hacks in the pd source; but if anyone wanted to
>> reimplement old-style messageboxes, they'd need to find a way to disable
>> $-substitution in that case.
> you can get the "unparsed" arguments during runtime (though after
> creation time) just fine. this is what every save-routine does (unless
> somebody decides to really save 1053 instead of $0)
Yes, I thought of that, but just try it, you'll see: it'll complain about
missing $1, $2, etc. as you try making such messageboxes, because the
$-substitution does happen anyway even if you ignore it. Even though it
technically would work, no-one would want to put up with those error
messages.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list
mailing list