User Tools

Site Tools


fileexists_return_file_existence_.htm
Navigation:  Templates > Template Language Reference > Built-in Template Procedures >====== FILEEXISTS (return file existence) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

FILEEXISTS( file )

blk2blue.jpg

FILEEXISTS Returns TRUE if the file is available on disk.
file An expression containing the DOS filename.

The FILLEEXISTS procedure returns true ('1') if the file is available on disk. If the file is not available, FILEEXISTS returns false ('').

Return Data Type:     LONG

Example:

#IF(FILEEXISTS(%SomeFile))

 #OPEN(%SomeFile)

 #READ(%SomeFile)

 !some source

#ENDIF

See Also:

Built-In Template Procedures

fileexists_return_file_existence_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)