what is the meaning {0} when put in front of MqlTradeRequest?

OTB T
14
OTB T  

hi, sorry this may seem really trivial,but  could Sb please tell me what the meaning {0} is when put in front of MqlTradeRequest ? what does it do? I have really searched and could not find anything?

thanks in advance.

William Roeder
24189
William Roeder  
OTB T: what does it do? I have really searched and could not find anything?

Didn't search very hard. Perhaps you should read the manual
   How To Ask Questions The Smart Way. 2004
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

For structure type variable partial initialization is allowed, as well as for static arrays (with an implicitly set size). You can initialize one or more first elements of a structure or array, the other elements will be initialized with zeroes in this case.

Initialization of Variables - Variables - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

OTB T
14
OTB T  
William Roeder:

Didn't search very hard. Perhaps you should read the manual
   How To Ask Questions The Smart Way. 2004
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

Initialization of Variables - Variables - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

Thanks William, that was very helpful. You are right, I will try to read the manual much more.