Re: delete bytes?
- Posted by Evan Marshall <1evan at sbcglobal.net> Mar 19, 2006
- 566 views
Bernie Ryan wrote: > <snip> > > Try This: > > }}} <eucode> > include file.e > > integer fn, fx > fn = open("mytext.txt", "u") > fx = seek(fn, 25) > puts(fn,"Aha!") > print(fn,26) -- ctl-Z or 26 #1A > close(fn) > }}} <eucode> > > Bernie That doesn't seem to work, either. It just replaces the 26th through the 30th bytes. abcdefghijklmnopqrstuvwxyz123456789 becomes abcdefghijklmnopqrstuvwxyAha!56789