FILE.SetPos (FB; Prefix filsp)

This function block of the CAA_File.library modifies the current offset for a file access. The file must be opened via FILE.Open.

Input:

xExecute

BOOL

see: “CAA 指南”

hFile

CAA.HANDLE

File handle

udiPos

UDINT

Offset position, Number of bytes from the start of the file

Output:

xDone

BOOL

 

xBusy

BOOL

 

xError

BOOL

 

eError

FILE.ERROR

Error ID