PDA

Click to See Complete Forum and Search --> : Inserting into files


ycsim
Nov 14th, 1999, 05:59 AM
When you open a binary file and you use the Put statement to write to the file, it replaces the byte at that position unless it is the end of the file. How can i say insert a character into the 5th position without replacing that byte???

------------------
YC Sim
Teenage Programmer
UIN 37903254

Aaron Young
Nov 14th, 1999, 06:33 AM
You would need to Read the file in,
then Write it back out inserting the Character(s)/Byte(s) in the Appropriate Section.


------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net