From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-16-2007 01:49 PM
05-16-2007 03:15 PM
05-22-2007 10:09 AM
Hi
Thank you for your answer.
05-22-2007 10:48 AM
@Peachy wrote:
The overwrite function looks like a good idea, but I don't find it. Do you know the exact name of it?
Just write at a given postion and the existing data at that file location will be overwritten. No special function needed.
For this to work well, you should consider using fixed length lines.
05-22-2007 10:55 AM
Thanx for your idea.
Unfortunatly, I can't have the same length on every line. I don't know what's going to be witten in the text.
Stephanie
05-22-2007 11:28 AM
@Peachy wrote:
Unfortunatly, I can't have the same length on every line. I don't know what's going to be witten in the text.
Unfortunately, in this case you cannot really do what you want. Whenever you replace a line, all bytes to the right need to be shifted up or down to account for the change in length. A file is just a long sequence of bytes and a line break is just the presence of a newline character. There is no concept of "lines" per se.