Crestron SIMPL+ Reference Manual page 134

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

Advertisement

Software
®
124
SIMPL+
Example:
(Refer to "File Functions Overview"on page 116)
STRING TheDate$[100];
FILE_INFO FileInfo;
SIGNED_INTEGER Found;
StartFileOperations();
Found = FindFirst("*.dat", FileInfo );
WHILE (Found = 0)
{
TheDate$ = FileDate(FileInfo);
PRINT ( "Date of file = %s\n", TheDate$ );
Found = FindNext(FileInfo);
}
IF ( FindClose() < 0 )
PRINT ( "Error in closing find operation\n" );
EndFileOperations();
This would print a string such as "Date of file = 03/25/2003".
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