Dmitry Leonov / Publications
Forum
MQL: Can't define function default values in .mqh file
He there! Question to MQL experts. I can't understand how to define default values for functions in my library. Default values tend to be ignored and I get "wrong parameters count" error message. Here is my example. I created simple test library "experts\libraries\test.mq4": void test(int i = 0) //