MC-Basic:PrintPoint

From SoftMC-Wiki
Jump to: navigation, search

PrintPoint prints only variables that were declared as a cartesian location (...as Location of...).
The rest of the properties of this command are similar to PRINT command.

Syntax

PRINTPOINT

Availability

FirmWare 0.4.20.1 and newer

Type

Printed Point: String
< (DetectOverflow)Expression>: Long

Range

< (DetectOverflow)Expression>: 0 or 1

Default

If a cartasian location variable was defined with no point redundancy flag the default printpoint will be; {X,Y,Z,R;}

Scope

Configuration, Task or Terminal

Limitations

Variables defined within a task may be queried from outside the task (for example, from the terminal) only when the task is idle. Within a task, local variables are only available if the task is idled in a section of code wherein the local variable was declared.

Examples

common shared PNT as Location of XYZR
PNT = #{0,0,0,0}
--> PrintPoint PNT
#{0 , 0 , 0 , 0 ;}
PNT = #{0,0,0,0;0}
--> PrintPoint PNT
#{0 , 0 , 0 , 0 ; 0}

See Also