-
Notifications
You must be signed in to change notification settings - Fork 1
For Loops Not Executing Correctly in SimpleScript #1
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededinvalidThis doesn't seem rightThis doesn't seem right
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededinvalidThis doesn't seem rightThis doesn't seem right
For Loops Not Executing Correctly in SimpleScript
Description
In SimpleScript,
forloops do not execute as expected. When using a typical loop likefor (let i = 1; i <= 5; i++), the loop either does not iterate correctly or breaks prematurely. This disrupts core control flow functionality and limits usage in real-world scenarios.Steps to Reproduce
forloop:Expected Behavior
The loop should print the numbers from 1 through 5:
Actual Behavior
The output either shows only the first value, skips iterations, or nothing is printed at all.
Possible Causes
forloop structureEnvironment
mainAdditional Context
This issue affects the usability of SimpleScript in basic looping tasks and may hinder educational use cases. A fix should ensure:
Please investigate and fix the issue. Happy to test and provide feedback!
Thanks for your hard work!