how to set an array of built-in structures as function's return type?
Zarik: How can I define the return type as an array
You don't. The best you can do is return a class object that contains an array.
You don't. The best you can do is return a class object that contains an array.
You agree to website policy and terms of use
Hi, Please take a look at the following code:
and more specifically to the function's header:
I am aware of possibility to pass an array reference as function's parameter and modify that inside the function. But that's not what I am looking for this scenario. How can I define the return type as an array of MqlCalendarEvents? Is that even possible in Mql5?
Thank you in advance for your help.