Unfortunately the "..." syntax is not supported and there doesn't seem to be a formal argument syntax
for declaring variable argument functions. At least I didn't
see it in the documentation or the book.
This capability would also be very useful for defining one's own print function.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi:
I have a function defined as a varags function in my DLL as follows:
I want to do something like this in MQL4 code:
Unfortunately the "..." syntax is not supported and there doesn't seem to be a formal argument syntax for declaring variable argument functions. At least I didn't see it in the documentation or the book.
This capability would also be very useful for defining one's own print function.
Is there a way to do this in MQL4?
Cheers,
Joe