Navigation:  thinBasic Modules > File >

FILE_Changed

Previous pageReturn to chapter overviewNext page

 

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