+1 888 340 6572

MessageLog: Difference between revisions

From MultiCharts
No edit summary
Line 27: Line 27:
   
   
==== Example ====
==== Example ====
<syntaxhighlight>MessageLog(.1);</syntaxhighlight> will display  0.10 in the PowerLanguage Editor Output Log, with three leading spaces inserted  
<syntaxhighlight>MessageLog(.1);  will display  0.10 in the PowerLanguage Editor Output Log, with three leading  
spaces inserted  


<syntaxhighlight>MessageLog(1.555555:6:3);</syntaxhighlight> will display 1.556 in the PowerLanguage Editor Output Log, with one leading space inserted  
MessageLog(1.555555:6:3);  will display 1.556 in the PowerLanguage Editor Output Log, with one
leading space inserted  


<syntaxhighlight>MessageLog("Current Time is:",CurrentTime:5:0);</syntaxhighlight>  will display the string expression "Current Time is:", followed by the output of the [[CurrentTime]], with one leading space inserted, in the PowerLanguage Editor Output Log
MessageLog("Current Time is:",CurrentTime:5:0); will display the string expression  
"Current Time is:", followed by the output of the CurrentTime, with one leading space inserted, in
the PowerLanguage Editor Output Log</syntaxhighlight>




[[Category:Output]]
[[Category:Output]]