[PD] PdDefinitions

Mathieu Bouchard matju at artengine.ca
Sat Sep 29 20:29:59 CEST 2007


On Sat, 29 Sep 2007, Frank Barknecht wrote:

> It's also used for example in symbols generated by [openpanel] and can
> be made with [makefilename]

Every parsing interprets dollars and removes a layer of backslashes. 
Therefore when [openpanel] sends backslashes they are immediately removed 
and they are not actually part of the symbol. If they were, they would've 
to be sent as double-backslashes.

Btw, the .pd file format could've been made so that it does not evaluate $ 
at every possible occasion, and if it had been so, dollars wouldn't need 
to be backslashed by the fileformat. As it is, messageboxes and 
objectboxes are parsed once but evaluated twice, even though $-args are 
meaningless in the context of loading a patch: putting a nonbackslashed 
dollar in a .pd file will just make it disappear or be replaced by a zero. 
So, if you want to have an actual backslash in a messagebox or objectbox, 
you'd need to put a triple backslash in the file.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-list mailing list