Moves the position of the current file mark of the file identified by refnum to the position indicated by offset (in bytes) according to the mode in from.


icon

Inputs/Outputs

  • cbsrn.png refnum

    refnum is the file refnum associated with the file whose file mark you want to move.

  • ci64.png offset (in bytes) (0)

    offset (in bytes) specifies how far from the location specified by from to set the file mark.

  • cenum.png from (0:start)

    from, together with offset (in bytes), specifies where to set the file mark. If you wire offset (in bytes), from defaults to 0, and the offset is relative to the beginning of the file. If you do not wire offset (in bytes), offset (in bytes) defaults to 0, from defaults to 2, and the operation starts at the current file mark.

    0start—Sets the file mark offset (in bytes) bytes from the beginning of the file. If from is 0, offset (in bytes) should be positive or 0, which sets the file mark at the beginning of the file.
    1end—Sets the file mark offset (in bytes) bytes from the end of the file. If from is 1, offset (in bytes) should be negative or 0, which sets the file mark at the end of the file.
    2current—Sets the file mark offset (in bytes) bytes from the current file mark.
  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ibsrn.png refnum out

    refnum out returns refnum.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.