Download MetaTrader 5

mt4 600+: arrays passed by reference only - no difference of double& x[] and double x[] ??

To add comments, please log in or register
Carl Schreiber
6668
Carl Schreiber 2014.02.15 12:59 

Hi,

my 'first' compilation' creates this warning:

arrays passed by reference only myIncl.mqh      663     29

the code looks like this:

void setPairs(string arr[][]) { ...

Does this mean mt4 600+ makes no difference between

string arr[][]  and  string& arr[][]


Gooly

Alain Verleyen
Moderator
31085
Alain Verleyen 2014.02.15 13:50  
gooly:

Hi,

my 'first' compilation' creates this warning:

the code looks like this:

Does this mean mt4 600+ makes no difference between


Gooly

Yes.
To add comments, please log in or register