To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92329
Issue #|92329
Summary|regression with bracket handling in vba mode
Component|scripting
Version|OOo 3.0 Beta 2
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|ab
Reported by|npower
------- Additional comments from [EMAIL PROTECTED] Thu Jul 31 09:52:14 +0000
2008 -------
seems that issue 75443 introduced ( I suppose not unexpectably ) a corner case
regression, the following doesn't compile in vba mode :-( ( non vba mode works
fine )
Option VBASupport 1
Sub Main()
Dim mTmp() As String
mTmp() = Test(False) '<-- generates an 'unexpected ')' compiler error
MsgBox mTmp(0) & " " & mTmp(1)
End Sub
Function Test(ByVal bFlag As Boolean) As Variant
Dim mRanges(100) As String
If (bFlag = True) Then
Test = "return a String"
Else
mRanges(0) = "return an"
mRanges(1) = "Array"
Test = mRanges()
End If
End Function
---------------------------------------------------------------------
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]