FILE_Changed

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > FILE: functions working on files >

FILE_Changed

 

Description

 

Monitor file changes.

 

Syntax

 

n = FILE_FileChanged(FileName)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

FileName

String

No

Name of the file to be monitored

 

Remarks

 

Up to 250 files can be monitored at the same time.

 

Possible return values (equates):

 

%FILE_CHANGE_WildCardNotAllowed

%FILE_CHANGE_FileDoesNotExists

%FILE_CHANGE_FirstTimeChecking

%FILE_CHANGE_LastWriteTimeChange

%FILE_CHANGE_FileSizeChange

%FILE_CHANGE_SizeAndTimeChange

 

Restrictions

 

See also

 

File Module,

 

Examples