To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=69930 Issue #|69930 Summary|Functions allowed as LVALUES in Basic Component|api Version|OOo 2.0.3 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|ab Reported by|terrye
------- Additional comments from [EMAIL PROTECTED] Thu Sep 28 00:35:00 -0700 2006 ------- In OO Basic functions are tolerated as Lvalues (This is not the case in VBA). Sub main() b = 1 MsgBox b End Sub Function b() b = 3 End Function This prints out 3. This is particularly dangerous where programmers are NOT using "Option Explicit" and have the routine in a separate module, so they think that they are using an implicitly declared local variable. OOB should throw up a compile error if functions are used as LVALUES as does VBA. --------------------------------------------------------------------- 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]