Label/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
==Syntax== | ==Syntax== | ||
[[File:Label Nums.png|right|alt=The Label Sums Block|thumb]] | |||
<!-- <code>[Dropdown: Label Widget] label</code> --> | <!-- <code>[Dropdown: Label Widget] label</code> --> | ||
Inputs: | Inputs: | ||
#a label from the dropdown screen | #a label from the dropdown screen | ||
==Example== | |||
[[File:set_label_to_example.gif|alt=Label example gif|thumb]] | |||
[[File:label_example.png|alt=Label example code|thumb]] | |||
This is a model of the change in entropy of Argon (Ar) molecules between two configurable situations with respect to volume and temperature. The sliders on the left describe the initial and final conditions. The ‘[[Special:MyLanguage/Clock|clock]]’ label fetches the time and stops the model once 50 ticks have elapsed. | |||
==Nuances== | ==Nuances== | ||
Latest revision as of 15:55, 16 August 2023
Returns the value of a selected label.
[▼] label
is a code block from the Interface drawer.
Usage
[▼] label
refers to the value of a selected label.
Syntax
Inputs:
- a label from the dropdown screen
Example
This is a model of the change in entropy of Argon (Ar) molecules between two configurable situations with respect to volume and temperature. The sliders on the left describe the initial and final conditions. The ‘clock’ label fetches the time and stops the model once 50 ticks have elapsed.