Hi again Martin,<br><br>Hum , the output file is a binary. I don&#39;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 &quot;add 97 32 98 32 99&quot; and when I would write the file, the contents could be viewed with a text editor and would display &quot;a b c&quot;.
<br><br>Tom<br><br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername">Martin Peach</b> &lt;<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>&gt; 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>&gt;I am looking for a way of reading/writing strings (as defined by the<br>&gt;string2any and any2string externals) to the hard disk.<br>&gt;Is there already an implementation anywhere (maybe I will adapt textfile or
<br>&gt;msgfile)?<br>&gt;The reason is I want to bypass the limitations imposed by pd&#39;s special<br>&gt;characters so I can adapt pdmtl&#39;s help browser so it can automatically<br>&gt;parse<br>&gt;it&#39;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>