Download MetaTrader 5

Function like Print?

To add comments, please log in or register
MQL5 language supports OpenCL. Try it!
Peter Bočan
89
Peter Bočan 2015.03.03 00:01 
Is there any way how to define function like "Print" in order to pass a number of variables? I'm advanced in C, but I can't see any option how to do it in MQL4. Is it possible? 

Thanks in advance :) 
Enrico Lambino
4320
Enrico Lambino 2015.03.03 04:56  
thepbx:
Is there any way how to define function like "Print" in order to pass a number of variables? I'm advanced in C, but I can't see any option how to do it in MQL4. Is it possible? 

Thanks in advance :) 
There is printf() in MQL4. See http://docs.mql4.com/common/printformat
PrintFormat - MQL4 Documentation
  • docs.mql4.com
PrintFormat - MQL4 Documentation
Peter Bočan
89
Peter Bočan 2015.03.03 10:20  
Yes, but I want to implement my own wrapper around it. 
To add comments, please log in or register