NavigationUser loginWho's new
Who's onlineThere are currently 2 users and 483 guests online.
Online users:
Recent blog posts
|
arstrube's blogOptional Function Parameters?Hello, The MT4 documentation says you can create a function with optional parameters thus:
Then, according to the documentation, it should be possible to call the function thus:
and 0 should be substituted for the second argument. Instead, I keep getting the error:
What am I overlooking here? Is there any documentation or book that is more detailed than the MT4 online documentation, maybe? Oh, and here a very important detail. The problem occurs only if the function is external, residing in a library file, and the above declaration is in an mqh file. The library file will compile fine, but the error occurs in the calling expert. By arstrube at 2010-03-03 08:03 | read more
|