Hi:
I've got a file and a routine, the routine is called many times.
This routine has to add lines in the end of a File, but when i try to do it, the new lines have been added in the begining and the old lines there aren't.
This is the routine's code:
File.TEXTMODE(TRUE);
File.WRITEMODE(TRUE);
IF NOT File.OPEN(...) THEN BEGIN
File.QUEREYREPLACE(FALSE);
File.CREATE(....);
END;
File.WRITE('BB',);
File.WRITE('AA',);
File.CLOSE;
Do you know to help me??
Thank's
0
Comments
You need to SEEK to the end of the file first (using LEN).
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
I have tried using SEEK and I am still having issues with getting the output appended to the end of the file. you can see my post here: http://www.mibuso.com/forum/viewtopic.php?f=23&t=27718
any other tips?
Reply posted to original post above.
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html