SysFileStreamFScanf_String (FUN) ¶ FUNCTION SysFileStreamFScanf_String : DINT InOut: Scope Name Type Return SysFileStreamFScanf_String DINT Input File RTS_IEC_HANDLE szFormat STRING(20) psArg POINTER TO STRING
SysFileStreamFSeek (FUN) ¶ FUNCTION SysFileStreamFSeek : DINT InOut: Scope Name Type Comment Return SysFileStreamFSeek DINT Input File RTS_IEC_HANDLE offset DINT origin DINT possible values: SYSFILESTREAM_SEEK_CUR : DINT := 1; current position SYSFILESTREAM_SEEK_END :DINT := 2; end of file SYSFILESTREAM_SEEK_SET : DINT := 0; beginning of file
SysFileStreamFSetPos (FUN) ¶ FUNCTION SysFileStreamFSetPos : DINT InOut: Scope Name Type Comment Return SysFileStreamFSetPos DINT Input File RTS_IEC_HANDLE pFPos POINTER TO BYTE pointer !!
SysFileStreamFWrite (FUN) ¶ FUNCTION SysFileStreamFWrite : DWORD InOut: Scope Name Type Comment Return SysFileStreamFWrite DWORD Input Buffer POINTER TO BYTE Address (ADR) to Buffer Size DWORD size of element in bytes NObjs DWORD number of elements File RTS_IEC_HANDLE
SysFileStreamFTell (FUN) ¶ FUNCTION SysFileStreamFTell : DINT InOut: Scope Name Type Return SysFileStreamFTell DINT Input File RTS_IEC_HANDLE
SysFileStreamRemove (FUN) ¶ FUNCTION SysFileStreamRemove : BOOL InOut: Scope Name Type Return SysFileStreamRemove BOOL Input FileName STRING
SysFileStreamRename (FUN) ¶ FUNCTION SysFileStreamRename : BOOL InOut: Scope Name Type Return SysFileStreamRename BOOL Input FileOldName STRING FileNewName STRING
SysFileStreamRewind (FUN) ¶ FUNCTION SysFileStreamRewind : DINT InOut: Scope Name Type Return SysFileStreamRewind DINT Input File RTS_IEC_HANDLE
SysFileStream_Constants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant SYSFILESTREAM_EOF INT -1 EOF (return value of some functions) SYSFILESTREAM_SEEK_CUR DINT 1 Seek method constants, SYSFILESTREAM_SEEK_END DINT 2 end of file SYSFILESTREAM_SEEK_SET DINT 0 beginning of file
SysFileStreamFOpenV3 (FUN) ¶ FUNCTION SysFileStreamFOpenV3 : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysFileStreamFOpenV3 RTS_IEC_HANDLE Input FileName STRING Mode STRING can contain ‘w’ (write), ‘r’ (read), ‘a’ (append), ‘+’, ‘b’, ‘t’