Set Label To: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
<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: | |||
#a label from the dropdown menu and then a number into the socket. | |||
==Nuances== <!--T:4--> | ==Nuances== <!--T:4--> |
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
set [Dropdown: Label Widget] label to [Textbox: Text/Number]
Input:
- a label from the dropdown menu and then a number into the socket.