Set Label To: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
No edit summary
Line 13: Line 13:


<!--T:3-->
<!--T:3-->
===Syntax===
==Syntax==
<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>



Revision as of 20:43, 24 July 2023

Other languages:


Set label to

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

The Set Label to Block

set [Dropdown: Label Widget] label to [Textbox: Text/Number]

Nuances

Related Blocks