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

FileIsReadable

Indicates if the specified file name is readable

Declaration

Source position: lazfileutils.pas line 53

function FileIsReadable(

  const AFilename: string

):Boolean;

Arguments

AFilename

  

File name to examine

Function result

True when the specified file name is readable

Description

FileIsReadable is a Boolean function which indicates if the specified file name is readable. For UNIX-like environments, FpAccess is used to get the return value. On Windows, the return value is the result from FileExistsUTF8. In short, the function is not really useful on the Windows platform.

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