FileIsExist
Checks the existence of a file.
bool FileIsExist( |
Parameters
file_name
[in] The name of the file being checked
common_flag=0
[in] Flag determining the location of the file. If common_flag = FILE_COMMON, then the file is located in a shared folder for all client terminals. Otherwise, the file is located in a local folder.
Return Value
Returns true, if the specified file exists.
Note
If common_flag = FILE_COMMON, then the function looks for the file in a shared folder for all client terminals, otherwise the function looks for a file in a local folder (MQL5 \ Files or MQL5 \ Tester \ Files in the case of testing).
© 2000-2010, MetaQuotes Software Corp.