Closed fkinoshita closed 1 year ago
Hi, I hope it's okay to ask here but if it isn't feel free to close it!
I have implemented the while loop and it works fine but I can't modify variables from the outer scope from the while loop block.
Take this code for example:
var i = 1; while (i <= 10) { i = i + 1; print i; }
This creates an infinite loop, am I missing something?
Hi, I hope it's okay to ask here but if it isn't feel free to close it!
I have implemented the while loop and it works fine but I can't modify variables from the outer scope from the while loop block.
Take this code for example:
This creates an infinite loop, am I missing something?