Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
120
z SIMPL+
®
Language Reference Guide - DOC. 5797G
EndFileOperations
Name:
EndFileOperations
Syntax:
SIGNED_INTEGER EndFileOperations()
Description:
Signifies to the operating system that the current thread has completed its file
operations.
operations.
Parameters:
None.
Return Value:
Returns 0 if successful and –1 if an error occurred.
Example:
(Refer to "File Functions Overview"on page
)
IF ( StartFileOperations() < 0 );
PRINT ( “Error in starting file ops\n” );
// various file operations
IF ( EndFileOperations() < 0 )
PRINT ( “Error Occurred in ending file ops\n” );
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only
NOTE: StartFileOperations is required prior to any operation accessing a file.
EndFileOperations is required after finishing all file operations and prior to
terminating the thread of execution (e.g., one of the PUSH commands).
EndFileOperations is required after finishing all file operations and prior to
terminating the thread of execution (e.g., one of the PUSH commands).