Label

From StarLogo Nova Wiki
Revision as of 14:24, 14 August 2023 by Admin (talk | contribs) (updates from Blockument)
Other languages:


label

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

The Label Sums Block

Inputs:

  1. a label from the dropdown screen

Example

Label example code

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.

Nuances

Related Blocks