summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03030107.xhp
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-11-15 11:10:24 +0100
committerAndras Timar <atimar@suse.com>2012-11-15 20:46:51 +0100
commitff39701b0e841035089929ab7811c7431ab9b39b (patch)
tree03f3607f3ad5c5b788f8932a80c6c847bd90b1ae /source/text/sbasic/shared/03030107.xhp
parent6291844ea9c4c1d6863c62cbd33e841ff21d3e7a (diff)
format Basic code examples
Diffstat (limited to 'source/text/sbasic/shared/03030107.xhp')
-rw-r--r--source/text/sbasic/shared/03030107.xhp12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/text/sbasic/shared/03030107.xhp b/source/text/sbasic/shared/03030107.xhp
index 4ea3d4dd1c..ed4a199256 100644
--- a/source/text/sbasic/shared/03030107.xhp
+++ b/source/text/sbasic/shared/03030107.xhp
@@ -47,7 +47,9 @@
<paragraph role="paragraph" id="par_id3151097" xml-lang="en-US" l10n="U" oldref="2">Returns the date in ISO format from a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
</section>
<paragraph role="heading" id="hd_id3159224" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
-<paragraph role="paragraph" id="par_id3149497" xml-lang="en-US" l10n="U" oldref="4">CDateToIso(Number)</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3149497" xml-lang="en-US" oldref="4">CDateToIso(Number)</paragraph>
+</bascode>
<paragraph role="heading" id="hd_id3152347" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
<paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
<paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
@@ -56,8 +58,10 @@
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleCDateToIso</paragraph>
-<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="11">MsgBox "" &amp; CDateToIso(Now) ,64,"ISO Date"</paragraph>
-<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="12">End Sub</paragraph>
+<bascode>
+<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToIso</paragraph>
+<paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="11"> MsgBox "" &amp; CDateToIso(Now) ,64,"ISO Date"</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+</bascode>
</body>
</helpdocument>