summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/classmodule.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/classmodule.xhp')
-rw-r--r--source/text/sbasic/shared/classmodule.xhp13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/text/sbasic/shared/classmodule.xhp b/source/text/sbasic/shared/classmodule.xhp
index a6ddac7386..13d95b9cb6 100644
--- a/source/text/sbasic/shared/classmodule.xhp
+++ b/source/text/sbasic/shared/classmodule.xhp
@@ -18,13 +18,16 @@
<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>
+
+ <section id="classmodulefunction">
+ <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>
+ </section>
+ <embed href="text/sbasic/shared/00000003.xhp#beforeexecutable"/>
<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#functsyntax"/>
+ <paragraph role="code" id="N0086">Option ClassModule</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph role="bascode" localize="false" id="N0092">Option Compatible</paragraph>