MQL
MQL document
test.mqh
Go to the documentation of this file.
1 //+------------------------------------------------------------------+
2 //| test.mqh |
3 //| Copyright 2017, MetaQuotes Software Corp. |
4 //| https://www.mql5.com |
5 //+------------------------------------------------------------------+
6 #property copyright "Copyright 2017, MetaQuotes Software Corp."
7 #property link "https://www.mql5.com"
8 
17 #include <test1.mqh>
18 
30 class CTest2: public CTest {
31  public:
32  void CTest2(){str = STR_MACRO;}
33 
38  virtual string GetString(string s) {return(str+s);}
39  private:
40  string str;
41 };
42 
Pretty nice class.
Definition: test1.mqh:39
Pretty nice class.
Definition: test.mqh:30
Testing some var & class with DoxyGen.
void CTest2()
Definition: test.mqh:32
string str
string Var.
Definition: test.mqh:40
#define STR_MACRO
Only string in macro and this is Brief for macro.
Definition: test1.mqh:23
virtual string GetString(string s)
A pure virtual member.
Definition: test.mqh:38