Difference between revisions of "GET WG DATA"

From Macros Wiki
Jump to: navigation, search
(Created page with "{{Up}} {{Command|syntax=GET_TOOL_DATA <tool number>, <parameter>, <variable> |description=:Get tool data. |param1=<tool number>|param1_desc={{tool number}}...")
 
Line 1: Line 1:
[[:Tools:Tool_Data|{{Up}}]]
+
[[:Category:Work_Groups|{{Up}}]]
  
{{Command|syntax=GET_TOOL_DATA <tool number>, <parameter>, <variable>
+
{{Command|syntax=GET_WG_DATA <wg number>, <parameter>, <variable>
|description=:Get tool data.
+
|description=:Get WorkGroup data.
  
|param1=<tool number>|param1_desc={{tool number}}
+
|param1=<tool number>|param1_desc={{wg number}}
|param2=<parameter>|param2_desc={{Tool_parameter}}
+
|param2=<parameter>|param2_desc={{wg_parameter}}
 
|param3=<variable>|param3_desc={{get data var}}
 
|param3=<variable>|param3_desc={{get data var}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:GET_TOOL_DATA 4, MTOOL_LENGTH, l1
+
:GET_WG_DATA 3, TYPE, iType
:GET_TOOL_DATA 3, COMMENT, c$
+
:GET_WG_DATA 3, WRAPPED, iWrapped
  
[[Category:Tools]]
+
[[Category:Work_Groups]]

Revision as of 18:13, 24 January 2011

Up

Command

GET_WG_DATA <wg number>, <parameter>, <variable>


Get WorkGroup data.

Parameters

<tool number>
Workgroup number.
<parameter>
Wg Parameter
<variable>
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_WG_DATA 3, TYPE, iType
GET_WG_DATA 3, WRAPPED, iWrapped