Set Clock To: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
<section begin=image/>[[File:Set Clock To Nums.png|right|alt=Set Clock To Block|thumb]]<section end=image/> | <section begin=image/>[[File:Set Clock To Nums.png|right|alt=Set Clock To Block|thumb]]<section end=image/> | ||
<!-- <code>set clock to [Textbox: Number]</code> --> | <!-- <code>set clock to [Textbox: Number]</code> --> | ||
Inputs: | |||
#a number | |||
<!--T:5--> | <!--T:5--> |
Revision as of 16:39, 21 July 2023
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.
Syntax
Inputs:
- a number
Common Uses
This is commonly used to reset the clock, which is helpful for each time you run a simulation.