IT SETUP TOOL GET MATCHING BLOCK

From Macros Wiki
Jump to navigationJump to search

Up

Command

IT_SETUP_TOOL_GET_MATCHING_BLOCK <tool number> <index> <block make> <block name>


Get a one of the blocks that matches the filters used for a tool

Parameters

<tool number>
Tool number
<index>
Index to the list of matching blocks (1=first matching block)
<block make>
String variable for the block make
<block name>
String variable for the block name

Example

IT_SETUP_TOOL_GET_NUM_MATCHING_BLOCKS, 4, iNumBlocks
FOR i=1 TO iNumBlocks
   IT_SETUP_TOOL_GET_MATCHING_BLOCK 4, i, a$, b$
   MESSAGE "Matching block %i of %iNumBlocks. Make = %a$, name = %b$"
NEXT i

[[Category:IT_Setup_Data]