MC-Basic:ROBOTTYPE$

From SoftMC-Wiki
Revision as of 14:59, 6 November 2012 by Nurit (talk | contribs) (ROBOTTYPE$)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the robot type of a point as a long-type numeric value. The function will return zero for point inputs without robot types (i.e., list-of-coordinates and uninitialized generic points).

Syntax

<long_variable> = robottype$ (<string_expression>)

Availability

Version 4.9.11 and up.

Type

Long

Scope

Configuration, Task, Terminal

Examples

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

? ROBOTTYPE$("JointVar")

LongVar = ROBOTTYPE$("Robot.PCMD")