Errors, bugs, questions - page 1123
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
TheGetLastError function is for runtime errors.
Interested in compilation errors.
I found a description of the errors. But where can I see the error numbers?
I can't see them anywhere in MetaEditor...
You cannot get the compilation error number in MetaEditore, but when a compilation error occurs, there is an error description in the "Errors" tab. If you don't understand the description, then copy the message and translate it in translator :).
I do, but it's a bit "crooked". I will try to apply to servicedesk to add such a column in the "Tools" window in the "Errors" tab of the editor.
There is no point in an infinite loop. To make a limited number of attempts and thenreturnINIT_FAILED inint OnInit() function.
Do you think it would be quicker to translate the English text about an error or warning in a crude google translator, and then look for matches in the help, where these descriptions are in Russian?
And not everyone can "intuitively" understand a message about an oversight "in bourgeois".
Do you think it would be quicker to translate the English text about an error or warning in a crude google translator, and then look for matches in the help, where these descriptions are in Russian?
And not everyone can "intuitively" understand a message about an oversight "in bourgeois".
Do you think it would be quicker to translate the English text about an error or warning in a crude google translator, and then look for matches in the help, where these descriptions are in Russian?
And not everyone can "intuitively" understand the error message "in bourgeois".
Here is a simple example of how having commented out just one symbol you can get three errors at once.
You get three errors at once:
'test_script.mq5' test_script.mq5 1 1 'Print' - semicolon expected test_script.mq5 15 4 'Print' - declaration without type test_script.mq5 15 4 '}' - expressions are not allowed on a global scope test_script.mq5 16 3 3 error(s), 0 warning(s) 4 1
And if there were error numbers, do you think it would be easier to find the source of the error?
Give the code (code is inserted using the "SRC" button) and the error message. English is the official language in which programs are written all over the world.
Personally, I have no trouble finding gross errors in the code that the compiler "swears" at. Neither, I presume, do you. But what about newcomers?
In fact, if the documentation handles compilation errors by numbers, it would be reasonable to provide
the opportunity to know the numbers of these very errors in the editor when you make them at random.
The compiler treats the number 13.7 as the double type. But at the same time this number can be losslessly converted to the float type
and this warning is unnecessary.