Difference between revisions of "GET PROC DATA"

From Macros Wiki
Jump to: navigation, search
 
(6 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=Get data from a process with various parameters.
+
|description=:Get process data.
  
|param1=<process number>|param1_desc= {{process number}}
+
|param1=<process number>|param1_desc={{process number}}
|param2=<parameter>|param2_desc= {{process_parameter}}
+
|param2=<parameter>|param2_desc={{process_parameter}}
 
|param3=<value>|param3_desc={{get data var}}
 
|param3=<value>|param3_desc={{get data var}}
 
}}
 
}}
Line 9: Line 11:
 
===Example===
 
===Example===
 
:GET_PROC_DATA 3, MTHREAD_DIA, d1
 
:GET_PROC_DATA 3, MTHREAD_DIA, d1
 
+
<br>
 
+
:For an example macro see [[Use_Saved_Process]]
  
 
[[Category:Procs]]
 
[[Category:Procs]]

Latest revision as of 18: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