[PD] comma and escaping revisited

Max abonnements at revolwear.com
Tue Jul 7 13:46:13 CEST 2020


Hi list,

I found an old thread between m.e.grimm and Roman Haefeli in the 
archives from 2014-01-26 about escaping in Pd.

https://lists.puredata.info/pipermail/pd-list/2014-01/105594.html

Roman sees this odd behavior in escaping a comma:

----message to print--
\, comma at the beginning;
comma\, right after first word;
comma in\, the middle;
comma at the end\,;
-------

gives:

----print--
print: , comma at the beginning
print: comma, right after first word
print: comma in\, the middle
print: comma at the end\,
----/print--

Meaning the backslash can escape the comma when it comes in the 
beginning or after the first word, but later the escaping character will 
be part of the printout.

Is this a bug? is there an explanation for this inconsistency or should 
I file an issue for it?

Actually this looks related:
https://github.com/pure-data/pure-data/issues/824

m.






More information about the Pd-list mailing list