From: Paul Lutus Date: 2006-11-28T16:30:06+09:00 Subject: Re: how to write file before EOF Siva Prakasam wrote: > > how to write a file before its EOF > by giving some position . You do understand that if you write to a file at an arbitrary position, it will overwrite was was there before, yes? A insertion, if that is what you actually have in mind, is a bit more complicated (but that can also be done). Look at IO:seek. -- Paul Lutus http://www.arachnoid.com