Set Label To/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 11: Line 11:


==Syntax==
==Syntax==
<section begin=image/>[[File:SetLabel To Nums.png|right|alt=The Set Label to Block|thumb]]<section end=image/>
[[File:SetLabel To Nums.png|right|alt=The Set Label to Block|thumb]]
<!-- <code>set [Dropdown: Label Widget] label to [Textbox: Text/Number]</code> -->
<!-- <code>set [Dropdown: Label Widget] label to [Textbox: Text/Number]</code> -->
Input:
Input:

Revision as of 19:25, 10 August 2023

Other languages:


Set label to

Assigns a value to a selected label.

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

Input:

  1. a label from the dropdown menu and then a number into the socket.

Nuances

Related Blocks