Jump to content

API File.SetPos: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 18: Line 18:
:A location in the file to offset Address from
:A location in the file to offset Address from
''Typical values for this parameter:''
''Typical values for this parameter:''
{| class="wikitable" |+width="20%"|Type|width="30%"|Name |width="40%"|Value|-LONG|Seek_Begin|0
{| class="wikitable" |-width="20%"|Type|width="30%"|Name |width="40%"|Value|-LONG|Seek_Begin|0
|-LONG|Seek_Curr|1
|-LONG|Seek_Curr|1
|-LONG|Seek_End|2
|-LONG|Seek_End|2

Revision as of 21:49, 11 May 2013

<sidebar>API contents</sidebar> Sets the position of the next read or write in the file

===Class hierarchy===File

SetPos

Parameters

HANDLE FileHandle

The handle of an open file

ULONG Address

The position in the file, relative to the From position

BYTE From

A location in the file to offset Address from

Typical values for this parameter:

Return value

This call does not return a value

Detailed description

No additional information

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::File.SetPos(filehandle, address, ::File.Seek_Begin)