Jump to content
Co nového? Mé kurzy
Komunita:
Diskuze Sledované příspěvky Žebříčky

MetaTrader 4


Volf

Doporučené příspěvky

Maverick. Vynatok z ich manualu. There is a possibility to pass parameters by reference. In this case modification of such parameters will be reflected on corresponded variables in the called function. To point, that the parameter is passed by reference, after a data type it is necessary to put the modifier &.

Example:

void func(int& x, double& y, double& z[])
{
...
}

www.metaquotes.net/experts/mql4/variables/

Link to comment
Sdílet pomocí služby

  • Odpovědí 4,3k
  • Vytvořeno
  • Poslední

Nejaktivnější diskutující

Nejaktivnější diskutující

Publikované obrázky

Ahoj Gandhi, rad by som sa ta spytal, na jednu vec k ForexFactory. Ozval by si sa mi pls na icq-765-002-0
Dik,Endy

Gandhi Napsal:
-------------------------------------------------------
> Maverick. Vynatok z ich manualu. There is a
> possibility to pass parameters by reference. In
> this case modification of such parameters will be
> reflected on corresponded variables in the called
> function. To point, that the parameter is passed
> by reference, after a data type it is necessary to
> put the modifier &.
>
> Example:
>
> void func(int& x, double& y, double& z[])
> {
> ...
> }
>
> www.metaquotes.net/experts/mql4/variables/


Link to comment
Sdílet pomocí služby

Návštěvník
Téma je uzavřené.

×
×
  • Vytvořit...