Format Marks
Format Marks
Each format has its own mark. The mark indicates the next position of a read
or write operation. Initially, a mark automatically defaults to 0. After reading
or writing data, the format mark is set past the last position written to or read
from. The mark is similar to the File Manager's current read or write
position marker for a data fork. Any time that an edition is open (after calling
the OpenEdition or the OpenNewEdition function), any of the marks for
each format can be queried or set.
To set the current mark for a section format to a new location, use the
err = SetEditionFormatMark ( whichEdition, whichFormat, setMarkTo);
To find where a current mark is for a format in an edition file, use the
err = GetEditionFormatMark ( whichEdition, whichFormat,
currentMark);