[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User mib changed the following: What|Old value |New value Status|RESOLVED |VERIFIED --- Additional comments from m...@openoffice.org Mon Aug 2 12:24:34 + 2010 --- Verified in CWS mib17 (Warning: There is a option vbasupport 1 missing in the bugdoc. Without that option, the test results still in 0 rather than Hello Module1) - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Status|STARTED |RESOLVED Resolution| |FIXED Target milestone|OOo 3.4 |OOo 3.3 --- Additional comments from a...@openoffice.org Mon Jul 5 12:06:26 + 2010 --- OOo 3.3, FIXED - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Target milestone|OOo 3.3 |OOo 3.4 --- Additional comments from a...@openoffice.org Fri Jun 4 10:27:05 + 2010 --- Not enough time left for 3.3 - 3.4 - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from a...@openoffice.org Mon Jan 11 11:16:17 + 2010 --- . - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from a...@openoffice.org Tue Nov 10 12:31:33 + 2009 --- . - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Target milestone|OOo 3.2 |OOo 3.3 --- Additional comments from a...@openoffice.org Mon Sep 7 14:34:37 + 2009 --- OOo 3.3 - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from a...@openoffice.org Tue Sep 1 14:03:12 + 2009 --- ab74 - ab75 - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User npower changed the following: What|Old value |New value Issue type|DEFECT|PATCH --- Additional comments from npo...@openoffice.org Fri Aug 14 10:09:28 + 2009 --- I beg to differ, I think it is directly useable, what is that issue? ( setting back to patch in the mean time ) - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Issue type|PATCH |DEFECT --- Additional comments from a...@openoffice.org Fri Aug 14 09:59:20 + 2009 --- As the patch still is in discussion and not directly usable I change the issue type to defect avoid conflict with the inactivity time rules. - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Target milestone|OOo 3.x |OOo 3.2 --- Additional comments from a...@openoffice.org Fri Aug 14 10:16:29 + 2009 --- Oops, obviously I did not read the complete discussion carefully enough. Sorry So - cws ab74, OOo 3.2 to meet formal cws requirements. - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Status|NEW |STARTED --- Additional comments from a...@openoffice.org Tue Jun 30 07:38:53 + 2009 --- STARTED - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User npower changed the following: What|Old value |New value Attachment is patch| |Created an attachment (id= | |63168) latest patch versio | |n --- Additional comments from npo...@openoffice.org Tue Jun 23 13:58:27 + 2009 --- Created an attachment (id=63168) latest patch version - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User npower changed the following: What|Old value |New value Assigned to|npower|ab --- Additional comments from npo...@openoffice.org Tue Jun 23 14:11:47 + 2009 --- -ab ( let the tennis begin ;-) ) finally I got a chance to look again at this. The main problem is that ( and it's mentioned somewhere below ) is that there is some confusion regarding scope. In 'ordinary' basic public module variables are actually defined at the library level. If you have 2 module variables with the same name then only one will really be used ( as one eclipses the other ). The patch addresses this by really defining module variables at the module level. Note: the comment in the patch about 'SbUserform' ( which dosn't exist yet upstream ) is equally valid for 'SbClassModuleObject' hmm I didn't really address visibility with this patch, e.g. if you have 2 module variables of the same name, both are equally 'visible' say from a third module. Which variable do you get by default? ( I don't know ) but certainly you can qualify them with the Module ( Module2.var, Module2.var etc. ) One would guess that both in VBA which variable you really get if you don't qualify the variable with a module specifier is an implementation detail. Until I come across some 'real' code to force me to obey whatever strange rule that VBA might employ I suggest we ignore this part for now - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from npo...@openoffice.org Tue Jun 23 14:19:41 + 2009 --- Until I come across some 'real' code to force me to obey whatever strange rule that VBA might employ it appears that you can't do this in VBA, the compiler will not allow the ambiguity - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Assigned to|ab|npower Status|STARTED |NEW --- Additional comments from a...@openoffice.org Tue Jun 16 08:35:12 + 2009 --- ab-npower: Sending this issue to you until you got time to have a look - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User kso changed the following: What|Old value |New value Target milestone|--- |OOo 3.x --- Additional comments from k...@openoffice.org Tue May 26 07:17:25 + 2009 --- . - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User ab changed the following: What|Old value |New value Status|NEW |STARTED Issue type|DEFECT|PATCH --- Additional comments from a...@openoffice.org Mon May 18 07:16:33 + 2009 --- - PATCH, STARTED - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from npo...@openoffice.org Mon May 18 08:21:53 + 2009 --- hi andreas, please don't use the patch in this issue, let me try and dig out the latest version ( and erm look again at that newer patch which I meant to do... but didn't yet ) - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User npower changed the following: What|Old value |New value CC|'bmarcelly' |'bmarcelly,npower' - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from npo...@openoffice.org Thu Apr 2 16:32:23 + 2009 --- regarding a), b) c) a) private not private eeek!!!, ok lets forget about that ( I had ) but I disagree about the second part regarding 2 public variables, I would think this is an issue of scope. b) c) I would say are the same thing, vbasupport includes the CompatibilityMode setting the patch though doesn't address the issues fully, also the compatabilitymode awareness part seems wrong, imo those bits shouldn't have been removed. Also because of the way basic treats ( and stores ) module scope variables this problem is a little trickier than it first seems. I think even the order of the compilation of the modules might even cause some problems :-/ needs further investigation - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User bmarcelly changed the following: What|Old value |New value CC|''|'bmarcelly' --- Additional comments from bmarce...@openoffice.org Mon Mar 30 19:29:25 + 2009 --- Remarks on this Issue. The anomaly comes from the handling of Private variables in OOoBasic. A) Without special option, Private variables are in fact Public ! (see Issue 17948) Proof : if you change in module2 the declaration to : public a1 as integer you have exactly the same result, wrong message and no error. I would not say it's a Basic bug, because there are two public declarations on the same variable; the last one is used. It's a programmer bug. If you really want to use Private variables you must use a special option: see solutions B) and C) B) Keep private a1 in module2 and change module1 like this: Option Explicit public a1 as String Sub Main CompatibilityMode(True) ' enforce Private variable handling a1 = Hello Module1 msgbox a1 'error, it returns 0 End Sub then you get a runtime error : undefined variable. This is in my opinion the only real bug. It should display Hello Module1. C) Another option is the VBA mode (which includes the same correction of OOoBasic). Change module1 to this: Option Explicit Option VBASupport 1 ' use VBA compatibility mode public a1 as String Sub Main a1 = Hello Module1 msgbox a1 'error, it returns 0 End Sub then you get the same incorrect runtime error : undefined variable. - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
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 pf...@openoffice.org Mon Mar 30 03:29:24 + 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: issues-unsubscr...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from pf...@openoffice.org Mon Mar 30 03:30:12 + 2009 --- Created an attachment (id=61267) test document to demonstrate this issue - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 --- Additional comments from pf...@openoffice.org Mon Mar 30 03:31:18 + 2009 --- Created an attachment (id=61268) patch to fix this issue - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[script-issues] [Issue 100659] The type of variable does n't return correctly
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100659 User pflin changed the following: What|Old value |New value Assigned to|kr|ab --- Additional comments from pf...@openoffice.org Mon Mar 30 03:32:31 + 2009 --- pflin - ab, do you think the patch is good for you? - 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...@script.openoffice.org For additional commands, e-mail: issues-h...@script.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org