FILE.GetPos (FB; Prefix filgp)

This function block of the CAA_File.library returns the offset position currently set in the file. The file must be opened via FILE.Open.

Input:

xExecute

BOOL

see: “CAA 指南”

hFile

CAA.HANDLE

File handle

Output:

xDone

BOOL

see: “CAA 指南”

xBusy

BOOL

see: “CAA 指南”

xError

BOOL

see: “CAA 指南”

eError

FILE.ERROR

Error ID

udiPos

UDINT

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