summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03120104.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 20:07:10 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 21:21:48 +0100
commit6614bedceadcc07ec082c5e926107f27903bda5c (patch)
tree0eedb2f897737cce9d169651b4b8863b2049da98 /source/text/sbasic/shared/03120104.xhp
parentbb4361c2e733c7b5a6a3a4b9d37ec0586c99ccd7 (diff)
fix validation errors by round-trip through helpauthoring extension
lots of missing attributes "id" and "xml-lang" (extension patched to keep bascode tag) Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a
Diffstat (limited to 'source/text/sbasic/shared/03120104.xhp')
-rw-r--r--source/text/sbasic/shared/03120104.xhp65
1 files changed, 35 insertions, 30 deletions
diff --git a/source/text/sbasic/shared/03120104.xhp b/source/text/sbasic/shared/03120104.xhp
index e6372c7b3c..72c362fea4 100644
--- a/source/text/sbasic/shared/03120104.xhp
+++ b/source/text/sbasic/shared/03120104.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,43 +16,49 @@
* 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="textsbasicshared03120104xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Val Function [Runtime]</title>
-<filename>/text/sbasic/shared/03120104.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03120104xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Val Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03120104.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="val">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Val function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149205">
+ <bookmark_value>Val function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3149205" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120104.xhp" name="Val Function [Runtime]">Val Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US" l10n="U" oldref="2">Converts a string to a numeric expression.</paragraph>
+
+
+<paragraph id="hd_id3149205" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03120104.xhp" name="Val Function [Runtime]">Val Function [Runtime]</link></paragraph>
+<paragraph id="par_id3153345" role="paragraph" xml-lang="en-US">Converts a string to a numeric expression.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3159157" 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">Val (Text As String)</paragraph>
+
+<paragraph id="hd_id3159157" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<bascode>
+<paragraph id="par_id3149514" role="bascode" xml-lang="en-US">Val (Text As String)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
-<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3154348" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text:</emph> String that represents a number.</paragraph>
-<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="9">Using the Val function, you can convert a string that represents numbers into numeric expressions. This is the inverse of the <emph>Str</emph> function. If only part of the string contains numbers, only the first appropriate characters of the string are converted. If the string does not contain any numbers, the <emph>Val</emph> function returns the value 0.</paragraph>
+
+<paragraph id="hd_id3150669" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3143228" role="paragraph" xml-lang="en-US">Double</paragraph>
+
+<paragraph id="hd_id3156024" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3154348" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> String that represents a number.</paragraph>
+<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US">Using the Val function, you can convert a string that represents numbers into numeric expressions. This is the inverse of the <emph>Str</emph> function. If only part of the string contains numbers, only the first appropriate characters of the string are converted. If the string does not contain any numbers, the <emph>Val</emph> function returns the value 0.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+
+<paragraph id="hd_id3154365" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleVal</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox Val("123.123")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox Val("A123.123")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341084240" role="bascode" localize="false" xml-lang="en-US">Sub ExampleVal</paragraph>
+<paragraph id="par_idm1341083008" role="bascode" localize="false" xml-lang="en-US"> MsgBox Val("123.123")</paragraph>
+<paragraph id="par_idm1341081760" role="bascode" localize="false" xml-lang="en-US"> MsgBox Val("A123.123")</paragraph>
+<paragraph id="par_idm1341080512" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file