Jump to content

API File.SetPos

From Flowcode Help
Revision as of 14:08, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"")
SetPos
Sets the position of the next read or write in the file 
- 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 
- NONE Return


Detailed description

Examples

Calling in a calculation

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