[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Exist
Purpose Indicates whether a file exists.
Decln. Exist(Filename:string):boolean;
Returns Boolean
Remarks FileName is the name of the file being checked. If may contain
wild card characters, i.e. the function will return true if any
file is found matching the wild card template. The function will
find any file type including readonly, directory, hidden, system,
etc.
Example
BEGIN
IF NOT EXIST('C:\AUTOEXEC.BAT') THEN
BEEP;
END;
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson