To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70700
User ab changed the following:
What |Old value |New value
================================================================================
Status|NEW |RESOLVED
--------------------------------------------------------------------------------
Resolution| |INVALID
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Mon Oct 30 02:54:33 -0800
2006 -------
No, CompatibilityMode() has not been introduced to enforce private declarations.
CompatibilityMode(true) has the meaning "Behave compatible to VB(A)" and there
has never been any different meaning. CompatibilityMode is important as it al-
lows to change the behaviour of existing runtime functions in order to make
them VB compatible without breaking existing code not using CompatibilityMode.
Making private declarations really private is only one example amongst many
other changes covered by CompatibilityMode(true).
Also Mid has been changed. In CompatibilityMode it's possible now to use the
correct VB syntax: Mid(test, 3, 3) = "Y". Internally this is mapped to the old
Mid(test, 3, 3, "Y"), but of course also the result must be the same as in VB.
As this hasn't been the case it had to be fixed. Your "false" result is the
correct VB result and that's what I expect in a VB compatibility mode. As you
wrote VB doesn't even know Mid with four arguments. The CompatibilityMode is
designed to run correct VB programs correctly, the behaviour of incorrect VB
programs is not specified.
So when using CompatibilityMode(true) Basic programmers must be aware of the
fact that the behaviour of runtime functions may differ from the former beha-
viour and that there could be even more changes in the future. You can only
decide if you want to use the CompatibilityMode completely or not at all.
There's no way to only pick a detail you like. -> INVALID
---------------------------------------------------------------------
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]