summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03090407.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03090407.xhp')
-rw-r--r--source/text/sbasic/shared/03090407.xhp18
1 files changed, 11 insertions, 7 deletions
diff --git a/source/text/sbasic/shared/03090407.xhp b/source/text/sbasic/shared/03090407.xhp
index a041e0fc6d..15ecf0eb53 100644
--- a/source/text/sbasic/shared/03090407.xhp
+++ b/source/text/sbasic/shared/03090407.xhp
@@ -50,18 +50,22 @@
<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="2">Specifies that a program line is a comment.</paragraph>
</section>
<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
-<paragraph role="paragraph" id="par_id3154141" xml-lang="en-US" l10n="U" oldref="4">Rem Text</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3154141" xml-lang="en-US" oldref="4">Rem Text</paragraph>
+</bascode>
<paragraph role="heading" id="hd_id3151042" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="6">
<emph>Text:</emph> Any text that serves as a comment.</paragraph>
<paragraph role="tip" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="7">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 role="note" id="par_id6187017" xml-lang="en-US" l10n="NEW">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 role="heading" id="hd_id3150012" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3152939" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleMid</paragraph>
-<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="10">DIM sVar As String</paragraph>
-<paragraph role="paragraph" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="11">sVar = "Las Vegas"</paragraph>
-<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="12">Print Mid(sVar,3,5) REM Returns "s Veg"</paragraph>
-<paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="13">REM Nothing occurs here</paragraph>
-<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+<bascode>
+<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleMid</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" localize="false" xml-lang="en-US"> Print Mid(sVar,3,5) ' Returns "s Veg"</paragraph>
+<paragraph role="bascode" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="13"> ' Nothing occurs here</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+</bascode>
</body>
</helpdocument>