From Clomosy Docs
(Created page with "clFileExists is part of the Clomosy library and is a function that checks for the existence of the specified file. Returns True if the specified file exists, False otherwise. The general usage is as follows: clFileExists(FileNameString:WideString; CombinePathString:String);, <span style="color:blue">''FileNameString''</span> : Searched file name. <span style="color:blue">''CombinePathString''</span> : Path to the searched file. '''Example:''' '''Begin''' If clFil...") |
No edit summary |
||
| Line 2: | Line 2: | ||
The general usage is as follows: | The general usage is as follows: | ||
clFileExists(FileNameString:WideString; CombinePathString:String); | clFileExists(FileNameString:WideString; CombinePathString:String); | ||
<span style="color:blue">''FileNameString''</span> : Searched file name. | <span style="color:blue">''FileNameString''</span> : Searched file name. | ||
Revision as of 14:06, 18 September 2023
clFileExists is part of the Clomosy library and is a function that checks for the existence of the specified file. Returns True if the specified file exists, False otherwise.
The general usage is as follows:
clFileExists(FileNameString:WideString; CombinePathString:String);
FileNameString : Searched file name.
CombinePathString : Path to the searched file.
Example:
Begin
If clFileExists('file.txt','C:\Clomosy') Then
clShowMessage('file exists')
Else
clShowMessage('no file');
End;