S-WRITE-FUNCTION (op-code 5)

This routine adds a new record to the named file. It has four parameters: f, record, size, and cr_cntrl.

F must be a valid file handle returned by S-OPEN-FUNCTION.
Record points to the record to add.
Size is the size of the record. If size is zero, then the maximum record size for the file is used.
Cr_cntrl    is the number of lines to advance before writing the new record. This is only valid for print files.

The S-WRITE-FUNCTION routine does not change the current file position.