[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

FileExistsUTF8

Indicates if the specified file name exists

Declaration

Source position: lazfileutils.pas line 106

function FileExistsUTF8(

  const Filename: string

):Boolean;

Arguments

Filename

  

File name to locate in the file system

Function result

True when the specified file name exists

Description

FileExistsUTF8 is a Boolean function which indicates if the specified file name exists in the local file system. For the Windows environment, FileExistsUTF8 uses FileGetAttrUTF8 to ensure that Filename does not have the FILE_ATTRIBUTE_DIRECTORY attribute. For UNIX-like environments, the FileExists function in SysUtils is used to get the return value.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.