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
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
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
https://bugs.documentfoundation.org/show_bug.cgi?id=150460
Vladimir Sokolinskiy changed:
What|Removed |Added
Ever confirmed|0 |1