https://bz.apache.org/ooo/show_bug.cgi?id=126272
Adam E.Z. <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|OpenOffice.org Basic |OpenOffice.org Basic |compile error :if statement |compile error : if |followed by Endf If in next |statement followed by End |Line ??? |If - in next Line ??? --- Comment #1 from Adam E.Z. <[email protected]> --- Function Foo(A as Integer) As Integer Dim B as Integer If A > 0 Then ' REM 1 B = 2 ' REM 2 If A > 2 Then B = 3 Else B = 0 ' REM 3 => syntax err End If Foo = B End Function Function Foo2(A as Integer) As Integer Dim B as Integer If A > 0 Then ' REM 1 B = 2 ' REM 2 If A > 2 Then B = 3 Else B = 0 ' REM 3 => NO syntax err End If Foo2 = B End Function -- You are receiving this mail because: You are the assignee for the issue.
