BUG report: ArraySize return is wrong New comment Forex Trader 2007.07.23 18:10 string exportSec[]={ "CL_1", "HG_1", "HSI", "N225", "SPT_DXY", "SPT_GLD", "SPT_NDI", "SPT_DJI", }; int secCount = ArraySize(exportSec); Alert("seccount=", secCount); The result is 9! Error in Statement.htm Bug Report List Beta Testing of MetaTrader 5 Has Started! Forex Trader 2007.07.23 18:34 #1 oh, I see, there is an extra comma in the end. New comment
"CL_1",
"HG_1",
"HSI",
"N225",
"SPT_DXY",
"SPT_GLD",
"SPT_NDI",
"SPT_DJI",
};
int secCount = ArraySize(exportSec);
Alert("seccount=", secCount);
The result is 9!