https://bugs.documentfoundation.org/show_bug.cgi?id=150460

Vladimir Sokolinskiy <so...@comec92.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Vladimir Sokolinskiy <so...@comec92.ru> ---
Now the situation is not clear.
Macro from tdf#150458:

Sub test1
  Dim i As Long, j As Long, k As Long
  k=10
  For i=1 To k
    k=1
    j=i
  Next i

  Msgbox j
End Sub    

shows 1.

If you write like this:
...
  For i=1 To k+0
...

then it shows 10.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to