Set Clock To/es: Difference between revisions

From StarLogo Nova Wiki
(Created page with "<section begin=image/> alt=Set clock to|thumb <section end=image/> <section begin="name" />'''<code>set clock to [_]</code>'''<section end="name" /> is a code block part of the Ambiente drawer.")
 
No edit summary
Line 2: Line 2:


<section begin=image/>
<section begin=image/>
[[File:Set clock to.png|alt=Set clock to|thumb]]
[[File:SetearReloja.png|alt=Set clock to|thumb]]
<section end=image/>
<section end=image/>
<section begin="name" />'''<code>set clock to [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Ambiente]] drawer.
<section begin="name" />'''<code>set clock to [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Ambiente]] drawer.

Revision as of 20:27, 29 June 2023

Other languages:


Set clock to

set clock to [_] is a code block part of the Ambiente drawer.

Usage

set clock to [_] sets the value of clock to some number. Typically, when you reset the clock, you want to start it at 0.

Syntax

set clock to [Textbox: Number]

Common Uses

This is commonly used to reset the clock, which is helpful for each time you run a simulation.

Nuances

Related Blocks