Errors, bugs, questions - page 1996

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
Who's stopping it?
MQL5 does not allow it.
MQL5 does not allow it.
Who said: "It doesn't"? Try, for example, like this
Who said: "Doesn't allow it"? Try this, for example
You should try it yourself. It doesn't allow.
You should try it yourself. Doesn't allow it.
Tried again (what if?).
It does
Tried again (what if?).
Allows
You don't seem to have a 1653 build.
Result
I wondered if this is the right thing to do, since it generates such VERY hard-to-detect errors.
The very fact that the program is not working correctly is extremely hard to catch. Then to find out the reason, you have to reproduce the error, which is just as hard. And then you have to dig through a huge code where an initialization of some variable is incomplete - horrible. Warnings help a lot with this. But only simple cases. Such cases as initialization not for the whole array are unrealistic to check at the compilation stage.
Perhaps your thoughts are of something else, but in this particular case the programmer's trivial inattention led to this error.
Won't you be annoyed by a few meters long string of warnings?
You don't seem to have a 1653 build.
Result
Apparently the MyPreferredTemplates folder is missing. And the folder is not created when saving. Removed the folder from the path and this is the result.
Apparently the MyPreferredTemplates folder is missing. And when I save it, it doesn't create a folder. Removed the folder from the path and this is the result.
Thanks, I wouldn't have guessed that! It's working now. Before that, I tried "..\\..\\Files\\\template.tpl" - it didn't work the same way. What does the slash before Files mean that"\\\Files\\\template.tpl" works? How could I have guessed that?
You don't seem to have a 1653 build.
Result
Has been working since build 1565. As of March 2017.
GetLastError returns what?
Thanks, I wouldn't have guessed that! It's working now. Before that, I tried "..\\..\\Files\\\template.tpl" - it didn't work the same way. What does the slash before Files mean that"\\\Files\\\template.tpl" works? How could I have guessed that?