Difference between revisions of "MC-Basic:ROBOTTYPE$"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Version 4.9.11 and up." to "Since Version 4.9.11")
Line 7: Line 7:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Version 4.9.11 and up.
+
Since Version 4.9.11
 
|DESCRIPTION=
 
|DESCRIPTION=
 
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).   
 
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).   

Revision as of 14:42, 20 March 2014

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

Since Version 4.9.11

Type

String

Scope

Configuration, Task, Terminal

Examples

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

? ROBOTTYPE$(JointVar)

StringVar = ROBOTTYPE$(Robot.PCMD)
 

See Also