SET OP DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 16: Line 16:
:SET_OP_DATA 12, COMMENT, a$
:SET_OP_DATA 12, COMMENT, a$


[[Category:Tools]]
[[Category:Operations]]

Revision as of 17:21, 29 July 2010

Command

SET_OP_DATA <operation number>, <parameter>, <value>


Set data to be associated with a given operation.

Parameters

<operation number>
Operation number.
<parameter>
One of the following list of parameters
<variable>
A value to assign to the parameter.
The type of value must match the data type of the parameter.
If you are setting a text parameter, then the value must be text string or a string variable. Otherwise use a numeric value or a number variable.

Example

SET_OP_DATA 3, TOOL_NUM, 8
SET_OP_DATA 4, COMMENT, "This is an operation"


tnum = 14
a$ = "My Op Comment"
SET_OP_DATA 12, TOOL_NUM, tnum
SET_OP_DATA 12, COMMENT, a$