[Libreoffice-bugs] [Bug 150460] Change For loop in non-compatibility to calculate bounds once, OR document the details as they are now

2022-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150460 --- Comment #4 from Mike Kaganski --- (In reply to Rafael Lima from comment #3) > I'm getting 1 as result > with AND without "Option VBASupport 1" Indeed. And in case of VBASupport, that *must* be changed, because that mode is created

[Libreoffice-bugs] [Bug 150460] Change For loop in non-compatibility to calculate bounds once, OR document the details as they are now

2022-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150460 --- Comment #3 from Rafael Lima --- I'm not sure I'm doing something wrong here, but I'm getting 1 as result with AND without "Option VBASupport 1" Sub test Dim i As Long, j As Long, k As Long k=10 For i=1 To k k=1 j=i

[Libreoffice-bugs] [Bug 150460] Change For loop in non-compatibility to calculate bounds once, OR document the details as they are now

2022-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150460 --- Comment #2 from Jean-Pierre Ledure --- If we were designing a new system, I would undoubtedly opt for a single computation of the To and Step expressions before the first loop, like in VBA. The actual behaviour however is, in

[Libreoffice-bugs] [Bug 150460] Change For loop in non-compatibility to calculate bounds once, OR document the details as they are now

2022-08-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150460 Vladimir Sokolinskiy changed: What|Removed |Added Ever confirmed|0 |1