IT SETUP TOOL GET BLOCK

From Macros Wiki
Revision as of 20:59, 29 September 2021 by MikeONeill (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Up

Command

IT_SETUP_TOOL_GET_BLOCK <tool number> [block number] <block make> <block file> [<block name>]


Get the block that is currently assigned to a tool

Parameters

<tool number>
Tool number
<block number>
Block number (if the tool uses stacked blocks), if not specified get first block
<block make>
String variable for the block make (empty string, if no block)
<block name>
String variable for the block filename
<block name>
String variable for the block name

Example

IT_SETUP_TOOL_GET_BLOCK, 4, sMake$, sName$
IT_SETUP_TOOL_GET_BLOCK, 4, sMake$, sFile$, sName$
IT_SETUP_TOOL_GET_BLOCK, 4, 2, sMake$, sFile$
IT_SETUP_TOOL_GET_BLOCK, 4, 2, sMake$, sFile$, sName$