Enscribe Programmer's Guide
The next-record pointer now contains -1. This indicates to the file system that subsequent WRITE
calls should append to the end of the file.
This WRITE call, if issued immediately after the FILE_SETPOSITION_ -1 call, appends 512 bytes
to the end of the file:
CALL WRITE ( filenum, buffer, 512, num^written );
The file system transfers 512 bytes from the designated buffer to the relative byte address pointed
to by the EOF pointer. Upon completion of the WRITE operation, the EOF pointer is incremented
by 512, the current-record pointer points to the old EOF position, and the next-record pointer still
contains -1. A subsequent WRITE will also append to the end of the file.
Accessing Unstructured Files 67