I'm going to build a function (mqh) file which uses a lot of different variables and data types. Is it possible to combine these variables into a struct and pass the structure itself as a parameter into a function?
This example is not working.
void example(struct data) export
{
}
How can you exchange large numbers of different variables between custom indicators and scripts or EA's and scripts without using individual variables as argument in a function?
Hi.
I'm going to build a function (mqh) file which uses a lot of different variables and data types. Is it possible to combine these variables into a struct and pass the structure itself as a parameter into a function?
This example is not working.
How can you exchange large numbers of different variables between custom indicators and scripts or EA's and scripts without using individual variables as argument in a function?
Thanks for help.