mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-17 20:58:11 +00:00
Issue #21: Added function Print to MtApi (MT5)
This commit is contained in:
Binary file not shown.
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user