Difference between revisions of "API File.SetPos"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
 
(XML import API auto-gen)
Line 1: Line 1:
 
wiki page name
 
wiki page name
==FileSetPos==
+
Sets the position of the next read or write in the file
  
Sets the position of the next read or write in the file
 
----
 
  
 
===Parameters===
 
===Parameters===
Line 27: Line 25:
  
 
===Examples===
 
===Examples===
====Calling in a calculation:====
+
====Calling in a calculation====
 
* Add to a calculation icon: ::File.SetPos(filehandle, address, ::File.Seek_Begin)
 
* Add to a calculation icon: ::File.SetPos(filehandle, address, ::File.Seek_Begin)

Revision as of 15:34, 10 May 2013

wiki page name Sets the position of the next read or write in the file


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)