https://bugs.freedesktop.org/show_bug.cgi?id=85371

--- Comment #2 from [email protected] ---
There seem to be more problems with using the function name as a variable
inside the function. It can not be used as the loop variable in a For ... Next
loop. 

Sub Main
Print foob()
Print fool()
End Sub

'This surrogate works 
Function foob() As long
foob = 1 
LoopLable:
  Print foob
  foob = foob + 1
If foob < 4 Then Goto LoopLable 
End Function

'While the For ... Next doesn't
Function fooc() As long
For fooc = 1 To 3
  Print fooc
Next fooc
End Function

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to