Set Clock To/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
No edit summary
Line 11: Line 11:


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
== Usage==
==Usage==
<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.
<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>
Line 18: Line 18:
==Sintaxis==
==Sintaxis==


<section begin=image/>[[File:Set Clock To Nums Es.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
[[File:Set Clock To Nums Es.png|right|alt=The Create Each Do Block|thumb]]


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 19:27, 10 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