&_____ ...???

 

What does it mean to place an "&" in front of a variable ..

example:

somefunc(int ...., string &var1) {..}

can I use "&" with ints, doubles?

&Thanks!

 

& means 'by reference' and is used when you want to change the value of a passed variable. (I call it the 'address of' operator from my C programming days)

check out help in MQL4 Editor Reference - Basics - Variables - Formal Parameters

 
Got it! Thanks!
Reason: