Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1025

 
Vinin:
Why do you have a semicolon at the end of the operator?
Indeed, the semicolon is unnecessary here, thank you!
 

Hello. Question:

How much memory does datetime take up?

https://docs.mql4.com/ru/basis/types/integer/datetime It says 8 bytes

https://book.mql4.com/ru/basics/types#14 It says 4 bytes

Similar discrepancy on boolean

https://book.mql4.com/ru/basics/types#11 says 4 bytes

and https://docs.mql4.com/ru/basis/types/integer/boolconst I think it says 1 byte.

And on top of that, the correct order in structures is from most to least. Is this correct?

struct ANY
{
double
string
datetime
color
int
bool

};

Thank you.

 
Igor-san:

Hello. Question:

How much memory does datetime take up?

https://docs.mql4.com/ru/basis/types/integer/datetime It says 8 bytes

https://book.mql4.com/ru/basics/types#14 It says 4 bytes

Similar discrepancy on boolean

https://book.mql4.com/ru/basics/types#11 says 4 bytes

and https://docs.mql4.com/ru/basis/types/integer/boolconst I think it says 1 byte.

And on top of that, the correct order in structures is from most to least. Is this correct?

struct ANY
{
double
string
datetime
color
int
bool

};

Thank you.

Trust the documentation, not the book. A lot has changed since the book was written. The documentation is updated in a timely manner
 
Please advise whether it is possible to setOBJ_BITMAP_LABEL and OBJ_LABEL to OBJ_RECTANGLE_LABEL in MQL so that moving mouse on monitor OBJ_RECTANGLE_LABEL would move all objects above ?
How can it do this?


Can I load graphical objects located on the monitor into the uint array?
 
Why doesn't anyone answer me I'm not a beginner?)
 
Money_Maker:
Why doesn't anyone answer me that I'm not a beginner?)

Some people stay rookies all their lives.

That's not a hint...

Maybe no one had to, no one has tried to solve such a problem, but they do not rule out the possibility that there is a solution. It turns out there is nothing to answer...

 
AlexeyVik:

Some people stay rookies all their lives.

This is not a hint...

Maybe no one has ever had such a problem, no one has tried to solve it, but they don't rule out the possibility that a solution exists. It turns out there is nothing to answer...

Thanks, yes I understand just not the first time a question is formed and the answer is not found, although the forum a lot of people at any given time.
 
I have a question about the mail tab in the terminal, can I use mql to access at least the headers of the e-mails?
 

It is possible if you use a third-party program to copy e-mails into the sandbox.

I've seen a thread about this somewhere.

 
AlexeyVik:

It is possible if you use a third-party program to copy e-mails into the sandbox.

I've seen a thread about this somewhere.

Thank you very much)
Reason: