Re: delete bytes?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu