summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03100400.xhp
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-01-17 21:15:13 +0100
committerOlivier Hallot <olivier.hallot@edx.srv.br>2017-05-19 16:03:50 +0200
commit3d5e0e547daaed4c5587d403877a04916cf23eb9 (patch)
tree58ff8bfda6d834b2062349c787507a6403e4a7a3 /source/text/sbasic/shared/03100400.xhp
parentee2a29423da11c4f61ce4ca2176383d1a631ec84 (diff)
Basic: beautify Examples with bascode tag
Correct many examples to use <bascode> tag to get colorised text Merge some identical examples in section Remove useless spaces Remove ^M at end of line with <bascode> Add localize="false" for pure Basic code Add comments from Johnny_M Treat 03101700.xhp in a different commit Change-Id: I94a799ee13829ed9086127aa7d0e722ffe1dd90d Reviewed-on: https://gerrit.libreoffice.org/33240 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'source/text/sbasic/shared/03100400.xhp')
-rw-r--r--source/text/sbasic/shared/03100400.xhp10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/text/sbasic/shared/03100400.xhp b/source/text/sbasic/shared/03100400.xhp
index ed29d8b488..9ddf766a0a 100644
--- a/source/text/sbasic/shared/03100400.xhp
+++ b/source/text/sbasic/shared/03100400.xhp
@@ -27,19 +27,19 @@
<body>
-
<section id="cdbl">
<bookmark xml-lang="en-US" branch="index" id="bm_id3153750">
<bookmark_value>CDbl function</bookmark_value>
</bookmark>
-
<paragraph id="hd_id3153750" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03100400.xhp" name="CDbl Function [Runtime]">CDbl Function [Runtime]</link></paragraph>
<paragraph id="par_id3149233" role="paragraph" xml-lang="en-US">Converts any numerical expression or string expression to a double type.</paragraph>
</section>
<paragraph id="hd_id3149516" role="heading" level="2" xml-lang="en-US">Syntax</paragraph>
-<paragraph id="par_id3156152" role="paragraph" xml-lang="en-US">CDbl (Expression)</paragraph>
+<bascode>
+<paragraph id="par_id3156152" role="bascode" xml-lang="en-US">CDbl (Expression)</paragraph>
+</bascode>
<paragraph id="hd_id3153061" role="heading" level="2" xml-lang="en-US">Return value</paragraph>
<paragraph id="par_id3145068" role="paragraph" xml-lang="en-US">Double</paragraph>
@@ -49,6 +49,7 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<section id="examplecountryconvert">
<paragraph id="hd_id3148797" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
<paragraph id="par_idm1340893312" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCountryConvert</paragraph>
@@ -57,6 +58,7 @@
<paragraph id="par_idm1340889568" role="bascode" localize="false" xml-lang="en-US"> MsgBox CLng(1234.5678)</paragraph>
<paragraph id="par_idm1340888320" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
+</section>
</body>
-</helpdocument> \ No newline at end of file
+</helpdocument>