help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Procedures and functions] Reference for unit 'fileutil' (#powtils_main)

FileExists_read

Declaration

Source position: fileutil.pas line 15

function FileExists_read(

  const fname: String

):Boolean;

Notes

Checks whether a file exists and can be read (does not check for write permission).

Example

const
  TEST_FILE = 'test.htm';
begin
  if FileExists_read(TEST_FILE) then
    WebFileOut(TEST_FILE);
end.





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505