Hum, I just loaded the file created with binfile inside textfile and it works like I want. But how do I make the system recognize the file as a text file?
TOm
Hi again Martin,
Hum , the output file is a binary. I don't think I was very clear:
I need a way to write a text file from PD BUT the input and output is in ASCII code.
For example. from pd, I would send "add 97 32 98 32 99" and when I would write the file, the contents could be viewed with a text editor and would display "a b c".
TomOn 10/11/07, Martin Peach < martin.peach@sympatico.ca> wrote:Thomas O Fredericks wrote:
>I am looking for a way of reading/writing strings (as defined by the
>string2any and any2string externals) to the hard disk.
>Is there already an implementation anywhere (maybe I will adapt textfile or
>msgfile)?
>The reason is I want to bypass the limitations imposed by pd's special
>characters so I can adapt pdmtl's help browser so it can automatically
>parse
>it's help files and format them for the PDPEDIA wiki.
You could check out [binfile] in cvs externals/mrpeach/binfile. It works a
bit like [texfile] but it can read and write arbitrary bytes.
Martin