Hello,
Why does this script produce a out of range ?
Thanks,
//+------------------------------------------------------------------+
//| stOutOfRange.mq5 |
//| Copyright 2018, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2018, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
//---
int array[];
array[0]=1;
Print("array[0] :"+IntegerToString(array[0]));
}
//+------------------------------------------------------------------+