& 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!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What does it mean to place an "&" in front of a variable ..
example:
somefunc(int ...., string &var1) {..}
can I use "&" with ints, doubles?
&Thanks!