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
Line 2: Line 2:


{{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 data associated with a process.


|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 11: 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]]
:For an example macro see [[Use_Saved_Process]]


[[Category:Procs]]
[[Category:Procs]]

Revision as of 23:36, 14 January 2011

Up

Command

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


Get data associated with a process.

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