MC-Basic:PrintPointUsing

From SoftMC-Wiki
Revision as of 08:31, 15 August 2019 by Guy (talk | contribs) (in construction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English

Prints formatted numeric variables of type point, using the specified format string. The format string contains literal text to be printed, as well as characters for formatting numeric expressions. The following characters can be used formatting numeric expressions:
       #           digital position

.            decimal position
       +           prints the sign of the expression

^^^^   prints in exponential format

Short form

PrintPointU

Syntax

PrintPointUsing "<format_string>";[<expression>];{[<expression>]}*

Availability

FirmWare 0.4.20.1 and newer

Type

<format_string>: String
<expression>: Point

Scope

Configuration, Task or Terminal

Limitations

Only a single formatting text(containing text and formatting characters) followed by the expressions to print is allowed.

Examples

common shared PNT as Location of XYZR
PNT = #{0,0,0,0}
--> PrintPointUsing "#.###"; PNT
#{0.000 , 0.000 , 0.000 , 0.000 ;}

See Also