Hi, Johannes Taelman hat gesagt: // Johannes Taelman wrote:
Hi,
Is there an escape character sequence to make special characters (',' and ';') in messages literal?
No, there isn't unfortunatly.
I need something like
+*--, |3
+*---+ | +*----------- | add2 $1, ( +*----------- | +*------------ | 0, 1, 2, 3 ( +*------------
You could send this into a textfile object like shown in the attached patch.
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?
This is actually for saving of patches. If you open a pd-patch in a text editor, you'll see a backslash before messages with a ";", like #X msg 300 205 ; pd dsp 1;
Another possibility to achieve this would be an 'add1' method, that adds the ',', just like 'add' adds a ';'.
Other solutions?
There are several external objects operating on lists like sprinkler, prepend and such.
Frank Barknecht _ ______footils.org__