Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SixFile Functions (continued)

DoesFileExist Function

Overview

The DoesFileExist function tests to see if a file exists.

Syntax/Parameters

Syntax

boolean = DoesFileExist ( string file );

Parameters

file

A string containing a qualified file name and path. This parameter supports UTF encoding for filenames with Unicode characters.

Return Value

Returns TRUE if file exists or FALSE if it does not.

Remarks

The DoesFileExist function does not test whether the script can access the file specified by the name parameter. Use the CanAccessFile function to determine accessibility.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic