Set Label To: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
==Syntax== | ==Syntax== | ||
<section begin=image/>[[File:SetLabel To Nums.png|right|alt=The Set Label to Block|thumb]]<section end=image/> | <section begin=image/>[[File:SetLabel To Nums.png|right|alt=The Set Label to Block|thumb]]<section end=image/> | ||
<code>set [Dropdown: Label Widget] label to [Textbox: Text/Number]</code> | <!-- <code>set [Dropdown: Label Widget] label to [Textbox: Text/Number]</code> --> | ||
Input: | Input: | ||
#a label from the dropdown menu and then a number into the socket. | #a label from the dropdown menu and then a number into the socket. |
Revision as of 16:07, 31 July 2023
set [▼] label to [_]
is a code block from the Interface drawer.
Usage
set [▼] label to [_]
assigns a value to a selected label. Unlike data boxes, labels do not have a heading and may be assigned text values.
Syntax
Input:
- a label from the dropdown menu and then a number into the socket.