GET PROC DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(10 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.


|param1=<process number>|param1_desc= {{process number}}
|param1=<process number>|param1_desc={{process number}}
|param2=<parameter>|param2_desc= {{parameter}}
|param2=<parameter>|param2_desc={{process_parameter}}
|param3=<value>|param3_desc={{value}}
|param3=<value>|param3_desc={{get data var}}
}}
}}


===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 23: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