To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 Issue #|100659 Summary|The type of variable doesn't return correctly Component|scripting Version|OOO310m5 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|kr Reported by|pflin
------- Additional comments from [email protected] Mon Mar 30 03:29:24 +0000 2009 ------- See the attached document public-dim-issue.odt. There are two macro modules 1) The macros in module1 : Option Explicit public a1 as String Sub Main a1 = "Hello Module1" msgbox a1 'error, it returns 0 End Sub ============================== 2) The macros in module2 Option Explicit private a1 as Integer Sub Main a1 = 1 msgbox a1 End Sub ================================= When run Module1.Main, a1 returns 0. It is incorrect. a1 should return "Hello Module1". Notice: a1 is defined as public String in Module1, while defined as private Integer in Module2. --------------------------------------------------------------------- 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]
