Slider Value: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Marked this version for translation)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
<section begin="image"/>
<section begin="image"/>
[[File:Slider value.png|alt=Slider value|thumb]]
[[File:Slider value.png|alt=Slider value|thumb]]
<section end="image" />
<section end="image" /><p id="tooltip">Returns the value of a selected slider.</p>
 
<!--T:7-->
<section begin="name" />{{Block|[▼] slider value}}<section end="name" /> is a code block from the [[Interface]] drawer.
<section begin="name" />{{Block|[▼] slider value}}<section end="name" /> is a code block from the [[Interface]] drawer.


<!--T:2-->
==Usage==
==Usage==
<p id="tooltip">{{Block|[▼] slider value}} refers to the value of a selected slider.</p>
{{Block|[▼] slider value}} refers to the value of a selected slider.
 
<!--T:3-->
==Syntax==
[File:Slider Value.png|right|alt=The Slider Value Block|thumb]]
<!-- <code>[Dropdown: Slider Widget] slider value</code> -->
Inputs:
#a slider from the dropdown menu
 
==Example== <!--T:8-->
 
<!--T:9-->
[[File:slider_value_example.gif|alt=Slider Value example gif|thumb]]
[[File:slider_value_example.png|alt=Slider Value example code|thumb]]


===Syntax===
<!--T:10-->
<code>[Dropdown: Slider Widget] slider value</code>
This is a model of the change in the pH of water following the addition of acid. The slider allows the user to decide how many hydronium ions to add when the ‘add H+’ button is pushed.


==Nuances==
==Nuances== <!--T:4-->


<!--T:5-->
==Related Blocks==
==Related Blocks==
*{{Block|Label|[▼] label}}
*{{Block|Label|[▼] label}}
*{{Block|Data Box|[▼] data box}}
*{{Block|Data Box|[▼] data box}}


<!--T:6-->
[[Category:Interface]]
[[Category:Interface]]
[[Category:Code Block]]
[[Category:Code Block]]
</translate>
</translate>

Latest revision as of 14:26, 14 August 2023

Other languages:


Slider value

Returns the value of a selected slider.

[▼] slider value is a code block from the Interface drawer.

Usage

[▼] slider value refers to the value of a selected slider.

Syntax

[File:Slider Value.png|right|alt=The Slider Value Block|thumb]] Inputs:

  1. a slider from the dropdown menu

Example

Slider Value example code

This is a model of the change in the pH of water following the addition of acid. The slider allows the user to decide how many hydronium ions to add when the ‘add H+’ button is pushed.

Nuances

Related Blocks