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
7091
Carl Schreiber  

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
32403
Alain Verleyen  
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