To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=67610 Issue #|67610 Summary|Basic : CompatibilityMode state should be readable Component|scripting Version|OOo 2.0.3 Platform|All URL| OS/Version|Windows XP Status|NEW Status whiteboard| Keywords| Resolution| Issue type|ENHANCEMENT Priority|P3 Subcomponent|code Assigned to|kr Reported by|bmarcelly
------- Additional comments from [EMAIL PROTECTED] Thu Jul 20 05:55:06 -0700 2006 ------- The Basic instruction CompatibilityMode(True) is needed to use some recent features. Once it is set, these features will be available during the run of the Basic script, or until CompatibilityMode(False) is executed. When you create some routines for common use, they can be called by various scripts which may expect CompatibilityMode to be set to True or False. If you change the state in the called routine, the caller may later have a problem. But there is no instruction to test the state of CompatibilityMode, which would help to return it to its previous state at end of the called routine. For example CompatibilityMode() could return the current state as a Boolean like in this snippet. Sub myUsefulRoutine Dim oldState As Boolean oldState = CompatibilityMode() CompatibilityMode(True) ' --- here the code of the routine --- CompatibilityMode(oldState) End Sub I have set this issue as enhancement but I consider it a must when using CompatibilityMode. --------------------------------------------------------------------- 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]
