static int array[] - error in new Terminal
declare array on global scope.
int a[];you can resize anytime, but declare array on global scope.
Forum on trading, automated trading systems and testing trading strategies
Ilyas, 2015.09.29 11:13
Thank you for your message error reproduced. Fix.
Hi
The new build of the Termianl does not allow an array declared in the function as static.
Example:
The Compiler does not complain about it. But the Terminal does (4.00 build 890, 32-bit)
Access violation write to 0x00000008I used to have these type of arrays before which would keep its contents every time I call the function. The intend was to avoid declaring an array on a global scope.
Any ideas how to implement this idea?