Set Data Box 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 3: Line 3:
<section begin="image"/>
<section begin="image"/>
[[File:Set data box to.png|alt=Set data box to|thumb]]
[[File:Set data box to.png|alt=Set data box to|thumb]]
<section end="image"/>
<section end="image"/><p id="tooltip">Assigns a value to a selected data box.</p>
 
<section begin="name" />{{Block|set [▼] data box to [_]}}<section end="name" /> is a code block from the [[Interface]] drawer.
<section begin="name" />{{Block|set [▼] data box to [_]}}<section end="name" /> is a code block from the [[Interface]] drawer.


==Usage==
==Usage==
<p id="tooltip">{{Block|set [▼] data box to [_]}} assigns a value to a selected data box.</p>
{{Block|set [▼] data box to [_]}} assigns a value to a selected data box.


===Syntax===
==Syntax==
<code>set [Dropdown: Data Box Widget] data box to [Textbox: Number]</code>
<section begin=image/>[[File:Set DataBox To Nums.png|right|alt=The Set Data Box To Block|thumb]]<section end=image/>
<!-- <code>set [Dropdown: Data Box Widget] data box to [Textbox: Number]</code> -->
Input:
#a data box from the dropdown menu and then a number in the socket


==Nuances==
==Nuances==

Revision as of 15:07, 8 August 2023

Other languages:


Set data box to

Assigns a value to a selected data box.

set [▼] data box to [_] is a code block from the Interface drawer.

Usage

set [▼] data box to [_] assigns a value to a selected data box.

Syntax

The Set Data Box To Block

Input:

  1. a data box from the dropdown menu and then a number in the socket

Nuances

Related Blocks