Timeline for Moving a continue condition into the for loop produced something NOT logically equivalent?
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Jun 17, 2018 at 1:25 | history | suggested | Rodia | CC BY-SA 4.0 |
Replaced blacklisted 'hexagon' tag with 'hexagonal-grid'
|
| Jun 17, 2018 at 0:57 | review | Suggested edits | |||
| S Jun 17, 2018 at 1:25 | |||||
| Aug 27, 2016 at 6:51 | vote | accept | DrZ214 | ||
| Aug 26, 2016 at 11:17 | answer | added | mmmd | timeline score: 2 | |
| S Aug 26, 2016 at 10:33 | history | suggested | user35344 | CC BY-SA 3.0 |
removed the part about the "loop" tag
|
| Aug 26, 2016 at 9:54 | review | Suggested edits | |||
| S Aug 26, 2016 at 10:33 | |||||
| Aug 26, 2016 at 9:37 | comment | added | lozzajp | @DrZ214 Ah I see what you mean, you "moved" the continue to the for loop condition. The answer below is what you want to see, as it says the inner for loop is exiting and returning control to the next iteration of i in the outer loop. | |
| Aug 26, 2016 at 9:35 | history | edited | DrZ214 | CC BY-SA 3.0 |
added 75 characters in body
|
| Aug 26, 2016 at 9:34 | comment | added | DrZ214 | @lozzajp It's not only commenting out the continue condition. I moved it to the inner for loop (but negated it because the for loop is like a do while whereas the inline thing was like a do until). | |
| Aug 26, 2016 at 8:27 | answer | added | bornander | timeline score: 3 | |
| Aug 26, 2016 at 7:58 | comment | added | lozzajp | Wait, commenting out the continue draws only half a grid? Have you got your two snippets mixed up? | |
| Aug 26, 2016 at 6:31 | review | Close votes | |||
| Sep 1, 2016 at 3:03 | |||||
| Aug 26, 2016 at 6:14 | comment | added | Kromster | You need to step through your code in debugger and see what exactly is happening. | |
| Aug 26, 2016 at 5:59 | history | asked | DrZ214 | CC BY-SA 3.0 |