The Print command has no effect in a script? Thank you kindly confirm.

 

Hello,

The Print command has no effect in a script?

Thank you kindly confirm.
 
I can confirm that Print() works correctly in a script.
 
tintin92:

Hello,

The Print command has no effect in a script?

Thank you kindly confirm.
What effect were you looking for ? it does this Print()
 
//+------------------------------------------------------------------+
//|                                                  scriptPrint.mq4 |
//|                        Copyright 2013, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2013, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
//----
   Print("scriptPrint scriptPrint scriptPrint scriptPrint scriptPrint scriptPrint ");
//----
   return(0);
  }
//+------------------------------------------------------------------+
Does nothing.

//+------------------------------------------------------------------+
//|                                                      eaPrint.mq4 |
//|                        Copyright 2013, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2013, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
        Print("eaPrint eaPrint eaPrint eaPrint eaPrint eaPrint eaPrint ");
//----
   return(0);
  }
//+------------------------------------------------------------------+


Give output in the Tab Journal.
 
tintin92:
Does nothing.



Give output in the Tab Journal.

You should be looking in the experts tab when you run a script on your chart . . .

2013.10.16 16:34:16 scriptPrint EURUSD,H1: scriptPrint scriptPrint scriptPrint scriptPrint scriptPrint scriptPrint

 

Thank RaptorUK.
You are right.

Reason: