aboutsummaryrefslogtreecommitdiff
path: root/source/bn/mysqlc
AgeCommit message (Expand)Author
2013-05-25initial import of 4.1 translationsAndras Timar
2013-01-06 update translations for LibreOffice 4.0 rc1Andras Timar
2012-12-16update translations for LibreOffice 4.0 beta2Andras Timar
2012-12-03update translations for LibreOffice 4.0 beta1Andras Timar
2012-11-20initial import of LibreOffice 4.0 translationsAndras Timar
2012-10-16move translations structure one directory upNorbert Thiebaud
7903bda5c'>source/text/sbasic 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')
-rw-r--r--source/text/sbasic/shared/01020100.xhp509
-rw-r--r--source/text/sbasic/shared/01020300.xhp184
-rw-r--r--source/text/sbasic/shared/03010101.xhp92
-rw-r--r--source/text/sbasic/shared/03010102.xhp119
-rw-r--r--source/text/sbasic/shared/03010103.xhp94
-rw-r--r--source/text/sbasic/shared/03010201.xhp79
-rw-r--r--source/text/sbasic/shared/03010301.xhp69
-rw-r--r--source/text/sbasic/shared/03010302.xhp69
-rw-r--r--source/text/sbasic/shared/03010303.xhp69
-rw-r--r--source/text/sbasic/shared/03010304.xhp100
-rw-r--r--source/text/sbasic/shared/03010305.xhp71
-rw-r--r--source/text/sbasic/shared/03020101.xhp94
-rw-r--r--source/text/sbasic/shared/03020102.xhp98
-rw-r--r--source/text/sbasic/shared/03020103.xhp109
-rw-r--r--source/text/sbasic/shared/03020104.xhp92
-rw-r--r--source/text/sbasic/shared/03020201.xhp109
-rw-r--r--source/text/sbasic/shared/03020202.xhp125
-rw-r--r--source/text/sbasic/shared/03020203.xhp97
-rw-r--r--source/text/sbasic/shared/03020204.xhp112
-rw-r--r--source/text/sbasic/shared/03020205.xhp87
-rw-r--r--source/text/sbasic/shared/03020301.xhp99
-rw-r--r--source/text/sbasic/shared/03020401.xhp71
-rw-r--r--source/text/sbasic/shared/03020402.xhp56
-rw-r--r--source/text/sbasic/shared/03020403.xhp75
-rw-r--r--source/text/sbasic/shared/03020404.xhp104
-rw-r--r--source/text/sbasic/shared/03020405.xhp100
-rw-r--r--source/text/sbasic/shared/03020406.xhp59
-rw-r--r--source/text/sbasic/shared/03020407.xhp56
-rw-r--r--source/text/sbasic/shared/03020408.xhp61
-rw-r--r--source/text/sbasic/shared/03020409.xhp96
-rw-r--r--source/text/sbasic/shared/03020410.xhp54
-rw-r--r--source/text/sbasic/shared/03020411.xhp133
-rw-r--r--source/text/sbasic/shared/03020412.xhp70
-rw-r--r--source/text/sbasic/shared/03020413.xhp64
-rw-r--r--source/text/sbasic/shared/03020414.xhp88
-rw-r--r--source/text/sbasic/shared/03020415.xhp62
-rw-r--r--source/text/sbasic/shared/03030107.xhp61
-rw-r--r--source/text/sbasic/shared/03030110.xhp242
-rw-r--r--source/text/sbasic/shared/03030111.xhp82
-rw-r--r--source/text/sbasic/shared/03030112.xhp82
-rw-r--r--source/text/sbasic/shared/03030113.xhp82
-rw-r--r--source/text/sbasic/shared/03030114.xhp82
-rw-r--r--source/text/sbasic/shared/03030115.xhp80
-rw-r--r--source/text/sbasic/shared/03030116.xhp80
-rw-r--r--source/text/sbasic/shared/03030120.xhp297
-rw-r--r--source/text/sbasic/shared/03030130.xhp64
-rw-r--r--source/text/sbasic/shared/03030203.xhp55
-rw-r--r--source/text/sbasic/shared/03030204.xhp67
-rw-r--r--source/text/sbasic/shared/03030205.xhp93
-rw-r--r--source/text/sbasic/shared/03030206.xhp91
-rw-r--r--source/text/sbasic/shared/03030301.xhp56
-rw-r--r--source/text/sbasic/shared/03030302.xhp56
-rw-r--r--source/text/sbasic/shared/03030303.xhp71
-rw-r--r--source/text/sbasic/shared/03050100.xhp80
-rw-r--r--source/text/sbasic/shared/03050500.xhp102
-rw-r--r--source/text/sbasic/shared/03060100.xhp80
-rw-r--r--source/text/sbasic/shared/03060200.xhp77
-rw-r--r--source/text/sbasic/shared/03060300.xhp77
-rw-r--r--source/text/sbasic/shared/03060400.xhp75
-rw-r--r--source/text/sbasic/shared/03060500.xhp77
-rw-r--r--source/text/sbasic/shared/03060600.xhp77
-rw-r--r--source/text/sbasic/shared/03070100.xhp75
-rw-r--r--source/text/sbasic/shared/03070200.xhp75
-rw-r--r--source/text/sbasic/shared/03070300.xhp75
-rw-r--r--source/text/sbasic/shared/03070400.xhp75
-rw-r--r--source/text/sbasic/shared/03070500.xhp64
-rw-r--r--source/text/sbasic/shared/03070600.xhp74
-rw-r--r--source/text/sbasic/shared/03080101.xhp87
-rw-r--r--source/text/sbasic/shared/03080102.xhp85
-rw-r--r--source/text/sbasic/shared/03080103.xhp87
-rw-r--r--source/text/sbasic/shared/03080104.xhp87
-rw-r--r--source/text/sbasic/shared/03080201.xhp69
-rw-r--r--source/text/sbasic/shared/03080202.xhp75
-rw-r--r--source/text/sbasic/shared/03080301.xhp73
-rw-r--r--source/text/sbasic/shared/03080302.xhp83
-rw-r--r--source/text/sbasic/shared/03080401.xhp67
-rw-r--r--source/text/sbasic/shared/03080501.xhp65
-rw-r--r--source/text/sbasic/shared/03080502.xhp62
-rw-r--r--source/text/sbasic/shared/03080601.xhp71
-rw-r--r--source/text/sbasic/shared/03080701.xhp131
-rw-r--r--source/text/sbasic/shared/03080801.xhp93
-rw-r--r--source/text/sbasic/shared/03080802.xhp61
-rw-r--r--source/text/sbasic/shared/03090101.xhp85
-rw-r--r--source/text/sbasic/shared/03090102.xhp83
-rw-r--r--source/text/sbasic/shared/03090201.xhp148
-rw-r--r--source/text/sbasic/shared/03090202.xhp155
-rw-r--r--source/text/sbasic/shared/03090301.xhp107
-rw-r--r--source/text/sbasic/shared/03090303.xhp97
-rw-r--r--source/text/sbasic/shared/03090402.xhp77
-rw-r--r--source/text/sbasic/shared/03090403.xhp84
-rw-r--r--source/text/sbasic/shared/03090404.xhp90
-rw-r--r--source/text/sbasic/shared/03090405.xhp66
-rw-r--r--source/text/sbasic/shared/03090406.xhp116
-rw-r--r--source/text/sbasic/shared/03090407.xhp68
-rw-r--r--source/text/sbasic/shared/03090408.xhp56
-rw-r--r--source/text/sbasic/shared/03090409.xhp64
-rw-r--r--source/text/sbasic/shared/03090410.xhp75
-rw-r--r--source/text/sbasic/shared/03090412.xhp121
-rw-r--r--source/text/sbasic/shared/03100100.xhp82
-rw-r--r--source/text/sbasic/shared/03100300.xhp65
-rw-r--r--source/text/sbasic/shared/03100400.xhp63
-rw-r--r--source/text/sbasic/shared/03100500.xhp67
-rw-r--r--source/text/sbasic/shared/03100600.xhp67
-rw-r--r--source/text/sbasic/shared/03100700.xhp68
-rw-r--r--source/text/sbasic/shared/03100900.xhp67
-rw-r--r--source/text/sbasic/shared/03101000.xhp159
-rw-r--r--source/text/sbasic/shared/03101100.xhp81
-rw-r--r--source/text/sbasic/shared/03101120.xhp83
-rw-r--r--source/text/sbasic/shared/03101130.xhp83
-rw-r--r--source/text/sbasic/shared/03101140.xhp83
-rw-r--r--source/text/sbasic/shared/03101300.xhp81
-rw-r--r--source/text/sbasic/shared/03101400.xhp81
-rw-r--r--source/text/sbasic/shared/03101500.xhp81
-rw-r--r--source/text/sbasic/shared/03101600.xhp81
-rw-r--r--source/text/sbasic/shared/03102000.xhp83
-rw-r--r--source/text/sbasic/shared/03102100.xhp167
-rw-r--r--source/text/sbasic/shared/03102101.xhp128
-rw-r--r--source/text/sbasic/shared/03102200.xhp63
-rw-r--r--source/text/sbasic/shared/03102300.xhp69
-rw-r--r--source/text/sbasic/shared/03102400.xhp65
-rw-r--r--source/text/sbasic/shared/03102600.xhp63
-rw-r--r--source/text/sbasic/shared/03102700.xhp69
-rw-r--r--source/text/sbasic/shared/03102900.xhp84
-rw-r--r--source/text/sbasic/shared/03103000.xhp84
-rw-r--r--source/text/sbasic/shared/03103100.xhp62
-rw-r--r--source/text/sbasic/shared/03103200.xhp59
-rw-r--r--source/text/sbasic/shared/03103300.xhp65
-rw-r--r--source/text/sbasic/shared/03103400.xhp54
-rw-r--r--source/text/sbasic/shared/03103450.xhp54
-rw-r--r--source/text/sbasic/shared/03103500.xhp84
-rw-r--r--source/text/sbasic/shared/03103600.xhp351
-rw-r--r--source/text/sbasic/shared/03103700.xhp68
-rw-r--r--source/text/sbasic/shared/03104500.xhp80
-rw-r--r--source/text/sbasic/shared/03110100.xhp94
-rw-r--r--source/text/sbasic/shared/03120101.xhp70
-rw-r--r--source/text/sbasic/shared/03120102.xhp70
-rw-r--r--source/text/sbasic/shared/03120103.xhp71
-rw-r--r--source/text/sbasic/shared/03120104.xhp65
-rw-r--r--source/text/sbasic/shared/03120201.xhp75
-rw-r--r--source/text/sbasic/shared/03120202.xhp75
-rw-r--r--source/text/sbasic/shared/03120301.xhp140
-rw-r--r--source/text/sbasic/shared/03120302.xhp69
-rw-r--r--source/text/sbasic/shared/03120303.xhp82
-rw-r--r--source/text/sbasic/shared/03120304.xhp107
-rw-r--r--source/text/sbasic/shared/03120305.xhp81
-rw-r--r--source/text/sbasic/shared/03120306.xhp92
-rw-r--r--source/text/sbasic/shared/03120307.xhp84
-rw-r--r--source/text/sbasic/shared/03120308.xhp111
-rw-r--r--source/text/sbasic/shared/03120309.xhp81
-rw-r--r--source/text/sbasic/shared/03120310.xhp67
-rw-r--r--source/text/sbasic/shared/03120311.xhp79
-rw-r--r--source/text/sbasic/shared/03120314.xhp140
-rw-r--r--source/text/sbasic/shared/03120401.xhp80
-rw-r--r--source/text/sbasic/shared/03120403.xhp98
-rw-r--r--source/text/sbasic/shared/03130500.xhp184
-rw-r--r--source/text/sbasic/shared/03130700.xhp63
-rw-r--r--source/text/sbasic/shared/03130800.xhp64
-rw-r--r--source/text/sbasic/shared/03131000.xhp59
-rw-r--r--source/text/sbasic/shared/03131300.xhp55
-rw-r--r--source/text/sbasic/shared/03131400.xhp55
-rw-r--r--source/text/sbasic/shared/03131600.xhp78
-rw-r--r--source/text/sbasic/shared/03132000.xhp196
-rw-r--r--source/text/sbasic/shared/03132200.xhp62
-rw-r--r--source/text/sbasic/shared/03132400.xhp59
164 files changed, 7712 insertions, 7076 deletions
diff --git a/source/text/sbasic/shared/01020100.xhp b/source/text/sbasic/shared/01020100.xhp
index ab0ee8ef16..54f685dcac 100644
--- a/source/text/sbasic/shared/01020100.xhp
+++ b/source/text/sbasic/shared/01020100.xhp
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -18,317 +16,340 @@
* 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="textsbasicshared01020100xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Using Variables</title>
-<filename>/text/sbasic/shared/01020100.xhp</filename>
-</topic>
+ <topic id="textsbasicshared01020100xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Using Variables</title>
+ <filename>/text/sbasic/shared/01020100.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="variable">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>names of variables</bookmark_value>
-<bookmark_value>variables; using</bookmark_value>
-<bookmark_value>types of variables</bookmark_value>
-<bookmark_value>declaring variables</bookmark_value>
-<bookmark_value>values;of variables</bookmark_value>
-<bookmark_value>constants</bookmark_value>
-<bookmark_value>arrays;declaring</bookmark_value>
-<bookmark_value>defining;constants</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346">
+ <bookmark_value>names of variables</bookmark_value>
+ <bookmark_value>variables; using</bookmark_value>
+ <bookmark_value>types of variables</bookmark_value>
+ <bookmark_value>declaring variables</bookmark_value>
+ <bookmark_value>values;of variables</bookmark_value>
+ <bookmark_value>constants</bookmark_value>
+ <bookmark_value>arrays;declaring</bookmark_value>
+ <bookmark_value>defining;constants</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020100.xhp" name="Using Variables">Using Variables</link></paragraph>
-<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="3">The following describes the basic use of variables in $[officename] Basic.</paragraph>
+
+
+<paragraph id="hd_id3149346" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/01020100.xhp" name="Using Variables">Using Variables</link></paragraph>
+<paragraph id="par_id3154346" role="paragraph" xml-lang="en-US">The following describes the basic use of variables in $[officename] Basic.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="4">Naming Conventions for Variable Identifiers</paragraph>
-<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="5">A variable name can consist of a maximum of 255 characters. The first character of a variable name <emph>must</emph> be a letter A-Z or a-z. Numbers can also be used in a variable name, but punctuation symbols and special characters are not permitted, with exception of the underscore character ("_"). In $[officename] Basic variable identifiers are not case-sensitive. Variable names may contain spaces but must be enclosed in square brackets if they do.</paragraph>
-<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="6">Examples for variable identifiers:</paragraph>
+
+<paragraph id="hd_id3153361" role="heading" level="2" xml-lang="en-US">Naming Conventions for Variable Identifiers</paragraph>
+<paragraph id="par_id3148797" role="paragraph" xml-lang="en-US">A variable name can consist of a maximum of 255 characters. The first character of a variable name <emph>must</emph> be a letter A-Z or a-z. Numbers can also be used in a variable name, but punctuation symbols and special characters are not permitted, with exception of the underscore character ("_"). In $[officename] Basic variable identifiers are not case-sensitive. Variable names may contain spaces but must be enclosed in square brackets if they do.</paragraph>
+<paragraph id="par_id3156422" role="paragraph" xml-lang="en-US">Examples for variable identifiers:</paragraph>
+
<table id="tbl_id3154685">
-<tablerow>
-<tablecell colspan="" rowspan="">
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">MyNumber=5</paragraph>
+ <paragraph id="par_idm1341272896" role="bascode" localize="false" xml-lang="en-US">MyNumber=5</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="126">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3156441" role="paragraph" xml-lang="en-US">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">MyNumber5=15</paragraph>
+ <paragraph id="par_idm1341267456" role="bascode" localize="false" xml-lang="en-US">MyNumber5=15</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="127">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149664" role="paragraph" xml-lang="en-US">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">MyNumber_5=20</paragraph>
+ <paragraph id="par_idm1341262016" role="bascode" localize="false" xml-lang="en-US">MyNumber_5=20</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="128">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3146119" role="paragraph" xml-lang="en-US">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">My Number=20</paragraph>
+ <paragraph id="par_idm1341256576" role="bascode" localize="false" xml-lang="en-US">My Number=20</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="11">Not valid, variable with space must be enclosed in square brackets</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3153876" role="paragraph" xml-lang="en-US">Not valid, variable with space must be enclosed in square brackets</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">[My Number]=12</paragraph>
+ <paragraph id="par_idm1341251088" role="bascode" localize="false" xml-lang="en-US">[My Number]=12</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="15">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154510" role="paragraph" xml-lang="en-US">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">DéjàVu=25</paragraph>
+ <paragraph id="par_idm1341245648" role="bascode" localize="false" xml-lang="en-US">DéjàVu=25</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3150330" xml-lang="en-US" l10n="U" oldref="129">Not valid, special characters are not allowed</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150330" role="paragraph" xml-lang="en-US">Not valid, special characters are not allowed</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">5MyNumber=12</paragraph>
+ <paragraph id="par_idm1341240176" role="bascode" localize="false" xml-lang="en-US">5MyNumber=12</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154254" xml-lang="en-US" l10n="U" oldref="130">Not valid, variable may not begin with a number</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154254" role="paragraph" xml-lang="en-US">Not valid, variable may not begin with a number</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Number,Mine=12</paragraph>
+ <paragraph id="par_idm1341234704" role="bascode" localize="false" xml-lang="en-US">Number,Mine=12</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3149256" xml-lang="en-US" l10n="U" oldref="131">Not valid, punctuation marks are not allowed</paragraph>
-</tablecell>
-</tablerow>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149256" role="paragraph" xml-lang="en-US">Not valid, punctuation marks are not allowed</paragraph>
+ </tablecell>
+ </tablerow>
</table>
-<paragraph role="heading" id="hd_id3146317" xml-lang="en-US" level="2" l10n="U" oldref="17">Declaring Variables</paragraph>
-<paragraph role="paragraph" id="par_id3150299" xml-lang="en-US" l10n="U" oldref="18">In $[officename] Basic you don't need to declare variables explicitly. A variable declaration can be performed with the <emph>Dim</emph> statement. You can declare more than one variable at a time by separating the names with a comma. To define the variable type, use either a type-declaration sign after the name, or the appropriate key word. </paragraph>
-<paragraph role="paragraph" id="par_id3154118" xml-lang="en-US" l10n="U" oldref="140">Examples for variable declarations:</paragraph>
+
+
+<paragraph id="hd_id3146317" role="heading" level="2" xml-lang="en-US">Declaring Variables</paragraph>
+<paragraph id="par_id3150299" role="paragraph" xml-lang="en-US">In $[officename] Basic you don't need to declare variables explicitly. A variable declaration can be performed with the <emph>Dim</emph> statement. You can declare more than one variable at a time by separating the names with a comma. To define the variable type, use either a type-declaration sign after the name, or the appropriate key word. </paragraph>
+<paragraph id="par_id3154118" role="paragraph" xml-lang="en-US">Examples for variable declarations:</paragraph>
+
<table id="tbl_id3154658">
-<tablerow>
-<tablecell colspan="" rowspan="">
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
+ <paragraph id="par_idm1341222320" role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3150982" xml-lang="en-US" l10n="U" oldref="132">Declares the variable "a" as a String</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150982" role="paragraph" xml-lang="en-US">Declares the variable "a" as a String</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a As String</paragraph>
+ <paragraph id="par_idm1341216864" role="bascode" localize="false" xml-lang="en-US">Dim a As String</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3150343" xml-lang="en-US" l10n="U" oldref="133">Declares the variable "a" as a String</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3150343" role="paragraph" xml-lang="en-US">Declares the variable "a" as a String</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a$, b As Integer</paragraph>
+ <paragraph id="par_idm1341211408" role="bascode" localize="false" xml-lang="en-US">Dim a$, b As Integer</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3155507" xml-lang="en-US" l10n="U" oldref="22">Declares one variable as a String and one as an Integer</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155507" role="paragraph" xml-lang="en-US">Declares one variable as a String and one as an Integer</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim c As Boolean</paragraph>
+ <paragraph id="par_idm1341205936" role="bascode" localize="false" xml-lang="en-US">Dim c As Boolean</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_idN10859" xml-lang="en-US" l10n="NEW">Declares c as a Boolean variable that can be TRUE or FALSE</paragraph>
-</tablecell>
-</tablerow>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_idN10859" role="paragraph" xml-lang="en-US">Declares c as a Boolean variable that can be TRUE or FALSE</paragraph>
+ </tablecell>
+ </tablerow>
</table>
-<paragraph role="paragraph" id="par_id3150519" xml-lang="en-US" l10n="U" oldref="23">It is very important when declaring variables that you use the type-declaration character each time, even if it was used in the declaration instead of a keyword. Thus the following statements are invalid:</paragraph>
+
+<paragraph id="par_id3150519" role="paragraph" xml-lang="en-US">It is very important when declaring variables that you use the type-declaration character each time, even if it was used in the declaration instead of a keyword. Thus the following statements are invalid:</paragraph>
+
<table id="tbl_id3155529">
-<tablerow>
-<tablecell colspan="" rowspan="">
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
+ <paragraph id="par_idm1341198080" role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154527" xml-lang="en-US" l10n="U" oldref="134">Declares "a" as a String</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154527" role="paragraph" xml-lang="en-US">Declares "a" as a String</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">a="TestString"</paragraph>
+ <paragraph id="par_idm1341192624" role="bascode" localize="false" xml-lang="en-US">a="TestString"</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153064" xml-lang="en-US" l10n="U" oldref="135">Type-declaration missing: "a$="</paragraph>
-</tablecell>
-</tablerow>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3153064" role="paragraph" xml-lang="en-US">Type-declaration missing: "a$="</paragraph>
+ </tablecell>
+ </tablerow>
</table>
-<paragraph role="warning" id="par_id3144770" xml-lang="en-US" l10n="U" oldref="26">Once you have declared a variable as a certain type, you cannot declare the variable under the same name again as a different type!</paragraph>
-<paragraph role="heading" id="hd_id3149331" xml-lang="en-US" level="3" l10n="U" oldref="27">Forcing Variable Declarations</paragraph>
-<paragraph role="paragraph" id="par_id3149443" xml-lang="en-US" l10n="U" oldref="28">To force declaration of variables, use the following command:</paragraph>
+
+<paragraph id="par_id3144770" role="warning" xml-lang="en-US">Once you have declared a variable as a certain type, you cannot declare the variable under the same name again as a different type!</paragraph>
+
+<paragraph id="hd_id3149331" role="heading" level="3" xml-lang="en-US">Forcing Variable Declarations</paragraph>
+<paragraph id="par_id3149443" role="paragraph" xml-lang="en-US">To force declaration of variables, use the following command:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
+<paragraph id="par_idm1341182432" role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3155072" xml-lang="en-US" l10n="U" oldref="30">The <emph>Option Explicit</emph> statement has to be the first line in the module, before the first SUB. Generally, only arrays need to be declared explicitly. All other variables are declared according to the type-declaration character, or - if omitted - as the default type <emph>Single</emph>.</paragraph>
-<paragraph role="heading" id="hd_id3154614" xml-lang="en-US" level="2" l10n="U" oldref="34">Variable Types</paragraph>
-<paragraph role="paragraph" id="par_id3155383" xml-lang="en-US" l10n="U" oldref="35">$[officename] Basic supports four variable classes:</paragraph>
+<paragraph id="par_id3155072" role="paragraph" xml-lang="en-US">The <emph>Option Explicit</emph> statement has to be the first line in the module, before the first SUB. Generally, only arrays need to be declared explicitly. All other variables are declared according to the type-declaration character, or - if omitted - as the default type <emph>Single</emph>.</paragraph>
+
+<paragraph id="hd_id3154614" role="heading" level="2" xml-lang="en-US">Variable Types</paragraph>
+<paragraph id="par_id3155383" role="paragraph" xml-lang="en-US">$[officename] Basic supports four variable classes:</paragraph>
+
<list type="unordered">
-<listitem>
-<paragraph role="listitem" id="par_id3153972" xml-lang="en-US" l10n="U" oldref="36">
-<emph>Numeric</emph> variables can contain number values. Some variables are used to store large or small numbers, and others are used for floating-point or fractional numbers. </paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3159226" xml-lang="en-US" l10n="U" oldref="37">
-<emph>String</emph> variables contain character strings.</paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3145217" xml-lang="en-US" l10n="U" oldref="38">
-<emph>Boolean</emph> variables contain either the TRUE or the FALSE value.</paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3154762" xml-lang="en-US" l10n="U" oldref="39">
-<emph>Object</emph> variables can store objects of various types, like tables and documents within a document.</paragraph>
-</listitem>
-</list>
-<paragraph role="heading" id="hd_id3153805" xml-lang="en-US" level="3" l10n="U" oldref="40">Integer Variables</paragraph>
-<paragraph role="paragraph" id="par_id3146966" xml-lang="en-US" l10n="U" oldref="41">Integer variables range from -32768 to 32767. If you assign a floating-point value to an integer variable, the decimal places are rounded to the next integer. Integer variables are rapidly calculated in procedures and are suitable for counter variables in loops. An integer variable only requires two bytes of memory. "%" is the type-declaration character.</paragraph>
+ <listitem>
+ <paragraph id="par_id3153972" role="listitem" xml-lang="en-US"> <emph>Numeric</emph> variables can contain number values. Some variables are used to store large or small numbers, and others are used for floating-point or fractional numbers. </paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3159226" role="listitem" xml-lang="en-US"> <emph>String</emph> variables contain character strings.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3145217" role="listitem" xml-lang="en-US"> <emph>Boolean</emph> variables contain either the TRUE or the FALSE value.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id3154762" role="listitem" xml-lang="en-US"> <emph>Object</emph> variables can store objects of various types, like tables and documents within a document.</paragraph>
+ </listitem></list>
+
+<paragraph id="hd_id3153805" role="heading" level="3" xml-lang="en-US">Integer Variables</paragraph>
+<paragraph id="par_id3146966" role="paragraph" xml-lang="en-US">Integer variables range from -32768 to 32767. If you assign a floating-point value to an integer variable, the decimal places are rounded to the next integer. Integer variables are rapidly calculated in procedures and are suitable for counter variables in loops. An integer variable only requires two bytes of memory. "%" is the type-declaration character.</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable%</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Integer</paragraph>
+<paragraph id="par_idm1341159200" role="bascode" localize="false" xml-lang="en-US">Dim Variable%</paragraph>
+<paragraph id="par_idm1341157968" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Integer</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3147546" xml-lang="en-US" level="3" l10n="U" oldref="45">Long Integer Variables</paragraph>
-<paragraph role="paragraph" id="par_id3151193" xml-lang="en-US" l10n="U" oldref="46">Long integer variables range from -2147483648 to 2147483647. If you assign a floating-point value to a long integer variable, the decimal places are rounded to the next integer. Long integer variables are rapidly calculated in procedures and are suitable for counter variables in loops for large values. A long integer variable requires four bytes of memory. "&amp;" is the type-declaration character.</paragraph>
+
+<paragraph id="hd_id3147546" role="heading" level="3" xml-lang="en-US">Long Integer Variables</paragraph>
+<paragraph id="par_id3151193" role="paragraph" xml-lang="en-US">Long integer variables range from -2147483648 to 2147483647. If you assign a floating-point value to a long integer variable, the decimal places are rounded to the next integer. Long integer variables are rapidly calculated in procedures and are suitable for counter variables in loops for large values. A long integer variable requires four bytes of memory. "&amp;" is the type-declaration character.</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable&amp;</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Long</paragraph>
+<paragraph id="par_idm1341151984" role="bascode" localize="false" xml-lang="en-US">Dim Variable&amp;</paragraph>
+<paragraph id="par_idm1341150736" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Long</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id7596972" xml-lang="en-US" level="3" l10n="NEW">Decimal Variables<comment>see i64349</comment></paragraph>
-<paragraph role="paragraph" id="par_id2649311" xml-lang="en-US" l10n="NEW">Decimal variables can take positive or negative numbers or zero. Accuracy is up to 29 digits.</paragraph><comment>i85284</comment><paragraph role="paragraph" id="par_id7617114" xml-lang="en-US" l10n="NEW">You can use plus (+) or minus (-) signs as prefixes for decimal numbers (with or without spaces).</paragraph>
-<paragraph role="paragraph" id="par_id1593676" xml-lang="en-US" l10n="NEW">If a decimal number is assigned to an integer variable, %PRODUCTNAME Basic rounds the figure up or down.<comment>information from "Programming Guide for BASIC" about decimal variables</comment></paragraph>
-<paragraph role="heading" id="hd_id3147500" xml-lang="en-US" level="3" l10n="U" oldref="50">Single Variables</paragraph>
-<paragraph role="paragraph" id="par_id3153070" xml-lang="en-US" l10n="U" oldref="51">Single variables can take positive or negative values ranging from 3.402823 x 10E38 to 1.401298 x 10E-45. Single variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Single variables are suitable for mathematical calculations of average precision. Calculations require more time than for Integer variables, but are faster than calculations with Double variables. A Single variable requires 4 bytes of memory. The type-declaration character is "!".</paragraph>
+
+<paragraph id="hd_id7596972" role="heading" level="3" xml-lang="en-US">Decimal Variables<comment>see i64349</comment></paragraph>
+<paragraph id="par_id2649311" role="paragraph" xml-lang="en-US">Decimal variables can take positive or negative numbers or zero. Accuracy is up to 29 digits.</paragraph><comment>i85284</comment>
+<paragraph id="par_id7617114" role="paragraph" xml-lang="en-US">You can use plus (+) or minus (-) signs as prefixes for decimal numbers (with or without spaces).</paragraph>
+<paragraph id="par_id1593676" role="paragraph" xml-lang="en-US">If a decimal number is assigned to an integer variable, %PRODUCTNAME Basic rounds the figure up or down.<comment>information from "Programming Guide for BASIC" about decimal variables</comment></paragraph>
+
+<paragraph id="hd_id3147500" role="heading" level="3" xml-lang="en-US">Single Variables</paragraph>
+<paragraph id="par_id3153070" role="paragraph" xml-lang="en-US">Single variables can take positive or negative values ranging from 3.402823 x 10E38 to 1.401298 x 10E-45. Single variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Single variables are suitable for mathematical calculations of average precision. Calculations require more time than for Integer variables, but are faster than calculations with Double variables. A Single variable requires 4 bytes of memory. The type-declaration character is "!".</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable!</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Single</paragraph>
+<paragraph id="par_idm1341137456" role="bascode" localize="false" xml-lang="en-US">Dim Variable!</paragraph>
+<paragraph id="par_idm1341136224" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Single</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3155753" xml-lang="en-US" level="3" l10n="U" oldref="54">Double Variables</paragraph>
-<paragraph role="paragraph" id="par_id3150953" xml-lang="en-US" l10n="U" oldref="55">Double variables can take positive or negative values ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x 10E-324. Double variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Double variables are suitable for precise calculations. Calculations require more time than for Single variables. A Double variable requires 8 bytes of memory. The type-declaration character is "#".</paragraph>
+
+<paragraph id="hd_id3155753" role="heading" level="3" xml-lang="en-US">Double Variables</paragraph>
+<paragraph id="par_id3150953" role="paragraph" xml-lang="en-US">Double variables can take positive or negative values ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x 10E-324. Double variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Double variables are suitable for precise calculations. Calculations require more time than for Single variables. A Double variable requires 8 bytes of memory. The type-declaration character is "#".</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable#</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Double</paragraph>
+<paragraph id="par_idm1341130144" role="bascode" localize="false" xml-lang="en-US">Dim Variable#</paragraph>
+<paragraph id="par_idm1341128912" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Double</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3155747" xml-lang="en-US" level="3" l10n="U" oldref="95">Currency Variables</paragraph>
-<paragraph role="paragraph" id="par_id3153337" xml-lang="en-US" l10n="U" oldref="96">Currency variables are internally stored as 64-bit numbers (8 Bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. The values range from -922337203685477.5808 to +922337203685477.5807. Currency variables are used to calculate currency values with a high precision. The type-declaration character is "@".</paragraph>
+
+<paragraph id="hd_id3155747" role="heading" level="3" xml-lang="en-US">Currency Variables</paragraph>
+<paragraph id="par_id3153337" role="paragraph" xml-lang="en-US">Currency variables are internally stored as 64-bit numbers (8 Bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. The values range from -922337203685477.5808 to +922337203685477.5807. Currency variables are used to calculate currency values with a high precision. The type-declaration character is "@".</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable@</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Currency</paragraph>
+<paragraph id="par_idm1341123216" role="bascode" localize="false" xml-lang="en-US">Dim Variable@</paragraph>
+<paragraph id="par_idm1341121984" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Currency</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148742" xml-lang="en-US" level="3" l10n="U" oldref="58">String Variables</paragraph>
-<paragraph role="paragraph" id="par_id3151393" xml-lang="en-US" l10n="U" oldref="59">String variables can hold character strings with up to 65,535 characters. Each character is stored as the corresponding Unicode value. String variables are suitable for word processing within programs and for temporary storage of any non-printable character up to a maximum length of 64 Kbytes. The memory required for storing string variables depends on the number of characters in the variable. The type-declaration character is "$".</paragraph>
+
+<paragraph id="hd_id3148742" role="heading" level="3" xml-lang="en-US">String Variables</paragraph>
+<paragraph id="par_id3151393" role="paragraph" xml-lang="en-US">String variables can hold character strings with up to 65,535 characters. Each character is stored as the corresponding Unicode value. String variables are suitable for word processing within programs and for temporary storage of any non-printable character up to a maximum length of 64 Kbytes. The memory required for storing string variables depends on the number of characters in the variable. The type-declaration character is "$".</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable$</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As String</paragraph>
+<paragraph id="par_idm1341116176" role="bascode" localize="false" xml-lang="en-US">Dim Variable$</paragraph>
+<paragraph id="par_idm1341114944" role="bascode" localize="false" xml-lang="en-US">Dim Variable As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150534" xml-lang="en-US" level="3" l10n="U" oldref="62">Boolean Variables</paragraph>
-<paragraph role="paragraph" id="par_id3145632" xml-lang="en-US" l10n="CHG" oldref="63">Boolean variables store only one of two values: TRUE or FALSE. A number 0 evaluates to FALSE, every other value evaluates to TRUE.</paragraph>
+
+<paragraph id="hd_id3150534" role="heading" level="3" xml-lang="en-US">Boolean Variables</paragraph>
+<paragraph id="par_id3145632" role="paragraph" xml-lang="en-US">Boolean variables store only one of two values: TRUE or FALSE. A number 0 evaluates to FALSE, every other value evaluates to TRUE.</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Boolean</paragraph>
+<paragraph id="par_idm1341109456" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Boolean</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3149722" xml-lang="en-US" level="3" l10n="U" oldref="65">Date Variables</paragraph>
-<paragraph role="paragraph" id="par_id3159116" xml-lang="en-US" l10n="U" oldref="66">Date variables can only contain dates and time values stored in an internal format. Values assigned to Date variables with <link href="text/sbasic/shared/03030101.xhp" name="Dateserial"><emph>Dateserial</emph></link>, <link href="text/sbasic/shared/03030102.xhp" name="Datevalue"><emph>Datevalue</emph></link>, <link href="text/sbasic/shared/03030205.xhp" name="Timeserial"><emph>Timeserial</emph></link> or <link href="text/sbasic/shared/03030206.xhp" name="Timevalue"><emph>Timevalue</emph></link> are automatically converted to the internal format. Date-variables are converted to normal numbers by using the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function. The internal format enables a comparison of date/time values by calculating the difference between two numbers. These variables can only be declared with the key word <emph>Date</emph>.</paragraph>
+
+<paragraph id="hd_id3149722" role="heading" level="3" xml-lang="en-US">Date Variables</paragraph>
+<paragraph id="par_id3159116" role="paragraph" xml-lang="en-US">Date variables can only contain dates and time values stored in an internal format. Values assigned to Date variables with <link href="text/sbasic/shared/03030101.xhp" name="Dateserial"><emph>Dateserial</emph></link>, <link href="text/sbasic/shared/03030102.xhp" name="Datevalue"><emph>Datevalue</emph></link>, <link href="text/sbasic/shared/03030205.xhp" name="Timeserial"><emph>Timeserial</emph></link> or <link href="text/sbasic/shared/03030206.xhp" name="Timevalue"><emph>Timevalue</emph></link> are automatically converted to the internal format. Date-variables are converted to normal numbers by using the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function. The internal format enables a comparison of date/time values by calculating the difference between two numbers. These variables can only be declared with the key word <emph>Date</emph>.</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Date</paragraph>
+<paragraph id="par_idm1341092144" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Date</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148732" xml-lang="en-US" level="2" l10n="U" oldref="68">Initial Variable Values</paragraph>
-<paragraph role="paragraph" id="par_id3154549" xml-lang="en-US" l10n="U" oldref="69">As soon as the variable has been declared, it is automatically set to the "Null" value. Note the following conventions:</paragraph>
-<paragraph role="paragraph" id="par_id3143222" xml-lang="en-US" l10n="U" oldref="70">
-<emph>Numeric</emph> variables are automatically assigned the value "0" as soon as they are declared.</paragraph>
-<paragraph role="paragraph" id="par_id3150693" xml-lang="en-US" l10n="U" oldref="71">
-<emph>Date variables</emph> are assigned the value 0 internally; equivalent to converting the value to "0" with the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function.</paragraph>
-<paragraph role="paragraph" id="par_id3154807" xml-lang="en-US" l10n="U" oldref="72">
-<emph>String variables</emph> are assigned an empty-string ("") when they are declared.</paragraph>
-<paragraph role="heading" id="hd_id3153936" xml-lang="en-US" level="2" l10n="U" oldref="83">Arrays</paragraph>
-<paragraph role="paragraph" id="par_id3148736" xml-lang="en-US" l10n="U" oldref="84">$[officename] Basic knows one- or multi-dimensional arrays, defined by a specified variable type. Arrays are suitable for editing lists and tables in programs. Individual elements of an array can be addressed through a numeric index.</paragraph>
-<paragraph role="paragraph" id="par_id3149546" xml-lang="en-US" l10n="U" oldref="85">Arrays <emph>must</emph> be declared with the <emph>Dim</emph> statement. There are several ways to define the index range of an array:</paragraph>
+
+<paragraph id="hd_id3148732" role="heading" level="2" xml-lang="en-US">Initial Variable Values</paragraph>
+<paragraph id="par_id3154549" role="paragraph" xml-lang="en-US">As soon as the variable has been declared, it is automatically set to the "Null" value. Note the following conventions:</paragraph>
+<paragraph id="par_id3143222" role="paragraph" xml-lang="en-US"> <emph>Numeric</emph> variables are automatically assigned the value "0" as soon as they are declared.</paragraph>
+<paragraph id="par_id3150693" role="paragraph" xml-lang="en-US"> <emph>Date variables</emph> are assigned the value 0 internally; equivalent to converting the value to "0" with the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function.</paragraph>
+<paragraph id="par_id3154807" role="paragraph" xml-lang="en-US"> <emph>String variables</emph> are assigned an empty-string ("") when they are declared.</paragraph>
+
+<paragraph id="hd_id3153936" role="heading" level="2" xml-lang="en-US">Arrays</paragraph>
+<paragraph id="par_id3148736" role="paragraph" xml-lang="en-US">$[officename] Basic knows one- or multi-dimensional arrays, defined by a specified variable type. Arrays are suitable for editing lists and tables in programs. Individual elements of an array can be addressed through a numeric index.</paragraph>
+<paragraph id="par_id3149546" role="paragraph" xml-lang="en-US">Arrays <emph>must</emph> be declared with the <emph>Dim</emph> statement. There are several ways to define the index range of an array:</paragraph>
+
<table id="tbl_id3155829">
-<tablerow>
-<tablecell colspan="" rowspan="">
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(20)</paragraph>
+ <paragraph id="par_idm1341065280" role="bascode" localize="false" xml-lang="en-US">Dim Text$(20)</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154567" xml-lang="en-US" l10n="U" oldref="136">21 elements numbered from 0 to 20</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154567" role="paragraph" xml-lang="en-US">21 elements numbered from 0 to 20</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(5,4)</paragraph>
+ <paragraph id="par_idm1341059776" role="bascode" localize="false" xml-lang="en-US">Dim Text$(5,4)</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154397" xml-lang="en-US" l10n="U" oldref="137">30 elements (a matrix of 6 x 5 elements)</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154397" role="paragraph" xml-lang="en-US">30 elements (a matrix of 6 x 5 elements)</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(5 To 25)</paragraph>
+ <paragraph id="par_idm1341054256" role="bascode" localize="false" xml-lang="en-US">Dim Text$(5 To 25)</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3149690" xml-lang="en-US" l10n="U" oldref="138">21 elements numbered from 5 to 25</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3149690" role="paragraph" xml-lang="en-US">21 elements numbered from 5 to 25</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(-15 To 5)</paragraph>
+ <paragraph id="par_idm1341048752" role="bascode" localize="false" xml-lang="en-US">Dim Text$(-15 To 5)</paragraph>
</bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153113" xml-lang="en-US" l10n="U" oldref="89">21 elements (including 0), numbered from -15 to 5</paragraph>
-</tablecell>
-</tablerow>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3153113" role="paragraph" xml-lang="en-US">21 elements (including 0), numbered from -15 to 5</paragraph>
+ </tablecell>
+ </tablerow>
</table>
-<paragraph role="paragraph" id="par_id3153005" xml-lang="en-US" l10n="CHG" oldref="90">The index range can include positive as well as negative numbers. <comment>i36558</comment></paragraph>
-<paragraph role="heading" id="hd_id3154507" xml-lang="en-US" level="2" l10n="U" oldref="91">Constants</paragraph>
-<paragraph role="paragraph" id="par_id3156357" xml-lang="en-US" l10n="U" oldref="92">Constants have a fixed value. They are only defined once in the program and cannot be redefined later:</paragraph>
+
+<paragraph id="par_id3153005" role="paragraph" xml-lang="en-US">The index range can include positive as well as negative numbers. <comment>i36558</comment></paragraph>
+
+<paragraph id="hd_id3154507" role="heading" level="2" xml-lang="en-US">Constants</paragraph>
+<paragraph id="par_id3156357" role="paragraph" xml-lang="en-US">Constants have a fixed value. They are only defined once in the program and cannot be redefined later:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Const ConstName=Expression</paragraph>
+<paragraph id="par_idm1341038256" role="bascode" localize="false" xml-lang="en-US">Const ConstName=Expression</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/01020300.xhp b/source/text/sbasic/shared/01020300.xhp
index 26c174f040..70d2b0813a 100644
--- a/source/text/sbasic/shared/01020300.xhp
+++ b/source/text/sbasic/shared/01020300.xhp
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -18,123 +16,129 @@
* 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="textsbasicshared01020300xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Using Procedures and Functions</title>
-<filename>/text/sbasic/shared/01020300.xhp</filename>
-</topic>
+ <topic id="textsbasicshared01020300xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Using Procedures and Functions</title>
+ <filename>/text/sbasic/shared/01020300.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="prozedur">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149456"><bookmark_value>procedures</bookmark_value>
-<bookmark_value>functions;using</bookmark_value>
-<bookmark_value>variables;passing to procedures and functions</bookmark_value>
-<bookmark_value>parameters;for procedures and functions</bookmark_value>
-<bookmark_value>parameters;passing by reference or value</bookmark_value>
-<bookmark_value>variables;scope</bookmark_value>
-<bookmark_value>scope of variables</bookmark_value>
-<bookmark_value>GLOBAL variables</bookmark_value>
-<bookmark_value>PUBLIC variables</bookmark_value>
-<bookmark_value>PRIVATE variables</bookmark_value>
-<bookmark_value>functions;return value type</bookmark_value>
-<bookmark_value>return value type of functions</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149456">
+ <bookmark_value>procedures</bookmark_value>
+ <bookmark_value>functions;using</bookmark_value>
+ <bookmark_value>variables;passing to procedures and functions</bookmark_value>
+ <bookmark_value>parameters;for procedures and functions</bookmark_value>
+ <bookmark_value>parameters;passing by reference or value</bookmark_value>
+ <bookmark_value>variables;scope</bookmark_value>
+ <bookmark_value>scope of variables</bookmark_value>
+ <bookmark_value>GLOBAL variables</bookmark_value>
+ <bookmark_value>PUBLIC variables</bookmark_value>
+ <bookmark_value>PRIVATE variables</bookmark_value>
+ <bookmark_value>functions;return value type</bookmark_value>
+ <bookmark_value>return value type of functions</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link></paragraph>
-<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="2">The following describes the basic use of procedures and functions in $[officename] Basic.</paragraph>
-</section>
-<paragraph role="note" id="par_id3151215" xml-lang="en-US" l10n="U" oldref="56">When you create a new module, $[officename] Basic automatically inserts a SUB called "Main". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB.</paragraph>
-<paragraph role="note" id="par_id314756320" xml-lang="en-US" l10n="NEW">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
-<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="3">Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces.</paragraph>
-<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="CHG" oldref="4">One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project.</paragraph>
-<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="26">Passing Variables to Procedures (SUB) and Functions (FUNCTION)</paragraph>
-<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="U" oldref="27">Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:</paragraph>
+<paragraph id="hd_id3149456" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link></paragraph>
+<paragraph id="par_id3150767" role="paragraph" xml-lang="en-US">The following describes the basic use of procedures and functions in $[officename] Basic.</paragraph>
+</section>
+<paragraph id="par_id3151215" role="note" xml-lang="en-US">When you create a new module, $[officename] Basic automatically inserts a SUB called "Main". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB.</paragraph>
+<paragraph id="par_id314756320" role="note" xml-lang="en-US">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
+<paragraph id="par_id3154124" role="paragraph" xml-lang="en-US">Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces.</paragraph>
+<paragraph id="par_id3153193" role="paragraph" xml-lang="en-US">One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project.</paragraph>
+
+<paragraph id="hd_id3153770" role="heading" level="2" xml-lang="en-US">Passing Variables to Procedures (SUB) and Functions (FUNCTION)</paragraph>
+<paragraph id="par_id3155414" role="paragraph" xml-lang="en-US">Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub SubName(Parameter1 As Type, Parameter2 As Type,...)</paragraph>
-<paragraph role="bascode" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="29">Program code</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340846688" role="bascode" localize="false" xml-lang="en-US">Sub SubName(Parameter1 As Type, Parameter2 As Type,...)</paragraph>
+<paragraph id="par_id3151114" role="bascode" xml-lang="en-US">Program code</paragraph>
+<paragraph id="par_idm1340843712" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="31">The SUB is called using the following syntax:</paragraph>
+<paragraph id="par_id3152577" role="paragraph" xml-lang="en-US">The SUB is called using the following syntax:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">SubName(Value1, Value2,...)</paragraph>
+<paragraph id="par_idm1341029952" role="bascode" localize="false" xml-lang="en-US">SubName(Value1, Value2,...)</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="33">The parameters passed to a SUB must fit to those specified in the SUB declaration.</paragraph>
-<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="34">The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:</paragraph>
+<paragraph id="par_id3147124" role="paragraph" xml-lang="en-US">The parameters passed to a SUB must fit to those specified in the SUB declaration.</paragraph>
+<paragraph id="par_id3147397" role="paragraph" xml-lang="en-US">The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Function FunctionName(Parameter1 As Type, Parameter2 As Type,...) As Type</paragraph>
-<paragraph role="bascode" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="36">Program code</paragraph>
-<paragraph role="bascode" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="37">FunctionName=Result</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Function</paragraph>
+<paragraph id="par_idm1341024672" role="bascode" localize="false" xml-lang="en-US">Function FunctionName(Parameter1 As Type, Parameter2 As Type,...) As Type</paragraph>
+<paragraph id="par_id3156284" role="bascode" xml-lang="en-US">Program code</paragraph>
+<paragraph id="par_id3145799" role="bascode" xml-lang="en-US">FunctionName=Result</paragraph>
+<paragraph id="par_idm1341019952" role="bascode" localize="false" xml-lang="en-US">End Function</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3153839" xml-lang="en-US" l10n="U" oldref="39">The FUNCTION is called using the following syntax:</paragraph>
+<paragraph id="par_id3153839" role="paragraph" xml-lang="en-US">The FUNCTION is called using the following syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="40">Variable=FunctionName(Parameter1, Parameter2,...)</paragraph>
+<paragraph id="par_id3146914" role="bascode" xml-lang="en-US">Variable=FunctionName(Parameter1, Parameter2,...)</paragraph>
</bascode>
-<paragraph role="tip" id="par_idN107B3" xml-lang="en-US">You can also use the fully qualified name to call a procedure or function:<br/>
-<item type="literal">Library.Module.Macro()</item>
-<br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/>
-<item type="literal">Gimmicks.AutoText.Main()</item>
-</paragraph>
-<paragraph role="heading" id="hd_id3156276" xml-lang="en-US" level="2" l10n="U" oldref="45">Passing Variables by Value or Reference</paragraph>
-<paragraph role="paragraph" id="par_id3155765" xml-lang="en-US" l10n="U" oldref="47">Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value.</paragraph>
-<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="53">If you want to pass a parameter by value insert the key word "ByVal" in front of the parameter when you call a SUB or FUNCTION, for example:</paragraph>
+<paragraph id="par_idN107B3" role="tip" xml-lang="en-US">You can also use the fully qualified name to call a procedure or function:<br/> <item type="literal">Library.Module.Macro()</item> <br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/> <item type="literal">Gimmicks.AutoText.Main()</item> </paragraph>
+
+<paragraph id="hd_id3156276" role="heading" level="2" xml-lang="en-US">Passing Variables by Value or Reference</paragraph>
+<paragraph id="par_id3155765" role="paragraph" xml-lang="en-US">Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value.</paragraph>
+<paragraph id="par_id3145640" role="paragraph" xml-lang="en-US">If you want to pass a parameter by value insert the key word "ByVal" in front of the parameter when you call a SUB or FUNCTION, for example:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="54">Result = Function(ByVal Parameter)</paragraph>
+<paragraph id="par_id3150042" role="bascode" xml-lang="en-US">Result = Function(ByVal Parameter)</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3149258" xml-lang="en-US" l10n="U" oldref="55">In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself.</paragraph>
-<paragraph role="heading" id="hd_id3150982" xml-lang="en-US" level="2" l10n="U" oldref="57">Scope of Variables</paragraph>
-<paragraph role="paragraph" id="par_id3149814" xml-lang="en-US" l10n="CHG" oldref="58">A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a "local" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited.</paragraph>
-<paragraph role="heading" id="hd_id3154186" xml-lang="en-US" level="3" l10n="U" oldref="59">Declaring Variables Outside a SUB or FUNCTION</paragraph>
+<paragraph id="par_id3149258" role="paragraph" xml-lang="en-US">In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself.</paragraph>
+
+<paragraph id="hd_id3150982" role="heading" level="2" xml-lang="en-US">Scope of Variables</paragraph>
+<paragraph id="par_id3149814" role="paragraph" xml-lang="en-US">A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a "local" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited.</paragraph>
+
+<paragraph id="hd_id3154186" role="heading" level="3" xml-lang="en-US">Declaring Variables Outside a SUB or FUNCTION</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150208" xml-lang="en-US" l10n="CHG" oldref="111">Global VarName As TYPENAME</paragraph>
+<paragraph id="par_id3150208" role="bascode" xml-lang="en-US">Global VarName As TYPENAME</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3145258" xml-lang="en-US" l10n="U" oldref="112">The variable is valid as long as the $[officename] session lasts.</paragraph>
+<paragraph id="par_id3145258" role="paragraph" xml-lang="en-US">The variable is valid as long as the $[officename] session lasts.</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3153198" xml-lang="en-US" l10n="CHG" oldref="60">Public VarName As TYPENAME</paragraph>
+<paragraph id="par_id3153198" role="bascode" xml-lang="en-US">Public VarName As TYPENAME</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3150088" xml-lang="en-US" l10n="U" oldref="61">The variable is valid in all modules.</paragraph>
+<paragraph id="par_id3150088" role="paragraph" xml-lang="en-US">The variable is valid in all modules.</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3158212" xml-lang="en-US" l10n="CHG" oldref="62">Private VarName As TYPENAME</paragraph>
+<paragraph id="par_id3158212" role="bascode" xml-lang="en-US">Private VarName As TYPENAME</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="U" oldref="63">The variable is only valid in this module.</paragraph>
+<paragraph id="par_id3152994" role="paragraph" xml-lang="en-US">The variable is only valid in this module.</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150886" xml-lang="en-US" l10n="U" oldref="64">Dim VarName As TYPENAME</paragraph>
+<paragraph id="par_id3150886" role="bascode" xml-lang="en-US">Dim VarName As TYPENAME</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3150368" xml-lang="en-US" l10n="U" oldref="65">The variable is only valid in this module.</paragraph>
-<paragraph role="heading" id="hd_id5097506" xml-lang="en-US" level="3" l10n="NEW">Example for private variables</paragraph>
-<paragraph role="paragraph" id="par_id8738975" xml-lang="en-US">Enforce private variables to be private across modules by setting CompatibilityMode(true).</paragraph><comment>from i17948, see i54894</comment>
+<paragraph id="par_id3150368" role="paragraph" xml-lang="en-US">The variable is only valid in this module.</paragraph>
+
+<paragraph id="hd_id5097506" role="heading" level="3" xml-lang="en-US">Example for private variables</paragraph>
+<paragraph id="par_id8738975" role="paragraph" xml-lang="en-US">Enforce private variables to be private across modules by setting CompatibilityMode(true).</paragraph><comment>from i17948, see i54894</comment>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">' ***** Module1 *****</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Private myText As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub initMyText</paragraph>
-<paragraph role="bascode" id="par_id9475997" xml-lang="en-US"> myText = "Hello"</paragraph>
-<paragraph role="bascode" id="par_id6933500" xml-lang="en-US"> Print "In module1 : ", myText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> </paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">' ***** Module2 *****</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">'Option Explicit</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub demoBug</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> CompatibilityMode( true )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> initMyText</paragraph>
-<paragraph role="bascode" id="par_id4104129" xml-lang="en-US"> ' Now returns empty string</paragraph>
-<paragraph role="bascode" id="par_id7906125" xml-lang="en-US"> ' (or rises error for Option Explicit)</paragraph>
-<paragraph role="bascode" id="par_id8055970" xml-lang="en-US"> Print "Now in module2 : ", myText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340976400" role="bascode" localize="false" xml-lang="en-US">' ***** Module1 *****</paragraph>
+<paragraph id="par_idm1340975168" role="bascode" localize="false" xml-lang="en-US">Private myText As String</paragraph>
+<paragraph id="par_idm1340973920" role="bascode" localize="false" xml-lang="en-US">Sub initMyText</paragraph>
+<paragraph id="par_id9475997" role="bascode" xml-lang="en-US"> myText = "Hello"</paragraph>
+<paragraph id="par_id6933500" role="bascode" xml-lang="en-US"> Print "In module1 : ", myText</paragraph>
+<paragraph id="par_idm1340970208" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340968976" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
+<paragraph id="par_idm1340967728" role="bascode" localize="false" xml-lang="en-US">' ***** Module2 *****</paragraph>
+<paragraph id="par_idm1340966496" role="bascode" localize="false" xml-lang="en-US">'Option Explicit</paragraph>
+<paragraph id="par_idm1340965264" role="bascode" localize="false" xml-lang="en-US">Sub demoBug</paragraph>
+<paragraph id="par_idm1340964032" role="bascode" localize="false" xml-lang="en-US"> CompatibilityMode( true )</paragraph>
+<paragraph id="par_idm1340962784" role="bascode" localize="false" xml-lang="en-US"> initMyText</paragraph>
+<paragraph id="par_id4104129" role="bascode" xml-lang="en-US"> ' Now returns empty string</paragraph>
+<paragraph id="par_id7906125" role="bascode" xml-lang="en-US"> ' (or rises error for Option Explicit)</paragraph>
+<paragraph id="par_id8055970" role="bascode" xml-lang="en-US"> Print "Now in module2 : ", myText</paragraph>
+<paragraph id="par_idm1340957792" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154368" xml-lang="en-US" level="3" l10n="U" oldref="66">Saving Variable Content after Exiting a SUB or FUNCTION</paragraph>
+
+<paragraph id="hd_id3154368" role="heading" level="3" xml-lang="en-US">Saving Variable Content after Exiting a SUB or FUNCTION</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3156288" xml-lang="en-US" l10n="CHG" oldref="67">Static VarName As TYPENAME</paragraph>
+<paragraph id="par_id3156288" role="bascode" xml-lang="en-US">Static VarName As TYPENAME</paragraph>
</bascode>
-<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US" l10n="U" oldref="68">The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION.</paragraph>
-<paragraph role="heading" id="hd_id3155809" xml-lang="en-US" level="2" l10n="U" oldref="41">Specifying the Return Value Type of a FUNCTION</paragraph>
-<paragraph role="paragraph" id="par_id3149404" xml-lang="en-US" l10n="U" oldref="42">As with variables, include a type-declaration character after the function name, or the type indicated by "As" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:</paragraph>
+<paragraph id="par_id3154486" role="paragraph" xml-lang="en-US">The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION.</paragraph>
+
+<paragraph id="hd_id3155809" role="heading" level="2" xml-lang="en-US">Specifying the Return Value Type of a FUNCTION</paragraph>
+<paragraph id="par_id3149404" role="paragraph" xml-lang="en-US">As with variables, include a type-declaration character after the function name, or the type indicated by "As" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Function WordCount(WordText As String) As Integer</paragraph>
+<paragraph id="par_idm1340946176" role="bascode" localize="false" xml-lang="en-US">Function WordCount(WordText As String) As Integer</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010101.xhp b/source/text/sbasic/shared/03010101.xhp
index 4abe46d6b3..b4aa9f9ed3 100644
--- a/source/text/sbasic/shared/03010101.xhp
+++ b/source/text/sbasic/shared/03010101.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,59 +16,62 @@
* 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="textsbasicshared03010101xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">MsgBox Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03010101.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010101xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">MsgBox Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03010101.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="msgbox">
-<bookmark xml-lang="en-US" branch="index" id="bm_id1807916"><bookmark_value>MsgBox statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id1807916">
+ <bookmark_value>MsgBox statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010101.xhp">MsgBox Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message.</paragraph>
+
+
+<paragraph id="hd_id3154927" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010101.xhp">MsgBox Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3148947" role="paragraph" xml-lang="en-US">Displays a dialog box containing a message.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3153897" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="4">MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</paragraph>
+<paragraph id="par_id3148664" role="bascode" xml-lang="en-US">MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
-<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="7">
-<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</paragraph>
-<paragraph role="paragraph" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Type</emph>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <emph>Type</emph> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</paragraph>
-<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="9">0 : Display OK button only.</paragraph>
-<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="10">1 : Display OK and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="CHG" oldref="11">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12">3 : Display Yes, No and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="13">4 : Display Yes and No buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="14">5 : Display Retry and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">16 : Add the Stop icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="16">32 : Add the Question icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="17">48 : Add the Exclamation icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3149960" xml-lang="en-US" l10n="U" oldref="18">64 : Add the Information icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="19">128 : First button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="20">256 : Second button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="21">512 : Third button in the dialog as default button.</paragraph>
+
+<paragraph id="hd_id3153361" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3148798" role="paragraph" xml-lang="en-US"> <emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+<paragraph id="par_id3150769" role="paragraph" xml-lang="en-US"> <emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</paragraph>
+<paragraph id="par_id3147228" role="paragraph" xml-lang="en-US"> <emph>Type</emph>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <emph>Type</emph> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</paragraph>
+<paragraph id="par_id3161832" role="paragraph" xml-lang="en-US">0 : Display OK button only.</paragraph>
+<paragraph id="par_id3153726" role="paragraph" xml-lang="en-US">1 : Display OK and Cancel buttons.</paragraph>
+<paragraph id="par_id3149665" role="paragraph" xml-lang="en-US">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
+<paragraph id="par_id3147318" role="paragraph" xml-lang="en-US">3 : Display Yes, No and Cancel buttons.</paragraph>
+<paragraph id="par_id3155412" role="paragraph" xml-lang="en-US">4 : Display Yes and No buttons.</paragraph>
+<paragraph id="par_id3146119" role="paragraph" xml-lang="en-US">5 : Display Retry and Cancel buttons.</paragraph>
+<paragraph id="par_id3159155" role="paragraph" xml-lang="en-US">16 : Add the Stop icon to the dialog.</paragraph>
+<paragraph id="par_id3145366" role="paragraph" xml-lang="en-US">32 : Add the Question icon to the dialog.</paragraph>
+<paragraph id="par_id3147350" role="paragraph" xml-lang="en-US">48 : Add the Exclamation icon to the dialog.</paragraph>
+<paragraph id="par_id3149960" role="paragraph" xml-lang="en-US">64 : Add the Information icon to the dialog.</paragraph>
+<paragraph id="par_id3154944" role="paragraph" xml-lang="en-US">128 : First button in the dialog as default button.</paragraph>
+<paragraph id="par_id3155417" role="paragraph" xml-lang="en-US">256 : Second button in the dialog as default button.</paragraph>
+<paragraph id="par_id3153878" role="paragraph" xml-lang="en-US">512 : Third button in the dialog as default button.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3150715" xml-lang="en-US" level="2" l10n="U" oldref="22">Example:</paragraph>
+
+<paragraph id="hd_id3150715" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
-<paragraph role="bascode" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="24"> Const sText1 = "An unexpected error occurred."</paragraph>
-<paragraph role="bascode" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="25"> Const sText2 = "The program execution will continue, however."</paragraph>
-<paragraph role="bascode" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="26"> Const sText3 = "Error"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox(sText1 + Chr(13) + sText2,16,sText3)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340869408" role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
+<paragraph id="par_id3150327" role="bascode" xml-lang="en-US"> Const sText1 = "An unexpected error occurred."</paragraph>
+<paragraph id="par_id3146912" role="bascode" xml-lang="en-US"> Const sText2 = "The program execution will continue, however."</paragraph>
+<paragraph id="par_id3154757" role="bascode" xml-lang="en-US"> Const sText3 = "Error"</paragraph>
+<paragraph id="par_idm1340862944" role="bascode" localize="false" xml-lang="en-US"> MsgBox(sText1 + Chr(13) + sText2,16,sText3)</paragraph>
+<paragraph id="par_idm1340861680" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010102.xhp b/source/text/sbasic/shared/03010102.xhp
index 9bfa303642..731a744536 100644
--- a/source/text/sbasic/shared/03010102.xhp
+++ b/source/text/sbasic/shared/03010102.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,74 +16,74 @@
* 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="textsbasicshared03010102xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">MsgBox Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010102.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010102xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">MsgBox Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010102.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="msgbox">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153379"><bookmark_value>MsgBox function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153379">
+ <bookmark_value>MsgBox function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010102.xhp" name="MsgBox Function [Runtime]">MsgBox Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message and returns a value.</paragraph>
+
+
+<paragraph id="hd_id3153379" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010102.xhp" name="MsgBox Function [Runtime]">MsgBox Function [Runtime]</link></paragraph>
+<paragraph id="par_id3145171" role="paragraph" xml-lang="en-US">Displays a dialog box containing a message and returns a value.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3156281" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3156281" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]])</paragraph>
+<paragraph id="par_id3154685" role="bascode" xml-lang="en-US">MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]])</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153771" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3153363" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
-<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="9">
-<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the name of the respective application is displayed.</paragraph>
-<paragraph role="paragraph" id="par_id3153954" xml-lang="en-US" l10n="U" oldref="10">
-<emph>Type</emph>: Any integer expression that specifies the dialog type and defines the number and type of buttons or icons displayed. <emph>Type</emph> represents a combination of bit patterns (dialog elements defined by adding the respective values):</paragraph>
-<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="11">
-<emph>Values</emph>
-</paragraph>
-<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="12">0 : Display OK button only.</paragraph>
-<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="13">1 : Display OK and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3149410" xml-lang="en-US" l10n="CHG" oldref="14">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="U" oldref="15">3 : Display Yes, No, and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="16">4 : Display Yes and No buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="17">5 : Display Retry and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="18">16 : Add the Stop icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3153837" xml-lang="en-US" l10n="U" oldref="19">32 : Add the Question icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3150751" xml-lang="en-US" l10n="U" oldref="20">48 : Add the Exclamation Point icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3146915" xml-lang="en-US" l10n="U" oldref="21">64 : Add the Information icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="22">128 : First button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="23">256 : Second button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3153715" xml-lang="en-US" l10n="U" oldref="24">512 : Third button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3159267" xml-lang="en-US" l10n="U" oldref="25">
-<emph>Return value:</emph>
-</paragraph>
-<paragraph role="paragraph" id="par_id3145230" xml-lang="en-US" l10n="U" oldref="26">1 : OK</paragraph>
-<paragraph role="paragraph" id="par_id3149567" xml-lang="en-US" l10n="U" oldref="27">2 : Cancel</paragraph>
-<paragraph role="paragraph" id="par_id4056825" xml-lang="en-US" l10n="NEW">3 : Abort</paragraph>
-<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US" l10n="U" oldref="28">4 : Retry</paragraph>
-<paragraph role="paragraph" id="par_id3146918" xml-lang="en-US" l10n="U" oldref="29">5 : Ignore</paragraph>
-<paragraph role="paragraph" id="par_id3155961" xml-lang="en-US" l10n="U" oldref="30">6 : Yes</paragraph>
-<paragraph role="paragraph" id="par_id3148488" xml-lang="en-US" l10n="U" oldref="31">7 : No</paragraph>
+
+<paragraph id="hd_id3153771" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3146985" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3153363" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3153727" role="paragraph" xml-lang="en-US"> <emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+<paragraph id="par_id3147317" role="paragraph" xml-lang="en-US"> <emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the name of the respective application is displayed.</paragraph>
+<paragraph id="par_id3153954" role="paragraph" xml-lang="en-US"> <emph>Type</emph>: Any integer expression that specifies the dialog type and defines the number and type of buttons or icons displayed. <emph>Type</emph> represents a combination of bit patterns (dialog elements defined by adding the respective values):</paragraph>
+<paragraph id="par_id3154319" role="paragraph" xml-lang="en-US"> <emph>Values</emph> </paragraph>
+<paragraph id="par_id3147397" role="paragraph" xml-lang="en-US">0 : Display OK button only.</paragraph>
+<paragraph id="par_id3145646" role="paragraph" xml-lang="en-US">1 : Display OK and Cancel buttons.</paragraph>
+<paragraph id="par_id3149410" role="paragraph" xml-lang="en-US">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
+<paragraph id="par_id3151075" role="paragraph" xml-lang="en-US">3 : Display Yes, No, and Cancel buttons.</paragraph>
+<paragraph id="par_id3153878" role="paragraph" xml-lang="en-US">4 : Display Yes and No buttons.</paragraph>
+<paragraph id="par_id3155601" role="paragraph" xml-lang="en-US">5 : Display Retry and Cancel buttons.</paragraph>
+<paragraph id="par_id3150716" role="paragraph" xml-lang="en-US">16 : Add the Stop icon to the dialog.</paragraph>
+<paragraph id="par_id3153837" role="paragraph" xml-lang="en-US">32 : Add the Question icon to the dialog.</paragraph>
+<paragraph id="par_id3150751" role="paragraph" xml-lang="en-US">48 : Add the Exclamation Point icon to the dialog.</paragraph>
+<paragraph id="par_id3146915" role="paragraph" xml-lang="en-US">64 : Add the Information icon to the dialog.</paragraph>
+<paragraph id="par_id3145640" role="paragraph" xml-lang="en-US">128 : First button in the dialog as default button.</paragraph>
+<paragraph id="par_id3153765" role="paragraph" xml-lang="en-US">256 : Second button in the dialog as default button.</paragraph>
+<paragraph id="par_id3153715" role="paragraph" xml-lang="en-US">512 : Third button in the dialog as default button.</paragraph>
+<paragraph id="par_id3159267" role="paragraph" xml-lang="en-US"> <emph>Return value:</emph> </paragraph>
+<paragraph id="par_id3145230" role="paragraph" xml-lang="en-US">1 : OK</paragraph>
+<paragraph id="par_id3149567" role="paragraph" xml-lang="en-US">2 : Cancel</paragraph>
+<paragraph id="par_id4056825" role="paragraph" xml-lang="en-US">3 : Abort</paragraph>
+<paragraph id="par_id3155335" role="paragraph" xml-lang="en-US">4 : Retry</paragraph>
+<paragraph id="par_id3146918" role="paragraph" xml-lang="en-US">5 : Ignore</paragraph>
+<paragraph id="par_id3155961" role="paragraph" xml-lang="en-US">6 : Yes</paragraph>
+<paragraph id="par_id3148488" role="paragraph" xml-lang="en-US">7 : No</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3150090" xml-lang="en-US" level="2" l10n="U" oldref="40">Example:</paragraph>
+
+<paragraph id="hd_id3150090" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sVar As Integer</paragraph>
-<paragraph role="bascode" id="par_id3151278" xml-lang="en-US" l10n="U" oldref="43"> sVar = MsgBox("Las Vegas")</paragraph>
-<paragraph role="bascode" id="par_id3149034" xml-lang="en-US" l10n="U" oldref="44"> sVar = MsgBox("Las Vegas",1)</paragraph>
-<paragraph role="bascode" id="par_id3166424" xml-lang="en-US" l10n="U" oldref="45"> sVar = MsgBox( "Las Vegas",256 + 16 + 2,"Dialog title")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340837456" role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
+<paragraph id="par_idm1340836224" role="bascode" localize="false" xml-lang="en-US">Dim sVar As Integer</paragraph>
+<paragraph id="par_id3151278" role="bascode" xml-lang="en-US"> sVar = MsgBox("Las Vegas")</paragraph>
+<paragraph id="par_id3149034" role="bascode" xml-lang="en-US"> sVar = MsgBox("Las Vegas",1)</paragraph>
+<paragraph id="par_id3166424" role="bascode" xml-lang="en-US"> sVar = MsgBox( "Las Vegas",256 + 16 + 2,"Dialog title")</paragraph>
+<paragraph id="par_idm1340829728" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010103.xhp b/source/text/sbasic/shared/03010103.xhp
index bc304250d5..610cf8ab16 100644
--- a/source/text/sbasic/shared/03010103.xhp
+++ b/source/text/sbasic/shared/03010103.xhp
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -18,66 +16,70 @@
* 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="textsbasicshared03010103xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Print Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03010103.xhp</filename>
-</topic>
+ <topic id="textsbasicshared03010103xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Print Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03010103.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="print">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3147230"><bookmark_value>Print statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147230">
+ <bookmark_value>Print statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3147230" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010103.xhp" name="Print Statement [Runtime]">Print Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="CHG" oldref="2">Outputs the specified strings or numeric expressions to a dialog or to a file.</paragraph>
+
+
+<paragraph id="hd_id3147230" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010103.xhp" name="Print Statement [Runtime]">Print Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US">Outputs the specified strings or numeric expressions to a dialog or to a file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3145785" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3145785" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3153188" xml-lang="en-US" l10n="CHG" oldref="4">Print [#FileName,] Expression1[{;|,} [Spc(Number As Integer);] [Tab(pos As Integer);] [Expression2[...]] </paragraph>
+<paragraph id="par_id3153188" role="bascode" xml-lang="en-US">Print [#FileName,] Expression1[{;|,} [Spc(Number As Integer);] [Tab(pos As Integer);] [Expression2[...]] </paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3147348" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id2508621" xml-lang="en-US" l10n="NEW">
-<emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.<comment>see i61758</comment></paragraph>
-<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Expression</emph>: Any numeric or string expression to be printed. Multiple expressions can be separated by a semicolon. If separated by a comma, the expressions are indented to the next tab stop. The tab stops cannot be adjusted.</paragraph>
-<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="7">
-<emph>Number</emph>: Number of spaces to be inserted by the <emph>Spc</emph> function.</paragraph>
-<paragraph role="paragraph" id="par_id3145364" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Pos</emph>: Spaces are inserted until the specified position.</paragraph>
-<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="9">If a semicolon or comma appears after the last expression to be printed, $[officename] Basic stores the text in an internal buffer and continues program execution without printing. When another Print statement without a semicolon or comma at the end is encountered, all text to be printed is printed at once.</paragraph>
-<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US" l10n="U" oldref="10">Positive numeric expressions are printed with a leading space. Negative expressions are printed with a leading minus sign. If a certain range is exceeded for floating-point values, the respective numeric expression is printed in exponential notation.</paragraph>
-<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="11">If the expression to be printed exceeds a certain length, the display will automatically wrap to the next line.</paragraph>
-<paragraph role="note" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="12">You can insert the Tab function, enclosed by semicolons, between arguments to indent the output to a specific position, or you can use the <emph>Spc</emph> function to insert a specified number of spaces.</paragraph>
-<paragraph role="heading" id="hd_id3146912" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+
+<paragraph id="hd_id3147348" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id2508621" role="paragraph" xml-lang="en-US"> <emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.<comment>see i61758</comment></paragraph>
+<paragraph id="par_id3163712" role="paragraph" xml-lang="en-US"> <emph>Expression</emph>: Any numeric or string expression to be printed. Multiple expressions can be separated by a semicolon. If separated by a comma, the expressions are indented to the next tab stop. The tab stops cannot be adjusted.</paragraph>
+<paragraph id="par_id3153092" role="paragraph" xml-lang="en-US"> <emph>Number</emph>: Number of spaces to be inserted by the <emph>Spc</emph> function.</paragraph>
+<paragraph id="par_id3145364" role="paragraph" xml-lang="en-US"> <emph>Pos</emph>: Spaces are inserted until the specified position.</paragraph>
+<paragraph id="par_id3154319" role="paragraph" xml-lang="en-US">If a semicolon or comma appears after the last expression to be printed, $[officename] Basic stores the text in an internal buffer and continues program execution without printing. When another Print statement without a semicolon or comma at the end is encountered, all text to be printed is printed at once.</paragraph>
+<paragraph id="par_id3145272" role="paragraph" xml-lang="en-US">Positive numeric expressions are printed with a leading space. Negative expressions are printed with a leading minus sign. If a certain range is exceeded for floating-point values, the respective numeric expression is printed in exponential notation.</paragraph>
+<paragraph id="par_id3154011" role="paragraph" xml-lang="en-US">If the expression to be printed exceeds a certain length, the display will automatically wrap to the next line.</paragraph>
+<paragraph id="par_id3146969" role="note" xml-lang="en-US">You can insert the Tab function, enclosed by semicolons, between arguments to indent the output to a specific position, or you can use the <emph>Spc</emph> function to insert a specified number of spaces.</paragraph>
+
+<paragraph id="hd_id3146912" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<switch select="sys">
<case select="WIN">
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExamplePrint</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC","123"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> i = FreeFile()</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open "C:\Temp.txt" For Output As i</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print #i, "ABC"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #i</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1073161760" role="bascode" localize="false" xml-lang="en-US">Sub ExamplePrint</paragraph>
+<paragraph id="par_idm1073160528" role="bascode" localize="false" xml-lang="en-US"> Print "ABC"</paragraph>
+<paragraph id="par_idm1073159296" role="bascode" localize="false" xml-lang="en-US"> Print "ABC","123"</paragraph>
+<paragraph id="par_idm1073129856" role="bascode" localize="false" xml-lang="en-US"> i = FreeFile()</paragraph>
+<paragraph id="par_idm1073128624" role="bascode" localize="false" xml-lang="en-US"> Open "C:\Temp.txt" For Output As i</paragraph>
+<paragraph id="par_idm1073127376" role="bascode" localize="false" xml-lang="en-US"> Print #i, "ABC"</paragraph>
+<paragraph id="par_idm1073126144" role="bascode" localize="false" xml-lang="en-US"> Close #i</paragraph>
+<paragraph id="par_idm1073124912" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</case>
<default>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExamplePrint</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC","123"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> i = FreeFile()</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open "~/temp.txt" For Output As i</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print #i, "ABC"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #i</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1073122912" role="bascode" localize="false" xml-lang="en-US">Sub ExamplePrint</paragraph>
+<paragraph id="par_idm1073121680" role="bascode" localize="false" xml-lang="en-US"> Print "ABC"</paragraph>
+<paragraph id="par_idm1073120448" role="bascode" localize="false" xml-lang="en-US"> Print "ABC","123"</paragraph>
+<paragraph id="par_idm1073119216" role="bascode" localize="false" xml-lang="en-US"> i = FreeFile()</paragraph>
+<paragraph id="par_idm1073117984" role="bascode" localize="false" xml-lang="en-US"> Open "~/temp.txt" For Output As i</paragraph>
+<paragraph id="par_idm1073116736" role="bascode" localize="false" xml-lang="en-US"> Print #i, "ABC"</paragraph>
+<paragraph id="par_idm1073115504" role="bascode" localize="false" xml-lang="en-US"> Close #i</paragraph>
+<paragraph id="par_idm1073114272" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</default>
</switch>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010201.xhp b/source/text/sbasic/shared/03010201.xhp
index ba58ddd097..fbf49414ec 100644
--- a/source/text/sbasic/shared/03010201.xhp
+++ b/source/text/sbasic/shared/03010201.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,51 +16,53 @@
* 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="textsbasicshared03010201xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">InputBox Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010201.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010201xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">InputBox Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010201.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="inputbox">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3148932"><bookmark_value>InputBox function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148932">
+ <bookmark_value>InputBox function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3148932" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010201.xhp" name="InputBox Function [Runtime]">InputBox Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3151262" xml-lang="en-US" l10n="U" oldref="2">Displays a prompt in a dialog at which the user can input text. The input is assigned to a variable.</paragraph>
+
+
+<paragraph id="hd_id3148932" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010201.xhp" name="InputBox Function [Runtime]">InputBox Function [Runtime]</link></paragraph>
+<paragraph id="par_id3151262" role="paragraph" xml-lang="en-US">Displays a prompt in a dialog at which the user can input text. The input is assigned to a variable.</paragraph>
</section>
-<paragraph role="paragraph" id="par_id3151100" xml-lang="en-US" l10n="U" oldref="3">The <emph>InputBox</emph> statement is a convenient method of entering text through a dialog. Confirm the input by clicking OK or pressing Return. The input is returned as the function return value. If you close the dialog with Cancel, <emph>InputBox</emph> returns a zero-length string ("").</paragraph>
-<paragraph role="heading" id="hd_id3152347" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph id="par_id3151100" role="paragraph" xml-lang="en-US">The <emph>InputBox</emph> statement is a convenient method of entering text through a dialog. Confirm the input by clicking OK or pressing Return. The input is returned as the function return value. If you close the dialog with Cancel, <emph>InputBox</emph> returns a zero-length string ("").</paragraph>
+
+<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3159201" xml-lang="en-US" l10n="U" oldref="5">InputBox (Msg As String[, Title As String[, Default As String[, x_pos As Integer, y_pos As Integer]]]]) </paragraph>
+<paragraph id="par_id3159201" role="bascode" xml-lang="en-US">InputBox (Msg As String[, Title As String[, Default As String[, x_pos As Integer, y_pos As Integer]]]]) </paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150713" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3145090" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
-<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="9">
-<emph>Msg</emph>: String expression displayed as the message in the dialog box.</paragraph>
-<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="10">
-<emph>Title</emph>: String expression displayed in the title bar of the dialog box.</paragraph>
-<paragraph role="paragraph" id="par_id3154307" xml-lang="en-US" l10n="U" oldref="11">
-<emph>Default</emph>: String expression displayed in the text box as default if no other input is given.</paragraph>
-<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="12">
-<emph>x_pos</emph>: Integer expression that specifies the horizontal position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
-<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="13">
-<emph>y_pos</emph>: Integer expression that specifies the vertical position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
-<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="14">If <emph>x_pos</emph> and <emph>y_pos</emph> are omitted, the dialog is centered on the screen. The position is specified in <link href="text/sbasic/shared/00000002.xhp#twips" name="twips">twips</link>.</paragraph>
-<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+
+<paragraph id="hd_id3150713" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3145090" role="paragraph" xml-lang="en-US">String</paragraph>
+
+<paragraph id="hd_id3149346" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3153311" role="paragraph" xml-lang="en-US"> <emph>Msg</emph>: String expression displayed as the message in the dialog box.</paragraph>
+<paragraph id="par_id3145315" role="paragraph" xml-lang="en-US"> <emph>Title</emph>: String expression displayed in the title bar of the dialog box.</paragraph>
+<paragraph id="par_id3154307" role="paragraph" xml-lang="en-US"> <emph>Default</emph>: String expression displayed in the text box as default if no other input is given.</paragraph>
+<paragraph id="par_id3147573" role="paragraph" xml-lang="en-US"> <emph>x_pos</emph>: Integer expression that specifies the horizontal position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
+<paragraph id="par_id3156024" role="paragraph" xml-lang="en-US"> <emph>y_pos</emph>: Integer expression that specifies the vertical position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
+<paragraph id="par_id3153897" role="paragraph" xml-lang="en-US">If <emph>x_pos</emph> and <emph>y_pos</emph> are omitted, the dialog is centered on the screen. The position is specified in <link href="text/sbasic/shared/00000002.xhp#twips" name="twips">twips</link>.</paragraph>
+
+<paragraph id="hd_id3149456" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleInputBox</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sText As String</paragraph>
-<paragraph role="bascode" id="par_id3154367" xml-lang="en-US" l10n="U" oldref="18"> sText = InputBox ("Please enter a phrase:","Dear User")</paragraph>
-<paragraph role="bascode" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="19"> MsgBox ( sText , 64, "Confirmation of phrase")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341285584" role="bascode" localize="false" xml-lang="en-US">Sub ExampleInputBox</paragraph>
+<paragraph id="par_idm1341284352" role="bascode" localize="false" xml-lang="en-US">Dim sText As String</paragraph>
+<paragraph id="par_id3154367" role="bascode" xml-lang="en-US"> sText = InputBox ("Please enter a phrase:","Dear User")</paragraph>
+<paragraph id="par_id3151042" role="bascode" xml-lang="en-US"> MsgBox ( sText , 64, "Confirmation of phrase")</paragraph>
+<paragraph id="par_idm1341279568" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010301.xhp b/source/text/sbasic/shared/03010301.xhp
index adcce6619a..c18b4af8cc 100644
--- a/source/text/sbasic/shared/03010301.xhp
+++ b/source/text/sbasic/shared/03010301.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,46 +16,52 @@
* 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="textsbasicshared03010301xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Blue Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010301.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010301xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Blue Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010301.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="blue">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149180"><bookmark_value>Blue function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149180">
+ <bookmark_value>Blue function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3149180" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010301.xhp" name="Blue Function [Runtime]">Blue Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US" l10n="U" oldref="2">Returns the blue component of the specified color code.</paragraph>
+
+
+<paragraph id="hd_id3149180" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010301.xhp" name="Blue Function [Runtime]">Blue Function [Runtime]</link></paragraph>
+<paragraph id="par_id3156343" role="paragraph" xml-lang="en-US">Returns the blue component of the specified color code.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3149670" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="4">Blue (Color As Long)</paragraph>
+<paragraph id="par_id3149457" role="bascode" xml-lang="en-US">Blue (Color As Long)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Color value</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the blue component.</paragraph>
+
+<paragraph id="hd_id3149656" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3156423" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>Color value</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the blue component.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3153091" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+
+<paragraph id="hd_id3153091" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
-<paragraph role="bascode" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="13"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
-<paragraph role="bascode" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="14"> "red= " &amp; Red(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15"> "green= " &amp; Green(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3147319" xml-lang="en-US" l10n="U" oldref="16"> "blue= " &amp; Blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1073171488" role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
+<paragraph id="par_idm1073170256" role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
+<paragraph id="par_idm1073169024" role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
+<paragraph id="par_id3154012" role="bascode" xml-lang="en-US"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph id="par_id3148645" role="bascode" xml-lang="en-US"> "red= " &amp; Red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3159155" role="bascode" xml-lang="en-US"> "green= " &amp; Green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3147319" role="bascode" xml-lang="en-US"> "blue= " &amp; Blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph id="par_idm1073160528" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010302.xhp b/source/text/sbasic/shared/03010302.xhp
index cc18f6b5f3..72eb956206 100644
--- a/source/text/sbasic/shared/03010302.xhp
+++ b/source/text/sbasic/shared/03010302.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,46 +16,52 @@
* 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="textsbasicshared03010302xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Green Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010302.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010302xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Green Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010302.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="green">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>Green function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148947">
+ <bookmark_value>Green function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010302.xhp" name="Green Function [Runtime]">Green Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="2">Returns the Green component of the given color code.</paragraph>
+
+
+<paragraph id="hd_id3148947" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010302.xhp" name="Green Function [Runtime]">Green Function [Runtime]</link></paragraph>
+<paragraph id="par_id3153361" role="paragraph" xml-lang="en-US">Returns the Green component of the given color code.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154140" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154140" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="4">Green (Color As Long)</paragraph>
+<paragraph id="par_id3153969" role="bascode" xml-lang="en-US">Green (Color As Long)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Color</emph>: Long integer expression that specifies a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Green component.</paragraph>
+
+<paragraph id="hd_id3154124" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3153194" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3154909" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3153770" role="paragraph" xml-lang="en-US"> <emph>Color</emph>: Long integer expression that specifies a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Green component.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3149664" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+
+<paragraph id="hd_id3149664" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
-<paragraph role="bascode" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="13"> MsgBox "The color " &amp; lVar &amp; " contains the components:" &amp; Chr(13) &amp;_</paragraph>
-<paragraph role="bascode" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="14"> "red = " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="15"> "green = " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="16"> "blue = " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341170976" role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
+<paragraph id="par_idm1341169744" role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
+<paragraph id="par_idm1341168512" role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
+<paragraph id="par_id3151117" role="bascode" xml-lang="en-US"> MsgBox "The color " &amp; lVar &amp; " contains the components:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph id="par_id3153951" role="bascode" xml-lang="en-US"> "red = " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3152462" role="bascode" xml-lang="en-US"> "green = " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3154730" role="bascode" xml-lang="en-US"> "blue = " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph id="par_idm1341159952" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010303.xhp b/source/text/sbasic/shared/03010303.xhp
index 2cb3f33eaf..1efae60876 100644
--- a/source/text/sbasic/shared/03010303.xhp
+++ b/source/text/sbasic/shared/03010303.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,46 +16,52 @@
* 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="textsbasicshared03010303xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Red Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010303.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010303xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Red Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010303.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="red">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>Red function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148947">
+ <bookmark_value>Red function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010303.xhp" name="Red Function [Runtime]">Red Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="2">Returns the Red component of the specified color code.</paragraph>
+
+
+<paragraph id="hd_id3148947" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010303.xhp" name="Red Function [Runtime]">Red Function [Runtime]</link></paragraph>
+<paragraph id="par_id3149656" role="paragraph" xml-lang="en-US">Returns the Red component of the specified color code.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3148799" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3148799" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="4">Red (ColorNumber As Long)</paragraph>
+<paragraph id="par_id3150448" role="bascode" xml-lang="en-US">Red (ColorNumber As Long)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3151042" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="8">
-<emph>ColorNumber</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Red component.</paragraph>
+
+<paragraph id="hd_id3151042" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3145173" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3154685" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3150440" role="paragraph" xml-lang="en-US"> <emph>ColorNumber</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Red component.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+
+<paragraph id="hd_id3148575" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
-<paragraph role="bascode" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="13"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
-<paragraph role="bascode" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="14"> "red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="15"> "green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="16"> "blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341092848" role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
+<paragraph id="par_idm1341091616" role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
+<paragraph id="par_idm1341090384" role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
+<paragraph id="par_id3147435" role="bascode" xml-lang="en-US"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph id="par_id3155306" role="bascode" xml-lang="en-US"> "red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3149262" role="bascode" xml-lang="en-US"> "green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3147397" role="bascode" xml-lang="en-US"> "blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph id="par_idm1341081888" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010304.xhp b/source/text/sbasic/shared/03010304.xhp
index e03d94a896..bf9c0eba0d 100644
--- a/source/text/sbasic/shared/03010304.xhp
+++ b/source/text/sbasic/shared/03010304.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,62 +16,65 @@
* 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="textsbasicshared03010304xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">QBColor Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010304.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010304xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">QBColor Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010304.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="qbcolor">
-<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010304.xhp" name="QBColor Function [Runtime]">QBColor Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="2">Returns the <link href="text/sbasic/shared/03010305.xhp" name="RGB">RGB</link> color code of the color passed as a color value through an older MS-DOS based programming system.</paragraph>
+
+<paragraph id="hd_id3149670" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010304.xhp" name="QBColor Function [Runtime]">QBColor Function [Runtime]</link></paragraph>
+<paragraph id="par_id3150359" role="paragraph" xml-lang="en-US">Returns the <link href="text/sbasic/shared/03010305.xhp" name="RGB">RGB</link> color code of the color passed as a color value through an older MS-DOS based programming system.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154140" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154140" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="4">QBColor (ColorNumber As Integer)</paragraph>
+<paragraph id="par_id3151042" role="bascode" xml-lang="en-US">QBColor (ColorNumber As Integer)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145172" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
-<paragraph role="heading" id="hd_id3156560" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="8">
-<emph>ColorNumber</emph>: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</paragraph>
-<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="9">
-<emph>ColorNumber</emph> can be assigned the following values:</paragraph>
-<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="10">0 : Black</paragraph>
-<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="11">1 : Blue</paragraph>
-<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="12">2 : Green</paragraph>
-<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="13">3 : Cyan</paragraph>
-<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="14">4 : Red</paragraph>
-<paragraph role="paragraph" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="15">5 : Magenta</paragraph>
-<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="16">6 : Yellow</paragraph>
-<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="17">7 : White</paragraph>
-<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="18">8 : Gray</paragraph>
-<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="19">9 : Light Blue</paragraph>
-<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="20">10 : Light Green</paragraph>
-<paragraph role="paragraph" id="par_id3149958" xml-lang="en-US" l10n="U" oldref="21">11 : Light Cyan</paragraph>
-<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="22">12 : Light Red</paragraph>
-<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="23">13 : Light Magenta</paragraph>
-<paragraph role="paragraph" id="par_id3146970" xml-lang="en-US" l10n="U" oldref="24">14 : Light Yellow</paragraph>
-<paragraph role="paragraph" id="par_id3150750" xml-lang="en-US" l10n="U" oldref="25">15 : Bright White</paragraph>
-<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="26">This function is used only to convert from older MS-DOS based BASIC applications that use the above color codes. The function returns a long integer value indicating the color to be used in the $[officename] IDE.</paragraph>
+
+<paragraph id="hd_id3145172" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3154685" role="paragraph" xml-lang="en-US">Long</paragraph>
+
+<paragraph id="hd_id3156560" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3161832" role="paragraph" xml-lang="en-US"> <emph>ColorNumber</emph>: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</paragraph>
+<paragraph id="par_id3147318" role="paragraph" xml-lang="en-US"> <emph>ColorNumber</emph> can be assigned the following values:</paragraph>
+<paragraph id="par_id3152576" role="paragraph" xml-lang="en-US">0 : Black</paragraph>
+<paragraph id="par_id3146975" role="paragraph" xml-lang="en-US">1 : Blue</paragraph>
+<paragraph id="par_id3151116" role="paragraph" xml-lang="en-US">2 : Green</paragraph>
+<paragraph id="par_id3155412" role="paragraph" xml-lang="en-US">3 : Cyan</paragraph>
+<paragraph id="par_id3155306" role="paragraph" xml-lang="en-US">4 : Red</paragraph>
+<paragraph id="par_id3153364" role="paragraph" xml-lang="en-US">5 : Magenta</paragraph>
+<paragraph id="par_id3146119" role="paragraph" xml-lang="en-US">6 : Yellow</paragraph>
+<paragraph id="par_id3154730" role="paragraph" xml-lang="en-US">7 : White</paragraph>
+<paragraph id="par_id3153877" role="paragraph" xml-lang="en-US">8 : Gray</paragraph>
+<paragraph id="par_id3147124" role="paragraph" xml-lang="en-US">9 : Light Blue</paragraph>
+<paragraph id="par_id3145646" role="paragraph" xml-lang="en-US">10 : Light Green</paragraph>
+<paragraph id="par_id3149958" role="paragraph" xml-lang="en-US">11 : Light Cyan</paragraph>
+<paragraph id="par_id3154943" role="paragraph" xml-lang="en-US">12 : Light Red</paragraph>
+<paragraph id="par_id3150715" role="paragraph" xml-lang="en-US">13 : Light Magenta</paragraph>
+<paragraph id="par_id3146970" role="paragraph" xml-lang="en-US">14 : Light Yellow</paragraph>
+<paragraph id="par_id3150750" role="paragraph" xml-lang="en-US">15 : Bright White</paragraph>
+<paragraph id="par_id3146914" role="paragraph" xml-lang="en-US">This function is used only to convert from older MS-DOS based BASIC applications that use the above color codes. The function returns a long integer value indicating the color to be used in the $[officename] IDE.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3148406" xml-lang="en-US" level="2" l10n="U" oldref="27">Example:</paragraph>
+
+<paragraph id="hd_id3148406" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleQBColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iColor As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sText As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iColor = 7</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sText = "RGB= " &amp; Red(QBColor( iColor) ) &amp; ":" &amp; Blue(QBColor( iColor) ) &amp; ":" &amp; Green(QBColor( iColor) )</paragraph>
-<paragraph role="bascode" id="par_id3149566" xml-lang="en-US" l10n="U" oldref="33"> MsgBox stext,0,"Color " &amp; iColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341247424" role="bascode" localize="false" xml-lang="en-US">Sub ExampleQBColor</paragraph>
+<paragraph id="par_idm1341246192" role="bascode" localize="false" xml-lang="en-US">Dim iColor As Integer</paragraph>
+<paragraph id="par_idm1341244960" role="bascode" localize="false" xml-lang="en-US">Dim sText As String</paragraph>
+<paragraph id="par_idm1341243728" role="bascode" localize="false" xml-lang="en-US"> iColor = 7</paragraph>
+<paragraph id="par_idm1341242496" role="bascode" localize="false" xml-lang="en-US"> sText = "RGB= " &amp; Red(QBColor( iColor) ) &amp; ":" &amp; Blue(QBColor( iColor) ) &amp; ":" &amp; Green(QBColor( iColor) )</paragraph>
+<paragraph id="par_id3149566" role="bascode" xml-lang="en-US"> MsgBox stext,0,"Color " &amp; iColor</paragraph>
+<paragraph id="par_idm1341239392" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03010305.xhp b/source/text/sbasic/shared/03010305.xhp
index 0d8af3cda7..56971d27fa 100644
--- a/source/text/sbasic/shared/03010305.xhp
+++ b/source/text/sbasic/shared/03010305.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,48 +16,50 @@
* 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="textsbasicshared03010305xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">RGB Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010305.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03010305xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">RGB Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03010305.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="rgb">
-<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010305.xhp" name="RGB Function [Runtime]">RGB Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="2">Returns a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="long integer color value">long integer color value</link> consisting of red, green, and blue components.</paragraph>
+
+<paragraph id="hd_id3150792" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010305.xhp" name="RGB Function [Runtime]">RGB Function [Runtime]</link></paragraph>
+<paragraph id="par_id3150447" role="paragraph" xml-lang="en-US">Returns a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="long integer color value">long integer color value</link> consisting of red, green, and blue components.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3147229" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="4">RGB (Red, Green, Blue)</paragraph>
+<paragraph id="par_id3155132" role="bascode" xml-lang="en-US">RGB (Red, Green, Blue)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3156442" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
-<paragraph role="heading" id="hd_id3154013" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3152597" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Red</emph>: Any integer expression that represents the red component (0-255) of the composite color.</paragraph>
-<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="9">
-<emph>Green</emph>: Any integer expression that represents the green component (0-255) of the composite color.</paragraph>
-<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="10">
-<emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color.</paragraph>
+
+<paragraph id="hd_id3156442" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3159153" role="paragraph" xml-lang="en-US">Long</paragraph>
+
+<paragraph id="hd_id3154013" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3152597" role="paragraph" xml-lang="en-US"> <emph>Red</emph>: Any integer expression that represents the red component (0-255) of the composite color.</paragraph>
+<paragraph id="par_id3146974" role="paragraph" xml-lang="en-US"> <emph>Green</emph>: Any integer expression that represents the green component (0-255) of the composite color.</paragraph>
+<paragraph id="par_id3151113" role="paragraph" xml-lang="en-US"> <emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3147435" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+
+<paragraph id="hd_id3147435" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
-<paragraph role="bascode" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="15"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
-<paragraph role="bascode" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="16"> "red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="17"> "green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
-<paragraph role="bascode" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="18"> "blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340938032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleColor</paragraph>
+<paragraph id="par_idm1340936800" role="bascode" localize="false" xml-lang="en-US">Dim lVar As Long</paragraph>
+<paragraph id="par_idm1340935568" role="bascode" localize="false" xml-lang="en-US"> lVar = rgb(128,0,200)</paragraph>
+<paragraph id="par_id3145647" role="bascode" xml-lang="en-US"> MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph id="par_id3154491" role="bascode" xml-lang="en-US"> "red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3149401" role="bascode" xml-lang="en-US"> "green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph id="par_id3150716" role="bascode" xml-lang="en-US"> "blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph id="par_idm1340927072" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020101.xhp b/source/text/sbasic/shared/03020101.xhp
index e221274e24..699a141b57 100644
--- a/source/text/sbasic/shared/03020101.xhp
+++ b/source/text/sbasic/shared/03020101.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,57 +16,62 @@
* 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="textsbasicshared03020101xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Close Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020101.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020101xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Close Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020101.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="close">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>Close statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157896">
+ <bookmark_value>Close statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3157896" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020101.xhp" name="Close Statement [Runtime]">Close Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="2">Closes a specified file that was opened with the Open statement.</paragraph>
+
+
+<paragraph id="hd_id3157896" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020101.xhp" name="Close Statement [Runtime]">Close Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3147573" role="paragraph" xml-lang="en-US">Closes a specified file that was opened with the Open statement.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3156344" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="4">Close FileNumber As Integer[, FileNumber2 As Integer[,...]] </paragraph>
+<paragraph id="par_id3147265" role="bascode" xml-lang="en-US">Close FileNumber As Integer[, FileNumber2 As Integer[,...]] </paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="6">
-<emph>FileNumber:</emph> Any integer expression that specifies the number of the data channel that was opened with the <emph>Open</emph> statement.</paragraph>
-<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+
+<paragraph id="hd_id3153379" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3150791" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> Any integer expression that specifies the number of the data channel that was opened with the <emph>Open</emph> statement.</paragraph>
+
+<paragraph id="hd_id3153192" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = ""</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="16"> Print #iNumber, "First line of text"</paragraph>
-<paragraph role="bascode" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="17"> Print #iNumber, "Another line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> While Not eof(iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341290400" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
+<paragraph id="par_idm1341289152" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1341287920" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1341286688" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1341285456" role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
+<paragraph id="par_idm1341284224" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1341282976" role="bascode" localize="false" xml-lang="en-US"> sMsg = ""</paragraph>
+<paragraph id="par_idm1341281744" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341280512" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3153727" role="bascode" xml-lang="en-US"> Print #iNumber, "First line of text"</paragraph>
+<paragraph id="par_id3147350" role="bascode" xml-lang="en-US"> Print #iNumber, "Another line of text"</paragraph>
+<paragraph id="par_idm1340923792" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1340922560" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1340921328" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
+<paragraph id="par_idm1340920080" role="bascode" localize="false" xml-lang="en-US"> While Not eof(iNumber)</paragraph>
+<paragraph id="par_idm1340918832" role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
+<paragraph id="par_idm1340917584" role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
+<paragraph id="par_idm1340916336" role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph id="par_idm1340915072" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1340913840" role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
+<paragraph id="par_idm1340912608" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1340911376" role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
+<paragraph id="par_idm1340910144" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020102.xhp b/source/text/sbasic/shared/03020102.xhp
index d4918a5ef9..ee262afed8 100644
--- a/source/text/sbasic/shared/03020102.xhp
+++ b/source/text/sbasic/shared/03020102.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,61 +16,68 @@
* 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="textsbasicshared03020102xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">FreeFile Function[Runtime]</title>
-<filename>/text/sbasic/shared/03020102.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020102xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">FreeFile Function[Runtime]</title>
+ <filename>/text/sbasic/shared/03020102.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="freefile">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3150400"><bookmark_value>FreeFile function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150400">
+ <bookmark_value>FreeFile function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020102.xhp" name="FreeFile Function[Runtime]">FreeFile Function[Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="2">Returns the next available file number for opening a file. Use this function to open a file using a file number that is not already in use by a currently open file.</paragraph>
+
+
+<paragraph id="hd_id3150400" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020102.xhp" name="FreeFile Function[Runtime]">FreeFile Function[Runtime]</link></paragraph>
+<paragraph id="par_id3154366" role="paragraph" xml-lang="en-US">Returns the next available file number for opening a file. Use this function to open a file using a file number that is not already in use by a currently open file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3150769" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3150769" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">FreeFile</paragraph>
+<paragraph id="par_idm1341602048" role="bascode" localize="false" xml-lang="en-US">FreeFile</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3151042" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3148576" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="8">This function can only be used immediately in front of an Open statement. FreeFile returns the next available file number, but does not reserve it.</paragraph>
+
+<paragraph id="hd_id3151042" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3150440" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3148576" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3155854" role="paragraph" xml-lang="en-US">This function can only be used immediately in front of an Open statement. FreeFile returns the next available file number, but does not reserve it.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err67"/>
-<paragraph role="heading" id="hd_id3159153" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+
+<paragraph id="hd_id3159153" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = ""</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="18"> Print #iNumber, "First line of text"</paragraph>
-<paragraph role="bascode" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="19"> Print #iNumber, "Another line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> While Not eof(#iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341589136" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
+<paragraph id="par_idm1341587888" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1341586656" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1341585424" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1341584192" role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
+<paragraph id="par_idm1341582960" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1341581712" role="bascode" localize="false" xml-lang="en-US"> sMsg = ""</paragraph>
+<paragraph id="par_idm1341580480" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341579248" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3155416" role="bascode" xml-lang="en-US"> Print #iNumber, "First line of text"</paragraph>
+<paragraph id="par_id3153416" role="bascode" xml-lang="en-US"> Print #iNumber, "Another line of text"</paragraph>
+<paragraph id="par_idm1341574464" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341573232" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341572000" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As #iNumber</paragraph>
+<paragraph id="par_idm1341570752" role="bascode" localize="false" xml-lang="en-US"> While Not eof(#iNumber)</paragraph>
+<paragraph id="par_idm1341569504" role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
+<paragraph id="par_idm1341568256" role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
+<paragraph id="par_idm1341567008" role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph id="par_idm1341565744" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1341564512" role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
+<paragraph id="par_idm1341563280" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341562048" role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
+<paragraph id="par_idm1341560816" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020103.xhp b/source/text/sbasic/shared/03020103.xhp
index 11c04ca4c6..a15be220d9 100644
--- a/source/text/sbasic/shared/03020103.xhp
+++ b/source/text/sbasic/shared/03020103.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,67 +16,67 @@
* 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="textsbasicshared03020103xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Open Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020103.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020103xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Open Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020103.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="open">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>Open statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150791">
+ <bookmark_value>Open statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3150791" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020103.xhp" name="Open Statement [Runtime]">Open Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="2">Opens a data channel.</paragraph>
+
+
+<paragraph id="hd_id3150791" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020103.xhp" name="Open Statement [Runtime]">Open Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3150769" role="paragraph" xml-lang="en-US">Opens a data channel.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3147230" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3147230" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154124" xml-lang="en-US" l10n="CHG" oldref="4">Open FileName As String [For Mode] [Access IOMode] [Protected] As [#]FileNumber As Integer [Len = DatasetLength]<comment>i37502</comment></paragraph>
+<paragraph id="par_id3154124" role="bascode" xml-lang="en-US">Open FileName As String [For Mode] [Access IOMode] [Protected] As [#]FileNumber As Integer [Len = DatasetLength]<comment>i37502</comment></paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3156280" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="6">
-<emph>FileName: </emph>Name and path of the file that you wan to open. If you try to read a file that does not exist (Access = Read), an error message appears. If you try to write to a file that does not exist (Access = Write), a new file is created.</paragraph>
-<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="7">
-<emph>Mode:</emph> Keyword that specifies the file mode. Valid values: Append (append to sequential file), Binary (data can be accessed by bytes using Get and Put), Input (opens data channel for reading), Output (opens data channel for writing), and Random (edits relative files).</paragraph>
-<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="CHG" oldref="8">
-<emph>IOMode:</emph> Keyword that defines the access type. Valid values: Read (read-only), Write (write-only), Read Write (both).</paragraph>
-<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="9">
-<emph>Protected:</emph> Keyword that defines the security status of a file after opening. Valid values: Shared (file may be opened by other applications), Lock Read (file is protected against reading), Lock Write (file is protected against writing), Lock Read Write (denies file access).</paragraph>
-<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="10">
-<emph>FileNumber:</emph> Any integer expression from 0 to 511 to indicate the number of a free data channel. You can then pass commands through the data channel to access the file. The file number must be determined by the FreeFile function immediately before the Open statement.</paragraph>
-<paragraph role="paragraph" id="par_id3151115" xml-lang="en-US" l10n="CHG" oldref="11">
-<emph>DatasetLength:</emph> For random access files, set the length of the records.<comment>#61736</comment></paragraph>
-<paragraph role="note" id="par_id3153418" xml-lang="en-US" l10n="U" oldref="12">You can only modify the contents of a file that was opened with the Open statement. If you try to open a file that is already open, an error message appears.</paragraph>
-<paragraph role="heading" id="hd_id3149123" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+
+<paragraph id="hd_id3156280" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3155132" role="paragraph" xml-lang="en-US"> <emph>FileName: </emph>Name and path of the file that you wan to open. If you try to read a file that does not exist (Access = Read), an error message appears. If you try to write to a file that does not exist (Access = Write), a new file is created.</paragraph>
+<paragraph id="par_id3149262" role="paragraph" xml-lang="en-US"> <emph>Mode:</emph> Keyword that specifies the file mode. Valid values: Append (append to sequential file), Binary (data can be accessed by bytes using Get and Put), Input (opens data channel for reading), Output (opens data channel for writing), and Random (edits relative files).</paragraph>
+<paragraph id="par_id3154014" role="paragraph" xml-lang="en-US"> <emph>IOMode:</emph> Keyword that defines the access type. Valid values: Read (read-only), Write (write-only), Read Write (both).</paragraph>
+<paragraph id="par_id3150011" role="paragraph" xml-lang="en-US"> <emph>Protected:</emph> Keyword that defines the security status of a file after opening. Valid values: Shared (file may be opened by other applications), Lock Read (file is protected against reading), Lock Write (file is protected against writing), Lock Read Write (denies file access).</paragraph>
+<paragraph id="par_id3153190" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> Any integer expression from 0 to 511 to indicate the number of a free data channel. You can then pass commands through the data channel to access the file. The file number must be determined by the FreeFile function immediately before the Open statement.</paragraph>
+<paragraph id="par_id3151115" role="paragraph" xml-lang="en-US"> <emph>DatasetLength:</emph> For random access files, set the length of the records.<comment>#61736</comment></paragraph>
+<paragraph id="par_id3153418" role="note" xml-lang="en-US">You can only modify the contents of a file that was opened with the Open statement. If you try to open a file that is already open, an error message appears.</paragraph>
+
+<paragraph id="hd_id3149123" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3154705" xml-lang="en-US" l10n="U" oldref="22"> Print #iNumber, "This is a line of text"</paragraph>
-<paragraph role="bascode" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="23"> Print #iNumber, "This is another line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> While Not eof(iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341597584" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
+<paragraph id="par_idm1341596336" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1341595104" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1341593872" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1341592640" role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
+<paragraph id="par_idm1341591408" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1341590160" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341588928" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3154705" role="bascode" xml-lang="en-US"> Print #iNumber, "This is a line of text"</paragraph>
+<paragraph id="par_id3146916" role="bascode" xml-lang="en-US"> Print #iNumber, "This is another line of text"</paragraph>
+<paragraph id="par_idm1341584144" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341582912" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341581680" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
+<paragraph id="par_idm1341580432" role="bascode" localize="false" xml-lang="en-US"> While Not eof(iNumber)</paragraph>
+<paragraph id="par_idm1341579184" role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
+<paragraph id="par_idm1341577936" role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
+<paragraph id="par_idm1341576688" role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph id="par_idm1341575424" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1341574192" role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
+<paragraph id="par_idm1341572960" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341571728" role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
+<paragraph id="par_idm1341570496" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020104.xhp b/source/text/sbasic/shared/03020104.xhp
index ff035f42df..3948940d0d 100644
--- a/source/text/sbasic/shared/03020104.xhp
+++ b/source/text/sbasic/shared/03020104.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,56 +16,61 @@
* 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="textsbasicshared03020104xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Reset Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020104.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020104xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Reset Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020104.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="reset">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3154141"><bookmark_value>Reset statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154141">
+ <bookmark_value>Reset statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154141" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020104.xhp">Reset Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="2">Closes all open files and writes the contents of all file buffers to the harddisk.</paragraph>
+
+
+<paragraph id="hd_id3154141" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020104.xhp">Reset Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3156423" role="paragraph" xml-lang="en-US">Closes all open files and writes the contents of all file buffers to the harddisk.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154124" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Reset</paragraph>
+<paragraph id="par_idm1207263392" role="bascode" localize="false" xml-lang="en-US">Reset</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3161831" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+
+<paragraph id="hd_id3161831" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleReset</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">On Error GoTo ErrorHandler</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="47"> Print #iNumber, "This is a new line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> For iCount = 1 To 5</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Rem</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Next iCount</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Exit Sub</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">ErrorHandler:</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Reset</paragraph>
-<paragraph role="bascode" id="par_id3163805" xml-lang="en-US" l10n="U" oldref="62"> MsgBox "All files will be closed",0,"Error"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1207260032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleReset</paragraph>
+<paragraph id="par_idm1207243568" role="bascode" localize="false" xml-lang="en-US">On Error GoTo ErrorHandler</paragraph>
+<paragraph id="par_idm1207242464" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1207241360" role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer</paragraph>
+<paragraph id="par_idm1207240256" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1207239152" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1207238048" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1207236896" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1207235792" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3148455" role="bascode" xml-lang="en-US"> Print #iNumber, "This is a new line of text"</paragraph>
+<paragraph id="par_idm1207232992" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1207231888" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1207230784" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
+<paragraph id="par_idm1207229632" role="bascode" localize="false" xml-lang="en-US"> For iCount = 1 To 5</paragraph>
+<paragraph id="par_idm1207228528" role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
+<paragraph id="par_idm1207227376" role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
+<paragraph id="par_idm1207226224" role="bascode" localize="false" xml-lang="en-US"> Rem</paragraph>
+<paragraph id="par_idm1207225120" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1207224016" role="bascode" localize="false" xml-lang="en-US"> Next iCount</paragraph>
+<paragraph id="par_idm1207222912" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1207221808" role="bascode" localize="false" xml-lang="en-US"> Exit Sub</paragraph>
+<paragraph id="par_idm1207220704" role="bascode" localize="false" xml-lang="en-US">ErrorHandler:</paragraph>
+<paragraph id="par_idm1207219600" role="bascode" localize="false" xml-lang="en-US"> Reset</paragraph>
+<paragraph id="par_id3163805" role="bascode" xml-lang="en-US"> MsgBox "All files will be closed",0,"Error"</paragraph>
+<paragraph id="par_idm1207216848" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020201.xhp b/source/text/sbasic/shared/03020201.xhp
index 8a4848f16b..cd67c75d60 100644
--- a/source/text/sbasic/shared/03020201.xhp
+++ b/source/text/sbasic/shared/03020201.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,65 +16,69 @@
* 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="textsbasicshared03020201xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Get Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020201.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020201xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Get Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020201.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="get">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3154927"><bookmark_value>Get statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154927">
+ <bookmark_value>Get statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020201.xhp">Get Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="2">Reads a record from a relative file, or a sequence of bytes from a binary file, into a variable.</paragraph>
+
+
+<paragraph id="hd_id3154927" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020201.xhp">Get Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3145069" role="paragraph" xml-lang="en-US">Reads a record from a relative file, or a sequence of bytes from a binary file, into a variable.</paragraph>
</section>
-<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03020204.xhp" name="PUT"><item type="literal">PUT</item></link> Statement</paragraph>
-<paragraph role="heading" id="hd_id3150358" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph id="par_id3154346" role="paragraph" xml-lang="en-US">See also: <link href="text/sbasic/shared/03020204.xhp" name="PUT"><item type="literal">PUT</item></link> Statement</paragraph>
+
+<paragraph id="hd_id3150358" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="5">Get [#] FileNumber As Integer, [Position], Variable</paragraph>
+<paragraph id="par_id3150792" role="bascode" xml-lang="en-US">Get [#] FileNumber As Integer, [Position], Variable</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
-<emph>FileNumber:</emph> Any integer expression that determines the file number.</paragraph>
-<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Position:</emph> For files opened in Random mode, <emph>Position</emph> is the number of the record that you want to read.</paragraph>
-<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="9">For files opened in Binary mode, <emph>Position</emph> is the byte position in the file where the reading starts.</paragraph>
-<paragraph role="paragraph" id="par_id3147319" xml-lang="en-US" l10n="U" oldref="10">If <emph>Position</emph> is omitted, the current position or the current data record of the file is used.</paragraph>
-<paragraph role="paragraph" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="11">Variable: Name of the variable to be read. With the exception of object variables, you can use any variable type.</paragraph>
-<paragraph role="heading" id="hd_id3153144" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+
+<paragraph id="hd_id3154138" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> Any integer expression that determines the file number.</paragraph>
+<paragraph id="par_id3154684" role="paragraph" xml-lang="en-US"> <emph>Position:</emph> For files opened in Random mode, <emph>Position</emph> is the number of the record that you want to read.</paragraph>
+<paragraph id="par_id3153768" role="paragraph" xml-lang="en-US">For files opened in Binary mode, <emph>Position</emph> is the byte position in the file where the reading starts.</paragraph>
+<paragraph id="par_id3147319" role="paragraph" xml-lang="en-US">If <emph>Position</emph> is omitted, the current position or the current data record of the file is used.</paragraph>
+<paragraph id="par_id3149484" role="paragraph" xml-lang="en-US">Variable: Name of the variable to be read. With the exception of object variables, you can use any variable type.</paragraph>
+
+<paragraph id="hd_id3153144" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomAccess</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" id="par_id3155307" xml-lang="en-US" l10n="U" oldref="15">Dim sText As Variant ' Must be a variant</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
-<paragraph role="bascode" id="par_id3149411" xml-lang="en-US" l10n="U" oldref="21"> Seek #iNumber,1 ' Position at beginning</paragraph>
-<paragraph role="bascode" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="22"> Put #iNumber,, "This is the first line of text" ' Fill line with text</paragraph>
-<paragraph role="bascode" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="23"> Put #iNumber,, "This is the second line of text"</paragraph>
-<paragraph role="bascode" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="24"> Put #iNumber,, "This is the third line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Seek #iNumber,2</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,,sText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print sText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
-<paragraph role="bascode" id="par_id3155938" xml-lang="en-US" l10n="U" oldref="33"> Put #iNumber,,"This is a new text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,1,sText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
-<paragraph role="bascode" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="36"> Put #iNumber,20,"This is the text in record 20"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print Lof(#iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340774864" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomAccess</paragraph>
+<paragraph id="par_idm1340773632" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_id3155307" role="bascode" xml-lang="en-US">Dim sText As Variant ' Must be a variant</paragraph>
+<paragraph id="par_idm1340770608" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1340769376" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1340768128" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1340766896" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph id="par_id3149411" role="bascode" xml-lang="en-US"> Seek #iNumber,1 ' Position at beginning</paragraph>
+<paragraph id="par_id3153158" role="bascode" xml-lang="en-US"> Put #iNumber,, "This is the first line of text" ' Fill line with text</paragraph>
+<paragraph id="par_id3148457" role="bascode" xml-lang="en-US"> Put #iNumber,, "This is the second line of text"</paragraph>
+<paragraph id="par_id3150715" role="bascode" xml-lang="en-US"> Put #iNumber,, "This is the third line of text"</paragraph>
+<paragraph id="par_idm1340758576" role="bascode" localize="false" xml-lang="en-US"> Seek #iNumber,2</paragraph>
+<paragraph id="par_idm1340757344" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,,sText</paragraph>
+<paragraph id="par_idm1340756112" role="bascode" localize="false" xml-lang="en-US"> Print sText</paragraph>
+<paragraph id="par_idm1340754880" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1340753648" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1340752416" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph id="par_idm1340751152" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
+<paragraph id="par_id3155938" role="bascode" xml-lang="en-US"> Put #iNumber,,"This is a new text"</paragraph>
+<paragraph id="par_idm1340748176" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,1,sText</paragraph>
+<paragraph id="par_idm1340746928" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
+<paragraph id="par_id3146916" role="bascode" xml-lang="en-US"> Put #iNumber,20,"This is the text in record 20"</paragraph>
+<paragraph id="par_idm1340743936" role="bascode" localize="false" xml-lang="en-US"> Print Lof(#iNumber)</paragraph>
+<paragraph id="par_idm1340742704" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1340741472" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020202.xhp b/source/text/sbasic/shared/03020202.xhp
index 2916663096..f61d142d23 100644
--- a/source/text/sbasic/shared/03020202.xhp
+++ b/source/text/sbasic/shared/03020202.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,71 +16,75 @@
* 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="textsbasicshared03020202xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Input# Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020202.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020202xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Input# Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020202.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="input">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3154908"><bookmark_value>Input statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154908">
+ <bookmark_value>Input statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154908" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020202.xhp" name="Input# Statement [Runtime]">Input# Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="2">Reads data from an open sequential file.</paragraph>
+
+
+<paragraph id="hd_id3154908" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020202.xhp" name="Input# Statement [Runtime]">Input# Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3156424" role="paragraph" xml-lang="en-US">Reads data from an open sequential file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
-<paragraph role="code" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="4">Input #FileNumber As Integer; var1[, var2[, var3[,...]]]</paragraph>
-<paragraph role="heading" id="hd_id3146121" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="6">
-<emph>FileNumber:</emph> Number of the file that contains the data that you want to read. The file must be opened with the Open statement using the key word INPUT.</paragraph>
-<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="7">
-<emph>var:</emph> A numeric or string variable that you assign the values read from the opened file to.</paragraph>
-<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="8">The <emph>Input#</emph> statement reads numeric values or strings from an open file and assigns the data to one or more variables. A numeric variable is read up to the first carriage return (Asc=13), line feed (Asc=10), space, or comma. String variables are read to up to the first carriage return (Asc=13), line feed (Asc=10), or comma.</paragraph>
-<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="9">Data and data types in the opened file must appear in the same order as the variables that are passed in the "var" parameter. If you assign non-numeric values to a numeric variable, "var" is assigned a value of "0".</paragraph>
-<paragraph role="paragraph" id="par_id3156442" xml-lang="en-US" l10n="CHG" oldref="10">Records that are separated by commas cannot be assigned to a string variable. Quotation marks (") in the file are disregarded as well. If you want to read these characters from the file, use the <emph>Line Input#</emph> statement to read pure text files (files containing only printable characters) line by line.</paragraph>
-<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="11">If the end of the file is reached while reading a data element, an error occurs and the process is aborted.</paragraph>
-<paragraph role="heading" id="hd_id3152578" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+
+<paragraph id="hd_id3125863" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<paragraph id="par_id3150440" role="code" xml-lang="en-US">Input #FileNumber As Integer; var1[, var2[, var3[,...]]]</paragraph>
+
+<paragraph id="hd_id3146121" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3145749" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> Number of the file that contains the data that you want to read. The file must be opened with the Open statement using the key word INPUT.</paragraph>
+<paragraph id="par_id3150011" role="paragraph" xml-lang="en-US"> <emph>var:</emph> A numeric or string variable that you assign the values read from the opened file to.</paragraph>
+<paragraph id="par_id3159153" role="paragraph" xml-lang="en-US">The <emph>Input#</emph> statement reads numeric values or strings from an open file and assigns the data to one or more variables. A numeric variable is read up to the first carriage return (Asc=13), line feed (Asc=10), space, or comma. String variables are read to up to the first carriage return (Asc=13), line feed (Asc=10), or comma.</paragraph>
+<paragraph id="par_id3146984" role="paragraph" xml-lang="en-US">Data and data types in the opened file must appear in the same order as the variables that are passed in the "var" parameter. If you assign non-numeric values to a numeric variable, "var" is assigned a value of "0".</paragraph>
+<paragraph id="par_id3156442" role="paragraph" xml-lang="en-US">Records that are separated by commas cannot be assigned to a string variable. Quotation marks (") in the file are disregarded as well. If you want to read these characters from the file, use the <emph>Line Input#</emph> statement to read pure text files (files containing only printable characters) line by line.</paragraph>
+<paragraph id="par_id3147349" role="paragraph" xml-lang="en-US">If the end of the file is reached while reading a data element, an error occurs and the process is aborted.</paragraph>
+
+<paragraph id="hd_id3152578" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false">Sub ExampleWorkWithAFile</paragraph>
-<paragraph role="bascode" localize="false">Dim iCount As Integer</paragraph>
-<paragraph role="bascode" localize="false">Dim sName As String</paragraph>
-<paragraph role="bascode" localize="false">Dim sValue As Integer</paragraph>
-<paragraph role="bascode" localize="false">Dim sFileName As String</paragraph>
-<paragraph role="bascode" localize="false"> </paragraph>
-<paragraph role="bascode" localize="false">sFileName = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false">iCount = Freefile</paragraph>
-<paragraph role="bascode" localize="false"> </paragraph>
-<paragraph role="bascode" id="par_id4144765" xml-lang="en-US">' Write data ( which we will read later with Input ) to file</paragraph>
-<paragraph role="bascode" localize="false">Open sFileName For Output As iCount</paragraph>
-<paragraph role="bascode" localize="false">sName = "Hamburg"</paragraph>
-<paragraph role="bascode" localize="false">sValue = 200</paragraph>
-<paragraph role="bascode" localize="false">Write #iCount, sName, sValue</paragraph>
-<paragraph role="bascode" localize="false">sName = "New York"</paragraph>
-<paragraph role="bascode" localize="false">sValue = 300</paragraph>
-<paragraph role="bascode" localize="false">Write #iCount, sName, sValue</paragraph>
-<paragraph role="bascode" localize="false">sName = "Miami"</paragraph>
-<paragraph role="bascode" localize="false">sValue = 459</paragraph>
-<paragraph role="bascode" localize="false">Write #iCount, sName, sValue</paragraph>
-<paragraph role="bascode" localize="false">Close #iCount</paragraph>
-<paragraph role="bascode" localize="false"> </paragraph>
-<paragraph role="bascode" localize="false">iCount = Freefile</paragraph>
-<paragraph role="bascode" id="par_id4144766" xml-lang="en-US">' Read data file using Input</paragraph>
-<paragraph role="bascode" localize="false">Open sFileName For Input As iCount</paragraph>
-<paragraph role="bascode" localize="false">Input #iCount; sName, sValue</paragraph>
-<paragraph role="bascode" localize="false">MsgBox sName &amp; " " &amp; sValue</paragraph>
-<paragraph role="bascode" localize="false">Input #iCount; sName, sValue</paragraph>
-<paragraph role="bascode" localize="false">MsgBox sName &amp; " " &amp; sValue</paragraph>
-<paragraph role="bascode" localize="false">Input #iCount; sName, sValue</paragraph>
-<paragraph role="bascode" localize="false">MsgBox sName &amp; " " &amp; sValue</paragraph>
-<paragraph role="bascode" localize="false">Close #iCount</paragraph>
-<paragraph role="bascode" localize="false">End Sub</paragraph>
+<paragraph id="par_idm871097888" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
+<paragraph id="par_idm871096912" role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer</paragraph>
+<paragraph id="par_idm871095952" role="bascode" localize="false" xml-lang="en-US">Dim sName As String</paragraph>
+<paragraph id="par_idm871094992" role="bascode" localize="false" xml-lang="en-US">Dim sValue As Integer</paragraph>
+<paragraph id="par_idm871094032" role="bascode" localize="false" xml-lang="en-US">Dim sFileName As String</paragraph>
+<paragraph id="par_idm871093072" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
+<paragraph id="par_idm871092096" role="bascode" localize="false" xml-lang="en-US">sFileName = "c:\data.txt"</paragraph>
+<paragraph id="par_idm871091120" role="bascode" localize="false" xml-lang="en-US">iCount = Freefile</paragraph>
+<paragraph id="par_idm871090160" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
+<paragraph id="par_id4144765" role="bascode" xml-lang="en-US">' Write data ( which we will read later with Input ) to file</paragraph>
+<paragraph id="par_idm871087952" role="bascode" localize="false" xml-lang="en-US">Open sFileName For Output As iCount</paragraph>
+<paragraph id="par_idm871086976" role="bascode" localize="false" xml-lang="en-US">sName = "Hamburg"</paragraph>
+<paragraph id="par_idm871086016" role="bascode" localize="false" xml-lang="en-US">sValue = 200</paragraph>
+<paragraph id="par_idm871085056" role="bascode" localize="false" xml-lang="en-US">Write #iCount, sName, sValue</paragraph>
+<paragraph id="par_idm871084080" role="bascode" localize="false" xml-lang="en-US">sName = "New York"</paragraph>
+<paragraph id="par_idm871083120" role="bascode" localize="false" xml-lang="en-US">sValue = 300</paragraph>
+<paragraph id="par_idm871082160" role="bascode" localize="false" xml-lang="en-US">Write #iCount, sName, sValue</paragraph>
+<paragraph id="par_idm871081184" role="bascode" localize="false" xml-lang="en-US">sName = "Miami"</paragraph>
+<paragraph id="par_idm871080224" role="bascode" localize="false" xml-lang="en-US">sValue = 459</paragraph>
+<paragraph id="par_idm871079264" role="bascode" localize="false" xml-lang="en-US">Write #iCount, sName, sValue</paragraph>
+<paragraph id="par_idm871078288" role="bascode" localize="false" xml-lang="en-US">Close #iCount</paragraph>
+<paragraph id="par_idm871077328" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
+<paragraph id="par_idm871076400" role="bascode" localize="false" xml-lang="en-US">iCount = Freefile</paragraph>
+<paragraph id="par_id4144766" role="bascode" xml-lang="en-US">' Read data file using Input</paragraph>
+<paragraph id="par_idm871074192" role="bascode" localize="false" xml-lang="en-US">Open sFileName For Input As iCount</paragraph>
+<paragraph id="par_idm871073216" role="bascode" localize="false" xml-lang="en-US">Input #iCount; sName, sValue</paragraph>
+<paragraph id="par_idm871072240" role="bascode" localize="false" xml-lang="en-US">MsgBox sName &amp; " " &amp; sValue</paragraph>
+<paragraph id="par_idm871071264" role="bascode" localize="false" xml-lang="en-US">Input #iCount; sName, sValue</paragraph>
+<paragraph id="par_idm871070288" role="bascode" localize="false" xml-lang="en-US">MsgBox sName &amp; " " &amp; sValue</paragraph>
+<paragraph id="par_idm871069312" role="bascode" localize="false" xml-lang="en-US">Input #iCount; sName, sValue</paragraph>
+<paragraph id="par_idm871068336" role="bascode" localize="false" xml-lang="en-US">MsgBox sName &amp; " " &amp; sValue</paragraph>
+<paragraph id="par_idm871067360" role="bascode" localize="false" xml-lang="en-US">Close #iCount</paragraph>
+<paragraph id="par_idm871066400" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020203.xhp b/source/text/sbasic/shared/03020203.xhp
index 99c4a2c0df..1be787fe0c 100644
--- a/source/text/sbasic/shared/03020203.xhp
+++ b/source/text/sbasic/shared/03020203.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,59 +16,63 @@
* 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="textsbasicshared03020203xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Line Input # Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020203.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020203xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Line Input # Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020203.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="lineinput">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>Line Input statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153361">
+ <bookmark_value>Line Input statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020203.xhp" name="Line Input # Statement [Runtime]">Line Input # Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="2">Reads strings from a sequential file into a variable.</paragraph>
+
+
+<paragraph id="hd_id3153361" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020203.xhp" name="Line Input # Statement [Runtime]">Line Input # Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3156280" role="paragraph" xml-lang="en-US">Reads strings from a sequential file into a variable.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3150447" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3150447" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="4">Line Input #FileNumber As Integer, Var As String </paragraph>
+<paragraph id="par_id3147229" role="bascode" xml-lang="en-US">Line Input #FileNumber As Integer, Var As String </paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="CHG" oldref="6">
-<emph>FileNumber: </emph>Number of the file that contains the data that you want to read. The file must have been opened in advance with the Open statement using the key word INPUT.</paragraph>
-<paragraph role="paragraph" id="par_id3151119" xml-lang="en-US" l10n="U" oldref="7">
-<emph>var:</emph> The name of the variable that stores the result.</paragraph>
-<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="8">With the <emph>Line Input#</emph> statement, you can read strings from an open file into a variable. String variables are read line-by-line up to the first carriage return (Asc=13) or linefeed (Asc=10). Line end marks are not included in the resulting string.</paragraph>
-<paragraph role="heading" id="hd_id3163711" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+
+<paragraph id="hd_id3145173" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3161832" role="paragraph" xml-lang="en-US"> <emph>FileNumber: </emph>Number of the file that contains the data that you want to read. The file must have been opened in advance with the Open statement using the key word INPUT.</paragraph>
+<paragraph id="par_id3151119" role="paragraph" xml-lang="en-US"> <emph>var:</emph> The name of the variable that stores the result.</paragraph>
+<paragraph id="par_id3150010" role="paragraph" xml-lang="en-US">With the <emph>Line Input#</emph> statement, you can read strings from an open file into a variable. String variables are read line-by-line up to the first carriage return (Asc=13) or linefeed (Asc=10). Line end marks are not included in the resulting string.</paragraph>
+
+<paragraph id="hd_id3163711" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="18"> Print #iNumber, "This is a line of text"</paragraph>
-<paragraph role="bascode" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="19"> Print #iNumber, "This is another line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> While Not EOF(iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340596256" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
+<paragraph id="par_idm1340595008" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1340593776" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1340592544" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1340591312" role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
+<paragraph id="par_idm1340590080" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1340588832" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1340587600" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3147124" role="bascode" xml-lang="en-US"> Print #iNumber, "This is a line of text"</paragraph>
+<paragraph id="par_id3153415" role="bascode" xml-lang="en-US"> Print #iNumber, "This is another line of text"</paragraph>
+<paragraph id="par_idm1340582816" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1340581584" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1340580352" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
+<paragraph id="par_idm1340579104" role="bascode" localize="false" xml-lang="en-US"> While Not EOF(iNumber)</paragraph>
+<paragraph id="par_idm1340577856" role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
+<paragraph id="par_idm1340576608" role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
+<paragraph id="par_idm1340575360" role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph id="par_idm1340574096" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1340572864" role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
+<paragraph id="par_idm1340571632" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1340570400" role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
+<paragraph id="par_idm1340569168" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020204.xhp b/source/text/sbasic/shared/03020204.xhp
index 354c057092..4f7be26a62 100644
--- a/source/text/sbasic/shared/03020204.xhp
+++ b/source/text/sbasic/shared/03020204.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,67 +16,70 @@
* 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="textsbasicshared03020204xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Put Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020204.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020204xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Put Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020204.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="put">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3150360"><bookmark_value>Put statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150360">
+ <bookmark_value>Put statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3150360" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020204.xhp" name="Put Statement [Runtime]">Put Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="2">Writes a record to a relative file or a sequence of bytes to a binary file.</paragraph>
+
+
+<paragraph id="hd_id3150360" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020204.xhp" name="Put Statement [Runtime]">Put Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3154909" role="paragraph" xml-lang="en-US">Writes a record to a relative file or a sequence of bytes to a binary file.</paragraph>
</section>
-<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03020201.xhp" name="Get"><item type="literal">Get</item></link> statement</paragraph>
-<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US">See also: <link href="text/sbasic/shared/03020201.xhp" name="Get"><item type="literal">Get</item></link> statement</paragraph>
+
+<paragraph id="hd_id3125863" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="5">Put [#] FileNumber As Integer, [position], Variable</paragraph>
+<paragraph id="par_id3155132" role="bascode" xml-lang="en-US">Put [#] FileNumber As Integer, [position], Variable</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153190" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="7">
-<emph>FileNumber:</emph> Any integer expression that defines the file that you want to write to.</paragraph>
-<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Position: </emph>For relative files (random access files), the number of the record that you want to write.</paragraph>
-<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="9">For binary files (binary access), the position of the byte in the file where you want to start writing.</paragraph>
-<paragraph role="paragraph" id="par_id3153729" xml-lang="en-US" l10n="U" oldref="10">
-<emph>Variable:</emph> Name of the variable that you want to write to the file.</paragraph>
-<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="11">Note for relative files: If the contents of this variable does not match the length of the record that is specified in the <emph>Len</emph> clause of the <emph>Open</emph> statement, the space between the end of the newly written record and the next record is padded with existing data from the file that you are writing to.</paragraph>
-<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="12">Note for binary files: The contents of the variables are written to the specified position, and the file pointer is inserted directly after the last byte. No space is left between the records.</paragraph>
-<paragraph role="heading" id="hd_id3154491" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+
+<paragraph id="hd_id3153190" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3146120" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> Any integer expression that defines the file that you want to write to.</paragraph>
+<paragraph id="par_id3155411" role="paragraph" xml-lang="en-US"> <emph>Position: </emph>For relative files (random access files), the number of the record that you want to write.</paragraph>
+<paragraph id="par_id3148576" role="paragraph" xml-lang="en-US">For binary files (binary access), the position of the byte in the file where you want to start writing.</paragraph>
+<paragraph id="par_id3153729" role="paragraph" xml-lang="en-US"> <emph>Variable:</emph> Name of the variable that you want to write to the file.</paragraph>
+<paragraph id="par_id3146974" role="paragraph" xml-lang="en-US">Note for relative files: If the contents of this variable does not match the length of the record that is specified in the <emph>Len</emph> clause of the <emph>Open</emph> statement, the space between the end of the newly written record and the next record is padded with existing data from the file that you are writing to.</paragraph>
+<paragraph id="par_id3155855" role="paragraph" xml-lang="en-US">Note for binary files: The contents of the variables are written to the specified position, and the file pointer is inserted directly after the last byte. No space is left between the records.</paragraph>
+
+<paragraph id="hd_id3154491" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomAccess</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="16">Dim sText As Variant ' Must be a variant type</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
-<paragraph role="bascode" id="par_id3156278" xml-lang="en-US" l10n="U" oldref="22"> Seek #iNumber,1 ' Position To start writing</paragraph>
-<paragraph role="bascode" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="23"> Put #iNumber,, "This is the first line of text" ' Fill line with text</paragraph>
-<paragraph role="bascode" id="par_id3155446" xml-lang="en-US" l10n="U" oldref="24"> Put #iNumber,, "This is the second line of text"</paragraph>
-<paragraph role="bascode" id="par_id3154255" xml-lang="en-US" l10n="U" oldref="25"> Put #iNumber,, "This is the third line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Seek #iNumber,2</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,,sText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print sText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
-<paragraph role="bascode" id="par_id3150940" xml-lang="en-US" l10n="U" oldref="34"> Put #iNumber,,"This is new text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,1,sText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
-<paragraph role="bascode" id="par_id3159102" xml-lang="en-US" l10n="U" oldref="37"> Put #iNumber,20,"This is the text in record 20"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print Lof(#iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341567184" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomAccess</paragraph>
+<paragraph id="par_idm1341565952" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_id3154729" role="bascode" xml-lang="en-US">Dim sText As Variant ' Must be a variant type</paragraph>
+<paragraph id="par_idm1341562976" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1341561744" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1341560496" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341559264" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph id="par_id3156278" role="bascode" xml-lang="en-US"> Seek #iNumber,1 ' Position To start writing</paragraph>
+<paragraph id="par_id3153711" role="bascode" xml-lang="en-US"> Put #iNumber,, "This is the first line of text" ' Fill line with text</paragraph>
+<paragraph id="par_id3155446" role="bascode" xml-lang="en-US"> Put #iNumber,, "This is the second line of text"</paragraph>
+<paragraph id="par_id3154255" role="bascode" xml-lang="en-US"> Put #iNumber,, "This is the third line of text"</paragraph>
+<paragraph id="par_idm1341550944" role="bascode" localize="false" xml-lang="en-US"> Seek #iNumber,2</paragraph>
+<paragraph id="par_idm1341549712" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,,sText</paragraph>
+<paragraph id="par_idm1341548480" role="bascode" localize="false" xml-lang="en-US"> Print sText</paragraph>
+<paragraph id="par_idm1341547248" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341546016" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341544784" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph id="par_idm1341543520" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
+<paragraph id="par_id3150940" role="bascode" xml-lang="en-US"> Put #iNumber,,"This is new text"</paragraph>
+<paragraph id="par_idm1341540544" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,1,sText</paragraph>
+<paragraph id="par_idm1341539296" role="bascode" localize="false" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
+<paragraph id="par_id3159102" role="bascode" xml-lang="en-US"> Put #iNumber,20,"This is the text in record 20"</paragraph>
+<paragraph id="par_idm1341536304" role="bascode" localize="false" xml-lang="en-US"> Print Lof(#iNumber)</paragraph>
+<paragraph id="par_idm1341535072" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341533840" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020205.xhp b/source/text/sbasic/shared/03020205.xhp
index c1123eaacc..725c040f09 100644
--- a/source/text/sbasic/shared/03020205.xhp
+++ b/source/text/sbasic/shared/03020205.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,54 +16,58 @@
* 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="textsbasicshared03020205xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Write Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020205.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020205xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Write Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020205.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="write">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3147229"><bookmark_value>Write statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147229">
+ <bookmark_value>Write statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020205.xhp" name="Write Statement [Runtime]">Write Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="2">Writes data to a sequential file.</paragraph>
+
+
+<paragraph id="hd_id3147229" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020205.xhp" name="Write Statement [Runtime]">Write Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3154685" role="paragraph" xml-lang="en-US">Writes data to a sequential file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3150449" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3150449" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3145785" xml-lang="en-US" l10n="CHG" oldref="4">Write [#FileName], [Expressionlist]<comment>see i61248</comment></paragraph>
+<paragraph id="par_id3145785" role="bascode" xml-lang="en-US">Write [#FileName], [Expressionlist]<comment>see i61248</comment></paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3151116" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="6">
-<emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.</paragraph>
-<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="7">
-<emph>Expressionlist:</emph> Variables or expressions that you want to enter in a file, separated by commas.</paragraph>
-<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="CHG" oldref="8">If the expression list is omitted, the <emph>Write</emph> statement appends an empty line to the file.</paragraph>
-<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="U" oldref="9">To add an expression list to a new or an existing file, the file must be opened in the <emph>Output</emph> or <emph>Append</emph> mode.</paragraph>
-<paragraph role="paragraph" id="par_id3147428" xml-lang="en-US" l10n="CHG" oldref="10">Strings that you write are enclosed by quotation marks and separated by commas. You do not need to enter these delimiters in the expression list.</paragraph>
-<paragraph role="paragraph" id="par_id1002838" xml-lang="en-US" l10n="NEW">Each <emph>Write</emph> statement outputs a line end symbol as last entry.</paragraph>
-<paragraph role="paragraph" id="par_id6618854" xml-lang="en-US" l10n="NEW">Numbers with decimal delimiters are converted according to the locale settings.</paragraph>
-<paragraph role="heading" id="hd_id3151073" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+
+<paragraph id="hd_id3151116" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3153728" role="paragraph" xml-lang="en-US"> <emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.</paragraph>
+<paragraph id="par_id3146120" role="paragraph" xml-lang="en-US"> <emph>Expressionlist:</emph> Variables or expressions that you want to enter in a file, separated by commas.</paragraph>
+<paragraph id="par_id3150010" role="paragraph" xml-lang="en-US">If the expression list is omitted, the <emph>Write</emph> statement appends an empty line to the file.</paragraph>
+<paragraph id="par_id3163713" role="paragraph" xml-lang="en-US">To add an expression list to a new or an existing file, the file must be opened in the <emph>Output</emph> or <emph>Append</emph> mode.</paragraph>
+<paragraph id="par_id3147428" role="paragraph" xml-lang="en-US">Strings that you write are enclosed by quotation marks and separated by commas. You do not need to enter these delimiters in the expression list.</paragraph>
+<paragraph id="par_id1002838" role="paragraph" xml-lang="en-US">Each <emph>Write</emph> statement outputs a line end symbol as last entry.</paragraph>
+<paragraph id="par_id6618854" role="paragraph" xml-lang="en-US">Numbers with decimal delimiters are converted according to the locale settings.</paragraph>
+
+<paragraph id="hd_id3151073" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleWrite</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sValue As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iCount = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open "C:\data.txt" For Output As iCount</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sValue = "Hamburg"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Write #iCount,sValue,200</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sValue = "New York"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Write #iCount,sValue,300</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sValue = "Miami"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Write #iCount,sValue,450</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iCount</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340911536" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWrite</paragraph>
+<paragraph id="par_idm1340910304" role="bascode" localize="false" xml-lang="en-US">Dim iCount As Integer</paragraph>
+<paragraph id="par_idm1340909072" role="bascode" localize="false" xml-lang="en-US">Dim sValue As String</paragraph>
+<paragraph id="par_idm1340907840" role="bascode" localize="false" xml-lang="en-US"> iCount = Freefile</paragraph>
+<paragraph id="par_idm1340906608" role="bascode" localize="false" xml-lang="en-US"> Open "C:\data.txt" For Output As iCount</paragraph>
+<paragraph id="par_idm1340905344" role="bascode" localize="false" xml-lang="en-US"> sValue = "Hamburg"</paragraph>
+<paragraph id="par_idm1340904112" role="bascode" localize="false" xml-lang="en-US"> Write #iCount,sValue,200</paragraph>
+<paragraph id="par_idm1340902864" role="bascode" localize="false" xml-lang="en-US"> sValue = "New York"</paragraph>
+<paragraph id="par_idm1340901632" role="bascode" localize="false" xml-lang="en-US"> Write #iCount,sValue,300</paragraph>
+<paragraph id="par_idm1340900384" role="bascode" localize="false" xml-lang="en-US"> sValue = "Miami"</paragraph>
+<paragraph id="par_idm1340899152" role="bascode" localize="false" xml-lang="en-US"> Write #iCount,sValue,450</paragraph>
+<paragraph id="par_idm1340897904" role="bascode" localize="false" xml-lang="en-US"> Close #iCount</paragraph>
+<paragraph id="par_idm1340896672" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020301.xhp b/source/text/sbasic/shared/03020301.xhp
index fa36edd10f..04dc154d87 100644
--- a/source/text/sbasic/shared/03020301.xhp
+++ b/source/text/sbasic/shared/03020301.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,62 +16,68 @@
* 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="textsbasicshared03020301xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Eof Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020301.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020301xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Eof Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020301.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="eof">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3154598"><bookmark_value>Eof function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154598">
+ <bookmark_value>Eof function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154598" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020301.xhp" name="Eof Function [Runtime]">Eof Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3147182" xml-lang="en-US" l10n="U" oldref="2">Determines if the file pointer has reached the end of a file.</paragraph>
+
+
+<paragraph id="hd_id3154598" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020301.xhp" name="Eof Function [Runtime]">Eof Function [Runtime]</link></paragraph>
+<paragraph id="par_id3147182" role="paragraph" xml-lang="en-US">Determines if the file pointer has reached the end of a file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149119" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3149119" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3147399" xml-lang="en-US" l10n="U" oldref="4">Eof (intexpression As Integer)</paragraph>
+<paragraph id="par_id3147399" role="bascode" xml-lang="en-US">Eof (intexpression As Integer)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153539" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3156027" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
-<paragraph role="heading" id="hd_id3152924" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3153990" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Intexpression:</emph> Any integer expression that evaluates to the number of an open file.</paragraph>
-<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="9">Use EOF to avoid errors when you attempt to get input past the end of a file. When you use the Input or Get statement to read from a file, the file pointer is advanced by the number of bytes read. When the end of a file is reached, EOF returns the value "True" (-1).</paragraph>
+
+<paragraph id="hd_id3153539" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3156027" role="paragraph" xml-lang="en-US">Bool</paragraph>
+
+<paragraph id="hd_id3152924" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3153990" role="paragraph" xml-lang="en-US"> <emph>Intexpression:</emph> Any integer expression that evaluates to the number of an open file.</paragraph>
+<paragraph id="par_id3153527" role="paragraph" xml-lang="en-US">Use EOF to avoid errors when you attempt to get input past the end of a file. When you use the Input or Get statement to read from a file, the file pointer is advanced by the number of bytes read. When the end of a file is reached, EOF returns the value "True" (-1).</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err52"/>
-<paragraph role="heading" id="hd_id3154046" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+
+<paragraph id="hd_id3154046" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="19"> Print #iNumber, "First line of text"</paragraph>
-<paragraph role="bascode" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="20"> Print #iNumber, "Another line of text"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> While Not eof(iNumber)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341592032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
+<paragraph id="par_idm1341590784" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1341589552" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1341588320" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1341587088" role="bascode" localize="false" xml-lang="en-US">Dim sMsg As String</paragraph>
+<paragraph id="par_idm1341585856" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1341584608" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341583376" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3153360" role="bascode" xml-lang="en-US"> Print #iNumber, "First line of text"</paragraph>
+<paragraph id="par_id3148797" role="bascode" xml-lang="en-US"> Print #iNumber, "Another line of text"</paragraph>
+<paragraph id="par_idm1341578592" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341577360" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341576128" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Input As iNumber</paragraph>
+<paragraph id="par_idm1341574880" role="bascode" localize="false" xml-lang="en-US"> While Not eof(iNumber)</paragraph>
+<paragraph id="par_idm1341573632" role="bascode" localize="false" xml-lang="en-US"> Line Input #iNumber, sLine</paragraph>
+<paragraph id="par_idm1341572384" role="bascode" localize="false" xml-lang="en-US"> If sLine &lt;&gt;"" Then</paragraph>
+<paragraph id="par_idm1341571136" role="bascode" localize="false" xml-lang="en-US"> sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph id="par_idm1341569872" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1341568640" role="bascode" localize="false" xml-lang="en-US"> Wend</paragraph>
+<paragraph id="par_idm1341567408" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341566176" role="bascode" localize="false" xml-lang="en-US"> MsgBox sMsg</paragraph>
+<paragraph id="par_idm1341564944" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020401.xhp b/source/text/sbasic/shared/03020401.xhp
index e732187854..9df35db2ec 100644
--- a/source/text/sbasic/shared/03020401.xhp
+++ b/source/text/sbasic/shared/03020401.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,50 +16,56 @@
* 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="textsbasicshared03020401xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">ChDir Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020401.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020401xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">ChDir Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020401.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="chdir">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3150178"><bookmark_value>ChDir statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150178">
+ <bookmark_value>ChDir statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3150178" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020401.xhp" name="ChDir Statement [Runtime]">ChDir Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="2">Changes the current directory or drive.</paragraph>
+
+
+<paragraph id="hd_id3150178" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020401.xhp" name="ChDir Statement [Runtime]">ChDir Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3153126" role="paragraph" xml-lang="en-US">Changes the current directory or drive.</paragraph>
</section>
+
<section id="i30692">
-<paragraph role="warning" id="par_id9783013" xml-lang="en-US" l10n="NEW">This runtime statement currently does not work as documented. See <link href="http://www.openoffice.org/issues/show_bug.cgi?id=30692">this issue</link> for more information.</paragraph>
+<paragraph id="par_id9783013" role="warning" xml-lang="en-US">This runtime statement currently does not work as documented. See <link href="http://www.openoffice.org/issues/show_bug.cgi?id=30692">this issue</link> for more information.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154347" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="4">ChDir Text As String</paragraph>
+<paragraph id="par_id3153897" role="bascode" xml-lang="en-US">ChDir Text As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Text:</emph> Any string expression that specifies the directory path or drive.</paragraph>
-<paragraph role="note" id="par_id3152598" xml-lang="en-US" l10n="U" oldref="7">If you only want to change the current drive, enter the drive letter followed by a colon.</paragraph>
+
+<paragraph id="hd_id3148664" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3150543" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that specifies the directory path or drive.</paragraph>
+<paragraph id="par_id3152598" role="note" xml-lang="en-US">If you only want to change the current drive, enter the drive letter followed by a colon.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err76"/>
-<paragraph role="heading" id="hd_id3151116" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+
+<paragraph id="hd_id3151116" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleChDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sDir1 As String , sDir2 As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sDir1 = "c:\Test"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sDir2 = "d:\Private"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir1 )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir2 )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341266032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleChDir</paragraph>
+<paragraph id="par_idm1341264800" role="bascode" localize="false" xml-lang="en-US">Dim sDir1 As String , sDir2 As String</paragraph>
+<paragraph id="par_idm1341263552" role="bascode" localize="false" xml-lang="en-US"> sDir1 = "c:\Test"</paragraph>
+<paragraph id="par_idm1341262320" role="bascode" localize="false" xml-lang="en-US"> sDir2 = "d:\Private"</paragraph>
+<paragraph id="par_idm1341261072" role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir1 )</paragraph>
+<paragraph id="par_idm1341259840" role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
+<paragraph id="par_idm1341258608" role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir2 )</paragraph>
+<paragraph id="par_idm1341257376" role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
+<paragraph id="par_idm1341256144" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020402.xhp b/source/text/sbasic/shared/03020402.xhp
index 582986f8da..77f4178ccd 100644
--- a/source/text/sbasic/shared/03020402.xhp
+++ b/source/text/sbasic/shared/03020402.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,48 @@
* 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="textsbasicshared03020402xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">ChDrive Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020402.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020402xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">ChDrive Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020402.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="chdrive">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3145068"><bookmark_value>ChDrive statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145068">
+ <bookmark_value>ChDrive statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020402.xhp" name="ChDrive Statement [Runtime]">ChDrive Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="2">Changes the current drive.</paragraph>
+
+
+<paragraph id="hd_id3145068" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020402.xhp" name="ChDrive Statement [Runtime]">ChDrive Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3149656" role="paragraph" xml-lang="en-US">Changes the current drive.</paragraph>
</section>
<embed href="text/sbasic/shared/03020401.xhp#i30692"/>
-<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154138" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">ChDrive Text As String</paragraph>
+<paragraph id="par_id3154685" role="bascode" xml-lang="en-US">ChDrive Text As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Text:</emph> Any string expression that contains the drive letter of the new drive. If you want, you can use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="7">The drive must be assigned a capital letter. Under Windows, the letter that you assign the drive is restricted by the settings in LASTDRV. If the drive argument is a multiple-character string, only the first letter is relevant. If you attempt to access a non-existent drive, an error occurs that you can respond to with the OnError statement.</paragraph>
+
+<paragraph id="hd_id3156423" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3145172" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains the drive letter of the new drive. If you want, you can use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3145785" role="paragraph" xml-lang="en-US">The drive must be assigned a capital letter. Under Windows, the letter that you assign the drive is restricted by the settings in LASTDRV. If the drive argument is a multiple-character string, only the first letter is relevant. If you attempt to access a non-existent drive, an error occurs that you can respond to with the OnError statement.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err68"/>
<embed href="text/sbasic/shared/00000003.xhp#err76"/>
-<paragraph role="heading" id="hd_id3153188" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+
+<paragraph id="hd_id3153188" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleChDrive</paragraph>
-<paragraph role="bascode" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="10"> ChDrive "D" ' Only possible if a drive 'D' exists.</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340928496" role="bascode" localize="false" xml-lang="en-US">Sub ExampleChDrive</paragraph>
+<paragraph id="par_id3152576" role="bascode" xml-lang="en-US"> ChDrive "D" ' Only possible if a drive 'D' exists.</paragraph>
+<paragraph id="par_idm1340925472" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020403.xhp b/source/text/sbasic/shared/03020403.xhp
index 5147bb5581..650422801c 100644
--- a/source/text/sbasic/shared/03020403.xhp
+++ b/source/text/sbasic/shared/03020403.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,53 +16,59 @@
* 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="textsbasicshared03020403xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">CurDir Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020403.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020403xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">CurDir Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020403.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="curdir">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153126"><bookmark_value>CurDir function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153126">
+ <bookmark_value>CurDir function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020403.xhp">CurDir Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US" l10n="U" oldref="2">Returns a variant string that represents the current path of the specified drive.</paragraph>
+
+
+<paragraph id="hd_id3153126" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020403.xhp">CurDir Function [Runtime]</link></paragraph>
+<paragraph id="par_id3156343" role="paragraph" xml-lang="en-US">Returns a variant string that represents the current path of the specified drive.</paragraph>
</section>
<embed href="text/sbasic/shared/03020401.xhp#i30692"/>
-<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="4">CurDir [(Text As String)]</paragraph>
+<paragraph id="par_id3153381" role="bascode" xml-lang="en-US">CurDir [(Text As String)]</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
-<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text:</emph> Any string expression that specifies an existing drive (for example, "C" for the first partition of the first hard drive).</paragraph>
-<paragraph role="paragraph" id="par_id3155133" xml-lang="en-US" l10n="U" oldref="9">If no drive is specified or if the drive is a zero-length string (""), CurDir returns the path for the current drive. $[officename] Basic reports an error if the syntax of the drive description is incorrect, the drive does not exist, or if the drive letter occurs after the letter defined in the CONFIG.SYS with the Lastdrive statement.</paragraph>
-<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="10">This function is not case-sensitive.</paragraph>
+
+<paragraph id="hd_id3154366" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US">String</paragraph>
+
+<paragraph id="hd_id3156423" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3153193" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that specifies an existing drive (for example, "C" for the first partition of the first hard drive).</paragraph>
+<paragraph id="par_id3155133" role="paragraph" xml-lang="en-US">If no drive is specified or if the drive is a zero-length string (""), CurDir returns the path for the current drive. $[officename] Basic reports an error if the syntax of the drive description is incorrect, the drive does not exist, or if the drive letter occurs after the letter defined in the CONFIG.SYS with the Lastdrive statement.</paragraph>
+<paragraph id="par_id3150010" role="paragraph" xml-lang="en-US">This function is not case-sensitive.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err68"/>
<embed href="text/sbasic/shared/00000003.xhp#err7"/>
<embed href="text/sbasic/shared/00000003.xhp#err51"/>
-<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+
+<paragraph id="hd_id3155411" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCurDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sDir1 As String , sDir2 As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sDir1 = "c:\Test"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sDir2 = "d:\Private"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir1 )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir2 )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341570656" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCurDir</paragraph>
+<paragraph id="par_idm1341569424" role="bascode" localize="false" xml-lang="en-US">Dim sDir1 As String , sDir2 As String</paragraph>
+<paragraph id="par_idm1341568176" role="bascode" localize="false" xml-lang="en-US"> sDir1 = "c:\Test"</paragraph>
+<paragraph id="par_idm1341566944" role="bascode" localize="false" xml-lang="en-US"> sDir2 = "d:\Private"</paragraph>
+<paragraph id="par_idm1341565696" role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir1 )</paragraph>
+<paragraph id="par_idm1341564464" role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
+<paragraph id="par_idm1341563232" role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir2 )</paragraph>
+<paragraph id="par_idm1341562000" role="bascode" localize="false" xml-lang="en-US"> MsgBox CurDir</paragraph>
+<paragraph id="par_idm1341560768" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020404.xhp b/source/text/sbasic/shared/03020404.xhp
index 00cfea33fc..b386b29182 100644
--- a/source/text/sbasic/shared/03020404.xhp
+++ b/source/text/sbasic/shared/03020404.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,65 +16,70 @@
* 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="textsbasicshared03020404xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Dir Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020404.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020404xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Dir Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020404.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="dir">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3154347"><bookmark_value>Dir function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154347">
+ <bookmark_value>Dir function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020404.xhp" name="Dir Function [Runtime]">Dir Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="2">Returns the name of a file, a directory, or all of the files and the directories on a drive or in a directory that match the specified search path.</paragraph>
+
+
+<paragraph id="hd_id3154347" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020404.xhp" name="Dir Function [Runtime]">Dir Function [Runtime]</link></paragraph>
+<paragraph id="par_id3153381" role="paragraph" xml-lang="en-US">Returns the name of a file, a directory, or all of the files and the directories on a drive or in a directory that match the specified search path.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154365" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="4">Dir [(Text As String) [, Attrib As Integer]]</paragraph>
+<paragraph id="par_id3156282" role="bascode" xml-lang="en-US">Dir [(Text As String) [, Attrib As Integer]]</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3156424" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
-<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text:</emph> Any string expression that specifies the search path, directory or file. This argument can only be specified the first time that you call the Dir function. If you want, you can enter the path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="9">
-<emph>Attrib: </emph>Any integer expression that specifies bitwise file attributes. The Dir function only returns files or directories that match the specified attributes. You can combine several attributes by adding the attribute values:</paragraph>
-<paragraph role="paragraph" id="par_id3149666" xml-lang="en-US" l10n="U" oldref="11">0 : Normal files.</paragraph>
-<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="15">16 : Returns the name of the directory only.</paragraph>
-<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="16">Use this attribute to check if a file or directory exists, or to determine all files and folders in a specific directory.</paragraph>
-<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="17">To check if a file exists, enter the complete path and name of the file. If the file or directory name does not exist, the Dir function returns a zero-length string ("").</paragraph>
-<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="18">To generate a list of all existing files in a specific directory, proceed as follows: The first time you call the Dir function, specify the complete search path for the files, for example, "D:\Files\*.sxw". If the path is correct and the search finds at least one file, the Dir function returns the name of the first file that matches the search path. To return additional file names that match the path, call Dir again, but with no arguments.</paragraph>
-<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="19">To return directories only, use the attribute parameter. The same applies if you want to determine the name of a volume (for example, a hard drive partition)</paragraph>
+
+<paragraph id="hd_id3156424" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3153193" role="paragraph" xml-lang="en-US">String</paragraph>
+
+<paragraph id="hd_id3153770" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3161831" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that specifies the search path, directory or file. This argument can only be specified the first time that you call the Dir function. If you want, you can enter the path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3146974" role="paragraph" xml-lang="en-US"> <emph>Attrib: </emph>Any integer expression that specifies bitwise file attributes. The Dir function only returns files or directories that match the specified attributes. You can combine several attributes by adding the attribute values:</paragraph>
+<paragraph id="par_id3149666" role="paragraph" xml-lang="en-US">0 : Normal files.</paragraph>
+<paragraph id="par_id3147427" role="paragraph" xml-lang="en-US">16 : Returns the name of the directory only.</paragraph>
+<paragraph id="par_id3153952" role="paragraph" xml-lang="en-US">Use this attribute to check if a file or directory exists, or to determine all files and folders in a specific directory.</paragraph>
+<paragraph id="par_id3159156" role="paragraph" xml-lang="en-US">To check if a file exists, enter the complete path and name of the file. If the file or directory name does not exist, the Dir function returns a zero-length string ("").</paragraph>
+<paragraph id="par_id3154012" role="paragraph" xml-lang="en-US">To generate a list of all existing files in a specific directory, proceed as follows: The first time you call the Dir function, specify the complete search path for the files, for example, "D:\Files\*.sxw". If the path is correct and the search finds at least one file, the Dir function returns the name of the first file that matches the search path. To return additional file names that match the path, call Dir again, but with no arguments.</paragraph>
+<paragraph id="par_id3147348" role="paragraph" xml-lang="en-US">To return directories only, use the attribute parameter. The same applies if you want to determine the name of a volume (for example, a hard drive partition)</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err53"/>
-<paragraph role="heading" id="hd_id3154942" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+
+<paragraph id="hd_id3154942" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleDir</paragraph>
-<paragraph role="bascode" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="22">' Displays all files and directories</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sPath As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sDir As String, sValue As String</paragraph>
-<paragraph role="bascode" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="27"> sDir="Directories:"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sPath = CurDir</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sValue = Dir$(sPath + getPathSeparator + "*",16)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Do</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If sValue &lt;&gt; "." And sValue &lt;&gt; ".." Then</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If (GetAttr( sPath + getPathSeparator + sValue) And 16) &gt;0 Then</paragraph>
-<paragraph role="bascode" id="par_id3154253" xml-lang="en-US" l10n="U" oldref="34"> ' Get the directories</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sDir = sDir &amp; chr(13) &amp; sValue</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sValue = Dir$</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Loop Until sValue = ""</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox sDir,0,sPath</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341562192" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDir</paragraph>
+<paragraph id="par_id3148455" role="bascode" xml-lang="en-US">' Displays all files and directories</paragraph>
+<paragraph id="par_idm1341559232" role="bascode" localize="false" xml-lang="en-US">Dim sPath As String</paragraph>
+<paragraph id="par_idm1341558000" role="bascode" localize="false" xml-lang="en-US">Dim sDir As String, sValue As String</paragraph>
+<paragraph id="par_id3153416" role="bascode" xml-lang="en-US"> sDir="Directories:"</paragraph>
+<paragraph id="par_idm1341555040" role="bascode" localize="false" xml-lang="en-US"> sPath = CurDir</paragraph>
+<paragraph id="par_idm1341553808" role="bascode" localize="false" xml-lang="en-US"> sValue = Dir$(sPath + getPathSeparator + "*",16)</paragraph>
+<paragraph id="par_idm1341552544" role="bascode" localize="false" xml-lang="en-US"> Do</paragraph>
+<paragraph id="par_idm1341551312" role="bascode" localize="false" xml-lang="en-US"> If sValue &lt;&gt; "." And sValue &lt;&gt; ".." Then</paragraph>
+<paragraph id="par_idm1341550000" role="bascode" localize="false" xml-lang="en-US"> If (GetAttr( sPath + getPathSeparator + sValue) And 16) &gt;0 Then</paragraph>
+<paragraph id="par_id3154253" role="bascode" xml-lang="en-US"> ' Get the directories</paragraph>
+<paragraph id="par_idm1341546912" role="bascode" localize="false" xml-lang="en-US"> sDir = sDir &amp; chr(13) &amp; sValue</paragraph>
+<paragraph id="par_idm1341545632" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1341544400" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1341543168" role="bascode" localize="false" xml-lang="en-US"> sValue = Dir$</paragraph>
+<paragraph id="par_idm1341541936" role="bascode" localize="false" xml-lang="en-US"> Loop Until sValue = ""</paragraph>
+<paragraph id="par_idm1341540688" role="bascode" localize="false" xml-lang="en-US"> MsgBox sDir,0,sPath</paragraph>
+<paragraph id="par_idm1341539456" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020405.xhp b/source/text/sbasic/shared/03020405.xhp
index 5926120ab3..7ba12d5fb2 100644
--- a/source/text/sbasic/shared/03020405.xhp
+++ b/source/text/sbasic/shared/03020405.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,63 +16,68 @@
* 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="textsbasicshared03020405xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">FileAttr-Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020405.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020405xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">FileAttr-Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020405.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="fileattr">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153380"><bookmark_value>FileAttr function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153380">
+ <bookmark_value>FileAttr function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153380" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020405.xhp" name="FileAttr-Function [Runtime]">FileAttr Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="2">Returns the access mode or the file access number of a file that was opened with the Open statement. The file access number is dependent on the operating system (OSH = Operating System Handle).</paragraph>
+
+
+<paragraph id="hd_id3153380" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020405.xhp" name="FileAttr-Function [Runtime]">FileAttr Function [Runtime]</link></paragraph>
+<paragraph id="par_id3154366" role="paragraph" xml-lang="en-US">Returns the access mode or the file access number of a file that was opened with the Open statement. The file access number is dependent on the operating system (OSH = Operating System Handle).</paragraph>
</section>
-<paragraph role="note" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="3">If you use a 32-Bit operating system, you cannot use the FileAttr-Function to determine the file access number.</paragraph>
-<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="U" oldref="4">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link></paragraph>
-<paragraph role="heading" id="hd_id3151116" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph id="par_id3153364" role="note" xml-lang="en-US">If you use a 32-Bit operating system, you cannot use the FileAttr-Function to determine the file access number.</paragraph>
+<paragraph id="par_id3163713" role="paragraph" xml-lang="en-US">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link></paragraph>
+
+<paragraph id="hd_id3151116" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="6">FileAttr (FileNumber As Integer, Attribute As Integer)</paragraph>
+<paragraph id="par_id3154012" role="bascode" xml-lang="en-US">FileAttr (FileNumber As Integer, Attribute As Integer)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3147349" xml-lang="en-US" level="2" l10n="U" oldref="7">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="8">Integer</paragraph>
-<paragraph role="heading" id="hd_id3153728" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="10">
-<emph>FileNumber:</emph> The number of the file that was opened with the Open statement.</paragraph>
-<paragraph role="paragraph" id="par_id3144766" xml-lang="en-US" l10n="U" oldref="11">
-<emph>Attribute:</emph> Integer expression that indicates the type of file information that you want to return. The following values are possible:</paragraph>
-<paragraph role="paragraph" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="12">1: The FileAttr-Function indicates the access mode of the file.</paragraph>
-<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="13">2: The FileAttr-Function returns the file access number of the operating system.</paragraph>
-<paragraph role="paragraph" id="par_id3154018" xml-lang="en-US" l10n="U" oldref="14">If you specify a parameter attribute with a value of 1, the following return values apply:</paragraph>
-<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US" l10n="U" oldref="15">1 - INPUT (file open for input)</paragraph>
-<paragraph role="paragraph" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="16">2 - OUTPUT (file open for output)</paragraph>
-<paragraph role="paragraph" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="17">4 - RANDOM (file open for random access)</paragraph>
-<paragraph role="paragraph" id="par_id3148406" xml-lang="en-US" l10n="U" oldref="18">8 - APPEND (file open for appending)</paragraph>
-<paragraph role="paragraph" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="19">32 - BINARY (file open in binary mode).</paragraph>
+
+<paragraph id="hd_id3147349" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3146974" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3153728" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3151074" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> The number of the file that was opened with the Open statement.</paragraph>
+<paragraph id="par_id3144766" role="paragraph" xml-lang="en-US"> <emph>Attribute:</emph> Integer expression that indicates the type of file information that you want to return. The following values are possible:</paragraph>
+<paragraph id="par_id3147396" role="paragraph" xml-lang="en-US">1: The FileAttr-Function indicates the access mode of the file.</paragraph>
+<paragraph id="par_id3149959" role="paragraph" xml-lang="en-US">2: The FileAttr-Function returns the file access number of the operating system.</paragraph>
+<paragraph id="par_id3154018" role="paragraph" xml-lang="en-US">If you specify a parameter attribute with a value of 1, the following return values apply:</paragraph>
+<paragraph id="par_id3149124" role="paragraph" xml-lang="en-US">1 - INPUT (file open for input)</paragraph>
+<paragraph id="par_id3156275" role="paragraph" xml-lang="en-US">2 - OUTPUT (file open for output)</paragraph>
+<paragraph id="par_id3155066" role="paragraph" xml-lang="en-US">4 - RANDOM (file open for random access)</paragraph>
+<paragraph id="par_id3148406" role="paragraph" xml-lang="en-US">8 - APPEND (file open for appending)</paragraph>
+<paragraph id="par_id3154757" role="paragraph" xml-lang="en-US">32 - BINARY (file open in binary mode).</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err52"/>
-<paragraph role="heading" id="hd_id3147339" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+
+<paragraph id="hd_id3147339" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileAttr</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
-<paragraph role="bascode" id="par_id3155607" xml-lang="en-US" l10n="U" oldref="29"> Print #iNumber, "This is a line of text"</paragraph>
-<paragraph role="bascode" id="par_id3150361" xml-lang="en-US" l10n="U" oldref="30"> MsgBox FileAttr(#iNumber, 1 ),0,"Access mode"</paragraph>
-<paragraph role="bascode" id="par_id3149817" xml-lang="en-US" l10n="U" oldref="31"> MsgBox FileAttr(#iNumber, 2 ),0,"File attribute"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341149504" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileAttr</paragraph>
+<paragraph id="par_idm1341148272" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph id="par_idm1341147040" role="bascode" localize="false" xml-lang="en-US">Dim sLine As String</paragraph>
+<paragraph id="par_idm1341145808" role="bascode" localize="false" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph id="par_idm1341144576" role="bascode" localize="false" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph id="par_idm1341143328" role="bascode" localize="false" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph id="par_idm1341142096" role="bascode" localize="false" xml-lang="en-US"> Open aFile For Output As #iNumber</paragraph>
+<paragraph id="par_id3155607" role="bascode" xml-lang="en-US"> Print #iNumber, "This is a line of text"</paragraph>
+<paragraph id="par_id3150361" role="bascode" xml-lang="en-US"> MsgBox FileAttr(#iNumber, 1 ),0,"Access mode"</paragraph>
+<paragraph id="par_id3149817" role="bascode" xml-lang="en-US"> MsgBox FileAttr(#iNumber, 2 ),0,"File attribute"</paragraph>
+<paragraph id="par_idm1341135568" role="bascode" localize="false" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph id="par_idm1341134336" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020406.xhp b/source/text/sbasic/shared/03020406.xhp
index 02f1d01be8..2eed4e72ed 100644
--- a/source/text/sbasic/shared/03020406.xhp
+++ b/source/text/sbasic/shared/03020406.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,47 @@
* 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="textsbasicshared03020406xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">FileCopy Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020406.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020406xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">FileCopy Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020406.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="filecopy">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3154840"><bookmark_value>FileCopy statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154840">
+ <bookmark_value>FileCopy statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3154840" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020406.xhp" name="FileCopy Statement [Runtime]">FileCopy Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3149497" xml-lang="en-US" l10n="U" oldref="2">Copies a file.</paragraph>
+
+
+<paragraph id="hd_id3154840" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020406.xhp" name="FileCopy Statement [Runtime]">FileCopy Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3149497" role="paragraph" xml-lang="en-US">Copies a file.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3147443" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3147443" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3146957" xml-lang="en-US" l10n="U" oldref="4">FileCopy TextFrom As String, TextTo As String</paragraph>
+<paragraph id="par_id3146957" role="bascode" xml-lang="en-US">FileCopy TextFrom As String, TextTo As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3155390" xml-lang="en-US" l10n="U" oldref="6">
-<emph>TextFrom:</emph> Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="7">
-<emph>TextTo:</emph> Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation.</paragraph>
-<paragraph role="note" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="8">You can only use the FileCopy statement to copy files that are not opened.</paragraph>
+
+<paragraph id="hd_id3153825" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3155390" role="paragraph" xml-lang="en-US"> <emph>TextFrom:</emph> Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3150669" role="paragraph" xml-lang="en-US"> <emph>TextTo:</emph> Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation.</paragraph>
+<paragraph id="par_id3150791" role="note" xml-lang="en-US">You can only use the FileCopy statement to copy files that are not opened.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err76"/>
-<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+
+<paragraph id="hd_id3125863" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileCopy</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> FileCopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340767600" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileCopy</paragraph>
+<paragraph id="par_idm1340766368" role="bascode" localize="false" xml-lang="en-US"> FileCopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav"</paragraph>
+<paragraph id="par_idm1340765104" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020407.xhp b/source/text/sbasic/shared/03020407.xhp
index f998bbb288..006526e88e 100644
--- a/source/text/sbasic/shared/03020407.xhp
+++ b/source/text/sbasic/shared/03020407.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,41 +16,46 @@
* 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="textsbasicshared03020407xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">FileDateTime Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020407.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020407xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">FileDateTime Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020407.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="filedatetime">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>FileDateTime function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153361">
+ <bookmark_value>FileDateTime function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020407.xhp" name="FileDateTime Function [Runtime]">FileDateTime Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="2">Returns a string that contains the date and the time that a file was created or last modified.</paragraph>
+
+
+<paragraph id="hd_id3153361" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020407.xhp" name="FileDateTime Function [Runtime]">FileDateTime Function [Runtime]</link></paragraph>
+<paragraph id="par_id3156423" role="paragraph" xml-lang="en-US">Returns a string that contains the date and the time that a file was created or last modified.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3154685" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="4">FileDateTime (Text As String)</paragraph>
+<paragraph id="par_id3154124" role="bascode" xml-lang="en-US">FileDateTime (Text As String)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3150448" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Text:</emph> Any string expression that contains an unambiguous (no wildcards) file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="7">This function determines the exact time of creation or last modification of a file, returned in the format "MM.DD.YYYY HH.MM.SS".</paragraph>
+
+<paragraph id="hd_id3150448" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3159153" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains an unambiguous (no wildcards) file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3155306" role="paragraph" xml-lang="en-US">This function determines the exact time of creation or last modification of a file, returned in the format "MM.DD.YYYY HH.MM.SS".</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3146119" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+
+<paragraph id="hd_id3146119" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileDateTime</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox FileDateTime("C:\autoexec.bat")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340766944" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileDateTime</paragraph>
+<paragraph id="par_idm1340765712" role="bascode" localize="false" xml-lang="en-US"> MsgBox FileDateTime("C:\autoexec.bat")</paragraph>
+<paragraph id="par_idm1340764448" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020408.xhp b/source/text/sbasic/shared/03020408.xhp
index 182fef49c7..19bbe70e0f 100644
--- a/source/text/sbasic/shared/03020408.xhp
+++ b/source/text/sbasic/shared/03020408.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,42 +16,48 @@
* 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="textsbasicshared03020408xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">FileLen-Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020408.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020408xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">FileLen-Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020408.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="filelen">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153126"><bookmark_value>FileLen function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153126">
+ <bookmark_value>FileLen function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020408.xhp" name="FileLen-Function [Runtime]">FileLen Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="2">Returns the length of a file in bytes.</paragraph>
+
+
+<paragraph id="hd_id3153126" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020408.xhp" name="FileLen-Function [Runtime]">FileLen Function [Runtime]</link></paragraph>
+<paragraph id="par_id3145068" role="paragraph" xml-lang="en-US">Returns the length of a file in bytes.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3159414" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3159414" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="4">FileLen (Text As String)</paragraph>
+<paragraph id="par_id3149656" role="bascode" xml-lang="en-US">FileLen (Text As String)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
-<paragraph role="heading" id="hd_id3150768" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="9">This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function.</paragraph>
+
+<paragraph id="hd_id3148798" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3156282" role="paragraph" xml-lang="en-US">Long</paragraph>
+
+<paragraph id="hd_id3150768" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3153193" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3150439" role="paragraph" xml-lang="en-US">This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3163710" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+
+<paragraph id="hd_id3163710" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileLen</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MsgBox FileLen("C:\autoexec.bat")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341573440" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileLen</paragraph>
+<paragraph id="par_idm1341572208" role="bascode" localize="false" xml-lang="en-US"> MsgBox FileLen("C:\autoexec.bat")</paragraph>
+<paragraph id="par_idm1341570960" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020409.xhp b/source/text/sbasic/shared/03020409.xhp
index 2e7d55d3b9..2c964198af 100644
--- a/source/text/sbasic/shared/03020409.xhp
+++ b/source/text/sbasic/shared/03020409.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,60 +16,67 @@
* 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="textsbasicshared03020409xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">GetAttr Function [Runtime]</title>
-<filename>/text/sbasic/shared/03020409.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020409xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">GetAttr Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03020409.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="getattr">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3150984"><bookmark_value>GetAttr function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150984">
+ <bookmark_value>GetAttr function</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020409.xhp" name="GetAttr Function [Runtime]">GetAttr Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="2">Returns a bit pattern that identifies the file type or the name of a volume or a directory.</paragraph>
+
+
+<paragraph id="hd_id3150984" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020409.xhp" name="GetAttr Function [Runtime]">GetAttr Function [Runtime]</link></paragraph>
+<paragraph id="par_id3154347" role="paragraph" xml-lang="en-US">Returns a bit pattern that identifies the file type or the name of a volume or a directory.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="4">GetAttr (Text As String)</paragraph>
+<paragraph id="par_id3150359" role="bascode" xml-lang="en-US">GetAttr (Text As String)</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3145172" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="9">This function determines the attributes for a specified file and returns the bit pattern that can help you to identify the following file attributes:</paragraph>
+
+<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3154909" role="paragraph" xml-lang="en-US">Integer</paragraph>
+
+<paragraph id="hd_id3145172" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3151042" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3161831" role="paragraph" xml-lang="en-US">This function determines the attributes for a specified file and returns the bit pattern that can help you to identify the following file attributes:</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err53"/>
-<paragraph role="heading" id="hd_id3145364" xml-lang="en-US" level="2" l10n="U" oldref="10">Value</paragraph>
-<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="11">0 : Normal files.</paragraph>
-<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="12">1 : Read-only files.</paragraph>
-<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="15">8 : Returns the name of the volume</paragraph>
-<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="16">16 : Returns the name of the directory only.</paragraph>
-<paragraph role="paragraph" id="par_id3153953" xml-lang="en-US" l10n="U" oldref="17">32 : File was changed since last backup (Archive bit).</paragraph>
-<paragraph role="paragraph" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="18">If you want to know if a bit of the attribute byte is set, use the following query method:</paragraph>
-<paragraph role="heading" id="hd_id3153094" xml-lang="en-US" level="2" l10n="U" oldref="19">Example:</paragraph>
+
+<paragraph id="hd_id3145364" role="heading" level="2" xml-lang="en-US">Value</paragraph>
+<paragraph id="par_id3147349" role="paragraph" xml-lang="en-US">0 : Normal files.</paragraph>
+<paragraph id="par_id3147434" role="paragraph" xml-lang="en-US">1 : Read-only files.</paragraph>
+<paragraph id="par_id3159154" role="paragraph" xml-lang="en-US">8 : Returns the name of the volume</paragraph>
+<paragraph id="par_id3145271" role="paragraph" xml-lang="en-US">16 : Returns the name of the directory only.</paragraph>
+<paragraph id="par_id3153953" role="paragraph" xml-lang="en-US">32 : File was changed since last backup (Archive bit).</paragraph>
+<paragraph id="par_id3156444" role="paragraph" xml-lang="en-US">If you want to know if a bit of the attribute byte is set, use the following query method:</paragraph>
+
+<paragraph id="hd_id3153094" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleSetGetAttr</paragraph>
-<paragraph role="bascode" id="par_id3155415" xml-lang="en-US" l10n="U" oldref="21">On Error GoTo ErrorHandler ' Define target for error handler</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If Dir("C:\test",16)="" Then MkDir "C:\test"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If Dir("C:\test\autoexec.sav")="" Then FileCopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> SetAttr "c:\test\autoexec.sav" ,0</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> FileCopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> SetAttr "c:\test\autoexec.sav" ,1</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print GetAttr( "c:\test\autoexec.sav" )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">ErrorHandler:</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Print Error</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341566848" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSetGetAttr</paragraph>
+<paragraph id="par_id3155415" role="bascode" xml-lang="en-US">On Error GoTo ErrorHandler ' Define target for error handler</paragraph>
+<paragraph id="par_idm1341563936" role="bascode" localize="false" xml-lang="en-US"> If Dir("C:\test",16)="" Then MkDir "C:\test"</paragraph>
+<paragraph id="par_idm1341562672" role="bascode" localize="false" xml-lang="en-US"> If Dir("C:\test\autoexec.sav")="" Then FileCopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
+<paragraph id="par_idm1341561360" role="bascode" localize="false" xml-lang="en-US"> SetAttr "c:\test\autoexec.sav" ,0</paragraph>
+<paragraph id="par_idm1341560096" role="bascode" localize="false" xml-lang="en-US"> FileCopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
+<paragraph id="par_idm1341558816" role="bascode" localize="false" xml-lang="en-US"> SetAttr "c:\test\autoexec.sav" ,1</paragraph>
+<paragraph id="par_idm1341557552" role="bascode" localize="false" xml-lang="en-US"> Print GetAttr( "c:\test\autoexec.sav" )</paragraph>
+<paragraph id="par_idm1341556288" role="bascode" localize="false" xml-lang="en-US"> End</paragraph>
+<paragraph id="par_idm1341555056" role="bascode" localize="false" xml-lang="en-US">ErrorHandler:</paragraph>
+<paragraph id="par_idm1341553824" role="bascode" localize="false" xml-lang="en-US"> Print Error</paragraph>
+<paragraph id="par_idm1341552592" role="bascode" localize="false" xml-lang="en-US"> End</paragraph>
+<paragraph id="par_idm1341551360" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020410.xhp b/source/text/sbasic/shared/03020410.xhp
index ba150337a0..4619a07365 100644
--- a/source/text/sbasic/shared/03020410.xhp
+++ b/source/text/sbasic/shared/03020410.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,40 +16,45 @@
* 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="textsbasicshared03020410xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Kill Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020410.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020410xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Kill Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020410.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="kill">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153360"><bookmark_value>Kill statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153360">
+ <bookmark_value>Kill statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020410.xhp" name="Kill Statement [Runtime]">Kill Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3151211" xml-lang="en-US" l10n="U" oldref="2">Deletes a file from a disk.</paragraph>
+
+
+<paragraph id="hd_id3153360" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020410.xhp" name="Kill Statement [Runtime]">Kill Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3151211" role="paragraph" xml-lang="en-US">Deletes a file from a disk.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3150767" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3150767" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">Kill File As String</paragraph>
+<paragraph id="par_id3154685" role="bascode" xml-lang="en-US">Kill File As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153194" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="6">
-<emph>File:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+
+<paragraph id="hd_id3153194" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3150440" role="paragraph" xml-lang="en-US"> <emph>File:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err76"/>
-<paragraph role="heading" id="hd_id3148645" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+
+<paragraph id="hd_id3148645" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleKill</paragraph>
-<paragraph role="bascode" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="9"> Kill "C:\datafile.dat" ' File must be created in advance</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm871806352" role="bascode" localize="false" xml-lang="en-US">Sub ExampleKill</paragraph>
+<paragraph id="par_id3163710" role="bascode" xml-lang="en-US"> Kill "C:\datafile.dat" ' File must be created in advance</paragraph>
+<paragraph id="par_idm871803312" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020411.xhp b/source/text/sbasic/shared/03020411.xhp
index 14f97896e3..a4f7879087 100644
--- a/source/text/sbasic/shared/03020411.xhp
+++ b/source/text/sbasic/shared/03020411.xhp
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -18,79 +16,86 @@
* 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="textsbasicshared03020411xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">MkDir Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020411.xhp</filename>
-</topic>
+ <topic id="textsbasicshared03020411xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">MkDir Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020411.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="mkdir">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3156421"><bookmark_value>MkDir statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156421">
+ <bookmark_value>MkDir statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3156421" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020411.xhp" name="MkDir Statement [Runtime]">MkDir Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3147000" xml-lang="en-US" l10n="U" oldref="2">Creates a new directory on a data medium.</paragraph>
+
+
+<paragraph id="hd_id3156421" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020411.xhp" name="MkDir Statement [Runtime]">MkDir Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3147000" role="paragraph" xml-lang="en-US">Creates a new directory on a data medium.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3148520" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3148520" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3155150" xml-lang="en-US" l10n="U" oldref="4">MkDir Text As String</paragraph>
+<paragraph id="par_id3155150" role="bascode" xml-lang="en-US">MkDir Text As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3153750" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Text:</emph> Any string expression that specifies the name and path of the directory to be created. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
-<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="7">If the path is not determined, the directory is created in the current directory.</paragraph>
+
+<paragraph id="hd_id3156027" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3153750" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that specifies the name and path of the directory to be created. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph id="par_id3153311" role="paragraph" xml-lang="en-US">If the path is not determined, the directory is created in the current directory.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
<embed href="text/sbasic/shared/00000003.xhp#err76"/>
-<paragraph role="heading" id="hd_id3155388" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+
+<paragraph id="hd_id3155388" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileIO</paragraph>
-<paragraph role="bascode" id="par_id3149762" xml-lang="en-US" l10n="CHG" oldref="10">' Example for functions of the file organization</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Const sFile1 As String = "file://c|/autoexec.bat"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Const sDir1 As String = "file://c|/Temp"</paragraph>
-<paragraph role="bascode" id="par_id3149669" xml-lang="en-US" l10n="U" oldref="13">Const sSubDir1 As String ="Test"</paragraph>
-<paragraph role="bascode" id="par_id3148663" xml-lang="en-US" l10n="U" oldref="14">Const sFile2 As String = "Copied.tmp"</paragraph>
-<paragraph role="bascode" id="par_id3154071" xml-lang="en-US" l10n="U" oldref="15">Const sFile3 As String = "Renamed.tmp"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim sFile As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sFile = sDir1 + "/" + sSubDir1</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir1 )</paragraph>
-<paragraph role="bascode" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="19"> If Dir(sSubDir1,16)="" Then ' Does the directory exist?</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> MkDir sSubDir1</paragraph>
-<paragraph role="bascode" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="21"> MsgBox sFile,0,"Create directory"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sFile = sFile + "/" + sFile2</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> FileCopy sFile1 , sFile</paragraph>
-<paragraph role="bascode" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="26"> MsgBox fSysURL(CurDir()),0,"Current directory"</paragraph>
-<paragraph role="bascode" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="27"> MsgBox sFile &amp; Chr(13) &amp; FileDateTime( sFile ),0,"Creation time"</paragraph>
-<paragraph role="bascode" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="28"> MsgBox sFile &amp; Chr(13)&amp; FileLen( sFile ),0,"File length"</paragraph>
-<paragraph role="bascode" id="par_id3152885" xml-lang="en-US" l10n="U" oldref="29"> MsgBox sFile &amp; Chr(13)&amp; GetAttr( sFile ),0,"File attributes"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Name sFile As sDir1 + "/" + sSubDir1 + "/" + sFile3</paragraph>
-<paragraph role="bascode" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="31"> ' Rename in the same directory</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> sFile = sDir1 + "/" + sSubDir1 + "/" + sFile3</paragraph>
-<paragraph role="bascode" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="34"> SetAttr( sFile, 0 ) 'Delete all attributes</paragraph>
-<paragraph role="bascode" id="par_id3148647" xml-lang="en-US" l10n="U" oldref="35"> MsgBox sFile &amp; Chr(13) &amp; GetAttr( sFile ),0,"New file attributes"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Kill sFile</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> RmDir sDir1 + "/" + sSubDir1</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
-<paragraph role="bascode" id="par_id3153157" xml-lang="en-US" localize="false"> </paragraph>
-<paragraph role="bascode" id="par_id3150092" xml-lang="en-US" l10n="U" oldref="40">' Converts a system path in URL</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Function fSysURL( fSysFp As String ) As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iPos As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iPos = 1</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iPos = Instr(iPos,fSysFp, getPathSeparator())</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Do While iPos &gt; 0</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Mid( fSysFp, iPos , 1,"/")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iPos = Instr(iPos+1,fSysFp, getPathSeparator())</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> Loop</paragraph>
-<paragraph role="bascode" id="par_id3156276" xml-lang="en-US" l10n="U" oldref="49"> ' the colon with DOS</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> iPos = Instr(1,fSysFp,":")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> If iPos &gt; 0 Then Mid( fSysFp, iPos , 1,"|")</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> fSysURL = "file://" &amp; fSysFp</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Function</paragraph>
+<paragraph id="par_idm1341385136" role="bascode" localize="false" xml-lang="en-US">Sub ExampleFileIO</paragraph>
+<paragraph id="par_id3149762" role="bascode" xml-lang="en-US">' Example for functions of the file organization</paragraph>
+<paragraph id="par_idm1341382112" role="bascode" localize="false" xml-lang="en-US">Const sFile1 As String = "file://c|/autoexec.bat"</paragraph>
+<paragraph id="par_idm1341380848" role="bascode" localize="false" xml-lang="en-US">Const sDir1 As String = "file://c|/Temp"</paragraph>
+<paragraph id="par_id3149669" role="bascode" xml-lang="en-US">Const sSubDir1 As String ="Test"</paragraph>
+<paragraph id="par_id3148663" role="bascode" xml-lang="en-US">Const sFile2 As String = "Copied.tmp"</paragraph>
+<paragraph id="par_id3154071" role="bascode" xml-lang="en-US">Const sFile3 As String = "Renamed.tmp"</paragraph>
+<paragraph id="par_idm1341374400" role="bascode" localize="false" xml-lang="en-US">Dim sFile As String</paragraph>
+<paragraph id="par_idm1341373168" role="bascode" localize="false" xml-lang="en-US"> sFile = sDir1 + "/" + sSubDir1</paragraph>
+<paragraph id="par_idm1341371920" role="bascode" localize="false" xml-lang="en-US"> ChDir( sDir1 )</paragraph>
+<paragraph id="par_id3154217" role="bascode" xml-lang="en-US"> If Dir(sSubDir1,16)="" Then ' Does the directory exist?</paragraph>
+<paragraph id="par_idm1341368880" role="bascode" localize="false" xml-lang="en-US"> MkDir sSubDir1</paragraph>
+<paragraph id="par_id3147228" role="bascode" xml-lang="en-US"> MsgBox sFile,0,"Create directory"</paragraph>
+<paragraph id="par_idm1341365904" role="bascode" localize="false" xml-lang="en-US"> End If</paragraph>
+<paragraph id="par_idm1341364672" role="bascode" localize="false" xml-lang="en-US"> sFile = sFile + "/" + sFile2</paragraph>
+<paragraph id="par_idm1341363424" role="bascode" localize="false" xml-lang="en-US"> FileCopy sFile1 , sFile</paragraph>
+<paragraph id="par_id3153770" role="bascode" xml-lang="en-US"> MsgBox fSysURL(CurDir()),0,"Current directory"</paragraph>
+<paragraph id="par_id3159154" role="bascode" xml-lang="en-US"> MsgBox sFile &amp; Chr(13) &amp; FileDateTime( sFile ),0,"Creation time"</paragraph>
+<paragraph id="par_id3149484" role="bascode" xml-lang="en-US"> MsgBox sFile &amp; Chr(13)&amp; FileLen( sFile ),0,"File length"</paragraph>
+<paragraph id="par_id3152885" role="bascode" xml-lang="en-US"> MsgBox sFile &amp; Chr(13)&amp; GetAttr( sFile ),0,"File attributes"</paragraph>
+<paragraph id="par_idm1341354896" role="bascode" localize="false" xml-lang="en-US"> Name sFile As sDir1 + "/" + sSubDir1 + "/" + sFile3</paragraph>
+<paragraph id="par_id3153952" role="bascode" xml-lang="en-US"> ' Rename in the same directory</paragraph>
+<paragraph id="par_idm1341351856" role="bascode" localize="false" xml-lang="en-US"> sFile = sDir1 + "/" + sSubDir1 + "/" + sFile3</paragraph>
+<paragraph id="par_id3147426" role="bascode" xml-lang="en-US"> SetAttr( sFile, 0 ) 'Delete all attributes</paragraph>
+<paragraph id="par_id3148647" role="bascode" xml-lang="en-US"> MsgBox sFile &amp; Chr(13) &amp; GetAttr( sFile ),0,"New file attributes"</paragraph>
+<paragraph id="par_idm1341346992" role="bascode" localize="false" xml-lang="en-US"> Kill sFile</paragraph>
+<paragraph id="par_idm1341345760" role="bascode" localize="false" xml-lang="en-US"> RmDir sDir1 + "/" + sSubDir1</paragraph>
+<paragraph id="par_idm1341344512" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_id3153157" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
+<paragraph id="par_id3150092" role="bascode" xml-lang="en-US">' Converts a system path in URL</paragraph>
+<paragraph id="par_idm1341100304" role="bascode" localize="false" xml-lang="en-US">Function fSysURL( fSysFp As String ) As String</paragraph>
+<paragraph id="par_idm1341099040" role="bascode" localize="false" xml-lang="en-US">Dim iPos As String</paragraph>
+<paragraph id="par_idm1341097808" role="bascode" localize="false" xml-lang="en-US"> iPos = 1</paragraph>
+<paragraph id="par_idm1341096576" role="bascode" localize="false" xml-lang="en-US"> iPos = Instr(iPos,fSysFp, getPathSeparator())</paragraph>
+<paragraph id="par_idm1341095312" role="bascode" localize="false" xml-lang="en-US"> Do While iPos &gt; 0</paragraph>
+<paragraph id="par_idm1341093984" role="bascode" localize="false" xml-lang="en-US"> Mid( fSysFp, iPos , 1,"/")</paragraph>
+<paragraph id="par_idm1341092768" role="bascode" localize="false" xml-lang="en-US"> iPos = Instr(iPos+1,fSysFp, getPathSeparator())</paragraph>
+<paragraph id="par_idm1341091504" role="bascode" localize="false" xml-lang="en-US"> Loop</paragraph>
+<paragraph id="par_id3156276" role="bascode" xml-lang="en-US"> ' the colon with DOS</paragraph>
+<paragraph id="par_idm1341088544" role="bascode" localize="false" xml-lang="en-US"> iPos = Instr(1,fSysFp,":")</paragraph>
+<paragraph id="par_idm1341087296" role="bascode" localize="false" xml-lang="en-US"> If iPos &gt; 0 Then Mid( fSysFp, iPos , 1,"|")</paragraph>
+<paragraph id="par_idm1341085952" role="bascode" localize="false" xml-lang="en-US"> fSysURL = "file://" &amp; fSysFp</paragraph>
+<paragraph id="par_idm1341084688" role="bascode" localize="false" xml-lang="en-US">End Function</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020412.xhp b/source/text/sbasic/shared/03020412.xhp
index e3d50f467c..1d5f6eeb47 100644
--- a/source/text/sbasic/shared/03020412.xhp
+++ b/source/text/sbasic/shared/03020412.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,45 +16,50 @@
* 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="textsbasicshared03020412xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Name Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03020412.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+ <topic id="textsbasicshared03020412xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Name Statement [Runtime]</title>
+ <filename>/text/sbasic/shared/03020412.xhp</filename>
+ </topic>
</meta>
+
<body>
+
+
<section id="name">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>Name statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143268">
+ <bookmark_value>Name statement</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3143268" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020412.xhp" name="Name Statement [Runtime]">Name Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="2">Renames an existing file or directory.</paragraph>
+
+
+<paragraph id="hd_id3143268" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020412.xhp" name="Name Statement [Runtime]">Name Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3154346" role="paragraph" xml-lang="en-US">Renames an existing file or directory.</paragraph>
</section>
-<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3156344" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="4">Name OldName As String As NewName As String</paragraph>
+<paragraph id="par_id3153381" role="bascode" xml-lang="en-US">Name OldName As String As NewName As String</paragraph>
</bascode>
-<paragraph role="heading" id="hd_id3153362" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
-<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US" l10n="U" oldref="6">
-<emph>OldName, NewName:</emph> Any string expression that specifies the file name, including the path. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph><comment>see #i61074</comment>
-<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+
+<paragraph id="hd_id3153362" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3151210" role="paragraph" xml-lang="en-US"> <emph>OldName, NewName:</emph> Any string expression that specifies the file name, including the path. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph><comment>see #i61074</comment>
+
+<paragraph id="hd_id3125863" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleReName</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">On Error GoTo Error</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">FileCopy "c:\autoexec.bat", "c:\temp\autoexec.sav"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Name "c:\temp\autoexec.sav" As "c:\temp\autoexec.bat"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Error:</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">If err = 58 Then</paragraph>
-<paragraph role="bascode" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="16"> MsgBox "File already exists"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End If</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1341617392" role="bascode" localize="false" xml-lang="en-US">Sub ExampleReName</paragraph>
+<paragraph id="par_idm1341616160" role="bascode" localize="false" xml-lang="en-US">On Error GoTo Error</paragraph>
+<paragraph id="par_idm1341614928" role="bascode" localize="false" xml-lang="en-US">FileCopy "c:\autoexec.bat", "c:\temp\autoexec.sav"</paragraph>
+<paragraph id="par_idm1341613664" role="bascode" localize="false" xml-lang="en-US">Name "c:\temp\autoexec.sav" As "c:\temp\autoexec.bat"</paragraph>
+<paragraph id="par_idm1341612400" role="bascode" localize="false" xml-lang="en-US">End</paragraph>
+<paragraph id="par_idm1341611200" role="bascode" localize="false" xml-lang="en-US">Error:</paragraph>
+<paragraph id="par_idm1341609968" role="bascode" localize="false" xml-lang="en-US">If err = 58 Then</paragraph>
+<paragraph id="par_id3152462" role="bascode" xml-lang="en-US"> MsgBox "File already exists"</paragraph>
+<paragraph id="par_idm1341607008" role="bascode" localize="false" xml-lang="en-US">End If</paragraph>
+<paragraph id="par_idm1341605776" role="bascode" localize="false" xml-lang="en-US">End</paragraph>
+<paragraph id="par_idm1341604576" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03020413.xhp b/source/text/sbasic/shared/03020413.xhp