Re: delete bytes?

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

Oops,

include file.e
 
 integer fn, fx
 fn = open("mytext.txt", "u")
 fx = seek(fn, 25) 
 puts(fn,"Aha!\n")
 print(fn,26) -- ctl-Z or 26 #1A
 close(fn)


actually makes

abcdefghijklmnopqrstuvwxyz12346789 become

abcdefghijklmnopqrstuvwxyAha!
26798

which seems really strange.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu