Slider Value: Difference between revisions

From StarLogo Nova Wiki
(updates from Blockument)
(Marked this version for translation)
 
Line 21: Line 21:
#a slider from the dropdown menu
#a slider from the dropdown menu


==Example==
==Example== <!--T:8-->


<!--T:9-->
[[File:slider_value_example.gif|alt=Slider Value example gif|thumb]]
[[File:slider_value_example.gif|alt=Slider Value example gif|thumb]]
[[File:slider_value_example.png|alt=Slider Value example code|thumb]]
[[File:slider_value_example.png|alt=Slider Value example code|thumb]]


<!--T:10-->
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.
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.



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