Link to home
Start Free TrialLog in
Avatar of bomax
bomax

asked on

Updating a file using Write #

Hi, I have a file open for sequential access and I want to update the third line but leave all other lines intact.  How can I do it?

I would have written the file using random access (put#)but I figured that would be a bad idea because I don't know the length of any of my fields.  (I only know if they are strings or ints or bools)

Thanks!
Matt
ASKER CERTIFIED SOLUTION
Avatar of supunr
supunr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bomax
bomax

ASKER

Thank you, this is perfect!!