[PD] comma into a textfile

Jack jack at rybn.org
Tue Jun 26 13:38:29 CEST 2012


Le 26/06/2012 11:46, Mirko Maier a écrit :
> @jack:
>
> thank you, that's almost the solution,
> but I get '\\,' from makefilename. (same problem is with '\\{' )
>
> and it's not possible with "stripfilename" to remove the "\\". is there a solution?
>
> @olivier: thanks, but i am working on win xp..
>
> best
> mirko
>
> ++++
> jack wrote:
>
> Maybe, something like that ? :
>
> [44(
> |
> [makefilename %c]
> |
> [add hello$1 world, rewind, bang(
> |
> [textfile]
> |
> [print]
>
> ++
>
> Jack

Hello,

Not sure there is a way to remove \\ in front of comma with [add( and
[textfile]
What are you trying to do exactly ?
If you want to avoid \\, you can create a text file with :
hello\, world
inside. Then you can load it with the message 'read' and the object
[textfile], you shoukld get a nice 'hello, world'.
Or, as OIivier said, you can use a bash script to create this text file
on the fly and load it with [textfile].
You can also use ascii code for this problem...
So, if you have a simple example of what you need, maybe it would be
much easy to find a solution.
++

Jack





More information about the Pd-list mailing list