delete bytes?

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

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?

include file.e

integer fn, fx
fn = open("mytext.txt", "u")
fx = seek(fn, 25) 
puts(fn,"Aha!\n")
-- ... and now what?


Regards,

Salix

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

Search



Quick Links

User menu

Not signed in.

Misc Menu