Set Data Box To: Difference between revisions
(Created page with "<section begin="image"/> <section end="image"/> <section begin="name" />{{Block|set [▼] data box to [_]}}<section end="name" /> is a code block from the Interface drawer. ==Usage== <p id="tooltip">{{Block|set [▼] data box to [_]}} assigns a value to a selected data box.</p> ===Syntax=== <code>set [Dropdown: Data Box Widget] data box to [Textbox: Number]</code> ==Nuances== ==Related Blocks== *{{Block|Set Label To|set [▼] label to [_]}} *{{Block|Data Box|[...") |
(Marked this version for translation) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
<!--T:1--> | |||
<section begin="image"/> | <section begin="image"/> | ||
[[File:Set data box to.png|alt=Set data box to|thumb]] | |||
<section end="image"/><p id="tooltip">Assigns a value to a selected data box.</p> | |||
< | <!--T:7--> | ||
<section begin="name" />{{Block|set [▼] data box to [_]}}<section end="name" /> is a code block from the [[Interface]] drawer. | <section begin="name" />{{Block|set [▼] data box to [_]}}<section end="name" /> is a code block from the [[Interface]] drawer. | ||
<!--T:2--> | |||
==Usage== | ==Usage== | ||
{{Block|set [▼] data box to [_]}} assigns a value to a selected data box. | |||
<!--T:3--> | |||
==Syntax== | |||
[[File:Set DataBox To Nums.png|right|alt=The Set Data Box To Block|thumb]] | |||
<!-- <code>set [Dropdown: Data Box Widget] data box to [Textbox: Number]</code> --> | |||
Input: | |||
#a data box from the dropdown menu | |||
#a number in the socket | |||
==Example== <!--T:8--> | |||
<!--T:9--> | |||
[[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]] | |||
<!--T:10--> | |||
< | 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== | ==Nuances== <!--T:4--> | ||
<!--T:5--> | |||
==Related Blocks== | ==Related Blocks== | ||
*{{Block|Set Label To|set [▼] label to [_]}} | *{{Block|Set Label To|set [▼] label to [_]}} | ||
*{{Block|Data Box|[▼] data box}} | *{{Block|Data Box|[▼] data box}} | ||
<!--T:6--> | |||
[[Category:Interface]] | [[Category:Interface]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> |
Latest 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.