Option Compatible documentation [1] mentions CompatibilityMode() function, as if these two are related to each other. They are not: Option Compatible is compile-time, and CompatibilityMode() controls run-time. The latter relates to Option VBASupport, and if needed on Option Compatible help page at all , that only to clarify that they are *unrelated*, or maybe that using *both* makes program behave as if VBASupport is used. [1] https://help.libreoffice.org/7.2/en-US/text/sbasic/shared/compatible.html
Moving to NEW
Alain Romedenne committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/f62d08a3fb7e4b3e56c06cf643354a2a16a1aaba tdf#145754 Corrections to 'Option Compatible' Basic help page