Function
EN
Version 1.91
@GetPosOSFile
Export
Import
OSFile
Syntax
@GetPosOSFile(FILEHANDLE1);
Description
Returns the current position in the OSFILE with the FILEHANDLE FILEHANDLE1.
Example: @GetPosOSFile(FILEHANDLE1)
FILEHANDLE1:=@OpenOSFile("C:\\AUTOEXEC.BAT";"R");
@ReadOSFile(FILEHANDLE1;"A";10);
@LogReport(@GetPosOSFile(FILEHANDLE1));
FILEHANDLE1:=@CloseOSFile(FILEHANDLE1);
The file "C:\\AUTOEXEC.BAT" is opened, 10 bytes are read, the current position reached afterwards (10) is determined and output, and finally the file is closed again.
Note : This text was machine-translated and may contain inaccuracies.
