To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=116948 Issue #|116948 Summary|Basic: IsMissing not correct when calling sub with par |ameter names Component|framework Version|DEV300m98 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|scripting Assigned to|ab Reported by|dr
------- Additional comments from [email protected] Mon Feb 14 08:49:50 +0000 2011 ------- Calling "Main" in the following Basic-Code should result in a message box showing the text "p2=2". OOo shows "p1= , p2=2" instead. => p1 does not get the "IsMissing" flag when Test is called with parameter "p2:=2". Using the call "Test , 2" works as expected. Sub Main Test p2:=2 End Sub Sub Test(Optional p1, Optional p2) If Not IsMissing(p1) Then a = "p1=" & p1 If Not IsMissing(p2) Then a = a & " p2=" & p2 MsgBox a End Sub --------------------------------------------------------------------- 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]
