samjesse:
Please think about what you are doing. If your file is "2018822.txt", obviously you need to add ".txt" in the filename. However your way to do it is not good. The file name you pass to FileIsExist() is the result of the StringAdd() function. What is the return value for this function ?
Hi
This code is expected to print "found" since the file being searched for "2018822.txt" is located in the terminal Common/Files, but instead it is printing "not found". Any idea why and how to find if the file exists?
Also tried this
Alain Verleyen:
Please think about what you are doing. If your file is "2018822.txt", obviously you need to add ".txt" in the filename. However your way to do it is not good. The file name you pass to FileIsExist() is the result of the StringAdd() function. What is the return value for this function ?
Got it. Thx
Please think about what you are doing. If your file is "2018822.txt", obviously you need to add ".txt" in the filename. However your way to do it is not good. The file name you pass to FileIsExist() is the result of the StringAdd() function. What is the return value for this function ?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
This code is expected to print "found" since the file being searched for "2018822.txt" is located in the terminal Common/Files, but instead it is printing "not found". Any idea why and how to find if the file exists?
Also tried this