Problem to add lines in a File

gonzy1981gonzy1981 Member Posts: 156
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

Comments

Sign In or Register to comment.