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





------- Additional comments from [EMAIL PROTECTED] Wed Oct 26 09:29:42 -0700 
2005 -------
Andreas :-) you've confused me I'm afraid,

>For a long time is has been completely
>ignored that a variable has been declared as private, it has been handled just
>as if it was public. This is fixed now but the correct behaviour depends on the
>compatibility mode as otherwise old programs could be broken

But the default compatability mode is false isn't it? so it seems old code will
run happily using a private variable from other modules ( in otherwords the
scoping rules are ignored ), surely thats not good? it would seem more sensible
to impose the correct ( as in an error is generated if you do that ) by default
and offer a fallback via configuration or something for older code. Maybe I
don't understand what exactly the compatability mode is for ( didn't see it
documented ) mmm actually there two of them, theres that other one you can set
via 'OPTION' as well. 'tis a bit confusing.

>If you use it in the module where it's not
>declared, you don't really use a illegally created module variable but you use 
>>the
>other module's variable although it's private

I disagree here, if option EXPLICIT is set then all variables should be declared
right?, but using a variable declared as private in another module imo breaks
that, especially since a private variable has by definition module scope only,
the module the variable is used in ( but not defined in ) surely should have no
knowledge of this variable true?


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