GET OP DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
Line 10: Line 10:


===Example===
===Example===
:GET_OP_DATA 3, TOOL_NUMBER, MyOpToolNumber
:GET_OP_DATA 3, TOOL_NUM, MyOpToolNumber


:GET_OP_DATA 4, COMMENT, MyOpComment$
:GET_OP_DATA 4, COMMENT, MyOpComment$

Latest revision as of 14:42, 24 September 2014

Up

Command

GET_OP_DATA <operation number>, <parameter>, <variable>


Get data associated with the given operation number.

Parameters

<operation number>
Operation number.
<parameter>
One of the following list of parameters
<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_OP_DATA 3, TOOL_NUM, MyOpToolNumber
GET_OP_DATA 4, COMMENT, MyOpComment$