Compilation Error
-
I have made some changes to an EA (that was working) and forgot to save it as a new version.
I am now getting the following Compilation error:
'return' - function must return a value
It is listed 10 times. What does it mean? How do I find where the error is? How do I fix it?
Thanks
-
So you opened the .mq4 (or .mq5 file) and deleted something in it? Well, if you don't understand MQL... what are you doing there :))) But you can always import that file back to fxDreema and generate the same source code (there is some code at the bottom of the file that fxDreema can understand). But you should have the project in fxDreema already, so now I'm thinking that I probably didn't understood your question.
-
I think you're right. I don't think you understood my question

I don't understand MQL but was definitely not playing with the source code.
I eventually found the error. I had made a change to some comment blocks that didn't work when compiling. Once I got them back to their original state it worked again.
Thanks.