[solved] look's like pre increment in while condition is skipping the first increment #1418
Replies: 5 comments
-
Posted at 2020-07-24 by @gfwilliams Wow, thanks. No idea how that happened - and it's been a problem since at least 2v00. I'll get on to a fix for this now |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-24 by @gfwilliams Ok, now fixed (in cutting edge or 2v07) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-24 by @MaBecker Thanks - As quickly as usual! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-24 by @allObjects Neat... I use(d) pre-decrement quite a lot (when walking an array (backwards when direction did not matter)... luckily I used just the
Output:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-28 by DrAzzy
Says something about how often people use do...while() loops doesn't it? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-24 by @MaBecker
Why do this two do while loops produce different output?
Code was running on a PICO_R1_3 with 2v06.49.
Beta Was this translation helpful? Give feedback.
All reactions