Download MetaTrader 5

what is "Array out of range" error?

To add comments, please log in or register
yijomza
10
yijomza  
i've got this error "Array out of range", what is it?
Documentation on MQL5: MQL5 programs / Runtime Errors
  • www.mql5.com
MQL5 programs / Runtime Errors - Documentation on MQL5
Rashid Umarov
Admin
12165
Rashid Umarov  

For example, you have array with ten elements where their indexes are from 0 to 9

double array[10];

and you try to access to array[-1] or array[10].


To add comments, please log in or register