summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAlain Romedenne <pyoffice.romedenne@sfr.fr>2019-01-23 19:02:00 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-01-24 11:50:31 +0100
commit441f600d210bd69e4c485c1520eff55a42aa0a2c (patch)
tree686bd3cececf1bd001af7fa84e6331554044a9a1 /source
parent85757c5b58b7fed1535d787053d4361d32e1374c (diff)
tdf#114263 Undocumented BASIC Options
Option Compatible Option ClassModule Change-Id: Ieb07fddb216f4f8cc26089a30226da5760b0065e Reviewed-on: https://gerrit.libreoffice.org/66824 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r--source/auxiliary/sbasic.tree3
-rw-r--r--source/text/sbasic/shared/00000003.xhp3
-rw-r--r--source/text/sbasic/shared/03090407.xhp14
-rw-r--r--source/text/sbasic/shared/03103200.xhp13
-rw-r--r--source/text/sbasic/shared/03103300.xhp15
-rw-r--r--source/text/sbasic/shared/03103350.xhp20
-rw-r--r--source/text/sbasic/shared/classmodule.xhp60
-rw-r--r--source/text/sbasic/shared/compatible.xhp73
8 files changed, 164 insertions, 37 deletions
diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index 2bc0305b6f..58fc08930a 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -78,6 +78,7 @@
<topic id="sbasic/text/sbasic/shared/03100060.xhp">CDec Function</topic>
<topic id="sbasic/text/sbasic/shared/03100500.xhp">CInt Function</topic>
<topic id="sbasic/text/sbasic/shared/03100600.xhp">CLng Function</topic>
+ <topic id="sbasic/text/sbasic/shared/compatible.xhp">CompatibilityMode Function</topic>
<topic id="sbasic/text/sbasic/shared/03100900.xhp">CSng Function</topic>
<topic id="sbasic/text/sbasic/shared/03101000.xhp">CStr Function</topic>
<topic id="sbasic/text/sbasic/shared/03090401.xhp">Call Statement</topic>
@@ -220,6 +221,8 @@
<topic id="sbasic/text/sbasic/shared/03090303.xhp">On...GoSub Statement; On...GoTo Statement</topic>
<topic id="sbasic/text/sbasic/shared/03020103.xhp">Open Statement</topic>
<topic id="sbasic/text/sbasic/shared/03103200.xhp">Option Base Statement</topic>
+ <topic id="sbasic/text/sbasic/shared/classmodule.xhp">Option ClassModule statement</topic>
+ <topic id="sbasic/text/sbasic/shared/compatible.xhp">Option Compatible statement</topic>
<topic id="sbasic/text/sbasic/shared/03103300.xhp">Option Explicit Statement</topic>
<topic id="sbasic/text/sbasic/shared/03103350.xhp">Option VBASupport Statement</topic>
<topic id="sbasic/text/sbasic/shared/03104100.xhp">Optional (in Function Statement)</topic>
diff --git a/source/text/sbasic/shared/00000003.xhp b/source/text/sbasic/shared/00000003.xhp
index a56925dcde..fd5df791d7 100644
--- a/source/text/sbasic/shared/00000003.xhp
+++ b/source/text/sbasic/shared/00000003.xhp
@@ -189,6 +189,9 @@
<section id="vbasupport">
<paragraph id="par_id051920171018124524" role="warning" xml-lang="en-US">This function or constant is enabled with the statement <item type="literal">Option VBASupport 1</item> placed before the executable program code in a module.</paragraph>
</section>
+<section id="beforeexecutable">
+ <warning id="par_id3145172">This statement must be added before the executable program code in a module.</warning>
+</section>
<section id="functsyntax">
<paragraph id="hd_id061420171139089682" role="heading" level="2" xml-lang="en-US"><variable id="functsyntax">Syntax:</variable></paragraph>
diff --git a/source/text/sbasic/shared/03090407.xhp b/source/text/sbasic/shared/03090407.xhp
index bdfb4784c0..360c6fbdd1 100644
--- a/source/text/sbasic/shared/03090407.xhp
+++ b/source/text/sbasic/shared/03090407.xhp
@@ -35,21 +35,19 @@
</bookmark>
-<paragraph id="hd_id3154347" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03090407.xhp" name="Rem Statement">Rem Statement</link></paragraph>
+<h1 id="hd_id3154347"><variable id="remstatement"><link href="text/sbasic/shared/03090407.xhp" name="Rem Statement">Rem Statement</link></variable></h1>
<paragraph id="par_id3153525" role="paragraph" xml-lang="en-US">Specifies that a program line is a comment.</paragraph>
</section>
-<paragraph id="hd_id3153360" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
-<bascode>
-<paragraph id="par_id3154141" role="bascode" xml-lang="en-US">Rem Text</paragraph>
-</bascode>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<paragraph id="par_id3154141" role="code" xml-lang="en-US">Rem Text</paragraph>
-<paragraph id="hd_id3151042" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3150869" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any text that serves as a comment.</paragraph>
<paragraph id="par_id3147318" role="tip" xml-lang="en-US">You can use the single quotation mark instead of the Rem keyword to indicate that the text on a line is comments. This symbol can be inserted directly to the right of the program code, followed by a comment.</paragraph>
<paragraph id="par_id6187017" role="note" xml-lang="en-US">You can use a space followed by the underline character _ as the last two characters of a line to continue the logical line on the next line. To continue comment lines, you must enter "Option Compatible" in the same Basic module.</paragraph>
-<paragraph id="hd_id3150012" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_idm1340926544" role="bascode" localize="false" xml-lang="en-US">Sub ExampleMid</paragraph>
<paragraph id="par_idm1340925312" role="bascode" localize="false" xml-lang="en-US">Dim sVar As String</paragraph>
@@ -60,4 +58,4 @@
</bascode>
</body>
-</helpdocument> \ No newline at end of file
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103200.xhp b/source/text/sbasic/shared/03103200.xhp
index 33560b1e31..d7418435a8 100644
--- a/source/text/sbasic/shared/03103200.xhp
+++ b/source/text/sbasic/shared/03103200.xhp
@@ -32,19 +32,17 @@
<bookmark_value>Option Base statement</bookmark_value>
</bookmark>
-<paragraph id="hd_id3155805" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03103200.xhp" name="Option Base Statement">Option Base Statement</link></paragraph>
+<h1 id="hd_id3155805"><variable id="optionbasestatement"><link href="text/sbasic/shared/03103200.xhp" name="Option Base Statement">Option Base Statement</link></variable></h1>
<paragraph id="par_id3147242" role="paragraph" xml-lang="en-US">Defines the default lower boundary for arrays as 0 or 1.</paragraph>
</section>
-<paragraph id="hd_id3150771" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
-<bascode>
-<paragraph id="par_id3147573" role="bascode" localize="false" xml-lang="en-US">Option Base { 0 | 1}</paragraph>
-</bascode>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<paragraph id="par_id3147573" role="code" localize="false" xml-lang="en-US">Option Base { 0 | 1}</paragraph>
-<paragraph id="hd_id3145315" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3147229" role="warning" xml-lang="en-US">This statement must be added before the executable program code in a module.</paragraph>
-<paragraph id="hd_id3150870" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_idm1341310544" role="bascode" localize="false" xml-lang="en-US">Option Base 1</paragraph>
<paragraph id="par_idm1341309312" role="bascode" localize="false" xml-lang="en-US">Sub ExampleOptionBase</paragraph>
@@ -53,5 +51,4 @@
<paragraph id="par_idm1341305584" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-
</helpdocument>
diff --git a/source/text/sbasic/shared/03103300.xhp b/source/text/sbasic/shared/03103300.xhp
index 6aadb83d61..96c490d393 100644
--- a/source/text/sbasic/shared/03103300.xhp
+++ b/source/text/sbasic/shared/03103300.xhp
@@ -32,19 +32,17 @@
<bookmark_value>Option Explicit statement</bookmark_value>
</bookmark>
-<paragraph id="hd_id3145090" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03103300.xhp" name="Option Explicit Statement">Option Explicit Statement</link></paragraph>
+<h1 id="hd_id3145090"><variable id="explicitstatement"><link href="text/sbasic/shared/03103300.xhp" name="Option Explicit Statement">Option Explicit Statement</link></variable></h1>
<paragraph id="par_id3148538" role="paragraph" xml-lang="en-US">Specifies that every variable in the program code must be explicitly declared with the Dim statement.</paragraph>
</section>
-<paragraph id="hd_id3149763" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
-<bascode>
-<paragraph id="par_id3149514" role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
-</bascode>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<paragraph id="par_id3149514" role="code" localize="false" xml-lang="en-US">Option Explicit</paragraph>
-<paragraph id="hd_id3145315" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
-<paragraph id="par_id3145172" role="warning" xml-lang="en-US">This statement must be added before the executable program code in a module.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+<embed href="text/sbasic/shared/00000003.xhp#beforeexecutable"/>
-<paragraph id="hd_id3125864" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_idm1340938880" role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
<paragraph id="par_idm1340937648" role="bascode" localize="false" xml-lang="en-US">Sub ExampleExplicit</paragraph>
@@ -56,5 +54,4 @@
<paragraph id="par_idm1340929616" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-
</helpdocument>
diff --git a/source/text/sbasic/shared/03103350.xhp b/source/text/sbasic/shared/03103350.xhp
index caa57d94d9..015d57770a 100644
--- a/source/text/sbasic/shared/03103350.xhp
+++ b/source/text/sbasic/shared/03103350.xhp
@@ -28,31 +28,28 @@
<body>
-<section id="optioniVBASupport">
+<section id="optionVBASupport">
<bookmark xml-lang="en-US" branch="index" id="bm_id3145090">
<bookmark_value>Microsoft Excel macros support;Enable</bookmark_value>
<bookmark_value>Microsoft Excel macros support;Option VBASupport statement</bookmark_value>
<bookmark_value>VBA Support;Option VBASupport statement</bookmark_value>
<bookmark_value>Option VBASupport statement</bookmark_value>
</bookmark>
-
-
-<paragraph id="hd_id3145090" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03103300.xhp" name="Option VBASupport Statement">Option VBASupport Statement</link></paragraph>
+<h1 id="hd_id3145090"><variable id="vbasupportstatement"><link href="text/sbasic/shared/03103350.xhp" name="Option VBASupport Statement">Option VBASupport Statement</link></variable></h1>
<paragraph id="par_id3148538" role="paragraph" xml-lang="en-US">Specifies that %PRODUCTNAME Basic will support some VBA statements, functions and objects.</paragraph>
</section>
<paragraph id="par_id051720171055367194" role="note" xml-lang="en-US">The support for VBA is not complete, but covers a large portion of the common usage patterns.</paragraph>
-<paragraph id="hd_id3149763" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
-<bascode>
-<paragraph id="par_id3149514" role="bascode" localize="false" xml-lang="en-US">Option VBASupport {1|0}</paragraph>
-</bascode>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<paragraph id="par_id3149514" role="code" localize="false" xml-lang="en-US">Option VBASupport {1|0}</paragraph>
+
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+<embed href="text/sbasic/shared/00000003.xhp#beforeexecutable"/>
-<paragraph id="hd_id3145315" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
-<paragraph id="par_id3145172" role="warning" xml-lang="en-US">This statement must be added before the executable program code in a module.</paragraph>
<paragraph id="par_id051720171055361727" role="paragraph" xml-lang="en-US">1: Enable VBA support in %PRODUCTNAME</paragraph>
<paragraph id="par_id051720171055369857" role="paragraph" xml-lang="en-US">0: Disable VBA support</paragraph>
-<paragraph id="hd_id3125864" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_idm1340938880" role="bascode" localize="false" xml-lang="en-US">Option VBASupport 1</paragraph>
<paragraph id="par_idm1340937648" role="bascode" localize="false" xml-lang="en-US">Sub ExampleVBA</paragraph>
@@ -67,5 +64,4 @@
<paragraph id="par_id051720170424259343" role="paragraph" xml-lang="en-US"><link href="text/sbasic/shared/vbasupport.xhp">VBA support in %PRODUCTNAME</link></paragraph>
</section>
</body>
-
</helpdocument>
diff --git a/source/text/sbasic/shared/classmodule.xhp b/source/text/sbasic/shared/classmodule.xhp
new file mode 100644
index 0000000000..a6ddac7386
--- /dev/null
+++ b/source/text/sbasic/shared/classmodule.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ -->
+ <meta>
+ <topic id="text/sbasic/shared/ClassModule">
+ <title id="tit" xml-lang="en-US">Option ClassModule</title>
+ <filename>/text/sbasic/shared/classmodule.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <bookmark branch="index" id="N0082">
+ <bookmark_value>Option ClassModule</bookmark_value>
+ </bookmark>
+ <h1 id="N0083"><variable id="classmodulestatement"><link href="text/sbasic/shared/classmodule.xhp" name="option classmodule">Option ClassModule Statement</link></variable></h1>
+ <paragraph role="paragraph" id="N0084">Specifies that the module is a class module that contains members, properties, procedures and functions.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+ <paragraph role="code" id="N0086">Option ClassModule</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+ <warning id="N0088">This statement must be added before the executable program code in a module.</warning>
+ <paragraph role="paragraph" id="N0089">This statement must be used jointly with <literal>Option Compatible</literal> statement or <literal>Option VBASupport 1</literal>, the former is enabling VBA compatibility mode, while the latter is enforcing VBA support on top of compatibility.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
+ <bascode>
+ <paragraph role="bascode" localize="false" id="N0092">Option Compatible</paragraph>
+ <paragraph role="bascode" localize="false" id="N0093">Option ClassModule</paragraph>
+ <paragraph role="bascode" localize="false" id="N0094"> </paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0095">&apos; Optional members go here</paragraph>
+ <paragraph role="bascode" localize="false" id="N0096"> </paragraph>
+ <paragraph role="bascode" localize="false" id="N0097">Private Sub Class_Initialize()</paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0098"> &apos; Optional construction code goes here</paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0099">End Sub &apos; Constructor</paragraph>
+ <paragraph role="bascode" localize="false" id="N0100">Private Sub Class_Terminate()</paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0101"> &apos; Optional destruction code goes here</paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0102">End Sub &apos; Destructor</paragraph>
+ <paragraph role="bascode" localize="false" id="N0103"> </paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0104">&apos; Properties go here.</paragraph>
+ <paragraph role="bascode" localize="false" id="N0105"> </paragraph>
+ <paragraph role="bascode" xml-lang="en-US" id="N0106">&apos; Procedures &amp; functions go here.</paragraph>
+ <paragraph role="bascode" localize="false" id="N0107"> </paragraph>
+ </bascode>
+ <section id="relatedtopics" >
+ <paragraph role="paragraph" id="N0108">
+ Refer to <link href="text/sbasic/python/python_platform.xhp">Identifying the Operating System</link> and <link href="text/sbasic/python/python_session.xhp">Getting Session Information</link> for class module simple examples.
+ </paragraph>
+ <paragraph role="paragraph" id="N0109">
+ Multiple thorough class examples are available from <link href="text/sbasic/guide/access2base.xhp">Access2Base shared Basic library</link>.
+ </paragraph>
+ <embed href="text/sbasic/shared/03103200.xhp#optionbasestatement"/>
+ <embed href="text/sbasic/shared/03103300.xhp#explicitstatement"/>
+ <embed href="text/sbasic/shared/03103350.xhp#vbasupportstatement"/>
+ <embed href="text/sbasic/shared/compatible.xhp#compatiblestatement"/>
+ </section>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/compatible.xhp b/source/text/sbasic/shared/compatible.xhp
new file mode 100644
index 0000000000..3d8824adf6
--- /dev/null
+++ b/source/text/sbasic/shared/compatible.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ -->
+ <meta>
+ <topic id="text/sbasic/shared/compatible">
+ <title id="tit" xml-lang="en-US">Option Compatible</title>
+ <filename>/text/sbasic/shared/compatible.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <bookmark branch="index" id="N0103">
+ <bookmark_value>Option Compatible</bookmark_value>
+ <bookmark_value>CompatibilityMode</bookmark_value>
+ <bookmark_value>VBA compatibility</bookmark_value>
+ </bookmark>
+
+ <section id="optioncompatiblestatement">
+ <h1 id="N0104"><variable id="compatiblestatement"><link href="text/sbasic/shared/compatible.xhp" name="compatible">Option Compatible Statement</link></variable></h1>
+ </section>
+ <embed href="text/sbasic/shared/00000003.xhp#beforeexecutable"/>
+ <paragraph role="paragraph" id="N0106"><literal>Option Compatible</literal> turns on VBA compatible Basic compiler mode at module level. Function <literal>CompatibilityMode()</literal> controls runtime mode and affects all code executed after setting or resetting the mode.</paragraph>
+ <paragraph role="paragraph" id="N0107">This option may affect or assist in the following situations:</paragraph>
+ <list type="unordered">
+ <listitem><paragraph role="listitem" id="N0108">Allow special characters as identifiers.</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0109">Create constants including non-printable characters.</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0110">Support <literal>Private</literal>/<literal>Public</literal> keywords for procedures.</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0111">Compulsory <literal>Set</literal> statement for objects.</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0112">Default values for optional parameters in procedures.</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0113">Named arguments when multiple optional parameters exist.</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0114">Preload of %PRODUCTNAME Basic libraries</paragraph></listitem>
+ </list>
+ <note id="N0115"><literal>Option Compatible</literal> is required when coding class modules.</note>
+ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+ <paragraph role="code" localize="false" id="N0117">Option Compatible</paragraph>
+ <section id="compatibilitymodefunction">
+ <h1 id="N0118"><variable id="compatibilitymodestatement"><link href="text/sbasic/shared/compatible.xhp" name="CompatibilityMode">CompatibilityMode() function</link></variable></h1>
+ </section>
+ <warning id="N0119">Use this feature with caution, limit it to document conversion situations for example.</warning>
+ <paragraph role="paragraph" id="N0120"><literal>CompatibilityMode()</literal> function is controlling runtime mode and affects all code executed after setting or resetting the mode. <literal>Option Compatible</literal> turns on VBA compatibility at module level for the %PRODUCTNAME Basic compiler.</paragraph>
+ <paragraph role="paragraph" id="N0121">This function may affect or help in the following situations:</paragraph>
+ <list type="unordered">
+ <listitem><paragraph role="listitem" id="N0122">Creating enumerations with Enum statement</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0123">Updating Dir execution conditions</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0124">Running RmDir command in VBA mode</paragraph></listitem>
+ <listitem><paragraph role="listitem" id="N0125">Changing behaviour of Basic Dir command</paragraph></listitem>
+ </list>
+ <note id="N0126"><literal>CompatibilityMode()</literal> function may be necessary when resorting to <literal>Option Compatible</literal> or <literal>Option VBASupport</literal> compiler modes.</note>
+ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+ <paragraph role="code" localize="false" id="N0128">CompatibilityMode(True | False)</paragraph>
+
+ <section id="relatedtopics">
+ <paragraph role="paragraph" id="N0129">
+ Refer to <link href="text/sbasic/python/python_platform.xhp">Identifying the Operating System</link> and <link href="text/sbasic/python/python_session.xhp">Getting Session Information</link> for <literal>Option Compatible</literal> simple examples, or <link href="text/sbasic/guide/access2base.xhp">Access2Base shared Basic library</link> for other class examples making use of <literal>Option Compatible</literal> compiler mode.
+ </paragraph>
+ <embed href="text/sbasic/shared/03090407.xhp#remstatement"/>
+
+ <paragraph role="paragraph" id="N0131">
+ Variables scope modification in <link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link> with <literal>CompatibilityMode()</literal> function.
+ </paragraph>
+ <embed href="text/sbasic/shared/03103200.xhp#optionbasestatement"/>
+ <embed href="text/sbasic/shared/03103300.xhp#explicitstatement"/>
+ <embed href="text/sbasic/shared/03103350.xhp#vbasupportstatement"/>
+ <embed href="text/sbasic/shared/classmodule.xhp#classmodulestatement"/>
+ </section>
+</body>
+</helpdocument>