Re: delete bytes?
- Posted by Evan Marshall <1evan at sbcglobal.net> Mar 19, 2006
- 557 views
Salix wrote: > > I have a text file open and I want to write a few words after the 25th byte > and delete the rest. What should I do? > > }}} <eucode> > -- ... and now what? > </eucode> {{{ > > Regards, > > Salix include file.e integer fn, fx fn = open("mytext.txt", "u") fx = seek(fn, 25) puts(fn,"Aha!\n") puts(fn,0)