summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03120102.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03120102.xhp')
-rw-r--r--source/text/sbasic/shared/03120102.xhp16
1 files changed, 10 insertions, 6 deletions
diff --git a/source/text/sbasic/shared/03120102.xhp b/source/text/sbasic/shared/03120102.xhp
index 590668b1ad..323ba1d015 100644
--- a/source/text/sbasic/shared/03120102.xhp
+++ b/source/text/sbasic/shared/03120102.xhp
@@ -47,7 +47,9 @@
<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="2">Returns the character that corresponds to the specified character code.</paragraph>
</section>
<paragraph role="heading" id="hd_id3149514" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
-<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="4">Chr(Expression As Integer)</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3150669" xml-lang="en-US" oldref="4">Chr(Expression As Integer)</paragraph>
+</bascode>
<paragraph role="heading" id="hd_id3143228" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
<paragraph role="paragraph" id="par_id3153824" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
<paragraph role="heading" id="hd_id3148944" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
@@ -57,11 +59,13 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3144502" xml-lang="en-US" l10n="U" oldref="11">sub ExampleChr</paragraph>
-<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="CHG" oldref="12">REM This example inserts quotation marks (ASCII value 34) in a string.</paragraph>
-<paragraph role="paragraph" id="par_id3151380" xml-lang="en-US" l10n="U" oldref="13">MsgBox "A "+ Chr$(34)+"short" + Chr$(34)+" trip."</paragraph>
-<paragraph role="paragraph" id="par_id3145174" xml-lang="en-US" l10n="U" oldref="14">REM The printout appears in the dialog as: A "short" trip.</paragraph>
-<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+<bascode>
+<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleChr</paragraph>
+<paragraph role="bascode" id="par_id3154909" xml-lang="en-US" l10n="CHG" oldref="12"> ' This example inserts quotation marks (ASCII value 34) in a string.</paragraph>
+<paragraph role="bascode" id="par_id3151380" xml-lang="en-US" l10n="U" oldref="13"> MsgBox "A "+ Chr$(34)+"short" + Chr$(34)+" trip."</paragraph>
+<paragraph role="bascode" id="par_id3145174" xml-lang="en-US" l10n="U" oldref="14"> ' The printout appears in the dialog as: A "short" trip.</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+</bascode>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_idN10668" xml-lang="en-US" l10n="NEW"><link href="text/sbasic/shared/03120101.xhp">ASC</link></paragraph>
</section>