Stage 0: Loops - #134
Conversation
|
🌐 Preview URL: https://pr-134.frcsoftware.pages.dev |
| // [/whileExample2] | ||
|
|
||
| // [forSyntax] | ||
| rli:ignore |
There was a problem hiding this comment.
Not sure how to do it, but it would be nice if the rli:ignore wouldn't show up in the final code block. Maybe if it goes above the comment?
|
|
||
| ``` | ||
|
|
||
| `timer` now increments by 1 each time the loop is run, and the robot will stop driving after 7 seconds. |
There was a problem hiding this comment.
not sure how much nuance is needed here, but I hesitate on this example because it's 7 loops, not seconds, which could be confusing when they try to write the same code later and it doesn't wait for 7 seconds. would appreciate someone else's input here.
There was a problem hiding this comment.
Would a normal not robot example be better? So just a while loop that counts up to 5
There was a problem hiding this comment.
that's what i was thinking, but i'm not sure if this will actually be confusing tbh
Co-authored-by: 0verkil <112268976+0verkil@users.noreply.github.com>
Removed duplicate lockfile key, reverted package upgrades
Description
What changed? Why? (the code + comments should speak for itself on the "how")
Added information for Loops. This is for Stage 0 so it's needed
Meta
Merge checklist: