Download MetaTrader 5
To add comments, please log in or register
Why to sell products in MetaTrader AppStore? Find that out from the article!
Bogdan Alin Baltatu
2854
Bogdan Alin Baltatu 2016.09.08 15:05 

I create a static struct and I load with data.

The struct is an array and the size is 200. 

If you look in the printscreen attached you will see on index 0 and index 1 i have data. But i cannot access or return the default value.

 

 

Alain Verleyen
Moderator
29603
Alain Verleyen 2016.09.08 16:15  
Bogdan Alin Baltatu:

I create a static struct and I load with data.

The struct is an array and the size is 200. 

If you look in the printscreen attached you will see on index 0 and index 1 i have data. But i cannot access or return the default value.

 

 

Show the code that produces this output.
Bernhard Schweigert
3996
Bernhard Schweigert 2016.09.08 21:10  
Bogdan Alin Baltatu:

I create a static struct and I load with data.

The struct is an array and the size is 200. 

If you look in the printscreen attached you will see on index 0 and index 1 i have data. But i cannot access or return the default value.

 

 

Happens if array is asked for maybe -1

check code

/
To add comments, please log in or register