Clock: Difference between revisions

From StarLogo Nova Wiki
(Created page with "<section begin=image/> <section end=image/> <section begin="name" />'''<code>clock</code>'''<section end="name" /> is a code block part of the Environment drawer. == Usage== <p id="tooltip"><code>clock</code> refers to the value of the clock, measured in “ticks”. This value increments by 1 after each iteration of the code. The speed that the clock increments is determined by the value of the engine speed slider.</p> ===Syntax=== <code>clock</code> ==Comm...")
 
No edit summary
Line 1: Line 1:
<section begin=image/>
<section begin=image/>
 
[[File:Clock.png|alt=Clock|thumb]]
<section end=image/>
<section end=image/>
<section begin="name" />'''<code>clock</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.
<section begin="name" />'''<code>clock</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.

Revision as of 10:23, 30 November 2022

Clock

clock is a code block part of the Environment drawer.

Usage

clock refers to the value of the clock, measured in “ticks”. This value increments by 1 after each iteration of the code. The speed that the clock increments is determined by the value of the engine speed slider.

Syntax

clock

Common Uses

Mainly used to simulate the passing of time in simulations, and to prompt certain actions to take place during certain points in time.

Nuances

Related Blocks