For i As Integer = 1 To 5 MessageBox(Str(i)) Next
I’ve just installed 2021 release 1.1 on Mac and Windows.
I’m having issues with looping constructs like For-Next and While-Wend.
Using 2019 R3.2 (Web 1.0), the code above presents consecutive message boxes with 1 then 2 then 3 then 4 then 5. This behaviour is expected.
However, since 2020 R1 through 2021 R1.1 (Web 2.0), the code above presents consecutive message boxes with 4 then 3 then 2 then 1 then 5. This behaviour is unexpected.
The exact same issue when I refactor the code into a While-Wend looping structure.
Same issue on Mac and Windows.
Could someone please confirm.
Kind regards, Andrew