What is DebugLine?

Back to topics list To post a new topic, please log in or register
avatar
2017
gooly 2015.02.19 14: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 


avatar
Moderator
3206
angevoyageur 2015.02.19 17: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
avatar
2017
gooly 2015.02.19 18: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.


avatar
12988
WHRoeder 2015.02.19 18:56 #
 
Build 765 doesn't have DebugLine
avatar
Moderator
3206
angevoyageur 2015.02.19 23: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.

Back to topics list  

To add comments, please log in or register