API File.SetPos

From Flowcode Help
Jump to navigationJump to search
Error creating thumbnail: Unable to save thumbnail to destination
SetPos
Sets the position of the next read or write in the file 
Error creating thumbnail: Unable to save thumbnail to destination
- HANDLE
FileHandle
The handle of an open file 
Error creating thumbnail: Unable to save thumbnail to destination
- ULONG
Address
The position in the file, relative to the From position 
Error creating thumbnail: Unable to save thumbnail to destination
- BYTE
From
A location in the file to offset Address from 
Error creating thumbnail: Unable to save thumbnail to destination
- NONE
Return


Detailed description

Examples

Calling in a calculation

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