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 On 10/11/07, Thomas O Fredericks <[EMAIL PROTECTED]> wrote: > > 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". > > Tom > > On 10/11/07, Martin Peach <[EMAIL PROTECTED]> 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 > > > > > > >
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
