summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain Romedenne <alain.romedenne@libreoffice.org>2021-10-11 14:24:37 +0200
committerAlain Romedenne <alain.romedenne@libreoffice.org>2021-10-13 14:54:17 +0200
commitc984b1f7c6d08c21aa21413980c0bd4408a88a3a (patch)
tree6d6da29c3006501788284835c16a48332037589f
parentc0b8265b7148b1860bd47c77e072c3c605b208da (diff)
Option Compatible vs. Option VBASupport
Change-Id: Ia0327a4bf584b089fbe839c46cf8a6e6c6c576fb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123394 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/sbasic/shared/compatible.xhp2
-rw-r--r--source/text/sbasic/shared/special_vba_func.xhp3
2 files changed, 3 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/compatible.xhp b/source/text/sbasic/shared/compatible.xhp
index b3e44cd0d0..da69342b83 100644
--- a/source/text/sbasic/shared/compatible.xhp
+++ b/source/text/sbasic/shared/compatible.xhp
@@ -22,7 +22,7 @@
<section id="optioncompatiblestatement">
<h1 id="N0104"><variable id="compatiblestatement"><link href="text/sbasic/shared/compatible.xhp" name="compatible">Option Compatible Statement</link></variable></h1>
- <paragraph role="paragraph" id="N0106"><literal>Option Compatible</literal> turns on the VBA-compatible Basic compiler mode at the module level.</paragraph>
+ <paragraph role="paragraph" id="N0106"><literal>Option Compatible</literal> extends %PRODUCTNAME Basic compiler and runtime, allowing supplemental language constructs to Basic.</paragraph>
</section>
<embed href="text/sbasic/shared/00000003.xhp#beforeexecutable"/>
<note id="par_id931561646897105">The function <link href="text/sbasic/shared/compatibilitymode.xhp" name="copatibilitymode"><literal>CompatibilityMode()</literal></link> controls runtime mode and affects all code executed after setting or resetting the mode.</note>
diff --git a/source/text/sbasic/shared/special_vba_func.xhp b/source/text/sbasic/shared/special_vba_func.xhp
index 8a257ee26b..92e88d44e1 100644
--- a/source/text/sbasic/shared/special_vba_func.xhp
+++ b/source/text/sbasic/shared/special_vba_func.xhp
@@ -41,8 +41,9 @@
<bookmark_value>VBA Statements</bookmark_value>
</bookmark>
<h2 id="hd_id31543446449360">VBA Statements</h2>
- <embed href="text/sbasic/shared/compatible.xhp#optioncompatiblestatement"/>
+ <comment> Option Compatible is not a VBA statement, it extends LibreOffice Basic constructs. </comment>
<embed href="text/sbasic/shared/classmodule.xhp#classmodulefunction"/>
+ <embed href="text/sbasic/shared/03103350.xhp#optionVBASupport"/>
<embed href="text/sbasic/shared/enum.xhp#enumheading"/>
</section>