Filedelete - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Software
®
126
SIMPL+

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 116)
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
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Advertisement

Table of Contents
loading

Table of Contents