Download MetaTrader 5
To add comments, please log in or register
Launch your trading signal and add account monitoring!
Carl Schreiber
5959
Carl Schreiber 2015.02.19 13:42 

Hi,

if I write Debug.. the editor's auto-completion offers two options DebugBreak() and DebugLine?

DebugBreak() is known and documented but what is DebugLine?

If I 'use' it like: Comment("DebugLine: ",DebugLine);

1) I don't get any compiler error even though the variable is not defined!

2) The Comment shows only: "DebugLine: "

3) If I write Comment("DebugLine: ",DebugLine()); I get a compiler error: 'DebugLine' - function not defined 

Alain Verleyen
Moderator
28652
Alain Verleyen 2015.02.19 16:07  
gooly:

Hi,

if I write Debug.. the editor's auto-completion offers two options DebugBreak() and DebugLine?

DebugBreak() is known and documented but what is DebugLine?

If I 'use' it like: Comment("DebugLine: ",DebugLine);

1) I don't get any compiler error even though the variable is not defined!

2) The Comment shows only: "DebugLine: "

3) If I write Comment("DebugLine: ",DebugLine()); I get a compiler error: 'DebugLine' - function not defined 


I don't have this DebugLine, ME build 1085. Don't you define yourself a DebugLine identifier
Carl Schreiber
5959
Carl Schreiber 2015.02.19 17:45  
angevoyageur:
I don't have this DebugLine, ME build 1085. Don't you define yourself a DebugLine identifier

Strange !??

1) If defined but not used I (property strict) would have found s.th. like DebugLine is not used.

2) Ok, I even searched in all open files with Notepad++, where all my .mqh files are opened => Search "DebugLine" (0 hits in 0 files).

3) Nor in the mq4 file directly I can find DebugLine.

4) My (mq4) editor is 1035.

whroeder1
13641
whroeder1 2015.02.19 17:56  
Build 765 doesn't have DebugLine
Alain Verleyen
Moderator
28652
Alain Verleyen 2015.02.19 22:58  
WHRoeder:
Build 765 doesn't have DebugLine

MT4 build 765 is normally using ME build 1035.

I also have ME build 1085 (with MT5).

There is no DebugLine in these 2 ME build.

/
To add comments, please log in or register