calli:
Usually a trailing backward slash is used for extending a line in most editors.
Hi,
is there a way in the mql4-editor to 'extend' the line?
Hear is what what I mean:
I would prefer for the readability checkB() but the mt4 compiler refuses this:
I would need a char the signals the compiler to add the next line to the previous one.
Does this exist?
Ovo Cz:
Usually a trailing backward slash is used for extending a line in most editors.
Usually a trailing backward slash is used for extending a line in most editors.
Yes - thanks, it works:
#define checkB(var,lim1,lim2) var>lim1 ? 1 \ : var<lim2 ? -1 \ : 0 // this is NOW accepted by the compiler
I couldn't find anything in the reference and I didn't remember what char it was - just there might be one.
Thanks!
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
Hi,
is there a way in the mql4-editor to 'extend' the line?
Hear is what what I mean:
I would prefer for the readability checkB() but the mt4 compiler refuses this:
I would need a char the signals the compiler to add the next line to the previous one.
Does this exist?