Anonymous user
Print: Difference between revisions
From MultiCharts
→Parameters
(Created page with "Sends one or more specified expressions to the PowerLanguage Editor Output Log or another output target, if specified. Any combination of string, true/false, numerical series,...") |
|||
Line 7: | Line 7: | ||
==== Parameters ==== | ==== Parameters ==== | ||
[[OutputTarget] - an optional parameter; specifies an output target other then the PowerLanguage Editor Output Log; the parameter must be followed by a comma. | [[OutputTarget]] - an optional parameter; specifies an output target other then the PowerLanguage Editor Output Log; the parameter must be followed by a comma. | ||
There are two optional output targets: | There are two optional output targets: | ||
Line 41: | Line 41: | ||
If the number of decimal places in the numerical expression is more than the specified number, the value will be will be rounded off to the specified number of decimal places. | If the number of decimal places in the numerical expression is more than the specified number, the value will be will be rounded off to the specified number of decimal places. | ||
If the number of characters in the output is less than the specified minimum, leading spaces will be added to bring the output to the specified minimum value. | If the number of characters in the output is less than the specified minimum, leading spaces will be added to bring the output to the specified minimum value. | ||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight>Print(.1);</syntaxhighlight> will print 0.10 in the PowerLanguage Editor Output Log, with three leading spaces inserted | <syntaxhighlight>Print(.1);</syntaxhighlight> will print 0.10 in the PowerLanguage Editor Output Log, with three leading spaces inserted |