Is there a name for these?

 

Are these (&) characters in the documentation? If not what are they called and what do they mean?


For example, const datetime& time[], — has an (&) symbol or character.


int OnCalculate (const int rates_total,
                 const int prev_calculated,
                 const datetime& time[],
                 const double& open[],
                 const double& high[],
                 const double& low[],
                 const double& close[],
                 const long& tick_volume[],
                 const long& volume[],
                 const int& spread[])
  {


Thanks.

 
afiverestatcastle:

Are these (&) characters in the documentation? If not what are they called and what do they mean?

https://www.mql5.com/en/docs/basis/function/parameterpass
Documentation on MQL5: Language Basics / Functions / Passing Parameters
Documentation on MQL5: Language Basics / Functions / Passing Parameters
  • www.mql5.com
There are two methods, by which the machine language can pass arguments to a subprogram (function). The first method is to send a parameter by value. This method copies the argument value into a formal function parameter. Therefore, any changes in this parameter within the function have no influence on the corresponding call argument...
 
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
          General rules and best pratices of the Forum. - General - MQL5 programming forum
          Messages Editor
 
Thanks. That looks much better.
Reason: