Difference between revisions of "GET TOOL DATA"

From Macros Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
{{Command|syntax=GET_TOOL_DATA <tool number>, <parameter>, <variable>
 
{{Command|syntax=GET_TOOL_DATA <tool number>, <parameter>, <variable>
|description=:Get the data of the tool parameter on a certain tool.
+
|description=:Get data associated with a tool.
  
 
|param1=<tool number>|param1_desc={{tool number}}
 
|param1=<tool number>|param1_desc={{tool number}}

Revision as of 18:49, 19 October 2010

Up

Command

GET_TOOL_DATA <tool number>, <parameter>, <variable>


Get data associated with a tool.

Parameters

<tool number>
Tool number
<parameter>
Tool_parameter
<variable>
A number or string variable.
The type of variable must match the data type of the parameter.
If the data you are getting is a text string, then you must specify a string variable. Otherwise use a number variable.

Example

GET_TOOL_DATA 4, MTOOL_LENGTH, l1
GET_TOOL_DATA 3, COMMENT, c$