Hi again Martin,<br><br>Hum , the output file is a binary. I don't think I was very clear:<br>I need a way to write a text file from PD BUT the input and output is in ASCII code.<br>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".
<br><br>Tom<br><br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername">Martin Peach</b> <<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thomas O Fredericks wrote:<br>>I am looking for a way of reading/writing strings (as defined by the<br>>string2any and any2string externals) to the hard disk.<br>>Is there already an implementation anywhere (maybe I will adapt textfile or
<br>>msgfile)?<br>>The reason is I want to bypass the limitations imposed by pd's special<br>>characters so I can adapt pdmtl's help browser so it can automatically<br>>parse<br>>it's help files and format them for the PDPEDIA wiki.
<br><br>You could check out [binfile] in cvs externals/mrpeach/binfile. It works a<br>bit like [texfile] but it can read and write arbitrary bytes.<br><br>Martin<br><br><br></blockquote></div><br>