Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
154
z SIMPL+
®
Language Reference Guide - DOC. 5797G
IsHidden
Name:
IsHidden
Syntax:
INTEGER IsHidden(FILE_INFO info)
Description:
This routine returns whether the specified file is hidden. Equivelent to checking
attributes in FILE_INFO. Refer to
attributes in FILE_INFO. Refer to
.
Parameters:
INFO – structure containing the information about a found file (refer to "FindFirst"
on page
on page
for description).
Return Value:
Returns 1 if file is hidden and 0 if otherwise.
Example:
)
FILE_INFO FileInfo;
SIGNED_INTEGER Found;
StartFileOperations();
Found = FindFirst(“*.dat”, FileInfo );
WHILE (Found = 0)
{
if (IsHidden(FileInfo))
PRINT( “%s is hidden\n”, FileInfo.FileName );
Found = FindNext(FileInfo);
}
IF ( FindClose() < 0 )
PRINT ( “Error in closing find operation\n” );
EndFileOperations();
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only