I am getting the compilation error: unresolved static variable 'CMyCommand::lstTransactions'
Any ideas?
Don't use static variable
Perhaps you should read the manual. Especially the first example.
Language
Basics / Object-Oriented Programming / Static Members of a Class - Reference on algorithmic/automated trading language for
MetaTrader 5
Perhaps you should read the manual. Especially the first example.
Language
Basics / Object-Oriented Programming / Static Members of a Class - Reference on algorithmic/automated trading language for
MetaTrader 5
I got your point. I should give initial value to the static array. However, If I do it, how can i resize the array? My goal is to use it as a List<myTransaction> in order to add and remove items.
If this approach is not proper, could you suggest me another approach, please?
- How can you give initial values to an array with no size?
- You already posted code that resizes an array. You already know how.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am getting the compilation error: unresolved static variable 'CMyCommand::lstTransactions'
Any ideas?