Crestron simpl plus language ref 사용자 설명서
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G
SIMPL+
®
z 183
StartFileOperations
Name:
StartFileOperations
Syntax:
SIGNED_INTEGER StartFileOperations()
Description:
Signifies to the operating system that the current thread is starting its file operations.
Parameters:
None.
Return Value:
Returns 0 if successful and –1 if an error occurred.
Example:
)
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).