Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
182
z SIMPL+
®
Language Reference Guide - DOC. 5797G
SetCurrentDirectory
Name:
SetCurrentDirectory
Syntax:
SIGNED_INTEGER SetCurrentDirectory(STRING DirName)
Description:
Changes the working directory to the specified name. Refer to “Relative Path Names”
on
on
Parameters:
DIRNAME – string containing the name of the desired directory.
Return Value:
Returns 0 if successful and –1 if an error occurred.
Example:
)
IF( SetCurrentDirectory(“NewDirect”) < 0)
PRINT(“Error occurred creating directory\n”);
PRINT(“Directory is now: %s\n”, GetCurrentDirectory());
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only