Difference between revisions of "GET PROC DATA"

From Macros Wiki
Jump to: navigation, search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Procs:Process_Data|{{Up}}]]
 +
 
{{Command|syntax=GET_PROC_DATA <process number>, <parameter>, <value>
 
{{Command|syntax=GET_PROC_DATA <process number>, <parameter>, <value>
|description=*Description*
+
|description=:Get process data.
  
UNFINISHED
+
|param1=<process number>|param1_desc={{process number}}
 
+
|param2=<parameter>|param2_desc={{process_parameter}}
|param1=<tool number>|param1_desc= {{tool number}}
+
|param3=<value>|param3_desc={{get data var}}
|param2=<parameter>|param2_desc= {{process_parameter|parameter}}
 
 
}}
 
}}
  
 
===Example===
 
===Example===
:- GET_TOOL_DATA 3, MTOOL_LENGTH, MyToolLength
+
:GET_PROC_DATA 3, MTHREAD_DIA, d1
 
+
<br>
:- GET_TOOL_DATA 4, COMMENT, MyToolComment$
+
:For an example macro see [[Use_Saved_Process]]
 
 
 
 
  
 
[[Category:Procs]]
 
[[Category:Procs]]

Latest revision as of 19:38, 14 January 2011

Up

Command

GET_PROC_DATA <process number>, <parameter>, <value>


Get process data.

Parameters

<process number>
Process number.
<parameter>
Process_parameter
<value>
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_PROC_DATA 3, MTHREAD_DIA, d1


For an example macro see Use_Saved_Process