Set Clock To/es: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Updating to match new version of source page)
Line 5: Line 5:
<section end=image/>
<section end=image/>
<section begin="name" />'''<code>set clock to [_]</code>'''<section end="name" /> is a [[Special:MyLanguage/code block|bloque de código]] part of the [[Special:MyLanguage/Environment|ambiente]] drawer.
<section begin="name" />'''<code>set clock to [_]</code>'''<section end="name" /> is a [[Special:MyLanguage/code block|bloque de código]] part of the [[Special:MyLanguage/Environment|ambiente]] drawer.
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="name" />'''<code>set clock to [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
== Usage==
== Usage==
<p id="tooltip"><code>set clock to [_]</code> sets the value of clock to some number. Typically, when you reset the clock, you want to start it at 0.</p>
<code>set clock to [_]</code> sets the value of clock to some number. Typically, when you reset the clock, you want to start it at 0.
</div>
</div>



Revision as of 15:02, 8 August 2023

Other languages:


Set clock to

set clock to [_] is a bloque de código part of the ambiente drawer.

set clock to [_] is a code block part of the Environment 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.

Sintaxis

The Create Each Do Block

Common Uses

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

Nuances

Related Blocks