To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113707
                 Issue #|113707
                 Summary|The names of Basic modules are Public variables
               Component|framework
                 Version|OOo 3.2.1
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|bmarcelly





------- Additional comments from bmarce...@openoffice.org Fri Aug  6 13:07:13 
+0000 2010 -------
This bug appears in all OpenOffice versions (tested on 1.1.5, 3.1.1, 3.2.1) but
I could not find an Issue describing it.

If, in a Basic program, you happen to declare a Public variable of the same name
as one of your modules, or a Sub of the same name, Basic behaves strangely.
Because Basic uses the names of the Basic modules as predefined variables.

In practice this collision is bound to happen on complex programs with several
modules and many Subs and variables, because you sometimes lack of imagination.
The consequence is a huge loss of time to identify the reason of the
incomprehensible behaviour of your complex program.

Next attachment shows, in a very simplified form, different consequences of the
bug. Bear in mind that in real cases codes are much more complex, and for that
reason this issue should be corrected.

---------------------------------------------------------------------
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to