Because I can't compile my code when I use this expression below, I always get the error ('.' - unexpected in macro)
#define FXT_HEADER.size 728
#define FXT_HEADER.intSize 182
read what it says : just don't put a dot in the name of the define
You can't use dots in names. Dots are used in OOP
code since Build 600+
MetaTrader 4 Build 600 with Updated MQL4 Language and Market of Applications Released - iOS Trading Platform - MQL4 programming forum 2014.02.03
MetaTrader 4 Build 600 with Updated MQL4 Language and Market of Applications Released - iOS Trading Platform - MQL4 programming forum 2014.02.03
Hello guys, thanks for the answer, I want to understand why many MQL4 code that I download on the internet has the dot in the name of the variables, how
can people compile this way?
Jorge Dantas:
Hello guys, thanks for the answer, I want to understand why many MQL4 code that I download on the internet has the dot in the name of the variables, how can people compile this way?
Hello guys, thanks for the answer, I want to understand why many MQL4 code that I download on the internet has the dot in the name of the variables, how can people compile this way?
yes it was working before, you need to manually replace each dot then

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register