summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03103300.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03103300.xhp')
-rw-r--r--source/text/sbasic/shared/03103300.xhp65
1 files changed, 35 insertions, 30 deletions
diff --git a/source/text/sbasic/shared/03103300.xhp b/source/text/sbasic/shared/03103300.xhp
index 46b5092a43..511fea7967 100644
--- a/source/text/sbasic/shared/03103300.xhp
+++ b/source/text/sbasic/shared/03103300.xhp
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -17,41 +16,47 @@
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
- -->
-
-<helpdocument version="1.0">
+-->
+
<meta>
-<topic id="textsbasicshared03103300xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Option Explicit Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03103300.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03103300xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Option Explicit Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03103300.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="optionexplicit">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Option Explicit statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145090">
+ <bookmark_value>Option Explicit statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103300.xhp" name="Option Explicit Statement [Runtime]">Option Explicit Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US" l10n="U" oldref="2">Specifies that every variable in the program code must be explicitly declared with the Dim statement.</paragraph>
+
+
+<paragraph id="hd_id3145090" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03103300.xhp" name="Option Explicit Statement [Runtime]">Option Explicit Statement [Runtime]</link></paragraph>
+<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 role="heading" id="hd_id3149763" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
-<bascode>
-<paragraph role="bascode" id="par_id3149514" xml-lang="en-US" oldref="4">Option Explicit</paragraph>
+
+<paragraph id="hd_id3149763" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<bascode>
+<paragraph id="par_id3149514" role="bascode" xml-lang="en-US">Option Explicit</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="warning" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="6">This statement must be added before the executable program code in a module.</paragraph>
-<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</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>
+
+<paragraph id="hd_id3125864" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleExplicit</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sVar As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sVar = "Las Vegas"</paragraph>
-<paragraph role="bascode" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="12"> For i% = 1 To 10 ' This results in a run-time error</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Rem</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Next i%</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<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>
+<paragraph id="par_idm1340936416" role="bascode" localize="false" xml-lang="en-US">Dim sVar As String</paragraph>
+<paragraph id="par_idm1340935056" role="bascode" localize="false" xml-lang="en-US"> sVar = "Las Vegas"</paragraph>
+<paragraph id="par_id3145787" role="bascode" xml-lang="en-US"> For i% = 1 To 10 ' This results in a run-time error</paragraph>
+<paragraph id="par_idm1340932080" role="bascode" localize="false" xml-lang="en-US"> Rem</paragraph>
+<paragraph id="par_idm1340930848" role="bascode" localize="false" xml-lang="en-US"> Next i%</paragraph>
+<paragraph id="par_idm1340929616" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file