To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91693





------- Additional comments from [EMAIL PROTECTED] Fri Jul 18 02:24:24 +0000 
2008 -------
pflin -> bmarcelly, thanks for your quick respond.

>IMHO this is not a bug and this Issue should be rejected.

The statement "If Not r Is Nothing Then" is common to use in MS Office, and can
work in MSO, but fail to work in OOo Basic.
IMHO it would be better if the statement can work in OOo basic too.

> Your patch will probably give to operator IS a higher priority than to
operator NOT.

For my test, the statement "If (Not r) Is Nothing Then" will cause error in MSO
if r is a object variable. 
So in this case, I think
1) Unary operator NOT applies to the next argument which is a object variable r,
will cause error.
2) operator IS should be a higher priority than to operator NOT, so the
statement "If Not r Is Nothing Then" can work

> Giving to a binary operator a priority higher than to a unary operator would
be contrary to usual rules.
I don't expect to break the usual rules. But for this case, it need to process
specially.


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