Set Data Box To: Difference between revisions
mNo edit summary |
(updates from Blockument) |
||
Line 19: | Line 19: | ||
<!-- <code>set [Dropdown: Data Box Widget] data box to [Textbox: Number]</code> --> | <!-- <code>set [Dropdown: Data Box Widget] data box to [Textbox: Number]</code> --> | ||
Input: | Input: | ||
#a data box from the dropdown menu | #a data box from the dropdown menu | ||
#a number in the socket | |||
==Example== | |||
[[File:set_data_box_to_example.gif|alt=Set Data Box To example gif|thumb]] | |||
[[File:set_data_box_to_example.png|alt=Set Data Box To example code|thumb]] | |||
This is a model of an epidemic. To monitor the spread of the epidemic, data boxes and a line graph have been employed to monitor immune, uninfected, and infected populations. | |||
==Nuances== <!--T:4--> | ==Nuances== <!--T:4--> |
Revision as of 14:10, 14 August 2023
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
Input:
- a data box from the dropdown menu
- a number in the socket
Example
This is a model of an epidemic. To monitor the spread of the epidemic, data boxes and a line graph have been employed to monitor immune, uninfected, and infected populations.