Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 511
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
An array of structures, I wrote...
Show the whole function you are trying to return something from
Show the whole function you are trying to return something from
I wrote the function in a class above. Doesn't compile with errors invalid array access.
I wrote the function in a class above. Doesn't compile with errors invalid array access.
What is the data type?
What is the data type?
This is my structure.
This is my structure.
And you want to copy an array of such structures into another array of such structures?
And you want to copy an array of such structures to another array of such structures?
Copy it, return it, or get it in any other way by calling the appropriate class method.
Copy, return or otherwise retrieve it by calling the appropriate class method.
So, you have an array inside the class and you want to access it externally, right?
So you have an array inside a class, and you want to access it externally, right?
Yes.
Yes.
Have you tried that?
Have you tried that?
Tried it - it doesn't compile