Using FileInsertLine() & FileDeleteLine() are not options because I may have a string in the .ini file that is >1024k.
Thanks-
Thomas
Posted 22 August 2001 - 22:50
Using FileInsertLine() & FileDeleteLine() are not options because I may have a string in the .ini file that is >1024k.
Thanks-
Thomas
Posted 11 September 2001 - 12:40
I don't think that's possible. When you open a file in IS, the pointer is always at the end of the file, meaning that WriteLine will always just append to the file.
If you really need to insert a line somewhere in the middle of the file, you might try reading a file into an (existing) list with ListReadFromFile, adjust the list, and write with ListWriteToFile.
HTH, Ide