Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Crestron SIMPL+
®
Software 
Language Reference Guide - DOC. 5797G
 SIMPL+
®
 
z 135
FILE_INFO Structure
Use this structure to retrieve information about a file.
STRUCTURE FILE_INFO 
STRING Name;            // relative name of the found file 
INTEGER iAttributes;    // attributes for the file 
INTEGER iTime;          // file time in packed form 
INTEGER iDate;          // file date in packed form 
LONG_INTEGER lSize;     // size of the file in bytes 
};
 
File Attribute Bit Flags -
 These may be Bitwise OR’ed together
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
KEYWORD
ATTRIBUTE
Equivalent SIMPL+ Function
ARDONLY
File is marked read only
IsReadOnly
AHIDDEN
File is hidden
IsHidden
ASYSTEM
File is marked as a system file
IsSystem
AVOLUME
File is a volume label
IsVolume
ADIRENT
File is a directory
IsDirectory
ARCHIVE
File is marked as an archive
-
NOTE: For an example of how and where to use the FILE_INFO structure, refer to 
the example code in "FindFirst" on page