Stage 0: Loops - #134
Open
Adrianamm wants to merge 8 commits into
Open
Conversation
|
🌐 Preview URL: https://pr-134.frcsoftware.pages.dev |
0verkil
suggested changes
Jul 26, 2026
| // [/whileExample2] | ||
|
|
||
| // [forSyntax] | ||
| rli:ignore |
Contributor
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. |
Contributor
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.
Member
Author
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
Co-authored-by: 0verkil <112268976+0verkil@users.noreply.github.com>
Removed duplicate lockfile key, reverted package upgrades
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: