Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Software Crestron 
SIMPL+
®
126 
z SIMPL+
®
Language Reference Guide - DOC. 5797G
FileDelete
Name:
FileDelete
Syntax:
SIGNED_INTEGER FileDelete (STRING filename) 
Description:
Deletes the specified file from the file system.
Parameters:
FILENAME specifies the name of the file to delete. Can contain wildcards (*) if a 
full path is not given.
Return Value:
Returns 0 if successful. Otherwise, file error code is returned.
Example: 
(Refer to "File Functions Overview"on page 
)
StartFileOperations();
IF ( FileDelete ( “MyFile” ) <> 0 ) 
PRINT ( “Error deleting file\n” ); 
EndFileOperations();
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only