GET WG DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
Created page with "{{Up}} {{Command|syntax=GET_TOOL_DATA <tool number>, <parameter>, <variable> |description=:Get tool data. |param1=<tool number>|param1_desc={{tool number}}..."
 
Mikeo (talk | contribs)
No edit summary
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 23: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