Variables:
Name DataType
ExportFile File
Sample Code:
ExportFile.TEXTMODE(TRUE);
ExportFile.WRITEMODE(TRUE);
ExportFile.OPEN(FileName); //here file name is existed file's fullpath along it's name
ExportFile.SEEK(ExportFile.LEN);
ExportFile.WRITE('Hello Navision');
Output:
Specified file will opened in text mode and cursor will reach the end of the file.
Piece of the text(Hello Navision) will be added to the specified file.
No comments:
Post a Comment