SetEditionFormatMark
A format mark indicates the next position of a read or write operation. Initially, a mark defaults to 0. After reading or writing data, the format mark is set past the last position written to or read from. To set the current mark for a given format, use the SetEditionFormatMark function.
FUNCTION SetEditionFormatMark (whichEdition: EditionRefNum;
whichFormat: FormatType;
setMarkTo: LongInt): OSErr;
whichEdition
- The reference number for the edition.
whichFormat
- The format type for the edition.
setMarkTo
- The offset for the next read or write for this format.
DESCRIPTION
The SetEditionFormatMark function sets the current mark for the specified format type according to the value of the setMarkTo parameter.
RESULT CODES
| noErr | 0 | No error |
| rfNumErr | -51 | Bad edition reference number |
| noTypeErr | -102 | Unknown format (subscriber only) |
| editionMgrInitErr | -450 | Manager not initialized |