MC-Basic:ROBOTTYPE$

From SoftMC-Wiki
Revision as of 14:17, 12 March 2014 by Nurit (talk | contribs)
Jump to: navigation, search

Returns the name of the robot type of a point as a string. The function will return "NONE" for point inputs without robot types (i.e., list-of-coordinates and uninitialized generic points).

Syntax

<string_variable> = robottype$ (<point_expression>)

Availability

Version 4.9.11 and up.

Type

String

Scope

Configuration, Task, Terminal

Examples

StringVar = ROBOTTYPE$(#{0.0, 10.0, 20.0})

? ROBOTTYPE$(JointVar)

StringVar = ROBOTTYPE$(Robot.PCMD)
 

See Also