I also noticed that if I use my"WinUser.mqh" instead of standard<WinAPI\WinUser.mqh>
the resulting .ex5 file is 2 times smaller. From any fundamental differences at the moment I can single out absence of enums (but they are not used actually).
P.S. I added to my"WinUser.mqh" unused structures - the size of .ex5 got closer, but the point is that the added structures are not actually used
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
What does C#, JS and all the rest have to do with it? Read MQL documentation - page 1:
"The syntax of MQL5 is similar to that of C++".
https://www.mql5.com/ru/docs/basis.
A likeness is not a perfect match. However, all this squabbling is off-topic.
.......
"The syntax of MQL5 is similar to that of C++"
............
Similar does not mean similar....
I am communicating with you - in your language - using your vocabulary
That's what I'm sayinghttps://www.mql5.com/ru/forum/1111/page2536#comment_12902751
Okay, your level of demagoguery is clear.
Similarity is not full compliance. However, this is an offtopic.
I originally pointed out the inconsistency of the MQL documentation, but if the user doesn't understand - then there is an ironclad argument: C++.
Why do we need holy wars here ?
As A100 wrote
Незначительная и просто обходится, но все равно ошибка при компиляции:
Express, as a language developer, your attitude towards mentioning and comparing++ with mql.
Express as a language developer your attitude towards mentioning and comparing++ with mql.
Mentioning and comparing is no trouble.
It's the constant er... whining (I can't find another word, sorry) that MQL must completely correspond (be an analogue of) C++. How's that?
Error in file <WinAPI\WinUser.mqh>
and should be
I also noticed that if I use my"WinUser.mqh" instead of standard<WinAPI\WinUser.mqh>
the resulting .ex5 file is 2 times smaller. From any fundamental differences at the moment I can single out absence of enums (but they are not used actually).
P.S. I added to my"WinUser.mqh" unused structures - the size of .ex5 got closer, but the point is that the added structures are not actually used
Igor Makanu:
Better #define MACRO( dummy ), plus it is desirable to protect against accidentally passing some argument to the macro. For example: