Issue #21: Added function Print to MtApi (MT5)

This commit is contained in:
vdemydiuk
2016-10-21 17:52:54 +03:00
parent 094cdcc448
commit 05452e3b90
6 changed files with 78 additions and 12 deletions
BIN
View File
Binary file not shown.
+12
View File
@@ -1692,6 +1692,18 @@ int executeCommand()
sendBooleanResponse(ExpertHandle, IsTesting());
}
break;
case 68: //Print
{
string printMsg;
StringInit(printMsg, 1000, 0);
getStringValue(ExpertHandle, 0, printMsg);
Print(printMsg);
sendBooleanResponse(ExpertHandle, true);
}
break;
default:
Print("Unknown command type = ", commandType);