To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79918
                 Issue #|79918
                 Summary|function/method calls with paramaters in brackets some
                        |times failes
               Component|framework
                 Version|OOo 2.2.1 RC3
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|npower





------- Additional comments from [EMAIL PROTECTED] Mon Jul 23 16:46:14 +0000 
2007 -------
This is a somewhat annoying bug ;-)

Sub Main
' the following are valid in ooo-basic and MS VBA
tester 1,2
tester (1,2)
tester (1,(2+2+3))
' this is valid in VBA but fails in ooo-basic
tester (1+2),3
End Sub

function tester ( param1 as variant, param2 as variant )
msgbox "param1 " & param1 & " param2 " & param2
end function

'tester (1+2),3' fails with "unexpected symbol ','"
so it seems basic will either cater for no 'brackets' or 'brackets' enclosing
all paramaters, when the basic compiler sees the last ')' it assumes all params
are consumed and hence gets very confused by the following ','.

good news is I have a patch that I am testing, hopefully will upload tomorrow 
;-)

---------------------------------------------------------------------
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