[PD] escape in messages

Johannes Taelman Johannes.Taelman at rug.ac.be
Sat Oct 12 15:21:31 CEST 2002


Hi,

Is there an escape character sequence to make special characters (',' and
';') in messages literal?

I need something like

+*--,
|3   \
+*---+
 |
+*-----------
| add2 $1\, (
+*-----------
 |
+*------------
| 0, 1, 2, 3 (
+*------------

Whenever I try to type a \ in a message box, I get

\: dropped
\: dropped

in the console output. This is on win2k, and PD 35-1.

I found one (maybe) related comment in m_binbuf.c :

/* add a binbuf to another one for saving.  Semicolons and commas go to
symbols ";", "'",; the symbol ";" goes to "\;", etc. */

Is this only for internal housekeeping?

Another possibility to achieve this would be an 'add1' method, that adds
the ',', just like 'add' adds a ';'.

Other solutions?

thanks,
j#|@





More information about the Pd-list mailing list