To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100600
                 Issue #|100600
                 Summary|"If a1 = a2 <> 0 Then" caused basic syntax error
               Component|scripting
                 Version|OOO310m4
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|pflin





------- Additional comments from [email protected] Fri Mar 27 02:57:40 +0000 
2009 -------
The following macros causes basic syntax error in OOo basic, while it could pass
in vb6.

Sub main()
    Dim a1 As Integer
    Dim a2 As Integer
    a1 = 1
    a2 = -1
    If a1 = a2 <> 0 Then
        MsgBox "a1 equals to a2"
    Else
        MsgBox "a1 doesn't equal to a2"
    End If
End Sub

It seems OOo basic fails to compile "If a1 = a2 <> 0 Then"

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to