###Function###
FileSetPos

###Description###
Sets the current file position.

###Syntax###
FileSetPos ( handle, offset, origin )


###Parameters###
@@ParamTable@@
handle
	A handle to a file previously opened with FileOpen().
offset
	The offset to move from the origin.  This value may be positive or negative.  Negative values move backwards from the origin.
origin
	Must be one of the following:
	 0 - Beginning of the file ($FILE_BEGIN from Constants.au3).
	 1 - Current position ($FILE_CURRENT from Constants.au3).
	 2 - End of the file ($FILE_END from Constants.au3).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True if the operation succeeded.
Failure:	False.
@@End@@


###Remarks###
Include Constants.au3 in your script to use the symbolic name in parentheses to specify the origin.
Using FileSetPos() it is possible to both read and write to the same file.  When attempting to read and write to the same file, always call FileFlush() between each write and read operation.
Moving the pointer to the middle of the data can be used to overwrite data.

###Related###
FileGetPos, FileFlush, FileRead, FileReadLine, FileWrite, FileWriteLine, FileOpen


###Example###
@@IncludeExample@@
